From f9644559a885fd61e3896cab5d6bd57fe2ed6a1a Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Tue, 12 Sep 2006 13:48:10 +0000 Subject: [PATCH] formatting --- ChangeLog | 16 ++++++++-------- src/sfnt/sfobjs.c | 9 ++++----- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index a4a4d2747..0a70b6909 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,19 +1,19 @@ 2006-09-11 David Turner - * src/sfnt/sfobjs.c (tt_face_get_name): support some function - which report their English names through an Apple Roman - (platform,encoding) pair, with language_id != English + * src/sfnt/sfobjs.c (tt_face_get_name): Support some fonts which + report their English names through an Apple Roman + (platform,encoding) pair, with language_id != English. - if the font uses another name entry with language_id == English, - it will be selected correctly though. + If the font uses another name entry with language_id == English, it + will be selected correctly, though. - * src/truetype/ttobjs.c: add unpatent-hinting selection for - "mingli.ttf" + * src/truetype/ttobjs.c (tt_face_init): Add unpatented hinting + selection for `mingli.ttf'. 2006-09-05 Werner Lemberg * src/truetype/ttpload.c (tt_face_load_hdmx): Handle `record_size' - values which have the upper two bytes set to 0xFF instead of 0xFF + values which have the upper two bytes set to 0xFF instead of 0x00 (as it happens in at least two CJKV fonts, `HAN NOM A.ttf' and `HAN NOM B.ttf'). diff --git a/src/sfnt/sfobjs.c b/src/sfnt/sfobjs.c index d9c1cb472..0b9a6e705 100644 --- a/src/sfnt/sfobjs.c +++ b/src/sfnt/sfobjs.c @@ -202,15 +202,14 @@ break; case TT_PLATFORM_MACINTOSH: - /* This is a bit special, because some fonts will use either - * an English language id, or a Roman encoding id, to indicate - * the English version of their font name - */ + /* This is a bit special because some fonts will use either */ + /* an English language id, or a Roman encoding id, to indicate */ + /* the English version of its font name. */ + /* */ if ( rec->languageID == TT_MAC_LANGID_ENGLISH ) found_apple_english = n; else if ( rec->encodingID == TT_MAC_ID_ROMAN ) found_apple_roman = n; - break; case TT_PLATFORM_MICROSOFT: