[
https://issues.apache.org/jira/browse/PDFBOX-1919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14004847#comment-14004847
]
Tilman Hausherr commented on PDFBOX-1919:
-----------------------------------------
Thanks to your hint I had a look in the spec for "Font Descriptor Flags". IMHO
these flags are taken from the dictionary in the PDF. Use an editor like
NOTEPAD++ and search for "/Flag". This is read in PDFontDescriptorDictionary
and PDFontDescriptor.
What you saw in PDTrueTypeFont is relevant for loadTTF() only, which is only
called for adding a font when creating a PDF.
The best would be that you attach an example of something that doesn't work
like you expect, and explain what you wanted. "To Be uNDeR oR NoN-INSuReD" is
probably the result of bad OCR.
> Font descriptor flags are not implemented
> -----------------------------------------
>
> Key: PDFBOX-1919
> URL: https://issues.apache.org/jira/browse/PDFBOX-1919
> Project: PDFBox
> Issue Type: Bug
> Components: Writing
> Affects Versions: 1.8.5
> Reporter: Corentin Regal
>
> The font descriptor flags are not set.
> They are described in the document "PDF reference 1.7" at : 5.7.1 Font
> Descriptor Flags
> The methods in PDFontDescriptor are ready but never called :
> setFlags()
> setSerif()
> setAllCap() which is used in a lot of PDF
> ...
> I saw some TODO that relate to that issue in the code, is it planned to be
> implemented soon?
--
This message was sent by Atlassian JIRA
(v6.2#6252)