X-Git-Url: https://git.wh0rd.org/?p=fontconfig.git;a=blobdiff_plain;f=doc%2Ffcformat.fncs;h=125e6b43745a34f536323205bc1b2a68ab463076;hp=6e22d527d0305faa5ddc2d50a28f037b9f8e154e;hb=7baa20c7590b12d11dcfb0a50131d50963581258;hpb=9bfe7bad1c85403d85b833b58ebc6343f766e0a9 diff --git a/doc/fcformat.fncs b/doc/fcformat.fncs index 6e22d52..125e6b4 100644 --- a/doc/fcformat.fncs +++ b/doc/fcformat.fncs @@ -36,7 +36,7 @@ caller using free(), or NULL if format is invalid. -The format is loosely modelled after printf-style format string. +The format is loosely modeled after printf-style format string. The format string is composed of zero or more directives: ordinary characters (not "%"), which are copied unchanged to the output stream; and tags which are interpreted to construct text from the pattern in a @@ -164,7 +164,7 @@ a single value for those elements, starting from the first value and continuing as long as any of those elements has a value. For example, the format "%{[]family,familylang{%{family} (%{familylang})\n}}" will expand the pattern "%{family} (%{familylang})\n" with a pattern -having only the first value of the family and familylang elemtns, then expands +having only the first value of the family and familylang elements, then expands it with the second values, then the third, etc.