You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Petr Slaby (JIRA)" <ji...@apache.org> on 2017/12/15 10:46:00 UTC

[jira] [Created] (PDFBOX-4038) CFF font Blue values and other delta encoded lists read incorrectly

Petr Slaby created PDFBOX-4038:
----------------------------------

             Summary: CFF font Blue values and other delta encoded lists read incorrectly
                 Key: PDFBOX-4038
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4038
             Project: PDFBox
          Issue Type: Bug
          Components: FontBox
    Affects Versions: 2.0.8
            Reporter: Petr Slaby
         Attachments: BlueValuesTest.java, CFFParser.java.patch

The attached test compares the values retrieved via CFFParser from an OpenType font with the expected values as seen in FontForge (go to Element->Font Info->PS Private). 

The font NeoSans Black.otf can be found at https://www.wfonts.com/font/neosans

The CFF font specification explaining the encoding of the entries which are incorrectly parsed by FontBox CFFParser can be found here https://typekit.files.wordpress.com/2013/05/5176.cff.pdf

We use FontBox to read the font when we need to embed it into an PDF which we produce via our Apache FOP based software. Adobe validator complains about incorrect "Blue values" sorting then.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org