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

66 lines
1.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of FcCharSetFirstPage</TITLE>
</HEAD><BODY>
<H1>FcCharSetFirstPage</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>
FcCharSetFirstPage - Start enumerating charset contents
<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>
FcChar32 FcCharSetFirstPage (const FcCharSet *</B><I>a</I><B>, FcChar32[FC_CHARSET_MAP_SIZE] </B><I>map</I><B>, FcChar32 *</B><I>next</I><B>);
</B>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
Builds an array of bits in <I>map</I> marking the
first page of Unicode coverage of <I>a</I>.
<I>*next</I> is set to contains the base code point
for the next page in <I>a</I>. Returns the base code
point for the page, or FC_CHARSET_DONE if
<I>a</I> contains no pages. As an example, if
<B>FcCharSetFirstPage</B> returns
0x300 and fills <I>map</I> with
<P>
<PRE>
0xffffffff 0xffffffff 0x01000008 0x44300002 0xffffd7f0 0xfffffffb 0xffff7fff 0xffff0003
</PRE>
Then the page contains code points 0x300 through
0x33f (the first 64 code points on the page)
because <I>map[0]</I> and
<I>map[1]</I> both have all their bits set. It also
contains code points 0x343 (<I>0x300 + 32*2
+ (4-1)</I>) and 0x35e (<I>0x300 +
32*2 + (31-1)</I>) because <I>map[2]</I> has
the 4th and 31st bits set. The code points represented by
map[3] and later are left as an excercise for the
reader ;).
<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:40 GMT, March 31, 2021
</BODY>
</HTML>