[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Prioriziting a directory

From: Jean Abou Samra
Subject: Prioriziting a directory
Date: Sun, 18 Dec 2022 20:22:00 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1


Is there a way to express this in a Fontconfig configuration
file: "If you find a matching font in this directory given
as relative path, ignore other matches and choose that one"?

Context: LilyPond (the GNU music typesetter) uses Fontconfig via
Pango for finding text fonts, but also for music fonts in some
cases. The music fonts are developed together with LilyPond,
and a given LilyPond installation should never look outside
of its data directory for finding music fonts. However, text
fonts should be findable on the system.

If this isn't possible, I'll use two FcConfigs with Pango,
and restrict one of them to LilyPond's datadir only, but
currently LilyPond sets up a fallback to normal text fonts
for its special fonts, and it would be nice to preserve
that. I hope that's clear.


Attachment: OpenPGP_signature
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]