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

Dirk Groeneveld commented on PDFBOX-3203:
-----------------------------------------

I read up a bit on what a text matrix is. Let me see if I understand this 
correctly: Whatever tool they used to create this PDF, they set an enormous 
font size, and then use text matrix to scale it down to something that fits on 
a page. In the content stream, it comes out the other way, where the font size 
they set is 17.933, and the text matrix scales it up to 321.

As a consumer of the PDF, I don't care about how they created it and how it's 
scaled. To get the font size in points in the final output, I have to use 
fontSize, not fontSizePt. Correct?

> Fractional font sizes are reported scaled
> -----------------------------------------
>
>                 Key: PDFBOX-3203
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3203
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 2.0.0
>         Environment: Mac OS X
>            Reporter: Dirk Groeneveld
>         Attachments: senellart10.pdf, smola10.pdf
>
>
> Non-integer font sizes are apparently reported by PDFBox scaled by a factor 
> of 10. For example, a font size of "32.1" comes out as 321.



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