]> git.wh0rd.org - fontconfig.git/blobdiff - doc/fcfreetype.fncs
Document previously undocumented functions. (bug 12963)
[fontconfig.git] / doc / fcfreetype.fncs
index 6ecedda0ed3b6be034f688ab4104d8525f5c6699..935eacf9d479c694f6f8b818fc59abdf0d6e6c37 100644 (file)
@@ -53,6 +53,28 @@ If 'blanks' is not 0, the glyphs in the font are examined and any blank glyphs
 not in 'blanks' are not placed in the returned FcCharSet.
 @@
 
+@SYNOPSIS@
+#include <fontconfig.h>
+#include <fcfreetype.h>
+@RET@           FcCharSet *      
+@FUNC@          FcFreeTypeCharSetAndSpacing 
+@TYPE1@         FT_Face%                       @ARG1@          face      
+@TYPE2@         FcBlanks *                     @ARG2@          blanks
+@TYPE3@                int *                           @ARG3@          spacing
+@PURPOSE@      compute unicode coverage and spacing type
+@DESC@
+Scans a FreeType face and returns the set of encoded Unicode chars.
+This scans
+several encoding tables to build as complete a list as possible.  
+If 'blanks' is not 0, the glyphs in the font are examined and any blank glyphs
+not in 'blanks' are not placed in the returned FcCharSet.
+<parameter>spacing</parameter> receives the computed spacing type of the
+font, one of FC_MONO for a font where all glyphs have the same width,
+FC_DUAL, where the font has glyphs in precisely two widths, one twice as
+wide as the other, or FC_PROPORTIONAL where the font has glyphs of many
+widths.  
+@@
+
 @SYNOPSIS@
 #include &lt;fontconfig.h&gt;
 #include &lt;fcfreetype.h&gt;