ref: be6fe77405c52248cae73f172395cae2314cb8c5
parent: dcbb708e7addcf312607f7814c4052c1964b348f
author: Werner Lemberg <[email protected]>
date: Sun Feb 11 08:15:25 EST 2007
Some more info on Unicode cmaps.
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -2813,6 +2813,11 @@
/* This function returns an error if no charmap in the face */
/* corresponds to the encoding queried here. */
/* */
+ /* Because many fonts contain more than a single cmap for Unicode */
+ /* encoding, this function has some special code to select the one */
+ /* which covers Unicode best. It is thus preferable to */
+ /* @FT_Set_Charmap in this case. */
+ /* */
FT_EXPORT( FT_Error )
FT_Select_Charmap( FT_Face face,
FT_Encoding encoding );