You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2019/02/25 18:33:00 UTC

[jira] [Created] (PDFBOX-4473) OS2WindowsMetricsTable.FSTYPE_EDITIBLE should be 8 instead of 4

Tilman Hausherr created PDFBOX-4473:
---------------------------------------

             Summary: OS2WindowsMetricsTable.FSTYPE_EDITIBLE should be 8 instead of 4
                 Key: PDFBOX-4473
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4473
             Project: PDFBox
          Issue Type: Bug
          Components: FontBox
    Affects Versions: 2.0.13
            Reporter: Tilman Hausherr
            Assignee: Tilman Hausherr
             Fix For: 2.0.15, 3.0.0 PDFBox


From Constantine Dokolas on the dev mailing list:
According to [https://docs.microsoft.com/en-us/typography/opentype/spec/os2#fstype]
the value for "Editable embedding" (OS2WindowsMetricsTable.FSTYPE_EDITIBLE) is
8. It seems that, due to copy-pasting, it has 4, the same as "Preview &
Print embedding" (OS2WindowsMetricsTable.FSTYPE_PREVIEW_AND_PRINT).

I was testing system fonts for embeddability by using a mask calculated by
"OS2WindowsMetricsTable.FSTYPE_EDITIBLE |
OS2WindowsMetricsTable.FSTYPE_PREVIEW_AND_PRINT" and the usual fonts kept
failing.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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