summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2018-11-15 20:55:08 +0900
committerAkira TAGOH <akira@tagoh.org>2018-11-15 20:55:36 +0900
commit2bd559f75d76b514f789e32c5cc9643fd7c1e9a2 (patch)
treef898607395f9a67f5a34812d6556e8dfb7bc329f /doc
parent13b4ba91353a4ead4623d0133f6eb0283e91b15a (diff)
Add doc for description element and update fonts.dtd
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/133
Diffstat (limited to 'doc')
-rw-r--r--doc/fontconfig-user.sgml5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/fontconfig-user.sgml b/doc/fontconfig-user.sgml
index 458435f..f23ae36 100644
--- a/doc/fontconfig-user.sgml
+++ b/doc/fontconfig-user.sgml
@@ -340,6 +340,11 @@ This element provides a place to consolidate additional configuration
information. <literal>&lt;config&gt;</literal> can contain <literal>&lt;blank&gt;</literal> and <literal>&lt;rescan&gt;</literal> elements in any
order.
</para></refsect2>
+ <refsect2><title><literal>&lt;description domain="fontconfig-conf"&gt;</literal></title><para>
+This element is supposed to hold strings which describe what a config is used for.
+This string can be translated through gettext. 'domain' needs to be set the proper name to apply then.
+fontconfig will tries to retrieve translations with 'domain' from gettext.
+ </para></refsect2>
<refsect2><title><literal>&lt;blank&gt;</literal></title><para>
Fonts often include "broken" glyphs which appear in the encoding but are
drawn as blanks on the screen. Within the <literal>&lt;blank&gt;</literal> element, place each