ref: 9207e001983db7cb6e5579c3e3bee20c4b036935
parent: 55d5a1cbe9483255236f29fbbcdcc4b69ea4a265
author: David Turner <[email protected]>
date: Tue Jan 2 11:58:13 EST 2007
adding documentation comment
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-01-02 David Turner <[email protected]>
+
+ * src/sfnt/sfobjs.c: adding documentation comment
+
2006-12-31 Masatake YAMATO <[email protected]>
* src/gxvalid/gxvkern.c (gxv_kern_subtable_fmt0_pairs_validate): New function.
--- a/src/sfnt/sfobjs.c
+++ b/src/sfnt/sfobjs.c
@@ -225,7 +225,15 @@
/* all Unicode strings are encoded using UTF-16BE */
case TT_MS_ID_UNICODE_CS:
case TT_MS_ID_SYMBOL_CS:
+ convert = tt_name_entry_ascii_from_utf16;
+ break;
+
case TT_MS_ID_UCS_4:
+ /* apparently, when this value is found in a name table entry,
+ * it is documented as "Full Unicode repertoire". Experience
+ * with the MsGothic shipped with Windows Vista shows that this is
+ * really UTF-16 names (the real UCS-4 is only used for charmaps)
+ */
convert = tt_name_entry_ascii_from_utf16;
break;