ref: 0ddc2fe2aeca1e1d4ed84492113d7b05782da3fd
parent: 3ba8301b218dbb0b3007ceea46670f14f8f26746
author: Werner Lemberg <[email protected]>
date: Tue Mar 31 14:06:19 EDT 2009
Slightly improve documentation of FT_Encoding.
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -519,11 +519,8 @@
/* <Note> */
/* Despite the name, this enumeration lists specific character */
/* repertories (i.e., charsets), and not text encoding methods (e.g., */
- /* UTF-8, UTF-16, GB2312_EUC, etc.). */
+ /* UTF-8, UTF-16, etc.). */
/* */
- /* Because of 32-bit charcodes defined in Unicode (i.e., surrogates), */
- /* all character codes must be expressed as FT_Longs. */
- /* */
/* Other encodings might be defined in the future. */
/* */
/* <Values> */
@@ -535,6 +532,10 @@
/* all versions of the Unicode repertoire, including ASCII and */
/* Latin-1. Most fonts include a Unicode charmap, but not all */
/* of them. */
+ /* */
+ /* For example, if you want to access Unicode value U+1F028 (and */
+ /* the font contains it), use value 0x1F028 as the input value for */
+ /* @FT_Get_Char_index. */
/* */
/* FT_ENCODING_MS_SYMBOL :: */
/* Corresponds to the Microsoft Symbol encoding, used to encode */