From e40d0daf91f5238bda7bf68492d880644b28fd1b Mon Sep 17 00:00:00 2001 From: David Turner Date: Tue, 26 Mar 2002 17:40:55 +0000 Subject: small improvement to "Get_Name" to handle the case where no English name is available.. --- src/sfnt/sfobjs.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/sfnt/sfobjs.c b/src/sfnt/sfobjs.c index 5108877b3..c19581574 100644 --- a/src/sfnt/sfobjs.c +++ b/src/sfnt/sfobjs.c @@ -196,7 +196,10 @@ case TT_PLATFORM_MICROSOFT: { - if ( (rec->languageID & 0x3FF) == 0x009 ) + /* we only take a non-English name when there is nothing */ + /* else available in the font.. */ + /* */ + if ( found_win = -1 || (rec->languageID & 0x3FF) == 0x009 ) { switch ( rec->encodingID ) { -- cgit v1.2.1