From 2bd559f75d76b514f789e32c5cc9643fd7c1e9a2 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Thu, 15 Nov 2018 20:55:08 +0900 Subject: Add doc for description element and update fonts.dtd Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/133 --- doc/fontconfig-user.sgml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') 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 @@ -339,6 +339,11 @@ the library. If 'prefix' is set to "xdg", the value in the XDG_CONFIG_HOME envi This element provides a place to consolidate additional configuration information. <config> can contain <blank> and <rescan> elements in any order. + + <literal><description domain="fontconfig-conf"></literal> +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. <literal><blank></literal> Fonts often include "broken" glyphs which appear in the encoding but are -- cgit v1.2.3