Request for approval for CR Hebrew characters are not rendered on OEL 5.6 (original) (raw)

Edvard Wendelin edvard.wendelin at oracle.com
Thu Sep 8 02:06:20 PDT 2011


Approved.

use hg.openjdk.java.net/jdk7u/jdk7u-dev-gate/jdk/ for the push.

Cheers, Edvard

On 09/07/2011 08:36 PM, Phil Race wrote:

http://bugs.sun.com/bugdatabase/viewbug.do?bugid=7050826

Trivial diff :- --- a/src/solaris/native/sun/awt/fontpath.c Fri Sep 02 04:28:49 2011 -0700 +++ b/src/solaris/native/sun/awt/fontpath.c Tue Sep 06 13:40:31 2011 -0700 @@ -1191,8 +1191,16 @@ JavasunfontFontConfigManagergetFontC fontformat = NULL; (*FcPatternGetString)(fontPattern, FCFONTFORMAT, 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,

Changeset: b8b6587b9574 Author: prr Date: 2011-09-06 13:40 -0700 URL:http://hg.openjdk.java.net/jdk8/2d/jdk/rev/b8b6587b9574 7050826: Hebrew characters are not rendered on OEL 5.6 Reviewed-by: bae, jgodinez ! src/solaris/native/sun/awt/fontpath.c



More information about the jdk7u-dev mailing list