bsdelf / fontconfig

Workaround for fontconfig "Multiple values in <test>" issue.

Repository from Github https://github.combsdelf/fontconfigRepository from Github https://github.combsdelf/fontconfig

The Issue

https://bugs.freedesktop.org/show_bug.cgi?id=33644

Solution

  • Write fonts.conf as "usual", which contains multiple values in <test>.
  • Use a separate script to convert those kind of tests into single-value test.

Usage

Generate local.conf:

./conv.py

Copy "local.conf" to one of following path:

  • /etc/fonts/local.conf
  • /usr/local/etc/fonts/local.conf
  • ~/.config/fontconfig/fonts.conf
  • ~/.fonts.conf

About

Workaround for fontconfig "Multiple values in <test>" issue.


Languages

Language:Python 100.0%