Bug 404 : fonts look misshapen on mac os x with pdf, may be cubic vs quadric spline issue
Last modified: 2008-08-16 13:46




Status:
RESOLVED
Resolution:
WONTFIX -
Priority:
P2
Severity:
normal

 

Reporter:
fry
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2006-10-01 14:20
The shape of the characters may be weird in some cases,
there seems to be a Java bug with cubic vs. quadric splines.
This bug may be specific to Mac OS X.

This is not the same as fonts looking pixelated and blocky, see the PDF
reference for that issue.
Additional Comment #1 From fry 2006-12-05 20:20
this bug may also be specific to opentype fonts, which are parsed as
truetype fonts, so java gets confused when they contain cff-encoded quad data.
Additional Comment #2 From fry 2006-12-05 20:39
confirmed that converting an adobe opentype font (rosewood std, presumably
cff format) to ttf (using fontforge) makes things work again; also that the
original font was only reporting cubicto (along with moveto/lineto) as an
operator in the font.

the shapeiterator that takes a parameter for the degree of accuracy doesn't
fix the issue (seems to exacerbate it, though this may be an issue of font
size).
Additional Comment #3 From fry 2008-08-16 13:46
Fixed in an Apple update to Java 1.5 for Mac OS X 10.4.