Thank you, fixed:
https://issues.apache.org/jira/browse/PDFBOX-4473

This will be in the next-to-next version (2.0.15) because 2.0.14 is being prepared / voted, so until then you'll have to use your own constant.

Tilman

Am 25.02.2019 um 16:53 schrieb Constantine Dokolas:
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.

Thanks in advance,
Constantine

--
There is a computer disease that anybody who works with computers knows
about. It's a very serious disease and it interferes completely with the
work. The trouble with computers is that you 'play' with them!
- Richard P. Feynman



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to