|
From: | Aaron Hill |
Subject: | Re: Format of -dshow-available-fonts output |
Date: | Tue, 17 Jul 2018 13:47:25 -0700 |
User-agent: | Roundcube Webmail/1.3.6 |
On 2018-07-17 13:37, Urs Liska wrote:
Oh my, then again I get: Aachen Std ['Aachen Std,Aachen Std Bold'] ['Bold,Regular'] where I can't imagine the two being synonyms. But $ fc-list : family style | grep "Aachen Std" Aachen Std,Aachen Std Bold:style=Bold,Regular seems to confirm LilyPond's report. I have the feeling I'm running against the same walls I had been running when I tried to enable LilyPond to load notation fonts from system installed fonts (which failed because fontconfig refused to admit that when it doesn't find an exact match and instead insists on returning a fallback font).
I believe what you are seeing here is that there is only a bold font. Based on a web search, Aachen Std comes in a Medium and Bold variant. As there isn't a standalone "regular" version, it could make sense for the bold and regular styles to map to the same font.
I agree that font matching is confusing at times. Sometimes you can get away with partial names and get the right match, other times you get an unexpected fallback. fc-match can help when testing this, but otherwise it seems like you are best including as complete a font name as possible.
In fact, if you had installed the other EB Garamond fonts, then there could be confusion between EB Garamond 08 and EB Garamond 12. Based on the original list you provided, omitting the number would seem to be allowed and it would use 08. But I'm curious what output you'd get if you had both 08 and 12 installed.
-- Aaron Hill
[Prev in Thread] | Current Thread | [Next in Thread] |