You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Joel Hirsh (JIRA)" <ji...@apache.org> on 2015/11/01 16:31:27 UTC

[jira] [Created] (PDFBOX-3078) Text height coming in at half size, regression from 1.8

Joel Hirsh created PDFBOX-3078:
----------------------------------

             Summary: 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


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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org