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

Tilman Hausherr commented on PDFBOX-3203:
-----------------------------------------

It all depends what you want. If you want the number that is used for "Tf", 
then call getFontSize(). If you want to know the actual font size (which may be 
scaled up or down through "cm" or "Tm"), you'll need other methods. I suggest 
you also look at the DrawPrintTextLocations example.

> 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
>              Labels: regression
>             Fix For: 2.0.0
>
>         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