1FcCharSetFirstPage(3) FcCharSetFirstPage(3)
2
3
4
6 FcCharSetFirstPage - Start enumerating charset contents
7
9 #include <fontconfig/fontconfig.h>
10
11 FcChar32 FcCharSetFirstPage (const FcCharSet *a, FcChar32[FC_CHARSET_MAP_SIZE] map, FcChar32 *next);
12
14 Builds an array of bits in map marking the first page of Unicode cover‐
15 age of a. *next is set to contains the base code point for the next
16 page in a. Returns the base code point for the page, or FC_CHARSET_DONE
17 if a contains no pages. As an example, if FcCharSetFirstPage returns
18 0x300 and fills map with
19
20 0xffffffff 0xffffffff 0x01000008 0x44300002 0xffffd7f0 0xfffffffb 0xffff7fff 0xffff0003
21
22 Then the page contains code points 0x300 through 0x33f (the first 64
23 code points on the page) because map[0] and map[1] both have all their
24 bits set. It also contains code points 0x343 (0x300 + 32*2 + (4-1)) and
25 0x35e (0x300 + 32*2 + (31-1)) because map[2] has the 4th and 31st bits
26 set. The code points represented by map[3] and later are left as an
27 excercise for the reader ;).
28
29
30
31Fontconfig 2.13.1 30 8月 2018 FcCharSetFirstPage(3)