[Fontconfig] fontconfig: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Wed Sep 20 20:07:48 UTC 2017


 doc/fcfreetype.fncs |   31 +++++++++++++++++++++++++++++--
 1 file changed, 29 insertions(+), 2 deletions(-)

New commits:
commit 0757556ddfdce26e73df12459068464224116150
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Sep 20 13:07:02 2017 -0700

    Document FcFreeTypeQueryAll()

diff --git a/doc/fcfreetype.fncs b/doc/fcfreetype.fncs
index 15a9fc4..0c3823d 100644
--- a/doc/fcfreetype.fncs
+++ b/doc/fcfreetype.fncs
@@ -83,8 +83,35 @@ widths.
 @TYPE4@         int *				@ARG4@          count      
 @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'.
+Constructs a pattern representing the 'id'th face in 'file'.  The number
+of faces in 'file' is returned in 'count'.
+FcBlanks is deprecated, <parameter>blanks</parameter> is ignored and
+accepted only for compatibility with older code.
+@@
+
+unsigned int
+FcFreeTypeQueryAll(const FcChar8	*file,
+		   int			id,
+		   FcBlanks		*blanks,
+		   int			*count,
+		   FcFontSet            *set)
+ at SYNOPSIS@
+#include <fontconfig.h>
+#include <fcfreetype.h>
+ at RET@           unsigned int
+ at FUNC@          FcFreeTypeQueryAll
+ at TYPE1@         const FcChar8 *			@ARG1@          file
+ at TYPE2@         int%				@ARG2@          id
+ at TYPE3@         FcBlanks *			@ARG3@          blanks
+ at TYPE4@         int *				@ARG4@          count
+ at TYPE5@         FcFontSet *			@ARG5@          set
+ at PURPOSE@	compute all patterns from font file (and index)
+ at DESC@
+Constructs patterns found in 'file'.
+If id is -1, then all patterns found in 'file' are added to 'set'.
+Otherwise, this function works exactly like FcFreeTypeQuery().
+The number of faces in 'file' is returned in 'count'.
+The number of patterns added to 'set' is returned.
 FcBlanks is deprecated, <parameter>blanks</parameter> is ignored and
 accepted only for compatibility with older code.
 @@


More information about the Fontconfig mailing list