Commit Graph

19 Commits

Author SHA1 Message Date
Akira TAGOH 528b17b283 Drop elements with its namespace from conf
The translation related elements are now provided by separate files
fontconfig.its and fontconfig.loc. we don't need to have it in conf
anymore.

Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/234
2020-05-25 10:44:05 +09:00
Nicolas Mailhot 9c46ef4aac Use an URN for DTD ID
XML tools interpret “fonts.dtd” as a relative path.

Unfortunately, that can not work now that the configuration is spread over
multiple system-dependant directories, without a common relative path to this
file. And, an absolute path can not be defined in a system-independant way.
System independance is a requirement to share config files between systems.

Therefore, replace the broken relative path by a formal URN, that will work the
same way on all systems, without network access.

This makes the DTD registerable with commands like:
$ xmlcatalog --noout --add system \
                           "urn:fontconfig:fonts.dtd" \
                           "file:///usr/share/xml/fontconfig/fonts.dtd" \
                           /etc/xml/catalog

That enables easy config file checking:
$ xmllint --loaddtd ${config_file} >/dev/null
2020-03-28 15:01:35 +01:00
Akira TAGOH dba84600e1 Add system-ui generic family
The generic family of 'system-ui' name is being proposed in a draft of next CSS Fonts.
This would be nice to support in fontconfig too.

https://www.w3.org/TR/css-fonts-4/
2019-02-27 16:38:12 +09:00
Akira TAGOH 13b4ba9135 Use Rachana instead of Meera for Malayalam
Meera is a sans-serif font for Malayalam. that should be substituted for serif.
2018-11-13 06:34:11 +00:00
Akira TAGOH 9bb9010137 Drop Mitra Mono from 65-nonlatin.conf
This font seems totally broken.

Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/128
2018-10-29 12:25:03 +00:00
Akira TAGOH 9a0fcb948f Add the ruleset description support
Trying to address what these configuration files really do.
This change allows to see the short description that mention
the purpose of the content in the config file and obtain
them through API.

This change also encourage one who want to make some UI for
the user-specific configuration management. it is the main
purpose of this change for me though.

Aside from that, I've also made programs translatable. so
we see more dependencies on the build time for gettext,
and itstool to generate PO from xml.
2017-11-07 15:24:54 +09:00
Akira TAGOH db2825eed5 Bug 101726 - Sans config pulls in Microsoft Serifed font
Update 65-nonlatin.conf to have better choice of the sans-serif fonts for Chinese

Patch from Joseph Wang

https://bugs.freedesktop.org/show_bug.cgi?id=101726
2017-07-11 13:19:18 +09:00
Akira TAGOH 376fc9d22f Bug 57286 - Remove UnBatang and Baekmuk Batang from monospace in 65-nonlatin.conf
Those two fonts are serif fonts. shouldn't be added to monospace.
2012-11-20 20:09:10 +09:00
Akira TAGOH 54dd481512 Get rid of the unexpected family name
UmePlus P Gothic isn't a serif font.
2012-02-21 15:43:59 +09:00
MINAMI Hirokazu 1c13fee11a Bug 43406 - typo of Japanese font name in conf.d/65-nonlatin.conf
Fix a typo.

Signed-off-by: Akira TAGOH <akira@tagoh.org>
2012-02-21 15:43:59 +09:00
Jinkyu Yi 8c58dc2768 Bug 42423 - make default Korean font from Un to Nanum
Update 40-nonlatin.conf and 65-nonlatin.conf for Nanum korean fonts.

Signed-off-by: Akira TAGOH <akira@tagoh.org>
2012-02-21 15:32:42 +09:00
Rahul Bhalerao 4c209d5f0c Add config for new Indic fonts (bug #17856) 2009-02-13 16:54:02 -08:00
Behdad Esfahbod df243f93be Add WenQuanYi fonts to default conf (#17262, from Mandriva) 2009-02-13 16:53:58 -08:00
Behdad Esfahbod 4f468454d8 Update Thai default families (#16223)
Patch from Theppitak Karoonboonyanan
2009-02-13 16:53:55 -08:00
Changwoo Ryu ae6fac0802 Korean font in the default config - replacing baekmuk with un (bug 13569)
I propose to replace the default Baekmuk Korean fonts with Un fonts.

Some people don't agree but most Korean people prefer Un fonts to Baekmuk
ones.  Un fonts just look better, at least in the most common Linux desktops
(antialiased, GNOME or KDE, high resolution).
2008-05-03 19:39:56 -07:00
Frederic Crozat c26344ecfc Merge some of Mandriva configuration into upstream configuration. Bug 13247
This is merging some parts of Mandriva fontconfig changes, mostly adding and
documenting fonts to common aliases.
2008-05-03 19:26:09 -07:00
Behdad Esfahbod 39968fb223 Add/update config files from Fedora. 2007-11-05 16:14:35 -05:00
Hideki Yamane fa9a7448d8 Handle Japanese fonts better. (debian bug #435971)
Add some commonly available Japanese fonts to the standard aliases.
2007-10-18 05:17:36 -07:00
Keith Packard 6c5619a085 Split much of the configuration into separate files. Renumber files
Most of the remaining elements in fonts.conf have been moved to separate
files. The numbering scheme for conf.d files has been documented in the
README and the files have been renumbered. Config files have been
validated against the DTD and a few minor errors fixed.
2006-09-09 21:32:14 -07:00