You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Kevin Jackson (JIRA)" <ji...@apache.org> on 2010/10/13 01:34:36 UTC

[jira] Created: (PDFBOX-863) PDFontDescriptorAFM always returns false for isSymbolic()

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.


[jira] Updated: (PDFBOX-863) PDFontDescriptorAFM always returns false for isSymbolic()

Posted by "Kevin Jackson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Jackson updated PDFBOX-863:
---------------------------------

    Attachment: 1bb8c543_i.pdf

> 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
>         Attachments: 1bb8c543_i.pdf
>
>
> 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.