Affects Version/s: 1.7
Fix Version/s: None
We at PDFBox have used the code at
for TT font rendering. There've been some problems (see
PDFBOX-1435, scroll to second half), and after bugfixes didn't work (see PDFBOX-1206), I had the idea to create a SVG file by hand with the calculations mentioned in the file.
I calculated the SVG values for the outer circle of that "o" of
PDFBOX-1435 with the Batik source and added 100 to each y value (before I found out that svg allows translating). Here's the svg file I get:
This can be displayed with firefox, and this "o" has an angle The reason is that the Batik algorithm doesn't work for contours made entirely with off-curve points.
I didn't actually run the Batik code, the calculations were done on paper.
Further thoughts on the TT path drawing algorithm can be found at
PDFBOX-1206. We ended up using the code from PDF.js, and maybe you should too