]> git.wh0rd.org - fontconfig.git/blobdiff - doc/fcfreetype.fncs
Add space between type and formal in devel man pages (bug 8935)
[fontconfig.git] / doc / fcfreetype.fncs
index b226561acd866dcb4c28ce9704745f26d2144cf9..6ecedda0ed3b6be034f688ab4104d8525f5c6699 100644 (file)
@@ -27,8 +27,8 @@
 #include <fcfreetype.h>
 @RET@           FT_UInt       
 @FUNC@          FcFreeTypeCharIndex 
-@TYPE1@         FT_Face                                @ARG1@          face      
-@TYPE2@         FcChar32                       @ARG2@          ucs4      
+@TYPE1@         FT_Face%                       @ARG1@          face      
+@TYPE2@         FcChar32%                      @ARG2@          ucs4      
 @PURPOSE@      map Unicode to glyph id
 @DESC@
 Maps a Unicode char to a glyph index.  This function uses information from
@@ -43,7 +43,7 @@ higher level functions.
 #include <fcfreetype.h>
 @RET@           FcCharSet *      
 @FUNC@          FcFreeTypeCharSet 
-@TYPE1@         FT_Face                                @ARG1@          face      
+@TYPE1@         FT_Face%                       @ARG1@          face      
 @TYPE2@         FcBlanks *                     @ARG2@          blanks
 @PURPOSE@      compute unicode coverage
 @DESC@
@@ -59,11 +59,26 @@ not in 'blanks' are not placed in the returned FcCharSet.
 @RET@           FcPattern *      
 @FUNC@          FcFreeTypeQuery 
 @TYPE1@         const char *                   @ARG1@          file      
-@TYPE2@         int                            @ARG2@          id      
+@TYPE2@         int%                           @ARG2@          id      
 @TYPE3@         FcBlanks *                     @ARG3@          blanks      
 @TYPE4@         int *                          @ARG4@          count      
-@PURPOSE@      compute font file pattern
+@PURPOSE@      compute pattern from font file (and index)
 @DESC@
 Constructs a pattern representing the 'id'th font in 'file'.  The number
 of fonts in 'file' is returned in 'count'.
 @@
+
+@SYNOPSIS@
+#include <fontconfig.h>
+#include <fcfreetype.h>
+@RET@           FcPattern *      
+@FUNC@          FcFreeTypeQueryFace
+@TYPE1@                const FT_Face%                  @ARG1@          face
+@TYPE2@         const char *                   @ARG2@          file
+@TYPE3@         int%                           @ARG3@          id
+@TYPE4@         FcBlanks *                     @ARG4@          blanks
+@PURPOSE@      compute pattern from FT_Face
+@DESC@
+Constructs a pattern representing 'face'. 'file' and 'id' are used solely as
+data for pattern elements (FC_FILE, FC_INDEX and sometimes FC_FAMILY).
+@@