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

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

    [ https://issues.apache.org/jira/browse/PDFBOX-4473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16777184#comment-16777184 ] 

ASF subversion and git services commented on PDFBOX-4473:
---------------------------------------------------------

Commit 1854330 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1854330 ]

PDFBOX-4473: use correct constant value, by Constantine Dokolas; fix typo

> 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
>            Priority: Minor
>             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