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

[jira] [Comment Edited] (PDFBOX-3076) Type3 Font that is getting zero height text, even in latest 2.0

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

Tilman Hausherr edited comment on PDFBOX-3076 at 11/1/15 12:14 PM:
-------------------------------------------------------------------

That font has a {{\[0,0,0,0]}} bounding box.

>From the spec: {quote}If all four elements of the rectangle are zero, a conforming reader shall make no assumptions about glyph sizes based on the font bounding box.{quote}


was (Author: tilman):
That font has a [0,0,0,0] bounding box.

> Type3 Font that is getting zero height text, even in latest 2.0
> ---------------------------------------------------------------
>
>                 Key: PDFBOX-3076
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3076
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 1.8.10, 1.8.11, 2.0.0
>            Reporter: Joel Hirsh
>              Labels: type3
>
> Although most Type3 fonts are now getting a valid height, this one file is still getting zero height
> String[549.5999,39.84027 fs=58.0 xscale=58.0 height=0.0 space=151904.77 width=6.090027]P
> String[555.68994,39.84027 fs=58.0 xscale=58.0 height=0.0 space=151904.77 width=5.1156006]a
> String[560.80554,39.84027 fs=58.0 xscale=58.0 height=0.0 space=151904.77 width=5.1156006]g
> String[565.92114,39.84027 fs=58.0 xscale=58.0 height=0.0 space=151904.77 width=4.8720093]e
> String[570.79315,39.84027 fs=58.0 xscale=58.0 height=0.0 space=151904.77 width=2.6796265] 
> String[573.4728,39.84027 fs=58.0 xscale=58.0 height=0.0 space=151904.77 width=5.1156006]3
> String[578.5884,39.84027 fs=58.0 xscale=58.0 height=0.0 space=151904.77 width=2.6796265] 
> String[581.268,39.84027 fs=58.0 xscale=58.0 height=0.0 space=151904.77 width=5.1156006]o
> String[586.3836,39.84027 fs=58.0 xscale=58.0 height=0.0 space=151904.77 width=2.6796265]f
> String[589.06323,39.84027 fs=58.0 xscale=58.0 height=0.0 space=151904.77 width=2.6796265] 
> String[591.74286,39.84027 fs=58.0 xscale=58.0 height=0.0 space=151904.77 width=5.1156006]3
> String[70.32,119.04028 fs=58.0 xscale=58.0 height=0.0 space=179523.81 width=7.5515976]A
> String[77.8716,119.04028 fs=58.0 xscale=58.0 height=0.0 space=179523.81 width=6.333603]c
> String[84.2052,119.04028 fs=58.0 xscale=58.0 height=0.0 space=179523.81 width=6.333603]c
> String[90.5388,119.04028 fs=58.0 xscale=58.0 height=0.0 space=179523.81 width=6.820801]o
> String[97.359604,119.04028 fs=58.0 xscale=58.0 height=0.0 space=179523.81 width=6.820801]u
> String[104.180405,119.04028 fs=58.0 xscale=58.0 height=0.0 space=179523.81 width=6.820801]n
> String[111.001205,119.04028 fs=58.0 xscale=58.0 height=0.0 space=179523.81 width=3.6539993]t
> String[114.655205,119.04028 fs=58.0 xscale=58.0 height=0.0 space=179523.81 width=3.1668015] 
> String[117.82201,119.04028 fs=58.0 xscale=58.0 height=0.0 space=179523.81 width=9.744003]m
> String[127.56601,119.04028 fs=58.0 xscale=58.0 height=0.0 space=179523.81 width=6.333603]e
> String[133.89961,119.04028 fs=58.0 xscale=58.0 height=0.0 space=179523.81 width=6.0899963]s
> String[139.98961,119.04028 fs=58.0 xscale=58.0 height=0.0 space=179523.81 width=6.0899963]s
> String[146.0796,119.04028 fs=58.0 xscale=58.0 height=0.0 space=179523.81 width=6.333603]a
> String[152.41321,119.04028 fs=58.0 xscale=58.0 height=0.0 space=179523.81 width=6.820801]g
> String[159.23401,119.04028 fs=58.0 xscale=58.0 height=0.0 space=179523.81 width=6.333603]e
> String[165.56761,119.04028 fs=58.0 xscale=58.0 height=0.0 space=179523.81 width=6.0899963]s



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