[ https://issues.apache.org/jira/browse/PDFBOX-3293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15232679#comment-15232679 ]
John Hewson commented on PDFBOX-3293: ------------------------------------- No, FontBox does not support hinting, because that would require us to implement the TrueType virtual machine, which would be an awful lot of work. So I don't think that's going to happen, especially as it shouldn't be necessary when dealing with "good" fonts. But it would be disappointing for PDFBox to be unable to render your files, especially given that Acrobat and many other readers can do so. Perhaps we should look at other approaches - for example, going back to using AWT to render certain fonts (AWT in general has proven to be buggy and not reliable for rendering all fonts, especially PostScript fonts - but it does much better with TTF). That's not a trivial change to make but it's at least more achievable than implementing hinting in FontBox. WDYT? > Font glyphs with overlapping paths not rendered correctly > --------------------------------------------------------- > > Key: PDFBOX-3293 > URL: https://issues.apache.org/jira/browse/PDFBOX-3293 > Project: PDFBox > Issue Type: Bug > Components: FontBox, Rendering > Affects Versions: 2.0.0 > Reporter: Pei-Tang Huang > Attachments: PDFBOX-3293.ttf, PDFBOX-3293_reduced.pdf, fontforge.png, > glyf.png, hinted.png, sample.pdf, sample_rendered.tif, unhinted.png > > > Font glyphs with overlapping paths may be rendered in correctly, especially > when the font size is small. > Sadly, the Traditional Chinese edition of Windows bundled fonts 細明體&新細明體 > (MingLiU & PMingLiU) and 標楷體 (DFKai-SB) all suffer from this problem. > See attached sample.pdf and the rendered sample_rendered.tif. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org