X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=doc%2Ffcfreetype.fncs;h=e4cca46a3a6998a0ec79969e132ef953673e0989;hb=082caefb6d5462c97f280b7037e3740b4865a244;hp=6ecedda0ed3b6be034f688ab4104d8525f5c6699;hpb=61895ed16c0c06e4d6b2abeb8ff292d53b4ea499;p=fontconfig.git diff --git a/doc/fcfreetype.fncs b/doc/fcfreetype.fncs index 6ecedda..e4cca46 100644 --- a/doc/fcfreetype.fncs +++ b/doc/fcfreetype.fncs @@ -1,5 +1,5 @@ /* - * $Id$ + * fontconfig/doc/fcfreetype.fncs * * Copyright © 2003 Keith Packard * @@ -7,15 +7,15 @@ * documentation for any purpose is hereby granted without fee, provided that * the above copyright notice appear in all copies and that both that * copyright notice and this permission notice appear in supporting - * documentation, and that the name of Keith Packard not be used in + * documentation, and that the name of the author(s) not be used in * advertising or publicity pertaining to distribution of the software without - * specific, written prior permission. Keith Packard makes no + * specific, written prior permission. The authors make no * representations about the suitability of this software for any purpose. It * is provided "as is" without express or implied warranty. * - * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + * THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO - * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR + * EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR @@ -45,7 +45,7 @@ higher level functions. @FUNC@ FcFreeTypeCharSet @TYPE1@ FT_Face% @ARG1@ face @TYPE2@ FcBlanks * @ARG2@ blanks -@PURPOSE@ compute unicode coverage +@PURPOSE@ compute Unicode coverage @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. @@ -53,12 +53,34 @@ 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. +spacing 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 <fontconfig.h> #include <fcfreetype.h> @RET@ FcPattern * @FUNC@ FcFreeTypeQuery -@TYPE1@ const char * @ARG1@ file +@TYPE1@ const FcChar8 * @ARG1@ file @TYPE2@ int% @ARG2@ id @TYPE3@ FcBlanks * @ARG3@ blanks @TYPE4@ int * @ARG4@ count @@ -74,7 +96,7 @@ of fonts in 'file' is returned in 'count'. @RET@ FcPattern * @FUNC@ FcFreeTypeQueryFace @TYPE1@ const FT_Face% @ARG1@ face -@TYPE2@ const char * @ARG2@ file +@TYPE2@ const FcChar8 * @ARG2@ file @TYPE3@ int% @ARG3@ id @TYPE4@ FcBlanks * @ARG4@ blanks @PURPOSE@ compute pattern from FT_Face