aboutsummaryrefslogtreecommitdiff
path: root/src/share/native/sun/font/freetypeScaler.c
diff options
context:
space:
mode:
authorceisserer <none@none>2010-05-28 11:37:44 -0700
committerceisserer <none@none>2010-05-28 11:37:44 -0700
commit15e677fe29164e1d11f364eba1c541587ddb239e (patch)
tree4b6071c16cc574276e56e03df5af421a9036fbd4 /src/share/native/sun/font/freetypeScaler.c
parentcd0377f26ab30e5455bb31546b2609c56e2eaa01 (diff)
6307603: [X11] Use RENDER extension for complex operations done in software
Reviewed-by: bae, igor, prr
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 93baaea47..66ec606af 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;