bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #62934] gropdf: sometimes \(em becomes a different char when render


From: Nikita Ivanov
Subject: [bug #62934] gropdf: sometimes \(em becomes a different char when rendered with gropdf
Date: Sun, 21 Aug 2022 16:42:51 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?62934>

                 Summary: gropdf: sometimes \(em becomes a different char when
rendered with gropdf
                 Project: GNU troff
               Submitter: nikitaivanov
               Submitted: Sun 21 Aug 2022 08:42:49 PM UTC
                Category: General
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sun 21 Aug 2022 08:42:49 PM UTC By: Nikita Ivanov <nikitaivanov>
GROFF VERSION:
1.23.0.rc1.2845-342a1-dirty

OS:
GNU/Linux

COMPILER:
clang

COMMAND LINE:
groff works.troff -k -Tpdf
groff broken.troff -k -Tpdf

DESCRIPTION OF INCORRECT BEHAVIOUR:
Sometimes _\(em_ character turns into a different character when rendered with
_gropdf_ (_grops_ works fine). I've only encountered the bug when writing
documents with Cyrillic characters.

There are two files attached: works.troff and broken.troff. The only
difference between them is that in the broken version the _\(em_ characher
appears only the 3rd paragraph while in the working version it appears in the
first. The document also is rendered fine if the first _\(em_ characher
appears in the second paragraph.

It looks like that _\(em_ characters are rendered properly only if the first
em-dash appears in the beginning of a document.

It's probably _gropdf_ problem because in the groff out _Cem_ lines are
there.







    _______________________________________________________
File Attachments:


-------------------------------------------------------
Date: Sun 21 Aug 2022 08:42:49 PM UTC  Name: broken.troff  Size: 6KiB   By:
nikitaivanov

<http://savannah.gnu.org/bugs/download.php?file_id=53598>
-------------------------------------------------------
Date: Sun 21 Aug 2022 08:42:49 PM UTC  Name: works.troff  Size: 6KiB   By:
nikitaivanov

<http://savannah.gnu.org/bugs/download.php?file_id=53599>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62934>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]