[Pkg-fonts-devel] How to get fontconfig to use fonts.conf files
stored in /etc/fonts/conf.d
gus at debian.org
Tue Jun 6 19:50:56 UTC 2006
On 6/6/06, Soumyadip Modak <soumyadip.modak at gmail.com> wrote:
> I maintain ttf-indic-fonts for the Debian Indic team (
> http://debian-in.alioth.debian.org). A major problem I've been facing is
> to make sure that fonts from ttf-indic-fonts is used in preference to
> ttf-freefonts for Indian languages. I personally am using custom .fonts.conf
> files. One obvious solution would be to put such fonts.conf files in
> /etc/fonts/conf.d directory, but not being very familiar with fontconfig, I
> wonder if there is any specific way to make fontconfig use a particular
> fonts.conf for a particular locale ? Or will just putting in the
> appropriate config files in /etc/fonts/conf.d work? Can other font packagers
> please guide me on this problem ?
Assuming both fonts provide the same FontNames and you have some (not purely
subjective) grounds for considering your font superior, just register it
with defoma using a higher priority. fontconfig.defoma will then make sure
the symlinks in /var/lib/defoma/fontconfig.d/ point to your version.
(defoma has lots of faults, but it does handle font conflicts fairly well)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pkg-fonts-devel