man-pages/man3/FcFileScan.3.html
2021-03-31 01:06:50 +01:00

54 lines
1.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of FcFileScan</TITLE>
</HEAD><BODY>
<H1>FcFileScan</H1>
Section: (3)<BR>Updated: 06 April 2020<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<P>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
FcFileScan - scan a font file
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<P>
<B>#include &lt;<A HREF="file:///usr/include/fontconfig/fontconfig.h">fontconfig/fontconfig.h</A>&gt;
<P>
FcBool FcFileScan (FcFontSet *</B><I>set</I><B>, FcStrSet *</B><I>dirs</I><B>, FcFileCache *</B><I>cache</I><B>, FcBlanks *</B><I>blanks</I><B>, const FcChar8 *</B><I>file</I><B>, FcBool </B><I>force</I><B>);
</B>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
Scans a single file and adds all fonts found to <I>set</I>.
If <I>force</I> is FcTrue, then the file is scanned even if
associated information is found in <I>cache</I>. If
<I>file</I> is a directory, it is added to
<I>dirs</I>. 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.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:41 GMT, March 31, 2021
</BODY>
</HTML>