[Poppler-bugs] [Bug 91286] New: [patch] to fix Syntax Warning: Could not parse ligature component "BE" of "S_BE" in parseCharName

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 9 14:11:15 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=91286

            Bug ID: 91286
           Summary: [patch] to fix Syntax Warning: Could not parse
                    ligature component "BE" of "S_BE" in parseCharName
           Product: poppler
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: williambader at hotmail.com

Created attachment 117019
  --> https://bugs.freedesktop.org/attachment.cgi?id=117019&action=edit
patch to add three glyph name mappings

I have a PDF that I can post privately that gets the warning
  Syntax Warning: Could not parse ligature component "BE" of "S_BE" in
parseCharName
multiple times when processed by poppler.
pdfinfo shows that the "Producer" is "Scribus PDF Library 1.4.3.svn".

I think that underscores are delimiters for splitting glyph names into
components, but the "liberation-fonts" package has a few glyph names that
contain underscores.  I found a comment on a bug report that I have included
below.

The attached patch adds mappings for those glyphs.

I am using Fedora 20 Linux on x86_64. Neither gs 9.16 or acroread 9.5.5 show
warnings when they open the PDF.

William

https://bugzilla.redhat.com/show_bug.cgi?id=1009650
"The second bug concerns the serbian be, pe and te.  They are named S_BE, S_PE
and S_TE. Applications that rely on AGL-conformant glyph names to identify the
original codepoints read these names as ligatures of a letter S and a letter BE
(or PE or TE). As no BE, PE or TE named glyphs exist in the font, no mapping
can be found and copying will fail.  To fix this, the glyphs should be renamed
to uni0431.srb, uni043F.srb and uni0442.srb (or any other suffix)."

https://github.com/adobe-type-tools/agl-specification
Adobe Glyph List Specification

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20150709/4e2fedaf/attachment.html>


More information about the Poppler-bugs mailing list