Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Ben Wagner
fontconfig
Commits
2bd559f7
Commit
2bd559f7
authored
Nov 15, 2018
by
Akira TAGOH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add doc for description element and update fonts.dtd
Fixes
#133
parent
13b4ba91
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
5 deletions
+21
-5
doc/fontconfig-user.sgml
doc/fontconfig-user.sgml
+5
-0
fonts.dtd
fonts.dtd
+16
-5
No files found.
doc/fontconfig-user.sgml
View file @
2bd559f7
...
...
@@ -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.
<literal>
<
config
>
</literal>
can contain
<literal>
<
blank
>
</literal>
and
<literal>
<
rescan
>
</literal>
elements in any
order.
</para></refsect2>
<refsect2><title><literal>
<
description domain="fontconfig-conf"
>
</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>
<
blank
>
</literal></title><para>
Fonts often include "broken" glyphs which appear in the encoding but are
...
...
fonts.dtd
View file @
2bd559f7
<!-- This is the Document Type Definition for font configuration files -->
<!ELEMENT fontconfig (
dir
|
<!ELEMENT fontconfig (
alias
|
cache |
cachedir |
include |
config |
selectfont |
match |
alias)* >
description |
dir |
include |
match |
selectfont)* >
<!--
Add a directory that provides fonts
...
...
@@ -43,6 +44,16 @@
prefix CDATA "default"
xml:space (default|preserve) 'preserve'>
<!--
Set a string as a description for the targeted config file
Set 'domain' to change where to pull translations from.
This will be done through gettext.
-->
<!ELEMENT description (#PCDATA)>
<!ATTLIST description
domain CDATA "fontconfig-conf">
<!--
Reference another configuration file; note that this
is another complete font configuration file and not
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment