X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=doc%2Ffcfreetype.fncs;h=dadecca950f903ba24fe9b698f56c9b9be44805e;hb=72ffe6536a6825a32095c8185aff836a12326ac5;hp=b226561acd866dcb4c28ce9704745f26d2144cf9;hpb=5e234d9e764d8c52d93b918a5c92b7956c95882b;p=fontconfig.git diff --git a/doc/fcfreetype.fncs b/doc/fcfreetype.fncs index b226561..dadecca 100644 --- a/doc/fcfreetype.fncs +++ b/doc/fcfreetype.fncs @@ -62,8 +62,23 @@ not in 'blanks' are not placed in the returned FcCharSet. @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). +@@