54 lines
1.8 KiB
HTML
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"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
FcFileScan - scan a font file
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<P>
|
|
<B>#include <<A HREF="file:///usr/include/fontconfig/fontconfig.h">fontconfig/fontconfig.h</A>>
|
|
<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"> </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"> </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>
|