sync code with last improvements from OpenBSD

This commit is contained in:
purplerain 2023-08-28 05:57:34 +00:00
commit 88965415ff
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
26235 changed files with 29195616 additions and 0 deletions

16
dist/fontconfig/doc/FcAtomicCreate.3 vendored Normal file
View file

@ -0,0 +1,16 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcAtomicCreate" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcAtomicCreate \- create an FcAtomic object
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcAtomic * FcAtomicCreate (const FcChar8 *\fIfile\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Creates a data structure containing data needed to control access to \fIfile\fR\&.
Writing is done to a separate file. Once that file is complete, the original
configuration file is atomically replaced so that reading process always see
a consistent and complete file without the need to lock for reading.

13
dist/fontconfig/doc/FcAtomicDeleteNew.3 vendored Normal file
View file

@ -0,0 +1,13 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcAtomicDeleteNew" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcAtomicDeleteNew \- delete new file
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
void FcAtomicDeleteNew (FcAtomic *\fIatomic\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Deletes the new file. Used in error recovery to back out changes.

13
dist/fontconfig/doc/FcAtomicDestroy.3 vendored Normal file
View file

@ -0,0 +1,13 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcAtomicDestroy" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcAtomicDestroy \- destroy an FcAtomic object
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
void FcAtomicDestroy (FcAtomic *\fIatomic\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Destroys \fIatomic\fR\&.

15
dist/fontconfig/doc/FcAtomicLock.3 vendored Normal file
View file

@ -0,0 +1,15 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcAtomicLock" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcAtomicLock \- lock a file
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcAtomicLock (FcAtomic *\fIatomic\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Attempts to lock the file referenced by \fIatomic\fR\&.
Returns FcFalse if the file is already locked, else returns FcTrue and
leaves the file locked.

14
dist/fontconfig/doc/FcAtomicNewFile.3 vendored Normal file
View file

@ -0,0 +1,14 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcAtomicNewFile" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcAtomicNewFile \- return new temporary file name
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcChar8 * FcAtomicNewFile (FcAtomic *\fIatomic\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Returns the filename for writing a new version of the file referenced
by \fIatomic\fR\&.

13
dist/fontconfig/doc/FcAtomicOrigFile.3 vendored Normal file
View file

@ -0,0 +1,13 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcAtomicOrigFile" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcAtomicOrigFile \- return original file name
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcChar8 * FcAtomicOrigFile (FcAtomic *\fIatomic\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Returns the file referenced by \fIatomic\fR\&.

View file

@ -0,0 +1,15 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcAtomicReplaceOrig" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcAtomicReplaceOrig \- replace original with new
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcAtomicReplaceOrig (FcAtomic *\fIatomic\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Replaces the original file referenced by \fIatomic\fR with
the new file. Returns FcFalse if the file cannot be replaced due to
permission issues in the filesystem. Otherwise returns FcTrue.

13
dist/fontconfig/doc/FcAtomicUnlock.3 vendored Normal file
View file

@ -0,0 +1,13 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcAtomicUnlock" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcAtomicUnlock \- unlock a file
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
void FcAtomicUnlock (FcAtomic *\fIatomic\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Unlocks the file.

14
dist/fontconfig/doc/FcBlanksAdd.3 vendored Normal file
View file

@ -0,0 +1,14 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcBlanksAdd" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcBlanksAdd \- Add a character to an FcBlanks
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcBlanksAdd (FcBlanks *\fIb\fB, FcChar32 \fIucs4\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
FcBlanks is deprecated.
This function always returns FALSE.

14
dist/fontconfig/doc/FcBlanksCreate.3 vendored Normal file
View file

@ -0,0 +1,14 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcBlanksCreate" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcBlanksCreate \- Create an FcBlanks
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBlanks * FcBlanksCreate (void\fI\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
FcBlanks is deprecated.
This function always returns NULL.

14
dist/fontconfig/doc/FcBlanksDestroy.3 vendored Normal file
View file

@ -0,0 +1,14 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcBlanksDestroy" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcBlanksDestroy \- Destroy and FcBlanks
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
void FcBlanksDestroy (FcBlanks *\fIb\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
FcBlanks is deprecated.
This function does nothing.

14
dist/fontconfig/doc/FcBlanksIsMember.3 vendored Normal file
View file

@ -0,0 +1,14 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcBlanksIsMember" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcBlanksIsMember \- Query membership in an FcBlanks
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcBlanksIsMember (FcBlanks *\fIb\fB, FcChar32 \fIucs4\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
FcBlanks is deprecated.
This function always returns FALSE.

15
dist/fontconfig/doc/FcCacheCopySet.3 vendored Normal file
View file

@ -0,0 +1,15 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCacheCopySet" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCacheCopySet \- Returns a copy of the fontset from cache
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcFontSet * FcCacheCopySet (const FcCache *\fIcache\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
The returned fontset contains each of the font patterns from
\fIcache\fR\&. This fontset may be modified, but the patterns
from the cache are read-only.

View file

@ -0,0 +1,17 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCacheCreateTagFile" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCacheCreateTagFile \- Create CACHEDIR.TAG at cache directory.
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
void FcCacheCreateTagFile (const FcConfig *\fIconfig\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
This tries to create CACHEDIR.TAG file at the cache directory registered
to \fIconfig\fR\&.
.SH "SINCE"
.PP
version 2.9.91

13
dist/fontconfig/doc/FcCacheDir.3 vendored Normal file
View file

@ -0,0 +1,13 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCacheDir" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCacheDir \- Return directory of cache
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
const FcChar8 * FcCacheDir (const FcCache *\fIcache\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
This function returns the directory from which the cache was constructed.

14
dist/fontconfig/doc/FcCacheNumFont.3 vendored Normal file
View file

@ -0,0 +1,14 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCacheNumFont" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCacheNumFont \- Returns the number of fonts in cache.
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
int FcCacheNumFont (const FcCache *\fIcache\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
This returns the number of fonts which would be included in the return from
FcCacheCopySet.

13
dist/fontconfig/doc/FcCacheNumSubdir.3 vendored Normal file
View file

@ -0,0 +1,13 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCacheNumSubdir" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCacheNumSubdir \- Return the number of subdirectories in cache.
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
int FcCacheNumSubdir (const FcCache *\fIcache\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
This returns the total number of subdirectories in the cache.

16
dist/fontconfig/doc/FcCacheSubdir.3 vendored Normal file
View file

@ -0,0 +1,16 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCacheSubdir" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCacheSubdir \- Return the i'th subdirectory.
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
const FcChar8 * FcCacheSubdir (const FcCache *\fIcache\fB, int\fIi\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
The set of subdirectories stored in a cache file are indexed by this
function, \fIi\fR should range from 0 to
\fIn\fR-1, where \fIn\fR is the return
value from FcCacheNumSubdir.

15
dist/fontconfig/doc/FcCharSetAddChar.3 vendored Normal file
View file

@ -0,0 +1,15 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCharSetAddChar" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCharSetAddChar \- Add a character to a charset
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcCharSetAddChar (FcCharSet *\fIfcs\fB, FcChar32 \fIucs4\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
\fBFcCharSetAddChar\fR adds a single Unicode char to the set,
returning FcFalse on failure, either as a result of a constant set or from
running out of memory.

14
dist/fontconfig/doc/FcCharSetCopy.3 vendored Normal file
View file

@ -0,0 +1,14 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCharSetCopy" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCharSetCopy \- Copy a charset
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcCharSet * FcCharSetCopy (FcCharSet *\fIsrc\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Makes a copy of \fIsrc\fR; note that this may not actually do anything more
than increment the reference count on \fIsrc\fR\&.

13
dist/fontconfig/doc/FcCharSetCount.3 vendored Normal file
View file

@ -0,0 +1,13 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCharSetCount" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCharSetCount \- Count entries in a charset
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcChar32 FcCharSetCount (const FcCharSet *\fIa\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Returns the total number of Unicode chars in \fIa\fR\&.

18
dist/fontconfig/doc/FcCharSetCoverage.3 vendored Normal file
View file

@ -0,0 +1,18 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCharSetCoverage" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCharSetCoverage \- DEPRECATED return coverage for a Unicode page
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcChar32 FcCharSetCoverage (const FcCharSet *\fIa\fB, FcChar32\fIpage\fB, FcChar32[8]\fIresult\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
DEPRECATED
This function returns a bitmask in \fIresult\fR which
indicates which code points in
\fIpage\fR are included in \fIa\fR\&.
\fBFcCharSetCoverage\fR returns the next page in the charset which has any
coverage.

14
dist/fontconfig/doc/FcCharSetCreate.3 vendored Normal file
View file

@ -0,0 +1,14 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCharSetCreate" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCharSetCreate \- Create an empty character set
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcCharSet * FcCharSetCreate (void\fI\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
\fBFcCharSetCreate\fR allocates and initializes a new empty
character set object.

18
dist/fontconfig/doc/FcCharSetDelChar.3 vendored Normal file
View file

@ -0,0 +1,18 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCharSetDelChar" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCharSetDelChar \- Add a character to a charset
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcCharSetDelChar (FcCharSet *\fIfcs\fB, FcChar32 \fIucs4\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
\fBFcCharSetDelChar\fR deletes a single Unicode char from the set,
returning FcFalse on failure, either as a result of a constant set or from
running out of memory.
.SH "SINCE"
.PP
version 2.9.0

15
dist/fontconfig/doc/FcCharSetDestroy.3 vendored Normal file
View file

@ -0,0 +1,15 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCharSetDestroy" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCharSetDestroy \- Destroy a character set
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
void FcCharSetDestroy (FcCharSet *\fIfcs\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
\fBFcCharSetDestroy\fR decrements the reference count
\fIfcs\fR\&. If the reference count becomes zero, all
memory referenced is freed.

14
dist/fontconfig/doc/FcCharSetEqual.3 vendored Normal file
View file

@ -0,0 +1,14 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCharSetEqual" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCharSetEqual \- Compare two charsets
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcCharSetEqual (const FcCharSet *\fIa\fB, const FcCharSet *\fIb\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Returns whether \fIa\fR and \fIb\fR
contain the same set of Unicode chars.

View file

@ -0,0 +1,35 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCharSetFirstPage" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCharSetFirstPage \- Start enumerating charset contents
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcChar32 FcCharSetFirstPage (const FcCharSet *\fIa\fB, FcChar32[FC_CHARSET_MAP_SIZE] \fImap\fB, FcChar32 *\fInext\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Builds an array of bits in \fImap\fR marking the
first page of Unicode coverage of \fIa\fR\&.
\fI*next\fR is set to contains the base code point
for the next page in \fIa\fR\&. Returns the base code
point for the page, or FC_CHARSET_DONE if
\fIa\fR contains no pages. As an example, if
\fBFcCharSetFirstPage\fR returns
0x300 and fills \fImap\fR with
.sp
.nf
0xffffffff 0xffffffff 0x01000008 0x44300002 0xffffd7f0 0xfffffffb 0xffff7fff 0xffff0003
.sp
.fi
Then the page contains code points 0x300 through
0x33f (the first 64 code points on the page)
because \fImap[0]\fR and
\fImap[1]\fR both have all their bits set. It also
contains code points 0x343 (\fI0x300 + 32*2
+ (4-1)\fR) and 0x35e (\fI0x300 +
32*2 + (31-1)\fR) because \fImap[2]\fR has
the 4th and 31st bits set. The code points represented by
map[3] and later are left as an exercise for the
reader ;).

13
dist/fontconfig/doc/FcCharSetHasChar.3 vendored Normal file
View file

@ -0,0 +1,13 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCharSetHasChar" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCharSetHasChar \- Check a charset for a char
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcCharSetHasChar (const FcCharSet *\fIfcs\fB, FcChar32 \fIucs4\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Returns whether \fIfcs\fR contains the char \fIucs4\fR\&.

View file

@ -0,0 +1,14 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCharSetIntersect" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCharSetIntersect \- Intersect charsets
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcCharSet * FcCharSetIntersect (const FcCharSet *\fIa\fB, const FcCharSet *\fIb\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Returns a set including only those chars found in both
\fIa\fR and \fIb\fR\&.

View file

@ -0,0 +1,13 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCharSetIntersectCount" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCharSetIntersectCount \- Intersect and count charsets
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcChar32 FcCharSetIntersectCount (const FcCharSet *\fIa\fB, const FcCharSet *\fIb\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Returns the number of chars that are in both \fIa\fR and \fIb\fR\&.

13
dist/fontconfig/doc/FcCharSetIsSubset.3 vendored Normal file
View file

@ -0,0 +1,13 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCharSetIsSubset" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCharSetIsSubset \- Test for charset inclusion
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcCharSetIsSubset (const FcCharSet *\fIa\fB, const FcCharSet *\fIb\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Returns whether \fIa\fR is a subset of \fIb\fR\&.

18
dist/fontconfig/doc/FcCharSetMerge.3 vendored Normal file
View file

@ -0,0 +1,18 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCharSetMerge" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCharSetMerge \- Merge charsets
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcCharSetMerge (FcCharSet *\fIa\fB, const FcCharSet *\fIb\fB, FcBool *\fIchanged\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Adds all chars in \fIb\fR to \fIa\fR\&.
In other words, this is an in-place version of FcCharSetUnion.
If \fIchanged\fR is not NULL, then it returns whether any new
chars from \fIb\fR were added to \fIa\fR\&.
Returns FcFalse on failure, either when \fIa\fR is a constant
set or from running out of memory.

13
dist/fontconfig/doc/FcCharSetNew.3 vendored Normal file
View file

@ -0,0 +1,13 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCharSetNew" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCharSetNew \- DEPRECATED alias for FcCharSetCreate
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcCharSet * FcCharSetNew (void\fI\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
\fBFcCharSetNew\fR is a DEPRECATED alias for FcCharSetCreate.

21
dist/fontconfig/doc/FcCharSetNextPage.3 vendored Normal file
View file

@ -0,0 +1,21 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCharSetNextPage" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCharSetNextPage \- Continue enumerating charset contents
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcChar32 FcCharSetNextPage (const FcCharSet *\fIa\fB, FcChar32[FC_CHARSET_MAP_SIZE] \fImap\fB, FcChar32 *\fInext\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Builds an array of bits in \fImap\fR marking the
Unicode coverage of \fIa\fR for page containing
\fI*next\fR (see the
\fBFcCharSetFirstPage\fR description for details).
\fI*next\fR is set to contains the base code point
for the next page in \fIa\fR\&. Returns the base of
code point for the page, or FC_CHARSET_DONE if
\fIa\fR does not contain
\fI*next\fR\&.

13
dist/fontconfig/doc/FcCharSetSubtract.3 vendored Normal file
View file

@ -0,0 +1,13 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCharSetSubtract" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCharSetSubtract \- Subtract charsets
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcCharSet * FcCharSetSubtract (const FcCharSet *\fIa\fB, const FcCharSet *\fIb\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Returns a set including only those chars found in \fIa\fR but not \fIb\fR\&.

View file

@ -0,0 +1,13 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCharSetSubtractCount" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCharSetSubtractCount \- Subtract and count charsets
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcChar32 FcCharSetSubtractCount (const FcCharSet *\fIa\fB, const FcCharSet *\fIb\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Returns the number of chars that are in \fIa\fR but not in \fIb\fR\&.

13
dist/fontconfig/doc/FcCharSetUnion.3 vendored Normal file
View file

@ -0,0 +1,13 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcCharSetUnion" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcCharSetUnion \- Add charsets
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcCharSet * FcCharSetUnion (const FcCharSet *\fIa\fB, const FcCharSet *\fIb\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Returns a set including only those chars found in either \fIa\fR or \fIb\fR\&.

View file

@ -0,0 +1,17 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigAppFontAddDir" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigAppFontAddDir \- Add fonts from directory to font database
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcConfigAppFontAddDir (FcConfig *\fIconfig\fB, const FcChar8 *\fIdir\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Scans the specified directory for fonts, adding each one found to the
application-specific set of fonts. Returns FcFalse
if the fonts cannot be added (due to allocation failure).
Otherwise returns FcTrue. If \fIconfig\fR is NULL,
the current configuration is used.

View file

@ -0,0 +1,16 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigAppFontAddFile" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigAppFontAddFile \- Add font file to font database
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcConfigAppFontAddFile (FcConfig *\fIconfig\fB, const FcChar8 *\fIfile\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Adds an application-specific font to the configuration. Returns FcFalse
if the fonts cannot be added (due to allocation failure or no fonts found).
Otherwise returns FcTrue. If \fIconfig\fR is NULL,
the current configuration is used.

View file

@ -0,0 +1,14 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigAppFontClear" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigAppFontClear \- Remove all app fonts from font database
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
void FcConfigAppFontClear (FcConfig *\fIconfig\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Clears the set of application-specific fonts.
If \fIconfig\fR is NULL, the current configuration is used.

View file

@ -0,0 +1,16 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigBuildFonts" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigBuildFonts \- Build font database
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcConfigBuildFonts (FcConfig *\fIconfig\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Builds the set of available fonts for the given configuration. Note that
any changes to the configuration after this call have indeterminate effects.
Returns FcFalse if this operation runs out of memory.
If \fIconfig\fR is NULL, the current configuration is used.

13
dist/fontconfig/doc/FcConfigCreate.3 vendored Normal file
View file

@ -0,0 +1,13 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigCreate" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigCreate \- Create a configuration
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcConfig * FcConfigCreate (void\fI\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Creates an empty configuration.

16
dist/fontconfig/doc/FcConfigDestroy.3 vendored Normal file
View file

@ -0,0 +1,16 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigDestroy" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigDestroy \- Destroy a configuration
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
void FcConfigDestroy (FcConfig *\fIconfig\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Decrements the config reference count. If all references are gone, destroys
the configuration and any data associated with it.
Note that calling this function with the return from FcConfigGetCurrent will
cause a new configuration to be created for use as current configuration.

View file

@ -0,0 +1,17 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigEnableHome" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigEnableHome \- controls use of the home directory.
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcConfigEnableHome (FcBool \fIenable\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
If \fIenable\fR is FcTrue, then Fontconfig will use various
files which are specified relative to the user's home directory (using the ~
notation in the configuration). When \fIenable\fR is
FcFalse, then all use of the home directory in these contexts will be
disabled. The previous setting of the value is returned.

View file

@ -0,0 +1,22 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigFileInfoIterGet" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigFileInfoIterGet \- Obtain the configuration file information
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcConfigFileInfoIterGet (FcConfig *\fIconfig\fB, FcConfigFileInfoIter *\fIiter\fB, FcChar8 **\fIname\fB, FcChar8 **\fIdescription\fB, FcBool *\fIenabled\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Obtain the filename, the description and the flag whether it is enabled or not
for 'iter' where points to current configuration file information.
If the iterator is invalid, FcFalse is returned.
.PP
This function isn't MT-safe. \fBFcConfigReference\fR must be called
before using \fBFcConfigFileInfoIterInit\fR and then
\fBFcConfigDestroy\fR when the relevant values are no longer referenced.
.SH "SINCE"
.PP
version 2.12.91

View file

@ -0,0 +1,23 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigFileInfoIterInit" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigFileInfoIterInit \- Initialize the iterator
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
void FcConfigFileInfoIterInit (FcConfig *\fIconfig\fB, FcConfigFileInfoIter *\fIiter\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Initialize 'iter' with the first iterator in the config file information list.
.PP
The config file information list is stored in numerical order for filenames
i.e. how fontconfig actually read them.
.PP
This function isn't MT-safe. \fBFcConfigReference\fR must be called
before using this and then \fBFcConfigDestroy\fR when the relevant
values are no longer referenced.
.SH "SINCE"
.PP
version 2.12.91

View file

@ -0,0 +1,21 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigFileInfoIterNext" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigFileInfoIterNext \- Set the iterator to point to the next list
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcConfigFileInfoIterNext (FcConfig *\fIconfig\fB, FcConfigFileInfoIter *\fIiter\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Set 'iter' to point to the next node in the config file information list.
If there is no next node, FcFalse is returned.
.PP
This function isn't MT-safe. \fBFcConfigReference\fR must be called
before using \fBFcConfigFileInfoIterInit\fR and then
\fBFcConfigDestroy\fR when the relevant values are no longer referenced.
.SH "SINCE"
.PP
version 2.12.91

13
dist/fontconfig/doc/FcConfigFilename.3 vendored Normal file
View file

@ -0,0 +1,13 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigFilename" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigFilename \- Find a config file
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcChar8 * FcConfigFilename (const FcChar8 *\fIname\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
This function is deprecated and is replaced by \fBFcConfigGetFilename\fR\&.

14
dist/fontconfig/doc/FcConfigGetBlanks.3 vendored Normal file
View file

@ -0,0 +1,14 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigGetBlanks" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigGetBlanks \- Get config blanks
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBlanks * FcConfigGetBlanks (FcConfig *\fIconfig\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
FcBlanks is deprecated.
This function always returns NULL.

14
dist/fontconfig/doc/FcConfigGetCache.3 vendored Normal file
View file

@ -0,0 +1,14 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigGetCache" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigGetCache \- DEPRECATED used to return per-user cache filename
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcChar8 * FcConfigGetCache (FcConfig *\fIconfig\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
With fontconfig no longer using per-user cache files, this function now
simply returns NULL to indicate that no per-user file exists.

View file

@ -0,0 +1,16 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigGetCacheDirs" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigGetCacheDirs \- return the list of directories searched for cache files
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcStrList * FcConfigGetCacheDirs (const FcConfig *\fIconfig\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
\fBFcConfigGetCacheDirs\fR returns a string list containing
all of the directories that fontconfig will search when attempting to load a
cache file for a font directory.
If \fIconfig\fR is NULL, the current configuration is used.

View file

@ -0,0 +1,15 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigGetConfigDirs" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigGetConfigDirs \- Get config directories
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcStrList * FcConfigGetConfigDirs (FcConfig *\fIconfig\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Returns the list of font directories specified in the configuration files
for \fIconfig\fR\&. Does not include any subdirectories.
If \fIconfig\fR is NULL, the current configuration is used.

View file

@ -0,0 +1,14 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigGetConfigFiles" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigGetConfigFiles \- Get config files
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcStrList * FcConfigGetConfigFiles (FcConfig *\fIconfig\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Returns the list of known configuration files used to generate \fIconfig\fR\&.
If \fIconfig\fR is NULL, the current configuration is used.

View file

@ -0,0 +1,13 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigGetCurrent" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigGetCurrent \- Return current configuration
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcConfig * FcConfigGetCurrent (void\fI\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Returns the current default configuration.

View file

@ -0,0 +1,25 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigGetFilename" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigGetFilename \- Find a config file
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcChar8 * FcConfigGetFilename (FcConfig *\fIconfig\fB, const FcChar8 *\fIname\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Given the specified external entity name, return the associated filename.
This provides applications a way to convert various configuration file
references into filename form.
.PP
A null or empty \fIname\fR indicates that the default configuration file should
be used; which file this references can be overridden with the
FONTCONFIG_FILE environment variable. Next, if the name starts with \fI~\fR, it
refers to a file in the current users home directory. Otherwise if the name
doesn't start with '/', it refers to a file in the default configuration
directory; the built-in default directory can be overridden with the
FONTCONFIG_PATH environment variable.
.PP
The result of this function is affected by the FONTCONFIG_SYSROOT environment variable or equivalent functionality.

View file

@ -0,0 +1,16 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigGetFontDirs" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigGetFontDirs \- Get font directories
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcStrList * FcConfigGetFontDirs (FcConfig *\fIconfig\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Returns the list of font directories in \fIconfig\fR\&. This includes the
configured font directories along with any directories below those in the
filesystem.
If \fIconfig\fR is NULL, the current configuration is used.

20
dist/fontconfig/doc/FcConfigGetFonts.3 vendored Normal file
View file

@ -0,0 +1,20 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigGetFonts" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigGetFonts \- Get config font set
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcFontSet * FcConfigGetFonts (FcConfig *\fIconfig\fB, FcSetName \fIset\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Returns one of the two sets of fonts from the configuration as specified
by \fIset\fR\&. This font set is owned by the library and must
not be modified or freed.
If \fIconfig\fR is NULL, the current configuration is used.
.PP
This function isn't MT-safe. \fBFcConfigReference\fR must be called
before using this and then \fBFcConfigDestroy\fR when
the return value is no longer referenced.

View file

@ -0,0 +1,17 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigGetRescanInterval" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigGetRescanInterval \- Get config rescan interval
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
int FcConfigGetRescanInterval (FcConfig *\fIconfig\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Returns the interval between automatic checks of the configuration (in
seconds) specified in \fIconfig\fR\&. The configuration is checked during
a call to FcFontList when this interval has passed since the last check.
An interval setting of zero disables automatic checks.
If \fIconfig\fR is NULL, the current configuration is used.

View file

@ -0,0 +1,22 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigGetSysRoot" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigGetSysRoot \- Obtain the system root directory
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
const FcChar8 * FcConfigGetSysRoot (const FcConfig *\fIconfig\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Obtains the system root directory in 'config' if available. All files
(including file properties in patterns) obtained from this 'config' are
relative to this system root directory.
.PP
This function isn't MT-safe. \fBFcConfigReference\fR must be called
before using this and then \fBFcConfigDestroy\fR when
the return value is no longer referenced.
.SH "SINCE"
.PP
version 2.10.92

15
dist/fontconfig/doc/FcConfigHome.3 vendored Normal file
View file

@ -0,0 +1,15 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigHome" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigHome \- return the current home directory.
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcChar8 * FcConfigHome (void\fI\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Return the current user's home directory, if it is available, and if using it
is enabled, and NULL otherwise.
See also \fBFcConfigEnableHome\fR).

View file

@ -0,0 +1,18 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigParseAndLoad" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigParseAndLoad \- load a configuration file
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcConfigParseAndLoad (FcConfig *\fIconfig\fB, const FcChar8 *\fIfile\fB, FcBool \fIcomplain\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Walks the configuration in 'file' and constructs the internal representation
in 'config'. Any include files referenced from within 'file' will be loaded
and parsed. If 'complain' is FcFalse, no warning will be displayed if
\&'file' does not exist. Error and warning messages will be output to stderr.
Returns FcFalse if some error occurred while loading the file, either a
parse error, semantic error or allocation failure. Otherwise returns FcTrue.

View file

@ -0,0 +1,21 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigParseAndLoadFromMemory" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigParseAndLoadFromMemory \- load a configuration from memory
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcConfigParseAndLoadFromMemory (FcConfig *\fIconfig\fB, const FcChar8 *\fIbuffer\fB, FcBool \fIcomplain\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Walks the configuration in 'memory' and constructs the internal representation
in 'config'. Any includes files referenced from within 'memory' will be loaded
and dparsed. If 'complain' is FcFalse, no warning will be displayed if
\&'file' does not exist. Error and warning messages will be output to stderr.
Returns FcFalse if fsome error occurred while loading the file, either a
parse error, semantic error or allocation failure. Otherwise returns FcTrue.
.SH "SINCE"
.PP
version 2.12.5

18
dist/fontconfig/doc/FcConfigReference.3 vendored Normal file
View file

@ -0,0 +1,18 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigReference" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigReference \- Increment config reference count
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcConfig * FcConfigReference (FcConfig *\fIconfig\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Add another reference to \fIconfig\fR\&. Configs are freed only
when the reference count reaches zero.
If \fIconfig\fR is NULL, the current configuration is used.
In that case this function will be similar to FcConfigGetCurrent() except that
it increments the reference count before returning and the user is responsible
for destroying the configuration when not needed anymore.

View file

@ -0,0 +1,15 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigSetCurrent" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigSetCurrent \- Set configuration as default
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcConfigSetCurrent (FcConfig *\fIconfig\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Sets the current default configuration to \fIconfig\fR\&. Implicitly calls
FcConfigBuildFonts if necessary, and FcConfigReference() to inrease the reference count
in \fIconfig\fR since 2.12.0, returning FcFalse if that call fails.

View file

@ -0,0 +1,16 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigSetRescanInterval" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigSetRescanInterval \- Set config rescan interval
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcConfigSetRescanInterval (FcConfig *\fIconfig\fB, int \fIrescanInterval\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Sets the rescan interval. Returns FcFalse if the interval cannot be set (due
to allocation failure). Otherwise returns FcTrue.
An interval setting of zero disables automatic checks.
If \fIconfig\fR is NULL, the current configuration is used.

View file

@ -0,0 +1,22 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigSetSysRoot" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigSetSysRoot \- Set the system root directory
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
void FcConfigSetSysRoot (FcConfig *\fIconfig\fB, const FcChar8 *\fIsysroot\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Set 'sysroot' as the system root directory. All file paths used or created with
this 'config' (including file properties in patterns) will be considered or
made relative to this 'sysroot'. This allows a host to generate caches for
targets at build time. This also allows a cache to be re-targeted to a
different base directory if 'FcConfigGetSysRoot' is used to resolve file paths.
When setting this on the current config this causes changing current config
(calls FcConfigSetCurrent()).
.SH "SINCE"
.PP
version 2.10.92

View file

@ -0,0 +1,15 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigSubstitute" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigSubstitute \- Execute substitutions
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcConfigSubstitute (FcConfig *\fIconfig\fB, FcPattern *\fIp\fB, FcMatchKind \fIkind\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Calls FcConfigSubstituteWithPat setting p_pat to NULL. Returns FcFalse
if the substitution cannot be performed (due to allocation failure). Otherwise returns FcTrue.
If \fIconfig\fR is NULL, the current configuration is used.

View file

@ -0,0 +1,18 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigSubstituteWithPat" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigSubstituteWithPat \- Execute substitutions
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcConfigSubstituteWithPat (FcConfig *\fIconfig\fB, FcPattern *\fIp\fB, FcPattern *\fIp_pat\fB, FcMatchKind \fIkind\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Performs the sequence of pattern modification operations, if \fIkind\fR is
FcMatchPattern, then those tagged as pattern operations are applied, else
if \fIkind\fR is FcMatchFont, those tagged as font operations are applied and
p_pat is used for <test> elements with target=pattern. Returns FcFalse
if the substitution cannot be performed (due to allocation failure). Otherwise returns FcTrue.
If \fIconfig\fR is NULL, the current configuration is used.

15
dist/fontconfig/doc/FcConfigUptoDate.3 vendored Normal file
View file

@ -0,0 +1,15 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigUptoDate" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcConfigUptoDate \- Check timestamps on config files
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcConfigUptoDate (FcConfig *\fIconfig\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Checks all of the files related to \fIconfig\fR and returns
whether any of them has been modified since the configuration was created.
If \fIconfig\fR is NULL, the current configuration is used.

View file

@ -0,0 +1,24 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcDefaultSubstitute" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcDefaultSubstitute \- Perform default substitutions in a pattern
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
void FcDefaultSubstitute (FcPattern *\fIpattern\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Supplies default values for underspecified font patterns:
.TP 0.2i
\(bu
Patterns without a specified style or weight are set to Medium
.TP 0.2i
\(bu
Patterns without a specified style or slant are set to Roman
.TP 0.2i
\(bu
Patterns without a specified pixel size are given one computed from any
specified point size (default 12), dpi (default 75) and scale (default 1).
.PP

17
dist/fontconfig/doc/FcDirCacheClean.3 vendored Normal file
View file

@ -0,0 +1,17 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcDirCacheClean" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcDirCacheClean \- Clean up a cache directory
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcDirCacheClean (const FcChar8 *\fIcache_dir\fB, FcBool\fIverbose\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
This tries to clean up the cache directory of \fIcache_dir\fR\&.
This returns FcTrue if the operation is successfully complete. otherwise FcFalse.
.SH "SINCE"
.PP
version 2.9.91

View file

@ -0,0 +1,16 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcDirCacheCreateUUID" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcDirCacheCreateUUID \- Create .uuid file at a directory
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcDirCacheCreateUUID (FcChar8 *\fIdir\fB, FcBool\fIforce\fB, FcConfig *\fIconfig\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
This function is deprecated. it doesn't take any effects.
.SH "SINCE"
.PP
version 2.12.92

View file

@ -0,0 +1,17 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcDirCacheDeleteUUID" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcDirCacheDeleteUUID \- Delete .uuid file
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcDirCacheDeleteUUID (const FcChar8 *\fIdir\fB, FcConfig *\fIconfig\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
This is to delete .uuid file containing an UUID at a font directory of
\fIdir\fR\&.
.SH "SINCE"
.PP
version 2.13.1

16
dist/fontconfig/doc/FcDirCacheLoad.3 vendored Normal file
View file

@ -0,0 +1,16 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcDirCacheLoad" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcDirCacheLoad \- load a directory cache
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcCache * FcDirCacheLoad (const FcChar8 *\fIdir\fB, FcConfig *\fIconfig\fB, FcChar8 **\fIcache_file\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Loads the cache related to \fIdir\fR\&. If no cache file
exists, returns NULL. The name of the cache file is returned in
\fIcache_file\fR, unless that is NULL. See also
FcDirCacheRead.

View file

@ -0,0 +1,15 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcDirCacheLoadFile" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcDirCacheLoadFile \- load a cache file
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcCache * FcDirCacheLoadFile (const FcChar8 *\fIcache_file\fB, struct stat *\fIfile_stat\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
This function loads a directory cache from
\fIcache_file\fR\&. If \fIfile_stat\fR is
non-NULL, it will be filled with the results of stat(2) on the cache file.

16
dist/fontconfig/doc/FcDirCacheRead.3 vendored Normal file
View file

@ -0,0 +1,16 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcDirCacheRead" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcDirCacheRead \- read or construct a directory cache
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcCache * FcDirCacheRead (const FcChar8 *\fIdir\fB, FcBool \fIforce\fB, FcConfig *\fIconfig\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
This returns a cache for \fIdir\fR\&. If
\fIforce\fR is FcFalse, then an existing, valid cache file
will be used. Otherwise, a new cache will be created by scanning the
directory and that returned.

17
dist/fontconfig/doc/FcDirCacheRescan.3 vendored Normal file
View file

@ -0,0 +1,17 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcDirCacheRescan" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcDirCacheRescan \- Re-scan a directory cache
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcCache * FcDirCacheRescan (const FcChar8 *\fIdir\fB, FcConfig *\fIconfig\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Re-scan directories only at \fIdir\fR and update the cache.
returns NULL if failed.
.SH "SINCE"
.PP
version 2.11.1

16
dist/fontconfig/doc/FcDirCacheUnlink.3 vendored Normal file
View file

@ -0,0 +1,16 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcDirCacheUnlink" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcDirCacheUnlink \- Remove all caches related to dir
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcDirCacheUnlink (const FcChar8 *\fIdir\fB, FcConfig *\fIconfig\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Scans the cache directories in \fIconfig\fR, removing any
instances of the cache file for \fIdir\fR\&. Returns FcFalse
when some internal error occurs (out of memory, etc). Errors actually
unlinking any files are ignored.

14
dist/fontconfig/doc/FcDirCacheUnload.3 vendored Normal file
View file

@ -0,0 +1,14 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcDirCacheUnload" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcDirCacheUnload \- unload a cache file
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
void FcDirCacheUnload (FcCache *\fIcache\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
This function dereferences \fIcache\fR\&. When no other
references to it remain, all memory associated with the cache will be freed.

14
dist/fontconfig/doc/FcDirCacheValid.3 vendored Normal file
View file

@ -0,0 +1,14 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcDirCacheValid" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcDirCacheValid \- check directory cache
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcDirCacheValid (const FcChar8 *\fIdir\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Returns FcTrue if \fIdir\fR has an associated valid cache
file, else returns FcFalse

17
dist/fontconfig/doc/FcDirSave.3 vendored Normal file
View file

@ -0,0 +1,17 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcDirSave" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcDirSave \- DEPRECATED: formerly used to save a directory cache
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcDirSave (FcFontSet *\fIset\fB, FcStrSet *\fIdirs\fB, const FcChar8 *\fIdir\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
This function now does nothing aside from returning FcFalse. It used to creates the
per-directory cache file for \fIdir\fR and populates it
with the fonts in \fIset\fR and subdirectories in
\fIdirs\fR\&. All of this functionality is now automatically
managed by FcDirCacheLoad and FcDirCacheRead.

18
dist/fontconfig/doc/FcDirScan.3 vendored Normal file
View file

@ -0,0 +1,18 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcDirScan" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcDirScan \- scan a font directory without caching it
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcDirScan (FcFontSet *\fIset\fB, FcStrSet *\fIdirs\fB, FcFileCache *\fIcache\fB, FcBlanks *\fIblanks\fB, const FcChar8 *\fIdir\fB, FcBool \fIforce\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
If \fIcache\fR is not zero or if \fIforce\fR
is FcFalse, this function currently returns FcFalse. Otherwise, it scans an
entire directory and adds all fonts found to \fIset\fR\&.
Any subdirectories found are added to \fIdirs\fR\&. Calling
this function does not create any cache files. Use FcDirCacheRead() if
caching is desired.

14
dist/fontconfig/doc/FcFileIsDir.3 vendored Normal file
View file

@ -0,0 +1,14 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcFileIsDir" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcFileIsDir \- check whether a file is a directory
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcFileIsDir (const FcChar8 *\fIfile\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Returns FcTrue if \fIfile\fR is a directory, otherwise
returns FcFalse.

23
dist/fontconfig/doc/FcFileScan.3 vendored Normal file
View file

@ -0,0 +1,23 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcFileScan" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcFileScan \- scan a font file
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcFileScan (FcFontSet *\fIset\fB, FcStrSet *\fIdirs\fB, FcFileCache *\fIcache\fB, FcBlanks *\fIblanks\fB, const FcChar8 *\fIfile\fB, FcBool \fIforce\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Scans a single file and adds all fonts found to \fIset\fR\&.
If \fIforce\fR is FcTrue, then the file is scanned even if
associated information is found in \fIcache\fR\&. If
\fIfile\fR is a directory, it is added to
\fIdirs\fR\&. Whether fonts are found depends on fontconfig
policy as well as the current configuration. Internally, fontconfig will
ignore BDF and PCF fonts which are not in Unicode (or the effectively
equivalent ISO Latin-1) encoding as those are not usable by Unicode-based
applications. The configuration can ignore fonts based on filename or
contents of the font file itself. Returns FcFalse if any of the fonts cannot be
added (due to allocation failure). Otherwise returns FcTrue.

16
dist/fontconfig/doc/FcFini.3 vendored Normal file
View file

@ -0,0 +1,16 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcFini" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcFini \- finalize fontconfig library
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
void FcFini (void\fI\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Frees all data structures allocated by previous calls to fontconfig
functions. Fontconfig returns to an uninitialized state, requiring a
new call to one of the FcInit functions before any other fontconfig
function may be called.

16
dist/fontconfig/doc/FcFontList.3 vendored Normal file
View file

@ -0,0 +1,16 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcFontList" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcFontList \- List fonts
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcFontSet * FcFontList (FcConfig *\fIconfig\fB, FcPattern *\fIp\fB, FcObjectSet *\fIos\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Selects fonts matching \fIp\fR, creates patterns from those fonts containing
only the objects in \fIos\fR and returns the set of unique such patterns.
If \fIconfig\fR is NULL, the default configuration is checked
to be up to date, and used.

20
dist/fontconfig/doc/FcFontMatch.3 vendored Normal file
View file

@ -0,0 +1,20 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcFontMatch" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcFontMatch \- Return best font
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcPattern * FcFontMatch (FcConfig *\fIconfig\fB, FcPattern *\fIp\fB, FcResult *\fIresult\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Finds the font in \fIsets\fR most closely matching
\fIpattern\fR and returns the result of
\fBFcFontRenderPrepare\fR for that font and the provided
pattern. This function should be called only after
\fBFcConfigSubstitute\fR and
\fBFcDefaultSubstitute\fR have been called for
\fIp\fR; otherwise the results will not be correct.
If \fIconfig\fR is NULL, the current configuration is used.

View file

@ -0,0 +1,16 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcFontRenderPrepare" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcFontRenderPrepare \- Prepare pattern for loading font file
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcPattern * FcFontRenderPrepare (FcConfig *\fIconfig\fB, FcPattern *\fIpat\fB, FcPattern *\fIfont\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Creates a new pattern consisting of elements of \fIfont\fR not appearing
in \fIpat\fR, elements of \fIpat\fR not appearing in \fIfont\fR and the best matching
value from \fIpat\fR for elements appearing in both. The result is passed to
FcConfigSubstituteWithPat with \fIkind\fR FcMatchFont and then returned.

15
dist/fontconfig/doc/FcFontSetAdd.3 vendored Normal file
View file

@ -0,0 +1,15 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcFontSetAdd" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcFontSetAdd \- Add to a font set
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcFontSetAdd (FcFontSet *\fIs\fB, FcPattern *\fIfont\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Adds a pattern to a font set. Note that the pattern is not copied before
being inserted into the set. Returns FcFalse if the pattern cannot be
inserted into the set (due to allocation failure). Otherwise returns FcTrue.

13
dist/fontconfig/doc/FcFontSetCreate.3 vendored Normal file
View file

@ -0,0 +1,13 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcFontSetCreate" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcFontSetCreate \- Create a font set
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcFontSet * FcFontSetCreate (void\fI\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Creates an empty font set.

14
dist/fontconfig/doc/FcFontSetDestroy.3 vendored Normal file
View file

@ -0,0 +1,14 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcFontSetDestroy" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcFontSetDestroy \- Destroy a font set
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
void FcFontSetDestroy (FcFontSet *\fIs\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Destroys a font set. Note that this destroys any referenced patterns as
well.

18
dist/fontconfig/doc/FcFontSetList.3 vendored Normal file
View file

@ -0,0 +1,18 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcFontSetList" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcFontSetList \- List fonts from a set of font sets
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcFontSet * FcFontSetList (FcConfig *\fIconfig\fB, FcFontSet **\fIsets\fB, int\fInsets\fB, FcPattern *\fIpattern\fB, FcObjectSet *\fIobject_set\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Selects fonts matching \fIpattern\fR from
\fIsets\fR, creates patterns from those
fonts containing only the objects in \fIobject_set\fR and returns
the set of unique such patterns.
If \fIconfig\fR is NULL, the default configuration is checked
to be up to date, and used.

21
dist/fontconfig/doc/FcFontSetMatch.3 vendored Normal file
View file

@ -0,0 +1,21 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcFontSetMatch" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcFontSetMatch \- Return the best font from a set of font sets
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcPattern * FcFontSetMatch (FcConfig *\fIconfig\fB, FcFontSet **\fIsets\fB, int\fInsets\fB, FcPattern *\fIpattern\fB, FcResult *\fIresult\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Finds the font in \fIsets\fR most closely matching
\fIpattern\fR and returns the result of
\fBFcFontRenderPrepare\fR for that font and the provided
pattern. This function should be called only after
\fBFcConfigSubstitute\fR and
\fBFcDefaultSubstitute\fR have been called for
\fIpattern\fR; otherwise the results will not be correct.
If \fIconfig\fR is NULL, the current configuration is used.
Returns NULL if an error occurs during this process.

16
dist/fontconfig/doc/FcFontSetPrint.3 vendored Normal file
View file

@ -0,0 +1,16 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcFontSetPrint" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcFontSetPrint \- Print a set of patterns to stdout
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
void FcFontSetPrint (FcFontSet *\fIset\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
This function is useful for diagnosing font related issues, printing the
complete contents of every pattern in \fIset\fR\&. The format
of the output is designed to be of help to users and developers, and may
change at any time.

30
dist/fontconfig/doc/FcFontSetSort.3 vendored Normal file
View file

@ -0,0 +1,30 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcFontSetSort" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcFontSetSort \- Add to a font set
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcFontSet * FcFontSetSort (FcConfig *\fIconfig\fB, FcFontSet **\fIsets\fB, int\fInsets\fB, FcPattern *\fIpattern\fB, FcBool \fItrim\fB, FcCharSet **\fIcsp\fB, FcResult *\fIresult\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Returns the list of fonts from \fIsets\fR
sorted by closeness to \fIpattern\fR\&.
If \fItrim\fR is FcTrue,
elements in the list which don't include Unicode coverage not provided by
earlier elements in the list are elided. The union of Unicode coverage of
all of the fonts is returned in \fIcsp\fR,
if \fIcsp\fR is not NULL. This function
should be called only after FcConfigSubstitute and FcDefaultSubstitute have
been called for \fIp\fR;
otherwise the results will not be correct.
.PP
The returned FcFontSet references FcPattern structures which may be shared
by the return value from multiple FcFontSort calls, applications cannot
modify these patterns. Instead, they should be passed, along with
\fIpattern\fR to
\fBFcFontRenderPrepare\fR which combines them into a complete pattern.
.PP
The FcFontSet returned by FcFontSetSort is destroyed by calling FcFontSetDestroy.

View file

@ -0,0 +1,16 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcFontSetSortDestroy" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcFontSetSortDestroy \- DEPRECATED destroy a font set
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
void FcFontSetSortDestroy (FcFontSet *\fIset\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
This function is DEPRECATED. \fBFcFontSetSortDestroy\fR
destroys \fIset\fR by calling
\fBFcFontSetDestroy\fR\&. Applications should use
\fBFcFontSetDestroy\fR directly instead.

26
dist/fontconfig/doc/FcFontSort.3 vendored Normal file
View file

@ -0,0 +1,26 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcFontSort" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcFontSort \- Return list of matching fonts
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcFontSet * FcFontSort (FcConfig *\fIconfig\fB, FcPattern *\fIp\fB, FcBool \fItrim\fB, FcCharSet **\fIcsp\fB, FcResult *\fIresult\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Returns the list of fonts sorted by closeness to \fIp\fR\&. If \fItrim\fR is FcTrue,
elements in the list which don't include Unicode coverage not provided by
earlier elements in the list are elided. The union of Unicode coverage of
all of the fonts is returned in \fIcsp\fR, if \fIcsp\fR is not NULL. This function
should be called only after FcConfigSubstitute and FcDefaultSubstitute have
been called for \fIp\fR; otherwise the results will not be correct.
.PP
The returned FcFontSet references FcPattern structures which may be shared
by the return value from multiple FcFontSort calls, applications must not
modify these patterns. Instead, they should be passed, along with \fIp\fR to
\fBFcFontRenderPrepare\fR which combines them into a complete pattern.
.PP
The FcFontSet returned by FcFontSort is destroyed by calling FcFontSetDestroy.
If \fIconfig\fR is NULL, the current configuration is used.

View file

@ -0,0 +1,18 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcFreeTypeCharIndex" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcFreeTypeCharIndex \- map Unicode to glyph id
.SH SYNOPSIS
.nf
\fB#include <fontconfig.h>
#include <fcfreetype.h>
.sp
FT_UInt FcFreeTypeCharIndex (FT_Face \fIface\fB, FcChar32 \fIucs4\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Maps a Unicode char to a glyph index. This function uses information from
several possible underlying encoding tables to work around broken fonts.
As a result, this function isn't designed to be used in performance
sensitive areas; results from this function are intended to be cached by
higher level functions.

16
dist/fontconfig/doc/FcFreeTypeCharSet.3 vendored Normal file
View file

@ -0,0 +1,16 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcFreeTypeCharSet" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcFreeTypeCharSet \- compute Unicode coverage
.SH SYNOPSIS
.nf
\fB#include <fontconfig.h>
#include <fcfreetype.h>
.sp
FcCharSet * FcFreeTypeCharSet (FT_Face \fIface\fB, FcBlanks *\fIblanks\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Scans a FreeType face and returns the set of encoded Unicode chars.
FcBlanks is deprecated, \fIblanks\fR is ignored and
accepted only for compatibility with older code.

View file

@ -0,0 +1,21 @@
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcFreeTypeCharSetAndSpacing" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcFreeTypeCharSetAndSpacing \- compute Unicode coverage and spacing type
.SH SYNOPSIS
.nf
\fB#include <fontconfig.h>
#include <fcfreetype.h>
.sp
FcCharSet * FcFreeTypeCharSetAndSpacing (FT_Face \fIface\fB, FcBlanks *\fIblanks\fB, int *\fIspacing\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Scans a FreeType face and returns the set of encoded Unicode chars.
FcBlanks is deprecated, \fIblanks\fR is ignored and
accepted only for compatibility with older code.
\fIspacing\fR 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.

Some files were not shown because too many files have changed in this diff Show more