diff options
author | Akira TAGOH <akira@tagoh.org> | 2015-06-08 17:38:02 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2015-06-08 17:39:25 +0900 |
commit | 10a57edd07f8dc64b60c71d51c225436f4fbb3bc (patch) | |
tree | aec3a7ad971d79d7775315eafeaf8074b3bd9d1c /doc | |
parent | 1827ef7b1e0a1fba27fcdb8a021abaa8ee7782eb (diff) |
Add one more debugging option to see transformation on font-matching
just setting FC_MATCH=3 shows a lot of information and hard to keep on track for informamtion
which is really necessary to see. to use this more effectively, added FC_DBG_MATCH_FILTER to
see for what one really want to see. it takes a comma-separated-list of object names.
If you want to see family name only, try like this:
FC_DBG_MATCH_FILTER=family FC_DEBUG=4096 fc-match
debugging output will be filtered out and see family only in the result.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/fontconfig-user.sgml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/fontconfig-user.sgml b/doc/fontconfig-user.sgml index e7cdb2e7..8f49f78e 100644 --- a/doc/fontconfig-user.sgml +++ b/doc/fontconfig-user.sgml @@ -258,7 +258,7 @@ debugging messages. MEMORY 512 Monitor fontconfig memory usage CONFIG 1024 Monitor which config files are loaded LANGSET 2048 Dump char sets used to construct lang values - OBJTYPES 4096 Display message when value typechecks fail + MATCH2 4096 Display font-matching transformation in patterns </programlisting> <para> Add the value of the desired debug levels together and assign that (in @@ -787,6 +787,10 @@ is used to override the default configuration directory. is used to output the detailed debugging messages. see <link linkend="debug">Debugging Applications</link> section for more details. </para> <para> +<emphasis>FC_DBG_MATCH_FILTER</emphasis> +is used to filter out the patterns. this takes a comma-separated list of object names and effects only when FC_DEBUG has MATCH2. see <link linkend="debug">Debugging Applications</link> section for more details. + </para> + <para> <emphasis>FONTCONFIG_USE_MMAP</emphasis> is used to control the use of mmap(2) for the cache files if available. this take a boolean value. fontconfig will checks if the cache files are stored on the filesystem that is safe to use mmap(2). explicitly setting this environment variable will causes skipping this check and enforce to use or not use mmap(2) anyway. </para> |