[
https://issues.apache.org/jira/browse/PDFBOX-2565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14329553#comment-14329553
]
Tilman Hausherr commented on PDFBOX-2565:
-----------------------------------------
[~jahewson] Was the "int division result cast to float" intended in that code?
(It is flagged by SonarQube)
{code}fd.setXHeight((os2.getTypoAscender() / 2) / scaling);{code}
> Subset embedded TTF fonts
> -------------------------
>
> Key: PDFBOX-2565
> URL: https://issues.apache.org/jira/browse/PDFBOX-2565
> Project: PDFBox
> Issue Type: Improvement
> Components: PDModel
> Affects Versions: 2.0.0
> Reporter: John Hewson
> Assignee: John Hewson
> Fix For: 2.0.0
>
>
> Now that PDFBOX-922 is fixed, we have working TTF embedding. However, the
> entire font is embedded, which is rather large. We already have a
> TTFSubsetter class in FontBox, which is never used, so we should make use of
> it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]