aboutsummaryrefslogtreecommitdiff
path: root/src/share/native/sun/font/freetypeScaler.c
diff options
context:
space:
mode:
authorlana <none@none>2010-06-07 17:08:26 -0700
committerlana <none@none>2010-06-07 17:08:26 -0700
commitccff0e0e43d4382df77e9e850249eb204496f411 (patch)
tree32acf0e07457aca44756ebb757d80c823f522a62 /src/share/native/sun/font/freetypeScaler.c
parentd807b2caa7c62548b272e8a9a7cbc229f1c0b3d5 (diff)
parent9250509d4d1cf6646f820249b7884713609ac148 (diff)
Merge
Diffstat (limited to 'src/share/native/sun/font/freetypeScaler.c')
-rw-r--r--src/share/native/sun/font/freetypeScaler.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/share/native/sun/font/freetypeScaler.c b/src/share/native/sun/font/freetypeScaler.c
index 6e7edb11b..39768c467 100644
--- a/src/share/native/sun/font/freetypeScaler.c
+++ b/src/share/native/sun/font/freetypeScaler.c
@@ -782,6 +782,7 @@ Java_sun_font_FreetypeFontScaler_getGlyphImageNative(
return ptr_to_jlong(glyphInfo);
}
glyphInfo->cellInfo = NULL;
+ glyphInfo->managed = UNMANAGED_GLYPH;
glyphInfo->rowBytes = width;
glyphInfo->width = width;
glyphInfo->height = height;
@@ -1130,7 +1131,7 @@ static void addToGP(GPData* gpdata, FT_Outline*outline) {
current_type = SEG_LINETO;
}
} else if (FT_CURVE_TAG(outline->tags[i]) == FT_CURVE_TAG_CUBIC) {
- /* Bit 1 is meaningful for ‘off’ points only.
+ /* Bit 1 is meaningful for 'off' points only.
If set, it indicates a third-order Bezier arc control
point; and a second-order control point if unset. */
current_type = SEG_CUBICTO;