]>
Commit | Line | Data |
---|---|---|
22671e25 | 1 | <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ |
39381776 KP |
2 | <!ENTITY fcatomic SYSTEM "fcatomic.sgml"> |
3 | <!ENTITY fcblanks SYSTEM "fcblanks.sgml"> | |
22671e25 | 4 | <!ENTITY fccharset SYSTEM "fccharset.sgml"> |
39381776 KP |
5 | <!ENTITY fcconfig SYSTEM "fcconfig.sgml"> |
6 | <!ENTITY fcconstant SYSTEM "fcconstant.sgml"> | |
7 | <!ENTITY fcfile SYSTEM "fcfile.sgml"> | |
bfc2dc3a | 8 | <!ENTITY fcfontset SYSTEM "fcfontset.sgml"> |
39381776 KP |
9 | <!ENTITY fcfreetype SYSTEM "fcfreetype.sgml"> |
10 | <!ENTITY fcinit SYSTEM "fcinit.sgml"> | |
11 | <!ENTITY fcmatrix SYSTEM "fcmatrix.sgml"> | |
bfc2dc3a KP |
12 | <!ENTITY fcobjectset SYSTEM "fcobjectset.sgml"> |
13 | <!ENTITY fcobjecttype SYSTEM "fcobjecttype.sgml"> | |
39381776 KP |
14 | <!ENTITY fcpattern SYSTEM "fcpattern.sgml"> |
15 | <!ENTITY fcstring SYSTEM "fcstring.sgml"> | |
16 | <!ENTITY fcstrset SYSTEM "fcstrset.sgml"> | |
17 | <!ENTITY fcvalue SYSTEM "fcvalue.sgml"> | |
fddb839b | 18 | <!ENTITY version SYSTEM "version.sgml"> |
22671e25 | 19 | ]> |
584ac89a KP |
20 | <!-- |
21 | $Id$ | |
22 | ||
46b51147 | 23 | Copyright © 2003 Keith Packard |
584ac89a KP |
24 | |
25 | Permission to use, copy, modify, distribute, and sell this software and its | |
26 | documentation for any purpose is hereby granted without fee, provided that | |
27 | the above copyright notice appear in all copies and that both that | |
28 | copyright notice and this permission notice appear in supporting | |
29 | documentation, and that the name of Keith Packard not be used in | |
30 | advertising or publicity pertaining to distribution of the software without | |
31 | specific, written prior permission. Keith Packard makes no | |
32 | representations about the suitability of this software for any purpose. It | |
33 | is provided "as is" without express or implied warranty. | |
34 | ||
35 | KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, | |
36 | INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO | |
37 | EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR | |
38 | CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, | |
39 | DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER | |
40 | TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR | |
41 | PERFORMANCE OF THIS SOFTWARE. | |
42 | --> | |
43 | <article> | |
fddb839b | 44 | <title>Fontconfig Developers Reference, Version &version; </title> |
22671e25 KP |
45 | <artheader> |
46 | <author> | |
47 | <firstname>Keith</firstname> | |
48 | <surname>Packard</surname> | |
49 | <affiliation><orgname> | |
50 | HP Cambridge Research Lab | |
51 | </orgname></affiliation> | |
52 | </author> | |
53 | <authorinitials>KRP</authorinitials> | |
54 | <productname>Fontconfig</productname> | |
fddb839b | 55 | <productnumber>&version;</productnumber> |
22671e25 KP |
56 | <LegalNotice> |
57 | <simpara> | |
46b51147 | 58 | Copyright © 2002 Keith Packard |
22671e25 KP |
59 | </simpara><simpara> |
60 | Permission to use, copy, modify, distribute, and sell this software and its | |
61 | documentation for any purpose is hereby granted without fee, provided that | |
62 | the above copyright notice appear in all copies and that both that | |
63 | copyright notice and this permission notice appear in supporting | |
64 | documentation, and that the name of Keith Packard not be used in | |
65 | advertising or publicity pertaining to distribution of the software without | |
66 | specific, written prior permission. Keith Packard makes no | |
67 | representations about the suitability of this software for any purpose. It | |
68 | is provided "as is" without express or implied warranty. | |
69 | </simpara><simpara> | |
70 | KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, | |
71 | INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO | |
72 | EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR | |
73 | CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, | |
74 | DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER | |
75 | TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR | |
76 | PERFORMANCE OF THIS SOFTWARE. | |
77 | </simpara> | |
78 | </LegalNotice> | |
79 | </artheader> | |
584ac89a KP |
80 | <sect1><title>DESCRIPTION</title> |
81 | <para> | |
82 | Fontconfig is a library designed to provide system-wide font configuration, | |
83 | customization and application access. | |
84 | </para> | |
85 | </sect1> | |
86 | <sect1><title>FUNCTIONAL OVERVIEW</title> | |
87 | <para> | |
88 | Fontconfig contains two essential modules, the configuration module which | |
89 | builds an internal configuration from XML files and the matching module | |
90 | which accepts font patterns and returns the nearest matching font. | |
91 | </para> | |
92 | <sect2><title>FONT CONFIGURATION</title> | |
93 | <para> | |
94 | The configuration module consists of the FcConfig datatype, libexpat and | |
95 | FcConfigParse which walks over an XML tree and ammends a configuration with | |
96 | data found within. From an external perspective, configuration of the | |
97 | library consists of generating a valid XML tree and feeding that to | |
98 | FcConfigParse. The only other mechanism provided to applications for | |
99 | changing the running configuration is to add fonts and directories to the | |
100 | list of application-provided font files. | |
101 | </para><para> | |
102 | The intent is to make font configurations relatively static, and shared by | |
103 | as many applications as possible. It is hoped that this will lead to more | |
104 | stable font selection when passing names from one application to another. | |
105 | XML was chosen as a configuration file format because it provides a format | |
106 | which is easy for external agents to edit while retaining the correct | |
107 | structure and syntax. | |
108 | </para><para> | |
109 | Font configuration is separate from font matching; applications needing to | |
110 | do their own matching can access the available fonts from the library and | |
111 | perform private matching. The intent is to permit applications to pick and | |
112 | choose appropriate functionality from the library instead of forcing them to | |
113 | choose between this library and a private configuration mechanism. The hope | |
114 | is that this will ensure that configuration of fonts for all applications | |
115 | can be centralized in one place. Centralizing font configuration will | |
116 | simplify and regularize font installation and customization. | |
117 | </para> | |
118 | </sect2> | |
119 | <sect2> | |
120 | <title>FONT PROPERTIES</title> | |
121 | <para> | |
122 | While font patterns may contain essentially any properties, there are some | |
123 | well known properties with associated types. Fontconfig uses some of these | |
124 | properties for font matching and font completion. Others are provided as a | |
125 | convenience for the applications rendering mechanism. | |
126 | </para> | |
22671e25 KP |
127 | <programlisting> |
128 | Property Definitions | |
129 | ||
4f27c1c0 | 130 | Property CPP Symbol Type Description |
22671e25 | 131 | ---------------------------------------------------- |
4f27c1c0 KP |
132 | family FC_FAMILY String Font family names |
133 | familylang FC_FAMILYLANG String Language cooresponding to | |
134 | each family name | |
22671e25 KP |
135 | style FC_STYLE String Font style. Overrides weight |
136 | and slant | |
4f27c1c0 KP |
137 | stylelang FC_STYLELANG String Language cooresponding to |
138 | each style name | |
139 | fullname FC_FULLNAME String Font face full name where | |
140 | different from family and | |
141 | family + style | |
142 | fullnamelang FC_FULLNAMELANG String Language cooresponding to | |
143 | each fullname | |
22671e25 KP |
144 | slant FC_SLANT Int Italic, oblique or roman |
145 | weight FC_WEIGHT Int Light, medium, demibold, | |
146 | bold or black | |
147 | size FC_SIZE Double Point size | |
148 | aspect FC_ASPECT Double Stretches glyphs horizontally | |
149 | before hinting | |
150 | pixelsize FC_PIXEL_SIZE Double Pixel size | |
a05d257f NL |
151 | spacing FC_SPACING Int Proportional, dual-width, |
152 | monospace or charcell | |
22671e25 KP |
153 | foundry FC_FOUNDRY String Font foundry name |
154 | antialias FC_ANTIALIAS Bool Whether glyphs can be | |
155 | antialiased | |
156 | hinting FC_HINTING Bool Whether the rasterizer should | |
157 | use hinting | |
158 | verticallayout FC_VERTICAL_LAYOUT Bool Use vertical layout | |
159 | autohint FC_AUTOHINT Bool Use autohinter instead of | |
160 | normal hinter | |
161 | globaladvance FC_GLOBAL_ADVANCE Bool Use font global advance data | |
162 | file FC_FILE String The filename holding the font | |
163 | index FC_INDEX Int The index of the font within | |
164 | the file | |
165 | ftface FC_FT_FACE FT_Face Use the specified FreeType | |
166 | face object | |
167 | rasterizer FC_RASTERIZER String Which rasterizer is in use | |
168 | outline FC_OUTLINE Bool Whether the glyphs are outlines | |
169 | scalable FC_SCALABLE Bool Whether glyphs can be scaled | |
170 | scale FC_SCALE Double Scale factor for point->pixel | |
171 | conversions | |
172 | dpi FC_DPI Double Target dots per inch | |
173 | rgba FC_RGBA Int unknown, rgb, bgr, vrgb, | |
174 | vbgr, none - subpixel geometry | |
175 | minspace FC_MINSPACE Bool Eliminate leading from line | |
176 | spacing | |
177 | charset FC_CHARSET CharSet Unicode chars encoded by | |
178 | the font | |
179 | lang FC_LANG String List of RFC-3066-style | |
180 | languages this font supports | |
181 | </programlisting> | |
584ac89a | 182 | </sect2> |
22dc6fc6 | 183 | </sect1> |
39381776 | 184 | <sect1><title>Datatypes</title> |
584ac89a KP |
185 | <para> |
186 | Fontconfig uses abstract datatypes to hide internal implementation details | |
187 | for most data structures. A few structures are exposed where appropriate. | |
188 | </para> | |
39381776 | 189 | <sect2><title>FcChar8, FcChar16, FcChar32, FcBool</title> |
22671e25 | 190 | <para> |
584ac89a KP |
191 | These are primitive datatypes; the FcChar* types hold precisely the number |
192 | of bits stated (if supported by the C implementation). FcBool holds | |
193 | one of two CPP symbols: FcFalse or FcTrue. | |
22671e25 | 194 | </para> |
39381776 KP |
195 | </sect2> |
196 | <sect2><title>FcMatrix</title> | |
584ac89a KP |
197 | <para> |
198 | An FcMatrix holds an affine transformation, usually used to reshape glyphs. | |
199 | A small set of matrix operations are provided to manipulate these. | |
200 | <programlisting> | |
22671e25 KP |
201 | typedef struct _FcMatrix { |
202 | double xx, xy, yx, yy; | |
203 | } FcMatrix; | |
584ac89a KP |
204 | </programlisting> |
205 | </para> | |
39381776 KP |
206 | </sect2> |
207 | <sect2><title>FcCharSet</title> | |
584ac89a KP |
208 | <para> |
209 | An FcCharSet is an abstract type that holds the set of encoded unicode chars | |
210 | in a font. Operations to build and compare these sets are provided. | |
211 | </para> | |
39381776 KP |
212 | </sect2> |
213 | <sect2><title>FcType</title> | |
584ac89a KP |
214 | <para> |
215 | Tags the kind of data stored in an FcValue. | |
22dc6fc6 | 216 | </para> |
39381776 KP |
217 | </sect2> |
218 | <sect2><title>FcValue</title> | |
584ac89a KP |
219 | <para> |
220 | An FcValue object holds a single value with one of a number of different | |
221 | types. The 'type' tag indicates which member is valid. | |
222 | <programlisting> | |
22671e25 KP |
223 | typedef struct _FcValue { |
224 | FcType type; | |
225 | union { | |
226 | const FcChar8 *s; | |
227 | int i; | |
228 | FcBool b; | |
229 | double d; | |
230 | const FcMatrix *m; | |
231 | const FcCharSet *c; | |
232 | } u; | |
233 | } FcValue; | |
234 | </programlisting> | |
235 | <programlisting> | |
236 | FcValue Members | |
237 | ||
238 | Type Union member Datatype | |
239 | -------------------------------- | |
240 | FcTypeVoid (none) (none) | |
241 | FcTypeInteger i int | |
242 | FcTypeDouble d double | |
243 | FcTypeString s char * | |
244 | FcTypeBool b b | |
245 | FcTypeMatrix m FcMatrix * | |
246 | FcTypeCharSet c FcCharSet * | |
584ac89a | 247 | </programlisting> |
22dc6fc6 | 248 | </para> |
39381776 KP |
249 | </sect2> |
250 | <sect2><title>FcPattern</title> | |
584ac89a KP |
251 | <para> |
252 | holds a set of names with associated value lists; each name refers to a | |
253 | property of a font. FcPatterns are used as inputs to the matching code as | |
254 | well as holding information about specific fonts. Each property can hold | |
255 | one or more values; conventionally all of the same type, although the | |
256 | interface doesn't demand that. | |
22dc6fc6 | 257 | </para> |
39381776 KP |
258 | </sect2> |
259 | <sect2><title>FcFontSet</title> | |
584ac89a KP |
260 | <para> |
261 | <programlisting> | |
22671e25 KP |
262 | typedef struct _FcFontSet { |
263 | int nfont; | |
264 | int sfont; | |
265 | FcPattern **fonts; | |
266 | } FcFontSet; | |
584ac89a KP |
267 | </programlisting> |
268 | An FcFontSet contains a list of FcPatterns. Internally fontconfig uses this | |
269 | data structure to hold sets of fonts. Externally, fontconfig returns the | |
270 | results of listing fonts in this format. 'nfont' holds the number of | |
271 | patterns in the 'fonts' array; 'sfont' is used to indicate the size of that | |
272 | array. | |
273 | </para> | |
39381776 KP |
274 | </sect2> |
275 | <sect2><title>FcStrSet, FcStrList</title> | |
584ac89a KP |
276 | <para> |
277 | FcStrSet holds a list of strings that can be appended to and enumerated. | |
278 | Its unique characteristic is that the enumeration works even while strings | |
279 | are appended during enumeration. FcStrList is used during enumeration to | |
280 | safely and correctly walk the list of strings even while that list is edited | |
281 | in the middle of enumeration. | |
282 | </para> | |
39381776 KP |
283 | </sect2> |
284 | <sect2><title>FcObjectSet</title> | |
584ac89a KP |
285 | <para> |
286 | <programlisting> | |
22671e25 KP |
287 | typedef struct _FcObjectSet { |
288 | int nobject; | |
289 | int sobject; | |
290 | const char **objects; | |
291 | } FcObjectSet; | |
584ac89a KP |
292 | </programlisting> |
293 | holds a set of names and is used to specify which fields from fonts are | |
294 | placed in the the list of returned patterns when listing fonts. | |
295 | </para> | |
39381776 KP |
296 | </sect2> |
297 | <sect2><title>FcObjectType</title> | |
584ac89a KP |
298 | <para> |
299 | <programlisting> | |
22671e25 KP |
300 | typedef struct _FcObjectType { |
301 | const char *object; | |
302 | FcType type; | |
303 | } FcObjectType; | |
584ac89a KP |
304 | </programlisting> |
305 | marks the type of a pattern element generated when parsing font names. | |
306 | Applications can add new object types so that font names may contain the new | |
307 | elements. | |
308 | </para> | |
39381776 KP |
309 | </sect2> |
310 | <sect2><title>FcConstant</title> | |
584ac89a KP |
311 | <para> |
312 | <programlisting> | |
22671e25 KP |
313 | typedef struct _FcConstant { |
314 | const FcChar8 *name; | |
315 | const char *object; | |
316 | int value; | |
317 | } FcConstant; | |
584ac89a KP |
318 | </programlisting> |
319 | Provides for symbolic constants for new pattern elements. When 'name' is | |
320 | seen in a font name, an 'object' element is created with value 'value'. | |
321 | </para> | |
39381776 KP |
322 | </sect2> |
323 | <sect2><title>FcBlanks</title> | |
584ac89a KP |
324 | <para> |
325 | holds a list of Unicode chars which are expected to be blank; unexpectedly | |
326 | blank chars are assumed to be invalid and are elided from the charset | |
327 | associated with the font. | |
328 | </para> | |
39381776 KP |
329 | </sect2> |
330 | <sect2><title>FcFileCache</title> | |
584ac89a KP |
331 | <para> |
332 | holds the per-user cache information for use while loading the font | |
333 | database. This is built automatically for the current configuration when | |
334 | that is loaded. Applications must always pass '0' when one is requested. | |
335 | </para> | |
39381776 KP |
336 | </sect2> |
337 | <sect2><title>FcConfig</title> | |
584ac89a KP |
338 | <para> |
339 | holds a complete configuration of the library; there is one default | |
340 | configuration, other can be constructed from XML data structures. All | |
341 | public entry points that need global data can take an optional FcConfig* | |
342 | argument; passing 0 uses the default configuration. FcConfig objects hold two | |
343 | sets of fonts, the first contains those specified by the configuration, the | |
344 | second set holds those added by the application at run-time. Interfaces | |
345 | that need to reference a particulat set use one of the FcSetName enumerated | |
346 | values. | |
347 | </para> | |
39381776 KP |
348 | </sect2> |
349 | <sect2><title>FcSetName</title> | |
584ac89a KP |
350 | <para> |
351 | Specifies one of the two sets of fonts available in a configuration; | |
352 | FcSetSystem for those fonts specified in the configuration and | |
353 | FcSetApplication which holds fonts provided by the application. | |
354 | </para> | |
39381776 KP |
355 | </sect2> |
356 | <sect2><title>FcResult</title> | |
584ac89a KP |
357 | <para> |
358 | Used as a return type for functions manipulating FcPattern objects. | |
22671e25 KP |
359 | <programlisting> |
360 | FcResult Values | |
361 | Result Code Meaning | |
362 | ----------------------------------------------------------- | |
363 | FcResultMatch Object exists with the specified ID | |
364 | FcResultNoMatch Object doesn't exist at all | |
365 | FcResultTypeMismatch Object exists, but the type doesn't match | |
366 | FcResultNoId Object exists, but has fewer values | |
367 | than specified | |
368 | </programlisting> | |
584ac89a | 369 | </para> |
39381776 KP |
370 | </sect2> |
371 | <sect2><title>FcAtomic</title> | |
584ac89a KP |
372 | <para> |
373 | Used for locking access to config files. Provides a safe way to update | |
374 | configuration files. | |
375 | </para> | |
39381776 | 376 | </sect2> |
584ac89a KP |
377 | </sect1> |
378 | <sect1><title>FUNCTIONS</title> | |
379 | <para> | |
39381776 KP |
380 | These are grouped by functionality, often using the main datatype being |
381 | manipulated. | |
584ac89a | 382 | </para> |
39381776 | 383 | <sect2><title>Initialization</title> |
584ac89a | 384 | <para> |
39381776 | 385 | These functions provide some control over how the library is initialized. |
584ac89a | 386 | </para> |
39381776 | 387 | &fcinit; |
584ac89a KP |
388 | </sect2> |
389 | <sect2><title>FcPattern</title> | |
390 | <para> | |
391 | An FcPattern is an opaque type that holds both patterns to match against the | |
392 | available fonts, as well as the information about each font. | |
393 | </para> | |
22671e25 | 394 | &fcpattern; |
584ac89a KP |
395 | </sect2> |
396 | <sect2><title>FcFontSet</title> | |
397 | <para> | |
398 | An FcFontSet simply holds a list of patterns; these are used to return the | |
399 | results of listing available fonts. | |
400 | </para> | |
bfc2dc3a KP |
401 | &fcfontset; |
402 | </sect2> | |
584ac89a KP |
403 | <sect2><title>FcObjectSet</title> |
404 | <para> | |
405 | An FcObjectSet holds a list of pattern property names; it is used to | |
406 | indiciate which properties are to be returned in the patterns from | |
407 | FcFontList. | |
408 | </para> | |
bfc2dc3a KP |
409 | &fcobjectset; |
410 | </sect2> | |
39381776 KP |
411 | <sect2><title>FreeType specific functions</title> |
412 | <para> | |
413 | While the fontconfig library doesn't insist that FreeType be used as the | |
414 | rasterization mechanism for fonts, it does provide some convenience | |
415 | functions. | |
416 | </para> | |
417 | &fcfreetype; | |
418 | </sect2> | |
419 | <sect2><title>FcValue</title> | |
420 | <para> | |
421 | FcValue is a structure containing a type tag and a union of all possible | |
422 | datatypes. The tag is an enum of type | |
423 | <emphasis>FcType</emphasis> | |
424 | and is intended to provide a measure of run-time | |
425 | typechecking, although that depends on careful programming. | |
426 | </para> | |
427 | &fcvalue; | |
428 | </sect2> | |
429 | <sect2><title>FcCharSet</title> | |
430 | <para> | |
431 | An FcCharSet is a boolean array indicating a set of unicode chars. Those | |
432 | associated with a font are marked constant and cannot be edited. | |
433 | FcCharSets may be reference counted internally to reduce memory consumption; | |
434 | this may be visible to applications as the result of FcCharSetCopy may | |
435 | return it's argument, and that CharSet may remain unmodifiable. | |
436 | </para> | |
437 | &fccharset; | |
438 | </sect2> | |
439 | <sect2><title>FcMatrix</title> | |
440 | <para> | |
441 | FcMatrix structures hold an affine transformation in matrix form. | |
442 | </para> | |
443 | &fcmatrix; | |
444 | </sect2> | |
445 | <sect2><title>FcConfig</title> | |
446 | <para> | |
447 | An FcConfig object holds the internal representation of a configuration. | |
448 | There is a default configuration which applications may use by passing 0 to | |
449 | any function using the data within an FcConfig. | |
450 | </para> | |
451 | &fcconfig; | |
452 | </sect2> | |
584ac89a KP |
453 | <sect2><title>FcObjectType</title> |
454 | <para> | |
455 | Provides for applcation-specified font name object types so that new | |
456 | pattern elements can be generated from font names. | |
457 | </para> | |
bfc2dc3a KP |
458 | &fcobjecttype; |
459 | </sect2> | |
584ac89a KP |
460 | <sect2><title>FcConstant</title> |
461 | <para> | |
462 | Provides for application-specified symbolic constants for font names. | |
463 | </para> | |
bfc2dc3a KP |
464 | &fcconstant; |
465 | </sect2> | |
584ac89a KP |
466 | <sect2><title>FcBlanks</title> |
467 | <para> | |
468 | An FcBlanks object holds a list of Unicode chars which are expected to | |
469 | be blank when drawn. When scanning new fonts, any glyphs which are | |
470 | empty and not in this list will be assumed to be broken and not placed in | |
471 | the FcCharSet associated with the font. This provides a significantly more | |
472 | accurate CharSet for applications. | |
473 | </para> | |
bfc2dc3a KP |
474 | &fcblanks; |
475 | </sect2> | |
584ac89a KP |
476 | <sect2><title>FcAtomic</title> |
477 | <para> | |
478 | These functions provide a safe way to update config files, allowing ongoing | |
479 | reading of the old config file while locked for writing and ensuring that a | |
480 | consistent and complete version of the config file is always available. | |
481 | </para> | |
39381776 KP |
482 | &fcatomic; |
483 | </sect2> | |
584ac89a | 484 | <sect2><title>File and Directory routines</title> |
39381776 KP |
485 | <para> |
486 | These routines work with font files and directories, including font | |
487 | directory cache files. | |
8c87b429 | 488 | </para> |
39381776 KP |
489 | &fcfile; |
490 | </sect2> | |
584ac89a KP |
491 | <sect2><title>FcStrSet and FcStrList</title> |
492 | <para> | |
493 | A data structure for enumerating strings, used to list directories while | |
494 | scanning the configuration as directories are added while scanning. | |
495 | </para> | |
39381776 KP |
496 | &fcstrset; |
497 | </sect2> | |
584ac89a | 498 | <sect2><title>String utilities</title> |
39381776 KP |
499 | <para> |
500 | Fontconfig manipulates many UTF-8 strings represented with the FcChar8 type. | |
501 | These functions are exposed to help applications deal with these UTF-8 | |
502 | strings in a locale-insensitive manner. | |
503 | </para> | |
504 | &fcstring; | |
505 | </sect2> | |
584ac89a KP |
506 | </sect1> |
507 | </article> |