shithub: freetype+ttf2subf

Download patch

ref: f3bdbb4552065cda62185e08b094cffd74c74753
parent: 3708bdb35a6e3e5282f9b8d4d61d421b0be97739
author: Werner Lemberg <[email protected]>
date: Mon Jan 22 10:26:02 EST 2001

another small update of the Unicode range comments

git/fs: mount .git/fs: mount/attach disallowed
--- a/include/freetype/ttnameid.h
+++ b/include/freetype/ttnameid.h
@@ -481,7 +481,7 @@
 
   /* General Scripts Area */
 
-  /* Bit  0   C0 Controls and Basic Latin */
+  /* Bit  0   Basic Latin */
 #define TT_UCR_BASIC_LATIN                     (1L <<  0) /* U+0020-U+007E */
   /* Bit  1   C1 Controls and Latin-1 Supplement */
 #define TT_UCR_LATIN1_SUPPLEMENT               (1L <<  1) /* U+0080-U+00FF */
@@ -606,8 +606,12 @@
 
   /* Surrogates Area */
 
-  /* Bit 57   Surrogates */
-#define TT_UCR_SURROGATES                      (1L << 25) /* U+D800-U+DFFF */
+  /* Bit 57   High Surrogates             + */
+  /*          High Private Use Surrogates + */
+  /*          Low Surrogates                */
+#define TT_UCR_SURROGATES                      (1L << 25) /* U+D800-U+DB7F */
+                                                          /* U+DB80-U+DBFF */
+                                                          /* U+DC00-U+DFFF */
   /* Bit 58 is reserved for Unicode SubRanges */
 
   /* CJK Ideographs Area */