< prev index next >
src/java.desktop/share/native/libfontmanager/freetypeScaler.c
Print this page
*** 700,709 ****
--- 700,712 ----
return ptr_to_jlong(getNullGlyphImage());
}
if (!context->useSbits) {
renderFlags |= FT_LOAD_NO_BITMAP;
+ if (context->doBold || context->doItalize) {
+ renderFlags &= ~FT_LOAD_RENDER;
+ }
}
/* NB: in case of non identity transform
we might also prefer to disable transform before hinting,
and apply it explicitly after hinting is performed.
< prev index next >