1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
|
Fontconfig Developers Reference, Version 2.4.1
Keith Packard
HP Cambridge Research Lab
_________________________________________________________
Table of Contents
1. DESCRIPTION
2. FUNCTIONAL OVERVIEW
2.1. FONT CONFIGURATION
2.2. FONT PROPERTIES
3. Datatypes
3.1. FcChar8, FcChar16, FcChar32, FcBool
3.2. FcMatrix
3.3. FcCharSet
3.4. FcType
3.5. FcValue
3.6. FcPattern
3.7. FcFontSet
3.8. FcStrSet, FcStrList
3.9. FcObjectSet
3.10. FcObjectType
3.11. FcConstant
3.12. FcBlanks
3.13. FcFileCache
3.14. FcConfig
3.15. FcSetName
3.16. FcResult
3.17. FcAtomic
4. FUNCTIONS
4.1. Initialization
FcInitLoadConfig -- load configuration
FcInitLoadConfigAndFonts -- load configuration and
font data
FcInit -- initialize fontconfig library
FcFini -- finalize fonconfig library
FcGetVersion -- library version number
FcInitReinitialize -- re-initialize library
FcInitBringUptoDate -- reload configuration files
if needed
4.2. FcPattern
FcPatternCreate -- Create a pattern
FcPatternDestroy -- Destroy a pattern
FcPatternEqual -- Compare patterns
FcPatternEqualSubset -- Compare portions of
patterns
FcPatternHash -- Compute a pattern hash value
FcPatternAdd -- Add a value to a pattern
FcPatternAddWeak -- Add a value to a pattern with
weak binding
FcPatternAdd-Type -- Add a typed value to a pattern
FcPatternGet -- Return a value from a pattern
FcPatternGet-Type -- Return a typed value from a
pattern
FcPatternBuild -- Create patterns from arguments
FcPatternDel -- Delete a property from a pattern
FcPatternRemove -- Remove one object of the
specified type from the pattern
FcPatternPrint -- Print a pattern for debugging
FcDefaultSubstitute -- Perform default
substitutions in a pattern
FcNameParse -- Parse a pattern string
FcNameUnparse -- Convert a pattern back into a
string that can be parsed
4.3. FcFontSet
FcFontSetCreate -- Create a font set
FcFontSetDestroy -- Destroy a font set
FcFontSetAdd -- Add to a font set
4.4. FcObjectSet
FcObjectSetCreate -- Create an object set
FcObjectSetAdd -- Add to an object set
FcObjectSetDestroy -- Destroy an object set
FcObjectSetBuild -- Build object set from args
4.5. FreeType specific functions
FcFreeTypeCharIndex -- map Unicode to glyph id
FcFreeTypeCharSet -- compute unicode coverage
FcFreeTypeQuery -- compute font file pattern
4.6. FcValue
FcValueDestroy -- Free a value
FcValueSave -- Copy a value
4.7. FcCharSet
FcCharSetCreate -- Create an empty character set
FcCharSetDestroy -- Destroy a character set
FcCharSetAddChar -- Add a character to a charset
FcCharSetCopy -- Copy a charset
FcCharSetEqual -- Compare two charsets
FcCharSetIntersect -- Intersect charsets
FcCharSetUnion -- Add charsets
FcCharSetSubtract -- Subtract charsets
FcCharSetHasChar -- Check a charset for a char
FcCharSetCount -- Count entries in a charset
FcCharSetIntersectCount -- Intersect and count
charsets
FcCharSetSubtractCount -- Subtract and count
charsets
FcCharSetIsSubset -- Test for charset inclusion
FcCharSetFirstPage -- Start enumerating charset
contents
FcCharSetNextPage -- Continue enumerating charset
contents
4.8. FcMatrix
FcMatrixInit -- initialize an FcMatrix structure
FcMatrixCopy -- Copy a matrix
FcMatrixEqual -- Compare two matrices
FcMatrixMultiply -- Multiply matrices
FcMatrixRotate -- Rotate a matrix
FcMatrixScale -- Scale a matrix
FcMatrixShear -- Shear a matrix
4.9. FcConfig
FcConfigCreate -- Create a configuration
FcConfigDestroy -- Destroy a configuration
FcConfigSetCurrent -- Set configuration as default
FcConfigGetCurrent -- Return current configuration
FcConfigUptoDate -- Check timestamps on config
files
FcConfigBuildFonts -- Build font database
FcConfigGetConfigDirs -- Get config directories
FcConfigGetFontDirs -- Get font directories
FcConfigGetConfigFiles -- Get config files
FcConfigGetCache -- Get cache filename
FcConfigGetFonts -- Get config font set
FcConfigGetBlanks -- Get config blanks
FcConfigGetRescanInverval -- Get config rescan
interval
FcConfigSetRescanInverval -- Set config rescan
interval
FcConfigAppFontAddFile -- Add font file to font
database
FcConfigAppFontAddDir -- Add fonts from directory
to font database
FcConfigAppFontClear -- Remove all app fonts from
font database
FcConfigSubstituteWithPat -- Execute substitutions
FcConfigSubstitute -- Execute substitutions
FcFontMatch -- Return best font
FcFontSort -- Return list of matching fonts
FcFontRenderPrepare -- Prepare pattern for loading
font file
FcFontList -- List fonts
FcConfigFilename -- Find a config file
FcConfigParseAndLoad -- load a configuration file
FcConfigNormalizeFontDir -- normalize a font
directory
4.10. FcObjectType
FcNameRegisterObjectTypes -- Register object types
FcNameUnregisterObjectTypes -- Unregister object
types
FcNameGetObjectType -- Lookup an object type
4.11. FcConstant
FcNameRegisterConstants -- Register symbolic
constants
FcNameUnregisterConstants -- Unregister symbolic
constants
FcNameGetConstant -- Lookup symbolic constant
FcNameConstant -- Get the value for a symbolic
constant
4.12. FcBlanks
FcBlanksCreate -- Create an FcBlanks
FcBlanksDestroy -- Destroy and FcBlanks
FcBlanksAdd -- Add a character to an FcBlanks
FcBlanksIsMember -- Query membership in an FcBlanks
4.13. FcAtomic
FcAtomicCreate -- create an FcAtomic object
FcAtomicLock -- lock a file
FcAtomicNewFile -- return new temporary file name
FcAtomicOrigFile -- return original file name
FcAtomicReplaceOrig -- replace original with new
FcAtomicDeleteNew -- delete new file
FcAtomicUnlock -- unlock a file
FcAtomicDestroy -- destroy an FcAtomic object
4.14. File and Directory routines
FcFileScan -- scan a font file
FcDirScan -- scan a font directory
FcDirSave -- save a directory cache
FcDirCacheValid -- check directory cache timestamp
4.15. FcStrSet and FcStrList
FcStrSetCreate -- create a string set
FcStrSetMember -- check set for membership
FcStrSetAdd -- add to a string set
FcStrSetAddFilename -- add a filename to a string
set
FcStrSetDel -- delete from a string set
FcStrSetDestroy -- destroy a string set
FcStrListCreate -- create a string iterator
FcStrListNext -- get next string in iteration
FcStrListDone -- destroy a string iterator
4.16. String utilities
FcUtf8ToUcs4 -- convert UTF-8 to UCS4
FcUcs4ToUtf8 -- convert UCS4 to UTF-8
FcUtf8Len -- count UTF-8 encoded chars
FcUtf16ToUcs4 -- convert UTF-16 to UCS4
FcUtf16Len -- count UTF-16 encoded chars
FcStrCopy -- duplicate a string
FcStrDowncase -- create a lower case translation of
a string
FcStrCopyFilename -- copy a string, expanding '~'
FcStrCmpIgnoreCase -- compare UTF-8 strings
ignoring ASCII case
FcStrStr -- locate UTF-8 substring
FcStrStrIgnoreCase -- locate UTF-8 substring
ignoring ASCII case
FcStrDirname -- directory part of filename
FcStrBasename -- last component of filename
1. DESCRIPTION
Fontconfig is a library designed to provide system-wide font
configuration, customization and application access.
_________________________________________________________
2. FUNCTIONAL OVERVIEW
Fontconfig contains two essential modules, the configuration
module which builds an internal configuration from XML files
and the matching module which accepts font patterns and
returns the nearest matching font.
_________________________________________________________
2.1. FONT CONFIGURATION
The configuration module consists of the FcConfig datatype,
libexpat and FcConfigParse which walks over an XML tree and
ammends a configuration with data found within. From an
external perspective, configuration of the library consists of
generating a valid XML tree and feeding that to FcConfigParse.
The only other mechanism provided to applications for changing
the running configuration is to add fonts and directories to
the list of application-provided font files.
The intent is to make font configurations relatively static,
and shared by as many applications as possible. It is hoped
that this will lead to more stable font selection when passing
names from one application to another. XML was chosen as a
configuration file format because it provides a format which
is easy for external agents to edit while retaining the
correct structure and syntax.
Font configuration is separate from font matching;
applications needing to do their own matching can access the
available fonts from the library and perform private matching.
The intent is to permit applications to pick and choose
appropriate functionality from the library instead of forcing
them to choose between this library and a private
configuration mechanism. The hope is that this will ensure
that configuration of fonts for all applications can be
centralized in one place. Centralizing font configuration will
simplify and regularize font installation and customization.
_________________________________________________________
2.2. FONT PROPERTIES
While font patterns may contain essentially any properties,
there are some well known properties with associated types.
Fontconfig uses some of these properties for font matching and
font completion. Others are provided as a convenience for the
applications rendering mechanism.
Property Definitions
Property CPP Symbol Type Description
----------------------------------------------------
family FC_FAMILY String Font family names
familylang FC_FAMILYLANG String Language cooresponding
to
each family name
style FC_STYLE String Font style. Overrides w
eight
and slant
stylelang FC_STYLELANG String Language cooresponding
to
each style name
fullname FC_FULLNAME String Font face full name whe
re
different from family a
nd
family + style
fullnamelang FC_FULLNAMELANG String Language cooresponding
to
each fullname
slant FC_SLANT Int Italic, oblique or roma
n
weight FC_WEIGHT Int Light, medium, demibold
,
bold or black
size FC_SIZE Double Point size
width FC_WIDTH Int Condensed, normal or ex
panded
aspect FC_ASPECT Double Stretches glyphs horizo
ntally
before hinting
pixelsize FC_PIXEL_SIZE Double Pixel size
spacing FC_SPACING Int Proportional, dual-widt
h,
monospace or charcell
foundry FC_FOUNDRY String Font foundry name
antialias FC_ANTIALIAS Bool Whether glyphs can be
antialiased
hinting FC_HINTING Bool Whether the rasterizer
should
use hinting
hintstyle FC_HINT_STYLE Int Automatic hinting style
verticallayout FC_VERTICAL_LAYOUT Bool Use vertical layout
autohint FC_AUTOHINT Bool Use autohinter instead
of
normal hinter
globaladvance FC_GLOBAL_ADVANCE Bool Use font global advance
data
file FC_FILE String The filename holding th
e font
index FC_INDEX Int The index of the font w
ithin
the file
ftface FC_FT_FACE FT_Face Use the specified FreeT
ype
face object
rasterizer FC_RASTERIZER String Which rasterizer is in
use
outline FC_OUTLINE Bool Whether the glyphs are
outlines
scalable FC_SCALABLE Bool Whether glyphs can be s
caled
scale FC_SCALE Double Scale factor for point-
>pixel
conversions
dpi FC_DPI Double Target dots per inch
rgba FC_RGBA Int unknown, rgb, bgr, vrgb
,
vbgr, none - subpixel g
eometry
minspace FC_MINSPACE Bool Eliminate leading from
line
spacing
charset FC_CHARSET CharSet Unicode chars encoded b
y
the font
lang FC_LANG String List of RFC-3066-style
languages this font sup
ports
fontversion FC_FONTVERSION Int Version number of the f
ont
capability FC_CAPABILITY String List of layout capabili
ties in
the font
embolden FC_EMBOLDEN Bool Rasterizer should
synthetically embolden
the font
_________________________________________________________
3. Datatypes
Fontconfig uses abstract datatypes to hide internal
implementation details for most data structures. A few
structures are exposed where appropriate.
_________________________________________________________
3.1. FcChar8, FcChar16, FcChar32, FcBool
These are primitive datatypes; the FcChar* types hold
precisely the number of bits stated (if supported by the C
implementation). FcBool holds one of two CPP symbols: FcFalse
or FcTrue.
_________________________________________________________
3.2. FcMatrix
An FcMatrix holds an affine transformation, usually used to
reshape glyphs. A small set of matrix operations are provided
to manipulate these.
typedef struct _FcMatrix {
double xx, xy, yx, yy;
} FcMatrix;
_________________________________________________________
3.3. FcCharSet
An FcCharSet is an abstract type that holds the set of encoded
unicode chars in a font. Operations to build and compare these
sets are provided.
_________________________________________________________
3.4. FcType
Tags the kind of data stored in an FcValue.
_________________________________________________________
3.5. FcValue
An FcValue object holds a single value with one of a number of
different types. The 'type' tag indicates which member is
valid.
typedef struct _FcValue {
FcType type;
union {
const FcChar8 *s;
int i;
FcBool b;
double d;
const FcMatrix *m;
const FcCharSet *c;
} u;
} FcValue;
FcValue Members
Type Union member Datatype
--------------------------------
FcTypeVoid (none) (none)
FcTypeInteger i int
FcTypeDouble d double
FcTypeString s char *
FcTypeBool b b
FcTypeMatrix m FcMatrix *
FcTypeCharSet c FcCharSet *
_________________________________________________________
3.6. FcPattern
holds a set of names with associated value lists; each name
refers to a property of a font. FcPatterns are used as inputs
to the matching code as well as holding information about
specific fonts. Each property can hold one or more values;
conventionally all of the same type, although the interface
doesn't demand that.
_________________________________________________________
3.7. FcFontSet
typedef struct _FcFontSet {
int nfont;
int sfont;
FcPattern **fonts;
} FcFontSet;
An FcFontSet contains a list of FcPatterns. Internally
fontconfig uses this data structure to hold sets of fonts.
Externally, fontconfig returns the results of listing fonts in
this format. 'nfont' holds the number of patterns in the
'fonts' array; 'sfont' is used to indicate the size of that
array.
_________________________________________________________
3.8. FcStrSet, FcStrList
FcStrSet holds a list of strings that can be appended to and
enumerated. Its unique characteristic is that the enumeration
works even while strings are appended during enumeration.
FcStrList is used during enumeration to safely and correctly
walk the list of strings even while that list is edited in the
middle of enumeration.
_________________________________________________________
3.9. FcObjectSet
typedef struct _FcObjectSet {
int nobject;
int sobject;
const char **objects;
} FcObjectSet;
holds a set of names and is used to specify which fields from
fonts are placed in the the list of returned patterns when
listing fonts.
_________________________________________________________
3.10. FcObjectType
typedef struct _FcObjectType {
const char *object;
FcType type;
} FcObjectType;
marks the type of a pattern element generated when parsing
font names. Applications can add new object types so that font
names may contain the new elements.
_________________________________________________________
3.11. FcConstant
typedef struct _FcConstant {
const FcChar8 *name;
const char *object;
int value;
} FcConstant;
Provides for symbolic constants for new pattern elements. When
'name' is seen in a font name, an 'object' element is created
with value 'value'.
_________________________________________________________
3.12. FcBlanks
holds a list of Unicode chars which are expected to be blank;
unexpectedly blank chars are assumed to be invalid and are
elided from the charset associated with the font.
_________________________________________________________
3.13. FcFileCache
holds the per-user cache information for use while loading the
font database. This is built automatically for the current
configuration when that is loaded. Applications must always
pass '0' when one is requested.
_________________________________________________________
3.14. FcConfig
holds a complete configuration of the library; there is one
default configuration, other can be constructed from XML data
structures. All public entry points that need global data can
take an optional FcConfig* argument; passing 0 uses the
default configuration. FcConfig objects hold two sets of
fonts, the first contains those specified by the
configuration, the second set holds those added by the
application at run-time. Interfaces that need to reference a
particulat set use one of the FcSetName enumerated values.
_________________________________________________________
3.15. FcSetName
Specifies one of the two sets of fonts available in a
configuration; FcSetSystem for those fonts specified in the
configuration and FcSetApplication which holds fonts provided
by the application.
_________________________________________________________
3.16. FcResult
Used as a return type for functions manipulating FcPattern
objects.
FcResult Values
Result Code Meaning
-----------------------------------------------------------
FcResultMatch Object exists with the specified ID
FcResultNoMatch Object doesn't exist at all
FcResultTypeMismatch Object exists, but the type doesn't mat
ch
FcResultNoId Object exists, but has fewer values
than specified
FcResultOutOfMemory Malloc failed
_________________________________________________________
3.17. FcAtomic
Used for locking access to config files. Provides a safe way
to update configuration files.
_________________________________________________________
4. FUNCTIONS
These are grouped by functionality, often using the main
datatype being manipulated.
_________________________________________________________
4.1. Initialization
Table of Contents
FcInitLoadConfig -- load configuration
FcInitLoadConfigAndFonts -- load configuration and font data
FcInit -- initialize fontconfig library
FcFini -- finalize fonconfig library
FcGetVersion -- library version number
FcInitReinitialize -- re-initialize library
FcInitBringUptoDate -- reload configuration files if needed
These functions provide some control over how the library is
initialized.
FcInitLoadConfig
Name
FcInitLoadConfig -- load configuration
Synopsis
#include <fontconfig.h>
FcConfig * FcInitLoadConfig(void);
Description
Loads the default configuration file and returns the resulting
configuration. Does not load any font information.
Version
Fontconfig version 2.4.1
FcInitLoadConfigAndFonts
Name
FcInitLoadConfigAndFonts -- load configuration and font data
Synopsis
#include <fontconfig.h>
FcConfig * FcInitLoadConfigAndFonts(void);
Description
Loads the default configuration file and builds information
about the available fonts. Returns the resulting
configuration.
Version
Fontconfig version 2.4.1
FcInit
Name
FcInit -- initialize fontconfig library
Synopsis
#include <fontconfig.h>
FcBool FcInit(void);
Description
Loads the default configuration file and the fonts referenced
therein and sets the default configuration to that result.
Returns whether this process succeeded or not. If the default
configuration has already been loaded, this routine does
nothing and returns FcTrue.
Version
Fontconfig version 2.4.1
FcFini
Name
FcFini -- finalize fonconfig library
Synopsis
#include <fontconfig.h>
void FcFini(void);
Description
Frees all data structures allocated by previous calls to
fontconfig functions. Fontconfig returns to an uninitialized
state, requiring a new call to one of the FcInit functions
before any other fontconfig function may be called.
Version
Fontconfig version 2.4.1
FcGetVersion
Name
FcGetVersion -- library version number
Synopsis
#include <fontconfig.h>
int FcGetVersion(void);
Description
Returns the version number of the library.
Version
Fontconfig version 2.4.1
FcInitReinitialize
Name
FcInitReinitialize -- re-initialize library
Synopsis
#include <fontconfig.h>
FcBool FcInitReinitialize(void);
Description
Forces the default configuration file to be reloaded and
resets the default configuration.
Version
Fontconfig version 2.4.1
FcInitBringUptoDate
Name
FcInitBringUptoDate -- reload configuration files if needed
Synopsis
#include <fontconfig.h>
FcBool FcInitBringUptoDate(void);
Description
Checks the rescan interval in the default configuration,
checking the configuration if the interval has passed and
reloading the configuration if when any changes are detected.
Version
Fontconfig version 2.4.1
_________________________________________________________
4.2. FcPattern
Table of Contents
FcPatternCreate -- Create a pattern
FcPatternDestroy -- Destroy a pattern
FcPatternEqual -- Compare patterns
FcPatternEqualSubset -- Compare portions of patterns
FcPatternHash -- Compute a pattern hash value
FcPatternAdd -- Add a value to a pattern
FcPatternAddWeak -- Add a value to a pattern with weak binding
FcPatternAdd-Type -- Add a typed value to a pattern
FcPatternGet -- Return a value from a pattern
FcPatternGet-Type -- Return a typed value from a pattern
FcPatternBuild -- Create patterns from arguments
FcPatternDel -- Delete a property from a pattern
FcPatternRemove -- Remove one object of the specified type
from the pattern
FcPatternPrint -- Print a pattern for debugging
FcDefaultSubstitute -- Perform default substitutions in a
pattern
FcNameParse -- Parse a pattern string
FcNameUnparse -- Convert a pattern back into a string that can
be parsed
An FcPattern is an opaque type that holds both patterns to
match against the available fonts, as well as the information
about each font.
FcPatternCreate
Name
FcPatternCreate -- Create a pattern
Synopsis
#include <fontconfig.h>
FcPattern * FcPatternCreate(void);
Description
Creates a pattern with no properties; used to build patterns
from scratch.
Version
Fontconfig version 2.4.1
FcPatternDestroy
Name
FcPatternDestroy -- Destroy a pattern
Synopsis
#include <fontconfig.h>
void FcPatternDestroy(FcPattern *p);
Description
Destroys a pattern, in the process destroying all related
values.
Version
Fontconfig version 2.4.1
FcPatternEqual
Name
FcPatternEqual -- Compare patterns
Synopsis
#include <fontconfig.h>
FcBool FcPatternEqual(const FcPattern *pa, const FcPattern
*pb);
Description
Returns whether pa and pb are exactly alike.
Version
Fontconfig version 2.4.1
FcPatternEqualSubset
Name
FcPatternEqualSubset -- Compare portions of patterns
Synopsis
#include <fontconfig.h>
FcBool FcPatternEqualSubset(const FcPattern *pa, const
FcPattern *pb, const FcObjectSet *os);
Description
Returns whether pa and pb have exactly the same values for all
of the objects in os.
Version
Fontconfig version 2.4.1
FcPatternHash
Name
FcPatternHash -- Compute a pattern hash value
Synopsis
#include <fontconfig.h>
FcChar32 FcPatternHash(const FcPattern *p);
Description
Returns a 32-bit number which is the same for any two patterns
which are equal.
Version
Fontconfig version 2.4.1
FcPatternAdd
Name
FcPatternAdd -- Add a value to a pattern
Synopsis
#include <fontconfig.h>
FcBool FcPatternAdd(FcPattern *p, const char *object,
FcValuevalue, FcBoolappend);
Description
Adds a single value to the list of values associated with the
property named `object. If `append is FcTrue, the value is
added at the end of any existing list, otherwise it is
inserted at the begining. `value' is saved (with FcValueSave)
when inserted into the pattern so that the library retains no
reference to any application-supplied data structure.
Version
Fontconfig version 2.4.1
FcPatternAddWeak
Name
FcPatternAddWeak -- Add a value to a pattern with weak binding
Synopsis
#include <fontconfig.h>
FcBool FcPatternAddWeak(FcPattern *p, const char *object,
FcValuevalue, FcBoolappend);
Description
FcPatternAddWeak is essentially the same as FcPatternAdd
except that any values added to the list have binding weak
instead of strong.
Version
Fontconfig version 2.4.1
FcPatternAdd-Type
Name
FcPatternAddInteger, FcPatternAddDouble, FcPatternAddString,
FcPatternAddMatrix, FcPatternAddCharSet,
FcPatternAddBool -- Add a typed value to a pattern
Synopsis
#include <fontconfig.h>
FcBool FcPatternAddInteger(FcPattern *p, const char *object,
inti);
FcBool FcPatternAddDouble(FcPattern *p, const char *object,
doubled);
FcBool FcPatternAddString(FcPattern *p, const char *object,
const char *s);
FcBool FcPatternAddMatrix(FcPattern *p, const char *object,
const FcMatrix *m);
FcBool FcPatternAddCharSet(FcPattern *p, const char *object,
const FcCharSet *c);
FcBool FcPatternAddBool(FcPattern *p, const char *object,
FcBoolb);
Description
These are all convenience functions that insert objects of the
specified type into the pattern. Use these in preference to
FcPatternAdd as they will provide compile-time typechecking.
These all append values to any existing list of values.
Version
Fontconfig version 2.4.1
FcPatternGet
Name
FcPatternGet -- Return a value from a pattern
Synopsis
#include <fontconfig.h>
FcResult FcPatternGet(FcPattern *p, const char *object, intid,
FcValue *v);
Description
Returns in v the id'th value associated with the property
object. The value returned is not a copy, but rather refers to
the data stored within the pattern directly. Applications must
not free this value.
Version
Fontconfig version 2.4.1
FcPatternGet-Type
Name
FcPatternGetInteger, FcPatternGetDouble, FcPatternGetString,
FcPatternGetMatrix, FcPatternGetCharSet,
FcPatternGetBool -- Return a typed value from a pattern
Synopsis
#include <fontconfig.h>
FcResult FcPatternGetInteger(FcPattern *p, const char *object,
intn, int *i);
FcResult FcPatternGetDouble(FcPattern *p, const char *object,
intn, double *d);
FcResult FcPatternGetString(FcPattern *p, const char *object,
intn, char **consts);
FcResult FcPatternGetMatrix(FcPattern *p, const char *object,
intn, FcMatrix **s);
FcResult FcPatternGetCharSet(FcPattern *p, const char *object,
intn, FcCharSet **c);
FcResult FcPatternGetBool(FcPattern *p, const char *object,
intn, FcBool *b);
Description
These are convenience functions that call FcPatternGet and
verify that the returned data is of the expected type. They
return FcResultTypeMismatch if this is not the case. Note that
these (like FcPatternGet) do not make a copy of any data
structure referenced by the return value. Use these in
preference to FcPatternGet to provide compile-time
typechecking.
Version
Fontconfig version 2.4.1
FcPatternBuild
Name
FcPatternBuild, FcPatternVaBuild -- Create patterns from
arguments
Synopsis
#include <fontconfig.h>
FcPattern * FcPatternBuild(FcPattern *orig, ...);
FcPattern * FcPatternVaBuild(FcPattern *orig, va_listva);
Description
Builds a pattern using a list of objects, types and values.
Each value to be entered in the pattern is specified with
three arguments:
1. Object name, a string describing the property to be added.
2. Object type, one of the FcType enumerated values
3. Value, not an FcValue, but the raw type as passed to any
of the FcPatternAdd<type> functions. Must match the type
of the second argument.
The argument list is terminated by a null object name, no
object type nor value need be passed for this. The values are
added to `pattern', if `pattern' is null, a new pattern is
created. In either case, the pattern is returned. Example
pattern = FcPatternBuild (0, FC_FAMILY, FcTypeString, "Times", (char *)
0);
FcPatternVaBuild is used when the arguments are already in the
form of a varargs value.
Version
Fontconfig version 2.4.1
FcPatternDel
Name
FcPatternDel -- Delete a property from a pattern
Synopsis
#include <fontconfig.h>
FcBool FcPatternDel(FcPattern *p, const char *object);
Description
Deletes all values associated with the property `object',
returning whether the property existed or not.
Version
Fontconfig version 2.4.1
FcPatternRemove
Name
FcPatternRemove -- Remove one object of the specified type
from the pattern
Synopsis
#include <fontconfig.h>
FcBool FcPatternRemove(FcPattern *p, const char *object,
intid);
Description
Removes the value associated with the property `object' at
position `id', returning whether the property existed and had
a value at that position or not.
Version
Fontconfig version 2.4.1
FcPatternPrint
Name
FcPatternPrint -- Print a pattern for debugging
Synopsis
#include <fontconfig.h>
void FcPatternPrint(const FcPattern *p);
Description
Prints an easily readable version of the pattern to stdout.
There is no provision for reparsing data in this format, it's
just for diagnostics and debugging.
Version
Fontconfig version 2.4.1
FcDefaultSubstitute
Name
FcDefaultSubstitute -- Perform default substitutions in a
pattern
Synopsis
#include <fontconfig.h>
void FcDefaultSubstitute(FcPattern *pattern);
Description
Supplies default values for underspecified font patterns:
* Patterns without a specified style or weight are set to
Medium
* Patterns without a specified style or slant are set to
Roman
* Patterns without a specified pixel size are given one
computed from any specified point size (default 12), dpi
(default 75) and scale (default 1).
Version
Fontconfig version 2.4.1
FcNameParse
Name
FcNameParse -- Parse a pattern string
Synopsis
#include <fontconfig.h>
FcPattern * FcNameParse(const char *name);
Description
Converts name from the standard text format described above
into a pattern.
Version
Fontconfig version 2.4.1
FcNameUnparse
Name
FcNameUnparse -- Convert a pattern back into a string that can
be parsed
Synopsis
#include <fontconfig.h>
FcChar8 * FcNameUnparse(FcPattern *pat);
Description
Converts the given pattern into the standard text format
described above. The return value is not static, but instead
refers to newly allocated memory which should be freed by the
caller.
Version
Fontconfig version 2.4.1
_________________________________________________________
4.3. FcFontSet
Table of Contents
FcFontSetCreate -- Create a font set
FcFontSetDestroy -- Destroy a font set
FcFontSetAdd -- Add to a font set
An FcFontSet simply holds a list of patterns; these are used
to return the results of listing available fonts.
FcFontSetCreate
Name
FcFontSetCreate -- Create a font set
Synopsis
#include <fontconfig.h>
FcFontSet * FcFontSetCreate(void);
Description
Creates an empty font set.
Version
Fontconfig version 2.4.1
FcFontSetDestroy
Name
FcFontSetDestroy -- Destroy a font set
Synopsis
#include <fontconfig.h>
void FcFontSetDestroy(FcFontSet *s);
Description
Destroys a font set. Note that this destroys any referenced
patterns as well.
Version
Fontconfig version 2.4.1
FcFontSetAdd
Name
FcFontSetAdd -- Add to a font set
Synopsis
#include <fontconfig.h>
FcBool FcFontSetAdd(FcFontSet *s, FcPattern *font);
Description
Adds a pattern to a font set. Note that the pattern is not
copied before being inserted into the set.
Version
Fontconfig version 2.4.1
_________________________________________________________
4.4. FcObjectSet
Table of Contents
FcObjectSetCreate -- Create an object set
FcObjectSetAdd -- Add to an object set
FcObjectSetDestroy -- Destroy an object set
FcObjectSetBuild -- Build object set from args
An FcObjectSet holds a list of pattern property names; it is
used to indiciate which properties are to be returned in the
patterns from FcFontList.
FcObjectSetCreate
Name
FcObjectSetCreate -- Create an object set
Synopsis
#include <fontconfig.h>
FcObjectSet * FcObjectSetCreate(void);
Description
Creates an empty set.
Version
Fontconfig version 2.4.1
FcObjectSetAdd
Name
FcObjectSetAdd -- Add to an object set
Synopsis
#include <fontconfig.h>
FcBool FcObjectSetAdd(FcObjectSet *os, const char *object);
Description
Adds a proprety name to the set.
Version
Fontconfig version 2.4.1
FcObjectSetDestroy
Name
FcObjectSetDestroy -- Destroy an object set
Synopsis
#include <fontconfig.h>
void FcObjectSetDestroy(FcObjectSet *os);
Description
Destroys an object set.
Version
Fontconfig version 2.4.1
FcObjectSetBuild
Name
FcObjectSetBuild, FcObjectSetVaBuild -- Build object set from
args
Synopsis
#include <fontconfig.h>
FcObjectSet * FcObjectSetBuild(const char *first, ...);
FcObjectSet * FcObjectSetVaBuild(const char *first,
va_listva);
Description
These build an object set from a null-terminated list of
property names.
Version
Fontconfig version 2.4.1
_________________________________________________________
4.5. FreeType specific functions
Table of Contents
FcFreeTypeCharIndex -- map Unicode to glyph id
FcFreeTypeCharSet -- compute unicode coverage
FcFreeTypeQuery -- compute font file pattern
While the fontconfig library doesn't insist that FreeType be
used as the rasterization mechanism for fonts, it does provide
some convenience functions.
FcFreeTypeCharIndex
Name
FcFreeTypeCharIndex -- map Unicode to glyph id
Synopsis
#include <fontconfig.h>
#include <fcfreetype.h>
FT_UInt FcFreeTypeCharIndex(FT_Faceface, FcChar32ucs4);
Description
Maps a Unicode char to a glyph index. This function uses
information from several possible underlying encoding tables
to work around broken fonts. As a result, this function isn't
designed to be used in performance sensitive areas; results
from this function are intended to be cached by higher level
functions.
Version
Fontconfig version 2.4.1
FcFreeTypeCharSet
Name
FcFreeTypeCharSet -- compute unicode coverage
Synopsis
#include <fontconfig.h>
#include <fcfreetype.h>
FcCharSet * FcFreeTypeCharSet(FT_Faceface, FcBlanks *blanks);
Description
Scans a FreeType face and returns the set of encoded Unicode
chars. This scans several encoding tables to build as complete
a list as possible. If 'blanks' is not 0, the glyphs in the
font are examined and any blank glyphs not in 'blanks' are not
placed in the returned FcCharSet.
Version
Fontconfig version 2.4.1
FcFreeTypeQuery
Name
FcFreeTypeQuery -- compute font file pattern
Synopsis
#include <fontconfig.h>
#include <fcfreetype.h>
FcPattern * FcFreeTypeQuery(const char *file, intid, FcBlanks
*blanks, int *count);
Description
Constructs a pattern representing the 'id'th font in 'file'.
The number of fonts in 'file' is returned in 'count'.
Version
Fontconfig version 2.4.1
_________________________________________________________
4.6. FcValue
Table of Contents
FcValueDestroy -- Free a value
FcValueSave -- Copy a value
FcValue is a structure containing a type tag and a union of
all possible datatypes. The tag is an enum of type FcType and
is intended to provide a measure of run-time typechecking,
although that depends on careful programming.
FcValueDestroy
Name
FcValueDestroy -- Free a value
Synopsis
#include <fontconfig.h>
void FcValueDestroy(FcValuev);
Description
Frees any memory referenced by v. Values of type FcTypeString,
FcTypeMatrix and FcTypeCharSet reference memory, the other
types do not.
Version
Fontconfig version 2.4.1
FcValueSave
Name
FcValueSave -- Copy a value
Synopsis
#include <fontconfig.h>
FcValue FcValueSave(FcValuev);
Description
Returns a copy of v duplicating any object referenced by it so
that v may be safely destroyed without harming the new value.
Version
Fontconfig version 2.4.1
_________________________________________________________
4.7. FcCharSet
Table of Contents
FcCharSetCreate -- Create an empty character set
FcCharSetDestroy -- Destroy a character set
FcCharSetAddChar -- Add a character to a charset
FcCharSetCopy -- Copy a charset
FcCharSetEqual -- Compare two charsets
FcCharSetIntersect -- Intersect charsets
FcCharSetUnion -- Add charsets
FcCharSetSubtract -- Subtract charsets
FcCharSetHasChar -- Check a charset for a char
FcCharSetCount -- Count entries in a charset
FcCharSetIntersectCount -- Intersect and count charsets
FcCharSetSubtractCount -- Subtract and count charsets
FcCharSetIsSubset -- Test for charset inclusion
FcCharSetFirstPage -- Start enumerating charset contents
FcCharSetNextPage -- Continue enumerating charset contents
An FcCharSet is a boolean array indicating a set of unicode
chars. Those associated with a font are marked constant and
cannot be edited. FcCharSets may be reference counted
internally to reduce memory consumption; this may be visible
to applications as the result of FcCharSetCopy may return it's
argument, and that CharSet may remain unmodifiable.
FcCharSetCreate
Name
FcCharSetCreate -- Create an empty character set
Synopsis
#include <fontconfig.h>
FcCharSet * FcCharSetCreate(void);
Description
FcCharSetCreate allocates and initializes a new empty
character set object.
Version
Fontconfig version 2.4.1
FcCharSetDestroy
Name
FcCharSetDestroy -- Destroy a character set
Synopsis
#include <fontconfig.h>
void FcCharSetDestroy(FcCharSet *fcs);
Description
FcCharSetDestroy decrements the reference count fcs. If the
reference count becomes zero, all memory referenced is freed.
Version
Fontconfig version 2.4.1
FcCharSetAddChar
Name
FcCharSetAddChar -- Add a character to a charset
Synopsis
#include <fontconfig.h>
FcBool FcCharSetAddChar(FcCharSet *fcs, FcChar32ucs4);
Description
FcCharSetAddChar adds a single unicode char to the set,
returning FcFalse on failure, either as a result of a constant
set or from running out of memory.
Version
Fontconfig version 2.4.1
FcCharSetCopy
Name
FcCharSetCopy -- Copy a charset
Synopsis
#include <fontconfig.h>
FcCharSet * FcCharSetCopy(FcCharSet *src);
Description
Makes a copy of src; note that this may not actually do
anything more than increment the reference count on src.
Version
Fontconfig version 2.4.1
FcCharSetEqual
Name
FcCharSetEqual -- Compare two charsets
Synopsis
#include <fontconfig.h>
FcBool FcCharSetEqual(const FcCharSet *a, const FcCharSet *b);
Description
Returns whether a and b contain the same set of unicode chars.
Version
Fontconfig version 2.4.1
FcCharSetIntersect
Name
FcCharSetIntersect -- Intersect charsets
Synopsis
#include <fontconfig.h>
FcCharSet * FcCharSetIntersect(const FcCharSet *a, const
FcCharSet *b);
Description
Returns a set including only those chars found in both a and
b.
Version
Fontconfig version 2.4.1
FcCharSetUnion
Name
FcCharSetUnion -- Add charsets
Synopsis
#include <fontconfig.h>
FcCharSet * FcCharSetUnion(const FcCharSet *a, const FcCharSet
*b);
Description
Returns a set including only those chars found in either a or
b.
Version
Fontconfig version 2.4.1
FcCharSetSubtract
Name
FcCharSetSubtract -- Subtract charsets
Synopsis
#include <fontconfig.h>
FcCharSet * FcCharSetSubtract(const FcCharSet *a, const
FcCharSet *b);
Description
Returns a set including only those chars found in a but not b.
Version
Fontconfig version 2.4.1
FcCharSetHasChar
Name
FcCharSetHasChar -- Check a charset for a char
Synopsis
#include <fontconfig.h>
FcBool FcCharSetHasChar(const FcCharSet *fcs, FcChar32ucs4);
Description
Returns whether fcs contains the char ucs4.
Version
Fontconfig version 2.4.1
FcCharSetCount
Name
FcCharSetCount -- Count entries in a charset
Synopsis
#include <fontconfig.h>
FcChar32 FcCharSetCount(const FcCharSet *a);
Description
Returns the total number of unicode chars in a.
Version
Fontconfig version 2.4.1
FcCharSetIntersectCount
Name
FcCharSetIntersectCount -- Intersect and count charsets
Synopsis
#include <fontconfig.h>
FcChar32 FcCharSetIntersectCount(const FcCharSet *a, const
FcCharSet *b);
Description
Returns the number of chars that are in both a and b.
Version
Fontconfig version 2.4.1
FcCharSetSubtractCount
Name
FcCharSetSubtractCount -- Subtract and count charsets
Synopsis
#include <fontconfig.h>
FcChar32 FcCharSetSubtractCount(const FcCharSet *a, const
FcCharSet *b);
Description
Returns the number of chars that are in a but not in b.
Version
Fontconfig version 2.4.1
FcCharSetIsSubset
Name
FcCharSetIsSubset -- Test for charset inclusion
Synopsis
#include <fontconfig.h>
FcBool FcCharSetIsSubset(const FcCharSet *a, const FcCharSet
*b);
Description
Returns whether a is a subset of b.
Version
Fontconfig version 2.4.1
FcCharSetFirstPage
Name
FcCharSetFirstPage -- Start enumerating charset contents
Synopsis
#include <fontconfig.h>
FcChar32 FcCharSetFirstPage(const FcCharSet *a,
FcChar32[FC_CHARSET_MAP_SIZE]map, FcChar32 *next);
Description
Builds an array of bits marking the first page of Unicode
coverage of a. Returns the base of the array. next contains
the next page in the font.
Version
Fontconfig version 2.4.1
FcCharSetNextPage
Name
FcCharSetNextPage -- Continue enumerating charset contents
Synopsis
#include <fontconfig.h>
FcChar32 FcCharSetNextPage(const FcCharSet *a,
FcChar32[FC_CHARSET_MAP_SIZE]map, FcChar32 *next);
Description
Builds an array of bits marking the Unicode coverage of a for
page *next. Returns the base of the array. next contains the
next page in the font.
Version
Fontconfig version 2.4.1
_________________________________________________________
4.8. FcMatrix
Table of Contents
FcMatrixInit -- initialize an FcMatrix structure
FcMatrixCopy -- Copy a matrix
FcMatrixEqual -- Compare two matrices
FcMatrixMultiply -- Multiply matrices
FcMatrixRotate -- Rotate a matrix
FcMatrixScale -- Scale a matrix
FcMatrixShear -- Shear a matrix
FcMatrix structures hold an affine transformation in matrix
form.
FcMatrixInit
Name
FcMatrixInit -- initialize an FcMatrix structure
Synopsis
#include <fontconfig.h>
void FcMatrixInit(FcMatrix *matrix);
Description
FcMatrixInit initializes matrix to the identity matrix.
Version
Fontconfig version 2.4.1
FcMatrixCopy
Name
FcMatrixCopy -- Copy a matrix
Synopsis
#include <fontconfig.h>
void FcMatrixCopy(const FcMatrix *matrix);
Description
FcMatrixCopy allocates a new FcMatrix and copies mat into it.
Version
Fontconfig version 2.4.1
FcMatrixEqual
Name
FcMatrixEqual -- Compare two matrices
Synopsis
#include <fontconfig.h>
void FcMatrixEqual(const FcMatrix *matrix1, const FcMatrix
*matrix2);
Description
FcMatrixEqual compares matrix1 and matrix2 returning FcTrue
when they are equal and FcFalse when they are not.
Version
Fontconfig version 2.4.1
FcMatrixMultiply
Name
FcMatrixMultiply -- Multiply matrices
Synopsis
#include <fontconfig.h>
void FcMatrixMultiply(FcMatrix *result, const FcMatrix
*matrix1, const FcMatrix *matrix2);
Description
FcMatrixMultiply multiplies matrix1 and matrix2 storing the
result in result.
Version
Fontconfig version 2.4.1
FcMatrixRotate
Name
FcMatrixRotate -- Rotate a matrix
Synopsis
#include <fontconfig.h>
void FcMatrixRotate(FcMatrix *matrix, doublecos, doublesin);
Description
FcMatrixRotate rotates matrix by the angle who's sine is sin
and cosine is cos. This is done by multiplying by the matrix:
cos -sin
sin cos
Version
Fontconfig version 2.4.1
FcMatrixScale
Name
FcMatrixScale -- Scale a matrix
Synopsis
#include <fontconfig.h>
void FcMatrixScale(FcMatrix *matrix, doublesx, doubledy);
Description
FcMatrixScale multiplies matrix x values by sx and y values by
sy. This is done by multiplying by the matrix:
sx 0
0 sy
Version
Fontconfig version 2.4.1
FcMatrixShear
Name
FcMatrixShear -- Shear a matrix
Synopsis
#include <fontconfig.h>
void FcMatrixShear(FcMatrix *matrix, doublesh, doublesv);
Description
FcMatrixShare shears matrix horizontally by sh and vertically
by sv. This is done by multiplying by the matrix:
1 sh
sv 1
Version
Fontconfig version 2.4.1
_________________________________________________________
4.9. FcConfig
Table of Contents
FcConfigCreate -- Create a configuration
FcConfigDestroy -- Destroy a configuration
FcConfigSetCurrent -- Set configuration as default
FcConfigGetCurrent -- Return current configuration
FcConfigUptoDate -- Check timestamps on config files
FcConfigBuildFonts -- Build font database
FcConfigGetConfigDirs -- Get config directories
FcConfigGetFontDirs -- Get font directories
FcConfigGetConfigFiles -- Get config files
FcConfigGetCache -- Get cache filename
FcConfigGetFonts -- Get config font set
FcConfigGetBlanks -- Get config blanks
FcConfigGetRescanInverval -- Get config rescan interval
FcConfigSetRescanInverval -- Set config rescan interval
FcConfigAppFontAddFile -- Add font file to font database
FcConfigAppFontAddDir -- Add fonts from directory to font
database
FcConfigAppFontClear -- Remove all app fonts from font
database
FcConfigSubstituteWithPat -- Execute substitutions
FcConfigSubstitute -- Execute substitutions
FcFontMatch -- Return best font
FcFontSort -- Return list of matching fonts
FcFontRenderPrepare -- Prepare pattern for loading font file
FcFontList -- List fonts
FcConfigFilename -- Find a config file
FcConfigParseAndLoad -- load a configuration file
FcConfigNormalizeFontDir -- normalize a font directory
An FcConfig object holds the internal representation of a
configuration. There is a default configuration which
applications may use by passing 0 to any function using the
data within an FcConfig.
FcConfigCreate
Name
FcConfigCreate -- Create a configuration
Synopsis
#include <fontconfig.h>
FcConfig * FcConfigCreate(void);
Description
Creates an empty configuration.
Version
Fontconfig version 2.4.1
FcConfigDestroy
Name
FcConfigDestroy -- Destroy a configuration
Synopsis
#include <fontconfig.h>
void FcConfigDestroy(FcConfig *config);
Description
Destroys a configuration and any data associated with it. Note
that calling this function with the return from
FcConfigGetCurrent will place the library in an indeterminate
state.
Version
Fontconfig version 2.4.1
FcConfigSetCurrent
Name
FcConfigSetCurrent -- Set configuration as default
Synopsis
#include <fontconfig.h>
FcBool FcConfigSetCurrent(FcConfig *config);
Description
Sets the current default configuration to config. Implicitly
calls FcConfigBuildFonts if necessary, returning FcFalse if
that call fails.
Version
Fontconfig version 2.4.1
FcConfigGetCurrent
Name
FcConfigGetCurrent -- Return current configuration
Synopsis
#include <fontconfig.h>
FcConfig * FcConfigGetCurrent(void);
Description
Returns the current default configuration.
Version
Fontconfig version 2.4.1
FcConfigUptoDate
Name
FcConfigUptoDate -- Check timestamps on config files
Synopsis
#include <fontconfig.h>
FcBool FcConfigUptoDate(FcConfig *config);
Description
Checks all of the files related to config and returns whether
the in-memory version is in sync with the disk version.
Version
Fontconfig version 2.4.1
FcConfigBuildFonts
Name
FcConfigBuildFonts -- Build font database
Synopsis
#include <fontconfig.h>
FcBool FcConfigBuildFonts(FcConfig *config);
Description
Builds the set of available fonts for the given configuration.
Note that any changes to the configuration after this call
have indeterminate effects. Returns FcFalse if this operation
runs out of memory.
Version
Fontconfig version 2.4.1
FcConfigGetConfigDirs
Name
FcConfigGetConfigDirs -- Get config directories
Synopsis
#include <fontconfig.h>
FcStrList * FcConfigGetConfigDirs(FcConfig *config);
Description
Returns the list of font directories specified in the
configuration files for config. Does not include any
subdirectories.
Version
Fontconfig version 2.4.1
FcConfigGetFontDirs
Name
FcConfigGetFontDirs -- Get font directories
Synopsis
#include <fontconfig.h>
FcStrList * FcConfigGetFontDirs(FcConfig *config);
Description
Returns the list of font directories in config. This includes
the configured font directories along with any directories
below those in the filesystem.
Version
Fontconfig version 2.4.1
FcConfigGetConfigFiles
Name
FcConfigGetConfigFiles -- Get config files
Synopsis
#include <fontconfig.h>
FcStrList * FcConfigGetConfigFiles(FcConfig *config);
Description
Returns the list of known configuration files used to generate
config. Note that this will not include any configuration done
with FcConfigParse.
Version
Fontconfig version 2.4.1
FcConfigGetCache
Name
FcConfigGetCache -- Get cache filename
Synopsis
#include <fontconfig.h>
char * FcConfigGetCache(FcConfig *config);
Description
Returns the name of the file used to store per-user font
information.
Version
Fontconfig version 2.4.1
FcConfigGetFonts
Name
FcConfigGetFonts -- Get config font set
Synopsis
#include <fontconfig.h>
FcFontSet * FcConfigGetFonts(FcConfig *config, FcSetNameset);
Description
Returns one of the two sets of fonts from the configuration as
specified by set.
Version
Fontconfig version 2.4.1
FcConfigGetBlanks
Name
FcConfigGetBlanks -- Get config blanks
Synopsis
#include <fontconfig.h>
FcBlanks * FcConfigGetBlanks(FcConfig *config);
Description
Returns the FcBlanks object associated with the given
configuration, if no blanks were present in the configuration,
this function will return 0.
Version
Fontconfig version 2.4.1
FcConfigGetRescanInverval
Name
FcConfigGetRescanInverval -- Get config rescan interval
Synopsis
#include <fontconfig.h>
int FcConfigGetRescanInverval(FcConfig *config);
Description
Returns the interval between automatic checks of the
configuration (in seconds) specified in config. The
configuration is checked during a call to FcFontList when this
interval has passed since the last check.
Version
Fontconfig version 2.4.1
FcConfigSetRescanInverval
Name
FcConfigSetRescanInverval -- Set config rescan interval
Synopsis
#include <fontconfig.h>
FcBool FcConfigSetRescanInverval(FcConfig *config,
intrescanInterval);
Description
Sets the rescan interval; returns FcFalse if an error
occurred.
Version
Fontconfig version 2.4.1
FcConfigAppFontAddFile
Name
FcConfigAppFontAddFile -- Add font file to font database
Synopsis
#include <fontconfig.h>
FcBool FcConfigAppFontAddFile(FcConfig *config, const char
*file);
Description
Adds an application-specific font to the configuration.
Version
Fontconfig version 2.4.1
FcConfigAppFontAddDir
Name
FcConfigAppFontAddDir -- Add fonts from directory to font
database
Synopsis
#include <fontconfig.h>
FcBool FcConfigAppFontAddDir(FcConfig *config, const char *);
Description
Scans the specified directory for fonts, adding each one found
to the application-specific set of fonts.
Version
Fontconfig version 2.4.1
FcConfigAppFontClear
Name
FcConfigAppFontClear -- Remove all app fonts from font
database
Synopsis
#include <fontconfig.h>
void FcConfigAppFontClear(FcConfig *config);
Description
Clears the set of application-specific fonts.
Version
Fontconfig version 2.4.1
FcConfigSubstituteWithPat
Name
FcConfigSubstituteWithPat -- Execute substitutions
Synopsis
#include <fontconfig.h>
FcBool FcConfigSubstituteWithPat(FcConfig *config, FcPattern
*p, FcPattern *p_pat, FcMatchKindkind);
Description
Performs the sequence of pattern modification operations, if
kind is FcMatchPattern, then those tagged as pattern
operations are applied, else if kind is FcMatchFont, those
tagged as font operations are applied and p_pat is used for
<test> elements with target=pattern.
Version
Fontconfig version 2.4.1
FcConfigSubstitute
Name
FcConfigSubstitute -- Execute substitutions
Synopsis
#include <fontconfig.h>
FcBool FcConfigSubstitute(FcConfig *config, FcPattern *p,
FcMatchKindkind);
Description
Calls FcConfigSubstituteWithPat setting p_pat to NULL.
Version
Fontconfig version 2.4.1
FcFontMatch
Name
FcFontMatch -- Return best font
Synopsis
#include <fontconfig.h>
FcPattern * FcFontMatch(FcConfig *config, FcPattern *p,
FcResult *result);
Description
Returns the font in config most close matching p. This
function should be called only after FcConfigSubstitute and
FcDefaultSubstitute have been called for p; otherwise the
results will not be correct.
Version
Fontconfig version 2.4.1
FcFontSort
Name
FcFontSort -- Return list of matching fonts
Synopsis
#include <fontconfig.h>
FcFontSet * FcFontSort(FcConfig *config, FcPattern *p,
FcBooltrim, FcCharSet **csp, FcResult *result);
Description
Returns the list of fonts sorted by closeness to p. If trim 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 csp, if csp is not NULL. This function should be
called only after FcConfigSubstitute and FcDefaultSubstitute
have been called for p; otherwise the results will not be
correct.
The returned FcFontSet references FcPattern structures which
may be shared by the return value from multiple FcFontSort
calls, applications must not modify these patterns. Instead,
they should be passed, along with p to FcFontRenderPrepare
which combines them into a complete pattern.
The FcFontSet returned by FcFontSort is destroyed by caling
FcFontSetDestroy.
Version
Fontconfig version 2.4.1
FcFontRenderPrepare
Name
FcFontRenderPrepare -- Prepare pattern for loading font file
Synopsis
#include <fontconfig.h>
FcPattern * FcFontRenderPrepare(FcConfig *config, FcPattern
*pat, FcPattern *font);
Description
Creates a new pattern consisting of elements of font not
appearing in pat, elements of pat not appearing in font and
the best matching value from pat for elements appearing in
both. The result is passed to FcConfigSubstitute with kind
FcMatchFont and then returned.
Version
Fontconfig version 2.4.1
FcFontList
Name
FcFontList -- List fonts
Synopsis
#include <fontconfig.h>
FcFontSet * FcFontList(FcConfig *config, FcPattern *p,
FcObjectSet *os);
Description
Selects fonts matching p, creates patterns from those fonts
containing only the objects in os and returns the set of
unique such patterns.
Version
Fontconfig version 2.4.1
FcConfigFilename
Name
FcConfigFilename -- Find a config file
Synopsis
#include <fontconfig.h>
char * FcConfigFilename(const char *name);
Description
Given the specified external entity name, return the
associated filename. This provides applications a way to
convert various configuration file references into filename
form.
A null or empty name indicates that the default configuration
file should be used; which file this references can be
overridden with the FC_CONFIG_FILE environment variable. Next,
if the name starts with ~, it refers to a file in the current
users home directory. Otherwise if the name doesn't start with
'/', it refers to a file in the default configuration
directory; the built-in default directory can be overridden
with the FC_CONFIG_DIR environment variable.
Version
Fontconfig version 2.4.1
FcConfigParseAndLoad
Name
FcConfigParseAndLoad -- load a configuration file
Synopsis
#include <fontconfig.h>
FcBool FcConfigParseAndLoad(FcConfig *config, const FcChar8
*file);
Description
Walks the configuration in 'file' and constructs the internal
representation in 'config'. Any include files referenced from
within 'file' will be loaded with FcConfigLoad and also
parsed. If 'complain' is FcFalse, no warning will be displayed
if 'file' does not exist.
Version
Fontconfig version 2.4.1
FcConfigNormalizeFontDir
Name
FcConfigNormalizeFontDir -- normalize a font directory
Synopsis
#include <fontconfig.h>
const FcChar8 * FcConfigNormalizeFontDir(FcConfig *config,
const FcChar8 *dir);
Description
Converts the directory name given in 'dir' to a normal form,
i.e. one of the forms which are derived from the font
directories specified in the config file.
Version
Fontconfig version 2.4.1
_________________________________________________________
4.10. FcObjectType
Table of Contents
FcNameRegisterObjectTypes -- Register object types
FcNameUnregisterObjectTypes -- Unregister object types
FcNameGetObjectType -- Lookup an object type
Provides for applcation-specified font name object types so
that new pattern elements can be generated from font names.
FcNameRegisterObjectTypes
Name
FcNameRegisterObjectTypes -- Register object types
Synopsis
#include <fontconfig.h>
FcBool FcNameRegisterObjectTypes(const FcObjectType *types,
intntype);
Description
Register ntype new object types.
Version
Fontconfig version 2.4.1
FcNameUnregisterObjectTypes
Name
FcNameUnregisterObjectTypes -- Unregister object types
Synopsis
#include <fontconfig.h>
FcBool FcNameUnregisterObjectTypes(const FcObjectType *types,
intntype);
Description
Unregister ntype object types.
Version
Fontconfig version 2.4.1
FcNameGetObjectType
Name
FcNameGetObjectType -- Lookup an object type
Synopsis
#include <fontconfig.h>
const FcObjectType * FcNameGetObjectType(const char *object);
Description
Return the object type for the pattern element named object.
Version
Fontconfig version 2.4.1
_________________________________________________________
4.11. FcConstant
Table of Contents
FcNameRegisterConstants -- Register symbolic constants
FcNameUnregisterConstants -- Unregister symbolic constants
FcNameGetConstant -- Lookup symbolic constant
FcNameConstant -- Get the value for a symbolic constant
Provides for application-specified symbolic constants for font
names.
FcNameRegisterConstants
Name
FcNameRegisterConstants -- Register symbolic constants
Synopsis
#include <fontconfig.h>
FcBool FcNameRegisterConstants(const FcConstant *consts,
intnconsts);
Description
Register nconsts new symbolic constants.
Version
Fontconfig version 2.4.1
FcNameUnregisterConstants
Name
FcNameUnregisterConstants -- Unregister symbolic constants
Synopsis
#include <fontconfig.h>
FcBool FcNameUnregisterConstants(const FcConstant *consts,
intnconsts);
Description
Unregister nconsts symbolic constants.
Version
Fontconfig version 2.4.1
FcNameGetConstant
Name
FcNameGetConstant -- Lookup symbolic constant
Synopsis
#include <fontconfig.h>
const FcConstant * FcNameGetConstant(FcChar8 *string);
Description
Return the FcConstant structure related to symbolic constant
string.
Version
Fontconfig version 2.4.1
FcNameConstant
Name
FcNameConstant -- Get the value for a symbolic constant
Synopsis
#include <fontconfig.h>
FcBool FcNameConstant(FcChar8 *string, int *result);
Description
Returns whether a symbolic constant with name string is
registered, placing the value of the constant in result if
present.
Version
Fontconfig version 2.4.1
_________________________________________________________
4.12. FcBlanks
Table of Contents
FcBlanksCreate -- Create an FcBlanks
FcBlanksDestroy -- Destroy and FcBlanks
FcBlanksAdd -- Add a character to an FcBlanks
FcBlanksIsMember -- Query membership in an FcBlanks
An FcBlanks object holds a list of Unicode chars which are
expected to be blank when drawn. When scanning new fonts, any
glyphs which are empty and not in this list will be assumed to
be broken and not placed in the FcCharSet associated with the
font. This provides a significantly more accurate CharSet for
applications.
FcBlanksCreate
Name
FcBlanksCreate -- Create an FcBlanks
Synopsis
#include <fontconfig.h>
FcBlanks * FcBlanksCreate(void);
Description
Creates an empty FcBlanks object.
Version
Fontconfig version 2.4.1
FcBlanksDestroy
Name
FcBlanksDestroy -- Destroy and FcBlanks
Synopsis
#include <fontconfig.h>
void FcBlanksDestroy(FcBlanks *b);
Description
Destroys an FcBlanks object, freeing any associated memory.
Version
Fontconfig version 2.4.1
FcBlanksAdd
Name
FcBlanksAdd -- Add a character to an FcBlanks
Synopsis
#include <fontconfig.h>
FcBool FcBlanksAdd(FcBlanks *b, FcChar32ucs4);
Description
Adds a single character to an FcBlanks object, returning
FcFalse if this process ran out of memory.
Version
Fontconfig version 2.4.1
FcBlanksIsMember
Name
FcBlanksIsMember -- Query membership in an FcBlanks
Synopsis
#include <fontconfig.h>
FcBool FcBlanksIsMember(FcBlanks *b, FcChar32ucs4);
Description
Returns whether the specified FcBlanks object contains the
indicated Unicode value.
Version
Fontconfig version 2.4.1
_________________________________________________________
4.13. FcAtomic
Table of Contents
FcAtomicCreate -- create an FcAtomic object
FcAtomicLock -- lock a file
FcAtomicNewFile -- return new temporary file name
FcAtomicOrigFile -- return original file name
FcAtomicReplaceOrig -- replace original with new
FcAtomicDeleteNew -- delete new file
FcAtomicUnlock -- unlock a file
FcAtomicDestroy -- destroy an FcAtomic object
These functions provide a safe way to update config files,
allowing ongoing reading of the old config file while locked
for writing and ensuring that a consistent and complete
version of the config file is always available.
FcAtomicCreate
Name
FcAtomicCreate -- create an FcAtomic object
Synopsis
#include <fontconfig.h>
FcAtomic * FcAtomicCreate(const FcChar8 *file);
Description
Creates a data structure containing data needed to control
access to file. Writing is done to a separate file. Once that
file is complete, the original configuration file is
atomically replaced so that reading process always see a
consistent and complete file without the need to lock for
reading.
Version
Fontconfig version 2.4.1
FcAtomicLock
Name
FcAtomicLock -- lock a file
Synopsis
#include <fontconfig.h>
FcBool FcAtomicLock(FcAtomic *atomic);
Description
Attempts to lock the file referenced by atomic. Returns
FcFalse if the file is locked by another process, else returns
FcTrue and leaves the file locked.
Version
Fontconfig version 2.4.1
FcAtomicNewFile
Name
FcAtomicNewFile -- return new temporary file name
Synopsis
#include <fontconfig.h>
FcChar8 * FcAtomicNewFile(FcAtomic *atomic);
Description
Returns the filename for writing a new version of the file
referenced by atomic.
Version
Fontconfig version 2.4.1
FcAtomicOrigFile
Name
FcAtomicOrigFile -- return original file name
Synopsis
#include <fontconfig.h>
FcChar8 * FcAtomicOrigFile(FcAtomic *atomic);
Description
Returns the file refernced by atomic.
Version
Fontconfig version 2.4.1
FcAtomicReplaceOrig
Name
FcAtomicReplaceOrig -- replace original with new
Synopsis
#include <fontconfig.h>
FcBool FcAtomicReplaceOrig(FcAtomic *atomic);
Description
Replaces the original file referenced by atomic with the new
file.
Version
Fontconfig version 2.4.1
FcAtomicDeleteNew
Name
FcAtomicDeleteNew -- delete new file
Synopsis
#include <fontconfig.h>
void FcAtomicDeleteNew(FcAtomic *atomic);
Description
Deletes the new file. Used in error recovery to back out
changes.
Version
Fontconfig version 2.4.1
FcAtomicUnlock
Name
FcAtomicUnlock -- unlock a file
Synopsis
#include <fontconfig.h>
void FcAtomicUnlock(FcAtomic *atomic);
Description
Unlocks the file.
Version
Fontconfig version 2.4.1
FcAtomicDestroy
Name
FcAtomicDestroy -- destroy an FcAtomic object
Synopsis
#include <fontconfig.h>
void FcAtomicDestroy(FcAtomic *atomic);
Description
Destroys atomic.
Version
Fontconfig version 2.4.1
_________________________________________________________
4.14. File and Directory routines
Table of Contents
FcFileScan -- scan a font file
FcDirScan -- scan a font directory
FcDirSave -- save a directory cache
FcDirCacheValid -- check directory cache timestamp
These routines work with font files and directories, including
font directory cache files.
FcFileScan
Name
FcFileScan -- scan a font file
Synopsis
#include <fontconfig.h>
FcBool FcFileScan(FcFontSet *set, FcStrSet *dirs, FcFileCache
*cache, FcBlanks *blanks, const char *file, FcBoolforce);
Description
Scans a single file and adds all fonts found to set. If force
is FcTrue, then the file is scanned even if associated
information is found in cache. If file is a directory, it is
added to dirs.
Version
Fontconfig version 2.4.1
FcDirScan
Name
FcDirScan -- scan a font directory
Synopsis
#include <fontconfig.h>
FcBool FcDirScan(FcFontSet *set, FcStrSet *dirs, FcFileCache
*cache, FcBlanks *blanks, const char *dir, FcBoolforce);
Description
Scans an entire directory and adds all fonts found to set. If
force is FcTrue, then the directory and all files within it
are scanned even if information is present in the
per-directory cache file or cache. Any subdirectories found
are added to dirs.
Version
Fontconfig version 2.4.1
FcDirSave
Name
FcDirSave -- save a directory cache
Synopsis
#include <fontconfig.h>
FcBool FcDirSave(FcFontSet *set, FcStrSet *dirs, const char
*dir);
Description
Creates the per-directory cache file for dir and populates it
with the fonts in set and subdirectories in dirs.
Version
Fontconfig version 2.4.1
FcDirCacheValid
Name
FcDirCacheValid -- check directory cache timestamp
Synopsis
#include <fontconfig.h>
FcBool FcDirCacheValid(const FcChar8 *cache_file);
Description
Returns FcTrue if cache_file is no older than the directory
containing it, else FcFalse.
Version
Fontconfig version 2.4.1
_________________________________________________________
4.15. FcStrSet and FcStrList
Table of Contents
FcStrSetCreate -- create a string set
FcStrSetMember -- check set for membership
FcStrSetAdd -- add to a string set
FcStrSetAddFilename -- add a filename to a string set
FcStrSetDel -- delete from a string set
FcStrSetDestroy -- destroy a string set
FcStrListCreate -- create a string iterator
FcStrListNext -- get next string in iteration
FcStrListDone -- destroy a string iterator
A data structure for enumerating strings, used to list
directories while scanning the configuration as directories
are added while scanning.
FcStrSetCreate
Name
FcStrSetCreate -- create a string set
Synopsis
#include <fontconfig.h>
FcStrSet * FcStrSetCreate(void);
Description
Create an empty set.
Version
Fontconfig version 2.4.1
FcStrSetMember
Name
FcStrSetMember -- check set for membership
Synopsis
#include <fontconfig.h>
FcBool FcStrSetMember(FcStrSet *set, const FcChar8 *s);
Description
Returns whether s is a member of set.
Version
Fontconfig version 2.4.1
FcStrSetAdd
Name
FcStrSetAdd -- add to a string set
Synopsis
#include <fontconfig.h>
FcBool FcStrSetAdd(FcStrSet *set, const FcChar8 *s);
Description
Adds a copy of s to set.
Version
Fontconfig version 2.4.1
FcStrSetAddFilename
Name
FcStrSetAddFilename -- add a filename to a string set
Synopsis
#include <fontconfig.h>
FcBool FcStrSetAddFilename(FcStrSet *set, const FcChar8 *s);
Description
Adds a copy s to set, The copy is created with
FcStrCopyFilename so that leading '~' values are replaced with
the value of the HOME environment variable.
Version
Fontconfig version 2.4.1
FcStrSetDel
Name
FcStrSetDel -- delete from a string set
Synopsis
#include <fontconfig.h>
FcBool FcStrSetDel(FcStrSet *set, const FcChar8 *s);
Description
Removes s from set, returning FcTrue if s was a member else
FcFalse.
Version
Fontconfig version 2.4.1
FcStrSetDestroy
Name
FcStrSetDestroy -- destroy a string set
Synopsis
#include <fontconfig.h>
void FcStrSetDestroy(FcStrSet *set);
Description
Destroys set.
Version
Fontconfig version 2.4.1
FcStrListCreate
Name
FcStrListCreate -- create a string iterator
Synopsis
#include <fontconfig.h>
FcStrList * FcStrListCreate(FcStrSet *set);
Description
Creates an iterator to list the strings in set.
Version
Fontconfig version 2.4.1
FcStrListNext
Name
FcStrListNext -- get next string in iteration
Synopsis
#include <fontconfig.h>
FcChar8 * FcStrListNext(FcStrList *list);
Description
Returns the next string in set.
Version
Fontconfig version 2.4.1
FcStrListDone
Name
FcStrListDone -- destroy a string iterator
Synopsis
#include <fontconfig.h>
void FcStrListDone(FcStrList *list);
Description
Destroys the enumerator list.
Version
Fontconfig version 2.4.1
_________________________________________________________
4.16. String utilities
Table of Contents
FcUtf8ToUcs4 -- convert UTF-8 to UCS4
FcUcs4ToUtf8 -- convert UCS4 to UTF-8
FcUtf8Len -- count UTF-8 encoded chars
FcUtf16ToUcs4 -- convert UTF-16 to UCS4
FcUtf16Len -- count UTF-16 encoded chars
FcStrCopy -- duplicate a string
FcStrDowncase -- create a lower case translation of a string
FcStrCopyFilename -- copy a string, expanding '~'
FcStrCmpIgnoreCase -- compare UTF-8 strings ignoring ASCII
case
FcStrStr -- locate UTF-8 substring
FcStrStrIgnoreCase -- locate UTF-8 substring ignoring ASCII
case
FcStrDirname -- directory part of filename
FcStrBasename -- last component of filename
Fontconfig manipulates many UTF-8 strings represented with the
FcChar8 type. These functions are exposed to help applications
deal with these UTF-8 strings in a locale-insensitive manner.
FcUtf8ToUcs4
Name
FcUtf8ToUcs4 -- convert UTF-8 to UCS4
Synopsis
#include <fontconfig.h>
int FcUtf8ToUcs4(FcChar8 *src, FcChar32 *dst, intlen);
Description
Converts the next Unicode char from src into dst and returns
the number of bytes containing the char. src nust be at least
len bytes long.
Version
Fontconfig version 2.4.1
FcUcs4ToUtf8
Name
FcUcs4ToUtf8 -- convert UCS4 to UTF-8
Synopsis
#include <fontconfig.h>
int FcUcs4ToUtf8(FcChar32src, FcChar8dst[FC_UTF8_MAX_LEN]);
Description
Converts the Unicode char from src into dst and returns the
number of bytes needed to encode the char.
Version
Fontconfig version 2.4.1
FcUtf8Len
Name
FcUtf8Len -- count UTF-8 encoded chars
Synopsis
#include <fontconfig.h>
FcBool FcUtf8Len(FcChar8 *src, intlen, int *nchar, int
*wchar);
Description
Counts the number of Unicode chars in len bytes of src. Places
that count in nchar. wchar contains 1, 2 or 4 depending on the
number of bytes needed to hold the largest unicode char
counted. The return value indicates whether src is a
well-formed UTF8 string.
Version
Fontconfig version 2.4.1
FcUtf16ToUcs4
Name
FcUtf16ToUcs4 -- convert UTF-16 to UCS4
Synopsis
#include <fontconfig.h>
int FcUtf16ToUcs4(FcChar8 *src, FcEndianendian, FcChar32 *dst,
intlen);
Description
Converts the next Unicode char from src into dst and returns
the number of bytes containing the char. src must be at least
len bytes long. Bytes of src are combined into 16-bit units
according to endian.
Version
Fontconfig version 2.4.1
FcUtf16Len
Name
FcUtf16Len -- count UTF-16 encoded chars
Synopsis
#include <fontconfig.h>
FcBool FcUtf16Len(FcChar8 *src, FcEndianendian, intlen, int
*nchar, int *wchar);
Description
Counts the number of Unicode chars in len bytes of src. Bytes
of src are combined into 16-bit units according to endian.
Places that count in nchar. wchar contains 1, 2 or 4 depending
on the number of bytes needed to hold the largest unicode char
counted. The return value indicates whether string is a
well-formed UTF16 string.
Version
Fontconfig version 2.4.1
FcStrCopy
Name
FcStrCopy -- duplicate a string
Synopsis
#include <fontconfig.h>
FcChar8 * FcStrCopy(const FcChar8 *s);
Description
Allocates memory, copies s and returns the resulting buffer.
Yes, this is strdup, but that function isn't available on
every platform.
Version
Fontconfig version 2.4.1
FcStrDowncase
Name
FcStrDowncase -- create a lower case translation of a string
Synopsis
#include <fontconfig.h>
FcChar8 * FcStrDowncase(const FcChar8 *s);
Description
Allocates memory, copies s, converting upper case letters to
lower case and returns the allocated buffer.
Version
Fontconfig version 2.4.1
FcStrCopyFilename
Name
FcStrCopyFilename -- copy a string, expanding '~'
Synopsis
#include <fontconfig.h>
FcChar8 * FcStrCopyFilename(const FcChar8 *s);
Description
Just like FcStrCopy except that it converts any leading '~'
characters in s to the value of the HOME environment variable.
Returns NULL if '~' is present in s and HOME is unset.
Version
Fontconfig version 2.4.1
FcStrCmpIgnoreCase
Name
FcStrCmpIgnoreCase -- compare UTF-8 strings ignoring ASCII
case
Synopsis
#include <fontconfig.h>
int FcStrCmpIgnoreCase(const FcChar8 *s1, const FcChar8 *s2);
Description
Returns the usual <0, 0, >0 result of comparing s1 and s2.
This test is case-insensitive in the ASCII range and will
operate properly with UTF8 encoded strings, although it does
not check for well formed strings.
Version
Fontconfig version 2.4.1
FcStrStr
Name
FcStrStr -- locate UTF-8 substring
Synopsis
#include <fontconfig.h>
FcChar8 * FcStrStr(const char *s1, const char *s2);
Description
Returns the location of s2 in s1. Returns NULL if s2 is not
present in s1. This test will operate properly with UTF8
encoded strings, although it does not check for well formed
strings.
Version
Fontconfig version 2.4.1
FcStrStrIgnoreCase
Name
FcStrStrIgnoreCase -- locate UTF-8 substring ignoring ASCII
case
Synopsis
#include <fontconfig.h>
FcChar8 * FcStrStrIgnoreCase(const char *s1, const char *s2);
Description
Returns the location of s2 in s1, ignoring ASCII case. Returns
NULL if s2 is not present in s1. This test is case-insensitive
in the ASCII range and will operate properly with UTF8 encoded
strings, although it does not check for well formed strings.
Version
Fontconfig version 2.4.1
FcStrDirname
Name
FcStrDirname -- directory part of filename
Synopsis
#include <fontconfig.h>
FcChar8 * FcStrDirname(const FcChar8 *file);
Description
Returns the directory containing file. This is returned in
newly allocated storage which should be freed when no longer
needed.
Version
Fontconfig version 2.4.1
FcStrBasename
Name
FcStrBasename -- last component of filename
Synopsis
#include <fontconfig.h>
FcChar8 * FcStrBasename(const FcChar8 *file);
Description
Returns the filename of file stripped of any leading directory
names. This is returned in newly allocated storage which
should be freed when no longer needed.
Version
Fontconfig version 2.4.1
|