提交 7ee80b12 编写于 作者: P prr

7050826: Hebrew characters are not rendered on OEL 5.6

Reviewed-by: bae, jgodinez
上级 9b9b087f
无相关合并请求
......@@ -1191,8 +1191,16 @@ Java_sun_font_FontConfigManager_getFontConfig
fontformat = NULL;
(*FcPatternGetString)(fontPattern, FC_FONTFORMAT, 0, &fontformat);
if (fontformat != NULL && strcmp((char*)fontformat, "TrueType")
!= 0) {
/* We only want TrueType fonts but some Linuxes still depend
* on Type 1 fonts for some Locale support, so we'll allow
* them there.
*/
if (fontformat != NULL
&& (strcmp((char*)fontformat, "TrueType") != 0)
#ifdef __linux__
&& (strcmp((char*)fontformat, "Type 1") != 0)
#endif
) {
continue;
}
result = (*FcPatternGetCharSet)(fontPattern,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部