[
https://issues.apache.org/jira/browse/PDFBOX-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396876#comment-13396876
]
Andreas Lehmkühler commented on PDFBOX-1341:
--------------------------------------------
The afm files have to be on the classpath.
They can be found in the pdfbox/download/pcfi-2010.08.09.jar within the
directory com/adobe/pdf/pcfi/afm
They have to be on the classpath within the following directory
org/apache/pdfbox/resources/afm
Maven should add them automatically to pdfbox-app-1.7.0.jar which can be found
in app/target
Have a look at the PDFont class [1] for further details about the init process
for the afm files.
[1]
http://svn.apache.org/repos/asf/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDFont.java
> PDFStreamEngine incorrectly calculates coordinates of characters.
> -----------------------------------------------------------------
>
> Key: PDFBOX-1341
> URL: https://issues.apache.org/jira/browse/PDFBOX-1341
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.7.0
> Reporter: Oleg Vladimirov
> Attachments: enSt04.pdf, enSt05.pdf, glyphlist.txt
>
>
> When I parse document with PDFStreamEngine, in method processTextPosition i
> receive incorrect coordinates of characters.
> It's happening for documents with version up to 1.5, widht of each character
> is equal 0 if one of 14 standard fonts is using.
> PDF specification talks that from version 1.5 standard fonts processing like
> the all.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira