[ 
https://issues.apache.org/jira/browse/PDFBOX-3078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14992330#comment-14992330
 ] 

John Hewson commented on PDFBOX-3078:
-------------------------------------

The problem here is, as Tilman observed, the behaviour regarding whether or not 
the AFM (or Font dictionary) bbox overrides the FontBBox of the embedded font. 
It doesn't but it should be.

> Text height coming in at half size, regression from 1.8
> -------------------------------------------------------
>
>                 Key: PDFBOX-3078
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3078
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>            Reporter: Joel Hirsh
>         Attachments: PDFBOX-679-toobig-marked-1-modified.png, 
> PDFBOX-679-toobig-marked-1-original.png, wrongsize.pdf
>
>
> Running 11/1 Dvlp build.
> PrintTextLocations on attached file has height of 2.9, which is incorrect.
> String[30.699997,144.80005 fs=9.0 xscale=9.0 height=2.9236078 space=2.5020003 
> width=5.0040016]1
> String[35.704,144.80005 fs=9.0 xscale=9.0 height=2.9236078 space=2.5020003 
> width=5.003998]2
> String[40.707996,144.80005 fs=9.0 xscale=9.0 height=2.9236078 space=2.5020003 
> width=5.003998]8
> String[45.711994,144.80005 fs=9.0 xscale=9.0 height=2.9236078 space=2.5020003 
> width=5.003998]6
> String[50.715992,144.80005 fs=9.0 xscale=9.0 height=2.9236078 space=2.5020003 
> width=5.003998]2
> String[63.79999,144.80005 fs=9.0 xscale=9.0 height=2.9236078 space=2.5020003 
> width=4.2210045]^
> Same file, Version 1.8 has height of 6.5, which is about right:
> String[30.699997,144.80005 fs=9.0 xscale=9.0 height=6.327 space=2.5020003 
> width=5.0040016]1
> String[35.704,144.80005 fs=9.0 xscale=9.0 height=6.327 space=2.5020003 
> width=5.0040016]2
> String[40.708,144.80005 fs=9.0 xscale=9.0 height=6.4980006 space=2.5020003 
> width=5.0040016]8
> String[45.712,144.80005 fs=9.0 xscale=9.0 height=6.4980006 space=2.5020003 
> width=5.0040016]6
> String[50.716003,144.80005 fs=9.0 xscale=9.0 height=6.4980006 space=2.5020003 
> width=5.0040016]2
> String[63.800007,144.80005 fs=9.0 xscale=9.0 height=3.8160002 space=2.5020003 
> width=4.220997]^



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to