[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GSoC 2017
From: |
Werner LEMBERG |
Subject: |
Re: GSoC 2017 |
Date: |
Sat, 11 Mar 2017 12:48:55 +0100 (CET) |
> Here's a caveat (but I'm not sure if that relates to the GSoC
> project). Some time ago I worked on a modified system to load the
> notation font from system installed fonts too, which would
> substantially reduce the amount of housekeeping when using
> alternative notation fonts. But I got stuck at a well-meant but
> nasty behaviour of fontconfig that made it basically impossible:
> fontconfig *always* returns a reference to a font. This sounds good
> but is a real problem with notation fonts.
>
> The idea behind that behaviour is that when an application requests
> a font it *needs* a font, and when a particular font isn't installed
> in the system there has to be a fallback font. The problem is that
> with notation fonts it is totally unclear what an appropriate
> replacement font is. What I wanted (and what is necessary) would be
> the information that a requested font (e.g. LilyJAZZ) isn't
> available - then LilyPond could explicitly fall back to Emmentaler.
> But instead fontconfig insists on giving back *something*, so when
> LilyJAZZ isn't installed you may end up with a score trying to
> typeset the noteheads with Comic Sans or Times New Roman.
There is a solution to this problem, cf.
https://lists.freedesktop.org/archives/fontconfig/2012-August/004252.html
Werner
- Re: Website upload, (continued)
- Re: GSoC 2017, Urs Liska, 2017/03/06
- Re: GSoC 2017, Werner LEMBERG, 2017/03/06
- Re: GSoC 2017, Urs Liska, 2017/03/06
- Re: GSoC 2017, tisimst, 2017/03/06
- Re: GSoC 2017, Urs Liska, 2017/03/06
- Re: GSoC 2017, tisimst, 2017/03/06
- Re: GSoC 2017, Urs Liska, 2017/03/06
- Re: GSoC 2017,
Werner LEMBERG <=
- Font loading (was: GSoC 2017), Urs Liska, 2017/03/11
- Re: GSoC 2017, Noeck, 2017/03/06
- Re: GSoC 2017, tisimst, 2017/03/06
- Re: GSoC 2017, Urs Liska, 2017/03/06
- Re: GSoC 2017, Werner LEMBERG, 2017/03/06