-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
1.2.2
-
generic
-
generic
The Java 2D font implementation disables accessing and using embedded bitmaps
in a TrueType font when the FontRenderContext specifies fractional metrics
The reason for this appears to be that the metrics (in particular the linear
X advance) for the glyph obtained by T2k in this case is bogus. Its not from
the HMTX table, its from the bitmap metrics
See T2K_GetSbits(..)
..
scaler->xAdvanceWidth16Dot16 = gInfo->bigM.horiAdvance;
..
scaler->xLinearAdvanceWidth16Dot16 = scaler->xAdvanceWidth16Dot16;
The upshot of this is that turning on FM can severely degrade the quality
of the image for many CJK fonts when really it ought not to affect the image.
If we can make this return the linear metrics as per teh HMTX table we
can stop disabling sbits in this case.
###@###.### 2005-05-18 20:32:16 GMT
in a TrueType font when the FontRenderContext specifies fractional metrics
The reason for this appears to be that the metrics (in particular the linear
X advance) for the glyph obtained by T2k in this case is bogus. Its not from
the HMTX table, its from the bitmap metrics
See T2K_GetSbits(..)
..
scaler->xAdvanceWidth16Dot16 = gInfo->bigM.horiAdvance;
..
scaler->xLinearAdvanceWidth16Dot16 = scaler->xAdvanceWidth16Dot16;
The upshot of this is that turning on FM can severely degrade the quality
of the image for many CJK fonts when really it ought not to affect the image.
If we can make this return the linear metrics as per teh HMTX table we
can stop disabling sbits in this case.
###@###.### 2005-05-18 20:32:16 GMT