FcCharSetFirstPage - Start enumerating charset contents
#include <fontconfig/fontconfig.h> FcChar32 FcCharSetFirstPage (const FcCharSet *a, FcChar32[FC_CHARSET_MAP_SIZE] map, FcChar32 *next);
FcCharSetFirstPage(3) FcCharSetFirstPage(3)
NAME
FcCharSetFirstPage - Start enumerating charset contents
SYNOPSIS
#include <fontconfig/fontconfig.h>
FcChar32 FcCharSetFirstPage (const FcCharSet *a, FcChar32[FC_CHARSET_MAP_SIZE] map, FcChar32 *next);
DESCRIPTION
Builds an array of bits in map marking the first page of Unicode cover-
age of a. *next is set to contains the base code point for the next
page in a. Returns the base code point for the page, or FC_CHARSET_DONE
if a contains no pages. As an example, if FcCharSetFirstPage returns
0x300 and fills map with
0xffffffff 0xffffffff 0x01000008 0x44300002 0xffffd7f0 0xfffffffb 0xffff7fff 0xffff0003
Then the page contains code points 0x300 through 0x33f (the first 64
code points on the page) because map[0] and map[1] both have all their
bits set. It also contains code points 0x343 (0x300 + 32*2 + (4-1)) and
0x35e (0x300 + 32*2 + (31-1)) because map[2] has the 4th and 31st bits
set. The code points represented by map[3] and later are left as an
exercise for the reader ;).
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+---------------+---------------------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+---------------------------+
|Availability | system/library/fontconfig |
+---------------+---------------------------+
|Stability | Volatile |
+---------------+---------------------------+
NOTES
Source code for open source software components in Oracle Solaris can
be found at https://www.oracle.com/downloads/opensource/solaris-source-
code-downloads.html.
This software was built from source available at
https://github.com/oracle/solaris-userland. The original community
source was downloaded from https://fontconfig.org/release/fontcon-
fig-2.14.0.tar.xz.
Further information about this software can be found on the open source
community website at https://fontconfig.org/.
Fontconfig 2.14.0 31 3 2022 FcCharSetFirstPage(3)