Blame doc/fcfreetype.sgml

Packit 352660
Packit 352660
   fontconfig/doc/func.sgml
Packit 352660
  
Packit 352660
   Copyright © 2003 Keith Packard
Packit 352660
  
Packit 352660
   Permission to use, copy, modify, distribute, and sell this software and its
Packit 352660
   documentation for any purpose is hereby granted without fee, provided that
Packit 352660
   the above copyright notice appear in all copies and that both that
Packit 352660
   copyright notice and this permission notice appear in supporting
Packit 352660
   documentation, and that the name of the author(s) not be used in
Packit 352660
   advertising or publicity pertaining to distribution of the software without
Packit 352660
   specific, written prior permission.  The authors make no
Packit 352660
   representations about the suitability of this software for any purpose.  It
Packit 352660
   is provided "as is" without express or implied warranty.
Packit 352660
  
Packit 352660
   THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
Packit 352660
   INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
Packit 352660
   EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
Packit 352660
   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
Packit 352660
   DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
Packit 352660
   TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
Packit 352660
   PERFORMANCE OF THIS SOFTWARE.
Packit 352660
 -->
Packit 352660
    <refentry id="FcFreeTypeCharIndex">
Packit 352660
	<refmeta>
Packit 352660
	    <refentrytitle>FcFreeTypeCharIndex</refentrytitle>
Packit 352660
	    <manvolnum>3</manvolnum>
Packit 352660
	    <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
Packit 352660
	</refmeta>
Packit 352660
	<refnamediv>
Packit 352660
	    <refname>FcFreeTypeCharIndex</refname>
Packit 352660
	    <refpurpose>map Unicode to glyph id</refpurpose>
Packit 352660
	</refnamediv>
Packit 352660
	<refsynopsisdiv>
Packit 352660
	<funcsynopsis>
Packit 352660
	<funcsynopsisinfo>
Packit 352660
#include <fontconfig.h>
Packit 352660
#include <fcfreetype.h>
Packit 352660
	</funcsynopsisinfo>
Packit 352660
	<funcprototype>
Packit 352660
	    <funcdef>FT_UInt <function>FcFreeTypeCharIndex</function></funcdef>
Packit 352660
		<paramdef>FT_Face <parameter>face</parameter></paramdef>
Packit 352660
		<paramdef>FcChar32 <parameter>ucs4</parameter></paramdef>
Packit 352660
	</funcprototype>
Packit 352660
	</funcsynopsis>
Packit 352660
	</refsynopsisdiv>
Packit 352660
	<refsect1><title>Description</title>
Packit 352660
	    <para>
Packit 352660
Maps a Unicode char to a glyph index.  This function uses information from
Packit 352660
several possible underlying encoding tables to work around broken fonts.
Packit 352660
As a result, this function isn't designed to be used in performance
Packit 352660
sensitive areas; results from this function are intended to be cached by
Packit 352660
higher level functions.
Packit 352660
	    </para>
Packit 352660
	</refsect1>
Packit 352660
    </refentry>
Packit 352660
Packit 352660
   fontconfig/doc/func.sgml
Packit 352660
  
Packit 352660
   Copyright © 2003 Keith Packard
Packit 352660
  
Packit 352660
   Permission to use, copy, modify, distribute, and sell this software and its
Packit 352660
   documentation for any purpose is hereby granted without fee, provided that
Packit 352660
   the above copyright notice appear in all copies and that both that
Packit 352660
   copyright notice and this permission notice appear in supporting
Packit 352660
   documentation, and that the name of the author(s) not be used in
Packit 352660
   advertising or publicity pertaining to distribution of the software without
Packit 352660
   specific, written prior permission.  The authors make no
Packit 352660
   representations about the suitability of this software for any purpose.  It
Packit 352660
   is provided "as is" without express or implied warranty.
Packit 352660
  
Packit 352660
   THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
Packit 352660
   INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
Packit 352660
   EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
Packit 352660
   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
Packit 352660
   DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
Packit 352660
   TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
Packit 352660
   PERFORMANCE OF THIS SOFTWARE.
Packit 352660
 -->
Packit 352660
    <refentry id="FcFreeTypeCharSet">
Packit 352660
	<refmeta>
Packit 352660
	    <refentrytitle>FcFreeTypeCharSet</refentrytitle>
Packit 352660
	    <manvolnum>3</manvolnum>
Packit 352660
	    <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
Packit 352660
	</refmeta>
Packit 352660
	<refnamediv>
Packit 352660
	    <refname>FcFreeTypeCharSet</refname>
Packit 352660
	    <refpurpose>compute Unicode coverage</refpurpose>
Packit 352660
	</refnamediv>
Packit 352660
	<refsynopsisdiv>
Packit 352660
	<funcsynopsis>
Packit 352660
	<funcsynopsisinfo>
Packit 352660
#include <fontconfig.h>
Packit 352660
#include <fcfreetype.h>
Packit 352660
	</funcsynopsisinfo>
Packit 352660
	<funcprototype>
Packit 352660
	    <funcdef>FcCharSet * <function>FcFreeTypeCharSet</function></funcdef>
Packit 352660
		<paramdef>FT_Face <parameter>face</parameter></paramdef>
Packit 352660
		<paramdef>FcBlanks *<parameter>blanks</parameter></paramdef>
Packit 352660
	</funcprototype>
Packit 352660
	</funcsynopsis>
Packit 352660
	</refsynopsisdiv>
Packit 352660
	<refsect1><title>Description</title>
Packit 352660
	    <para>
Packit 352660
Scans a FreeType face and returns the set of encoded Unicode chars.
Packit 352660
FcBlanks is deprecated, <parameter>blanks</parameter> is ignored and
Packit 352660
accepted only for compatibility with older code.
Packit 352660
	    </para>
Packit 352660
	</refsect1>
Packit 352660
    </refentry>
Packit 352660
Packit 352660
   fontconfig/doc/func.sgml
Packit 352660
  
Packit 352660
   Copyright © 2003 Keith Packard
Packit 352660
  
Packit 352660
   Permission to use, copy, modify, distribute, and sell this software and its
Packit 352660
   documentation for any purpose is hereby granted without fee, provided that
Packit 352660
   the above copyright notice appear in all copies and that both that
Packit 352660
   copyright notice and this permission notice appear in supporting
Packit 352660
   documentation, and that the name of the author(s) not be used in
Packit 352660
   advertising or publicity pertaining to distribution of the software without
Packit 352660
   specific, written prior permission.  The authors make no
Packit 352660
   representations about the suitability of this software for any purpose.  It
Packit 352660
   is provided "as is" without express or implied warranty.
Packit 352660
  
Packit 352660
   THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
Packit 352660
   INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
Packit 352660
   EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
Packit 352660
   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
Packit 352660
   DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
Packit 352660
   TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
Packit 352660
   PERFORMANCE OF THIS SOFTWARE.
Packit 352660
 -->
Packit 352660
    <refentry id="FcFreeTypeCharSetAndSpacing">
Packit 352660
	<refmeta>
Packit 352660
	    <refentrytitle>FcFreeTypeCharSetAndSpacing</refentrytitle>
Packit 352660
	    <manvolnum>3</manvolnum>
Packit 352660
	    <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
Packit 352660
	</refmeta>
Packit 352660
	<refnamediv>
Packit 352660
	    <refname>FcFreeTypeCharSetAndSpacing</refname>
Packit 352660
	    <refpurpose>compute Unicode coverage and spacing type</refpurpose>
Packit 352660
	</refnamediv>
Packit 352660
	<refsynopsisdiv>
Packit 352660
	<funcsynopsis>
Packit 352660
	<funcsynopsisinfo>
Packit 352660
#include <fontconfig.h>
Packit 352660
#include <fcfreetype.h>
Packit 352660
	</funcsynopsisinfo>
Packit 352660
	<funcprototype>
Packit 352660
	    <funcdef>FcCharSet * <function>FcFreeTypeCharSetAndSpacing</function></funcdef>
Packit 352660
		<paramdef>FT_Face <parameter>face</parameter></paramdef>
Packit 352660
		<paramdef>FcBlanks *<parameter>blanks</parameter></paramdef>
Packit 352660
		<paramdef>int *<parameter>spacing</parameter></paramdef>
Packit 352660
	</funcprototype>
Packit 352660
	</funcsynopsis>
Packit 352660
	</refsynopsisdiv>
Packit 352660
	<refsect1><title>Description</title>
Packit 352660
	    <para>
Packit 352660
Scans a FreeType face and returns the set of encoded Unicode chars.
Packit 352660
FcBlanks is deprecated, <parameter>blanks</parameter> is ignored and
Packit 352660
accepted only for compatibility with older code.
Packit 352660
<parameter>spacing</parameter> receives the computed spacing type of the
Packit 352660
font, one of FC_MONO for a font where all glyphs have the same width,
Packit 352660
FC_DUAL, where the font has glyphs in precisely two widths, one twice as
Packit 352660
wide as the other, or FC_PROPORTIONAL where the font has glyphs of many
Packit 352660
widths.
Packit 352660
	    </para>
Packit 352660
	</refsect1>
Packit 352660
    </refentry>
Packit 352660
Packit 352660
   fontconfig/doc/func.sgml
Packit 352660
  
Packit 352660
   Copyright © 2003 Keith Packard
Packit 352660
  
Packit 352660
   Permission to use, copy, modify, distribute, and sell this software and its
Packit 352660
   documentation for any purpose is hereby granted without fee, provided that
Packit 352660
   the above copyright notice appear in all copies and that both that
Packit 352660
   copyright notice and this permission notice appear in supporting
Packit 352660
   documentation, and that the name of the author(s) not be used in
Packit 352660
   advertising or publicity pertaining to distribution of the software without
Packit 352660
   specific, written prior permission.  The authors make no
Packit 352660
   representations about the suitability of this software for any purpose.  It
Packit 352660
   is provided "as is" without express or implied warranty.
Packit 352660
  
Packit 352660
   THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
Packit 352660
   INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
Packit 352660
   EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
Packit 352660
   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
Packit 352660
   DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
Packit 352660
   TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
Packit 352660
   PERFORMANCE OF THIS SOFTWARE.
Packit 352660
 -->
Packit 352660
    <refentry id="FcFreeTypeQuery">
Packit 352660
	<refmeta>
Packit 352660
	    <refentrytitle>FcFreeTypeQuery</refentrytitle>
Packit 352660
	    <manvolnum>3</manvolnum>
Packit 352660
	    <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
Packit 352660
	</refmeta>
Packit 352660
	<refnamediv>
Packit 352660
	    <refname>FcFreeTypeQuery</refname>
Packit 352660
	    <refpurpose>compute pattern from font file (and index)</refpurpose>
Packit 352660
	</refnamediv>
Packit 352660
	<refsynopsisdiv>
Packit 352660
	<funcsynopsis>
Packit 352660
	<funcsynopsisinfo>
Packit 352660
#include <fontconfig.h>
Packit 352660
#include <fcfreetype.h>
Packit 352660
	</funcsynopsisinfo>
Packit 352660
	<funcprototype>
Packit 352660
	    <funcdef>FcPattern * <function>FcFreeTypeQuery</function></funcdef>
Packit 352660
		<paramdef>const FcChar8 *<parameter>file</parameter></paramdef>
Packit 352660
		<paramdef>int <parameter>id</parameter></paramdef>
Packit 352660
		<paramdef>FcBlanks *<parameter>blanks</parameter></paramdef>
Packit 352660
		<paramdef>int *<parameter>count</parameter></paramdef>
Packit 352660
	</funcprototype>
Packit 352660
	</funcsynopsis>
Packit 352660
	</refsynopsisdiv>
Packit 352660
	<refsect1><title>Description</title>
Packit 352660
	    <para>
Packit 352660
Constructs a pattern representing the 'id'th face in 'file'.  The number
Packit 352660
of faces in 'file' is returned in 'count'.
Packit 352660
FcBlanks is deprecated, <parameter>blanks</parameter> is ignored and
Packit 352660
accepted only for compatibility with older code.
Packit 352660
	    </para>
Packit 352660
	</refsect1>
Packit 352660
    </refentry>
Packit 352660
Packit 352660
   fontconfig/doc/func.sgml
Packit 352660
  
Packit 352660
   Copyright © 2003 Keith Packard
Packit 352660
  
Packit 352660
   Permission to use, copy, modify, distribute, and sell this software and its
Packit 352660
   documentation for any purpose is hereby granted without fee, provided that
Packit 352660
   the above copyright notice appear in all copies and that both that
Packit 352660
   copyright notice and this permission notice appear in supporting
Packit 352660
   documentation, and that the name of the author(s) not be used in
Packit 352660
   advertising or publicity pertaining to distribution of the software without
Packit 352660
   specific, written prior permission.  The authors make no
Packit 352660
   representations about the suitability of this software for any purpose.  It
Packit 352660
   is provided "as is" without express or implied warranty.
Packit 352660
  
Packit 352660
   THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
Packit 352660
   INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
Packit 352660
   EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
Packit 352660
   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
Packit 352660
   DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
Packit 352660
   TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
Packit 352660
   PERFORMANCE OF THIS SOFTWARE.
Packit 352660
 -->
Packit 352660
    <refentry id="FcFreeTypeQueryAll">
Packit 352660
	<refmeta>
Packit 352660
	    <refentrytitle>FcFreeTypeQueryAll</refentrytitle>
Packit 352660
	    <manvolnum>3</manvolnum>
Packit 352660
	    <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
Packit 352660
	</refmeta>
Packit 352660
	<refnamediv>
Packit 352660
	    <refname>FcFreeTypeQueryAll</refname>
Packit 352660
	    <refpurpose>compute all patterns from font file (and index)</refpurpose>
Packit 352660
	</refnamediv>
Packit 352660
	<refsynopsisdiv>
Packit 352660
	<funcsynopsis>
Packit 352660
	<funcsynopsisinfo>
Packit 352660
#include <fontconfig.h>
Packit 352660
#include <fcfreetype.h>
Packit 352660
	</funcsynopsisinfo>
Packit 352660
	<funcprototype>
Packit 352660
	    <funcdef>unsigned int <function>FcFreeTypeQueryAll</function></funcdef>
Packit 352660
		<paramdef>const FcChar8 *<parameter>file</parameter></paramdef>
Packit 352660
		<paramdef>int <parameter>id</parameter></paramdef>
Packit 352660
		<paramdef>FcBlanks *<parameter>blanks</parameter></paramdef>
Packit 352660
		<paramdef>int *<parameter>count</parameter></paramdef>
Packit 352660
		<paramdef>FcFontSet *<parameter>set</parameter></paramdef>
Packit 352660
	</funcprototype>
Packit 352660
	</funcsynopsis>
Packit 352660
	</refsynopsisdiv>
Packit 352660
	<refsect1><title>Description</title>
Packit 352660
	    <para>
Packit 352660
Constructs patterns found in 'file'.
Packit 352660
If id is -1, then all patterns found in 'file' are added to 'set'.
Packit 352660
Otherwise, this function works exactly like FcFreeTypeQuery().
Packit 352660
The number of faces in 'file' is returned in 'count'.
Packit 352660
The number of patterns added to 'set' is returned.
Packit 352660
FcBlanks is deprecated, <parameter>blanks</parameter> is ignored and
Packit 352660
accepted only for compatibility with older code.
Packit 352660
	    </para>
Packit 352660
	</refsect1>
Packit 352660
	<refsect1><title>Since</title>
Packit 352660
	    <para>version 2.12.91</para>
Packit 352660
	</refsect1>
Packit 352660
    </refentry>
Packit 352660
Packit 352660
   fontconfig/doc/func.sgml
Packit 352660
  
Packit 352660
   Copyright © 2003 Keith Packard
Packit 352660
  
Packit 352660
   Permission to use, copy, modify, distribute, and sell this software and its
Packit 352660
   documentation for any purpose is hereby granted without fee, provided that
Packit 352660
   the above copyright notice appear in all copies and that both that
Packit 352660
   copyright notice and this permission notice appear in supporting
Packit 352660
   documentation, and that the name of the author(s) not be used in
Packit 352660
   advertising or publicity pertaining to distribution of the software without
Packit 352660
   specific, written prior permission.  The authors make no
Packit 352660
   representations about the suitability of this software for any purpose.  It
Packit 352660
   is provided "as is" without express or implied warranty.
Packit 352660
  
Packit 352660
   THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
Packit 352660
   INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
Packit 352660
   EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
Packit 352660
   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
Packit 352660
   DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
Packit 352660
   TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
Packit 352660
   PERFORMANCE OF THIS SOFTWARE.
Packit 352660
 -->
Packit 352660
    <refentry id="FcFreeTypeQueryFace">
Packit 352660
	<refmeta>
Packit 352660
	    <refentrytitle>FcFreeTypeQueryFace</refentrytitle>
Packit 352660
	    <manvolnum>3</manvolnum>
Packit 352660
	    <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
Packit 352660
	</refmeta>
Packit 352660
	<refnamediv>
Packit 352660
	    <refname>FcFreeTypeQueryFace</refname>
Packit 352660
	    <refpurpose>compute pattern from FT_Face</refpurpose>
Packit 352660
	</refnamediv>
Packit 352660
	<refsynopsisdiv>
Packit 352660
	<funcsynopsis>
Packit 352660
	<funcsynopsisinfo>
Packit 352660
#include <fontconfig.h>
Packit 352660
#include <fcfreetype.h>
Packit 352660
	</funcsynopsisinfo>
Packit 352660
	<funcprototype>
Packit 352660
	    <funcdef>FcPattern * <function>FcFreeTypeQueryFace</function></funcdef>
Packit 352660
		<paramdef>const FT_Face <parameter>face</parameter></paramdef>
Packit 352660
		<paramdef>const FcChar8 *<parameter>file</parameter></paramdef>
Packit 352660
		<paramdef>int <parameter>id</parameter></paramdef>
Packit 352660
		<paramdef>FcBlanks *<parameter>blanks</parameter></paramdef>
Packit 352660
	</funcprototype>
Packit 352660
	</funcsynopsis>
Packit 352660
	</refsynopsisdiv>
Packit 352660
	<refsect1><title>Description</title>
Packit 352660
	    <para>
Packit 352660
Constructs a pattern representing 'face'. 'file' and 'id' are used solely as
Packit 352660
data for pattern elements (FC_FILE, FC_INDEX and sometimes FC_FAMILY).
Packit 352660
FcBlanks is deprecated, <parameter>blanks</parameter> is ignored and
Packit 352660
accepted only for compatibility with older code.
Packit 352660
	    </para>
Packit 352660
	</refsect1>
Packit 352660
    </refentry>