PDFontDescriptorAFM always returns false for isSymbolic()
---------------------------------------------------------

                 Key: PDFBOX-863
                 URL: https://issues.apache.org/jira/browse/PDFBOX-863
             Project: PDFBox
          Issue Type: Bug
          Components: PDModel
    Affects Versions: 1.2.1
         Environment: Windows XT
            Reporter: Kevin Jackson


A font with a Font with a descriptor like this, it creates a descriptor of 
class PDFontDescriptorAFM which will NEVER read the Flags (4) and return true 
for isSymbolic().  I am trying to extract the text from the PDF and would like 
to exclude symbolic fonts.

Font:

/LastChar = 1 /BaseFont = /OEOBNB+WoodtypeOrnaments-Two /Type = /Font 
/Subtype = /Type1 /Encoding = 26 0 R /Widths = [1000] /FontDescriptor = 28 0 R 
/ToUnicode = 27 0 R /FirstChar = 1 

FontDescriptor:

/CapHeight = 0 /FontBBox = [0, -404, 1944, 753] /CharSet = /dash5 
/FontFile3 = 33 0 R /Type = /FontDescriptor /Descent = 0 /StemV = 26 /Flags = 4 
/Ascent = 0 /FontName = /OEOBNB+WoodtypeOrnaments-Two /StemH = 26 
/ItalicAngle = 0 



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to