pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Carrier (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PDFBOX-412) Failure to render PDFs with embedded fonts
Date Wed, 04 Feb 2009 20:13:59 GMT

     [ https://issues.apache.org/jira/browse/PDFBOX-412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brian Carrier updated PDFBOX-412:
---------------------------------

    Priority: Major  (was: Blocker)

I just verified that the text is properly extracted from both files.

I'm changing the priority of this to Major instead of Blocker because it is not blocking development
or causing crashes. 

> Failure to render PDFs with embedded fonts
> ------------------------------------------
>
>                 Key: PDFBOX-412
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-412
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 0.8.0-incubator
>         Environment: WinXP, Java 6.0 update 10
>            Reporter: Seb V
>         Attachments: test_openoffice301.pdf, test_word+pdfcreator.pdf
>
>
> Trying to view 2 PDF files in PDFReader, the following problems happen:
> - test_openoffice301.pdf : all characters replaced by squares (no error logged)
> - test_word+pdfcreator.pdf : fallback to Arial (see log bellow)
> The files were created with OpenOffice 3.0.1 (exported as PDF) and Word (printed to PDF
with PDFCreator). They both contain 3 lines of text using the DejaVu open-source font.
> PDFBox version used is trunk from january 28th, 2009:
> fontbox trunk 718464
> jempbox trunk 718464
> pdfbox trunk 737638
> For test_word+pdfcreator.pdf, the following lines are found in log:
> java.awt.FontFormatException: Font name not found
> 	at sun.font.TrueTypeFont.init(TrueTypeFont.java:453)
> 	at sun.font.TrueTypeFont.<init>(TrueTypeFont.java:160)
> 	at sun.font.FontManager.createFont2D(FontManager.java:2234)
> 	at java.awt.Font.<init>(Font.java:566)
> 	at java.awt.Font.createFont(Font.java:854)
> 	at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.drawString(PDTrueTypeFont.java:329)
> 	at org.apache.pdfbox.pdfviewer.PageDrawer.processTextPosition(PageDrawer.java:168)
> 	at org.apache.pdfbox.util.PDFStreamEngine.processEncodedText(PDFStreamEngine.java:447)
> 	at org.apache.pdfbox.util.operator.ShowTextGlyph.process(ShowTextGlyph.java:66)
> 	at org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:496)
> 	at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:205)
> 	at org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:164)
> 	at org.apache.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawer.java:88)
> 	at org.apache.pdfbox.pdfviewer.PDFPagePanel.paint(PDFPagePanel.java:76)
> 	at javax.swing.JComponent.paintChildren(JComponent.java:864)
> 	at javax.swing.JComponent.paint(JComponent.java:1036)
> 	at javax.swing.JComponent.paintChildren(JComponent.java:864)
> 	at javax.swing.JComponent.paint(JComponent.java:1036)
> 	at javax.swing.JComponent.paintToOffscreen(JComponent.java:5122)
> 	at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:285)
> 	at javax.swing.RepaintManager.paint(RepaintManager.java:1128)
> 	at javax.swing.JComponent._paintImmediately(JComponent.java:5070)
> 	at javax.swing.JComponent.paintImmediately(JComponent.java:4880)
> 	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:723)
> 	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:679)
> 	at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:659)
> 	at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
> 	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
> 	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
> 	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
> 	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
> 	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
> 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
> 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
> 	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
> 28 janv. 2009 11:44:10 org.apache.pdfbox.pdmodel.font.PDTrueTypeFont drawString
> INFO: Can't read the embedded font VRBBWM+DejaVuSansCondensed,Italic
> 28 janv. 2009 11:44:10 org.apache.pdfbox.pdmodel.font.PDTrueTypeFont drawString
> INFO: Using font Arial instead

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


Mime
View raw message