63 lines
2.0 KiB
HTML
63 lines
2.0 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of FcFontSetSort</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>FcFontSetSort</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>
|
|
|
|
FcFontSetSort - Add to a font set
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<P>
|
|
<B>#include <<A HREF="file:///usr/include/fontconfig/fontconfig.h">fontconfig/fontconfig.h</A>>
|
|
<P>
|
|
FcFontSetSort (FcConfig *</B><I>config</I><B>, FcFontSet **</B><I>sets</I><B>, int</B><I>nsets</I><B>, FcPattern *</B><I>pattern</I><B>, FcBool </B><I>trim</I><B>, FcCharSet **</B><I>csp</I><B>, FcResult *</B><I>result</I><B>);
|
|
</B>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
|
|
Returns the list of fonts from <I>sets</I>
|
|
sorted by closeness to <I>pattern</I>.
|
|
If <I>trim</I> 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 <I>csp</I>,
|
|
if <I>csp</I> is not NULL. This function
|
|
should be called only after FcConfigSubstitute and FcDefaultSubstitute have
|
|
been called for <I>p</I>;
|
|
otherwise the results will not be correct.
|
|
<P>
|
|
|
|
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
|
|
<I>pattern</I> to
|
|
<B>FcFontRenderPrepare</B> which combines them into a complete pattern.
|
|
<P>
|
|
|
|
The FcFontSet returned by FcFontSetSort is destroyed by calling FcFontSetDestroy.
|
|
<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>
|