[
https://issues.apache.org/jira/browse/PDFBOX-1140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arjohn Kampman updated PDFBOX-1140:
-----------------------------------
Attachment: TTFDataStream.patch
> TTFDataStream.read32Fixed() discards fractions
> ----------------------------------------------
>
> Key: PDFBOX-1140
> URL: https://issues.apache.org/jira/browse/PDFBOX-1140
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox
> Affects Versions: 1.6.0
> Reporter: Arjohn Kampman
> Priority: Minor
> Attachments: TTFDataStream.patch
>
>
> TTFDataStream.read32Fixed() tries to calculate its fracional part by dividing
> an unsigned short with 65536. But because this method uses an integer
> division, the fractional value will always be 0. I've attached a simple patch
> that fixes this.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira