summaryrefslogtreecommitdiff
path: root/include/freetype
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2009-03-31 18:06:19 +0200
committerWerner Lemberg <wl@gnu.org>2009-03-31 18:06:19 +0200
commit0ddc2fe2aeca1e1d4ed84492113d7b05782da3fd (patch)
treea22afac4d902c1f5e702548dcb68bec47f66daf0 /include/freetype
parent3ba8301b218dbb0b3007ceea46670f14f8f26746 (diff)
downloadfreetype2-0ddc2fe2aeca1e1d4ed84492113d7b05782da3fd.tar.gz
Slightly improve documentation of FT_Encoding.
Diffstat (limited to 'include/freetype')
-rw-r--r--include/freetype/freetype.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h
index 364388b5d..83823dcf7 100644
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -519,10 +519,7 @@ FT_BEGIN_HEADER
/* <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.). */
- /* */
- /* Because of 32-bit charcodes defined in Unicode (i.e., surrogates), */
- /* all character codes must be expressed as FT_Longs. */
+ /* UTF-8, UTF-16, etc.). */
/* */
/* Other encodings might be defined in the future. */
/* */
@@ -536,6 +533,10 @@ FT_BEGIN_HEADER
/* 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 */
/* mathematical symbols in the 32..255 character code range. For */