[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Check if a font is currently installed
From: |
Valentin Petzel |
Subject: |
Re: Check if a font is currently installed |
Date: |
Sun, 21 Nov 2021 21:32:15 +0100 |
Hello Paolo,
After looking into this it seems like this is intended behaviour for font-
config. Basically this does not perform an exact match, but calculates some
distance and returns the font with best distance. Maybe it would be somehow
possible to get that distance and decide upon it?
Cheers,
Valentin
Am Sonntag, 21. November 2021, 21:06:15 CET schrieb Paolo Prete:
> Thank you Valentin, a fix for this would be very useful.
> Best,
> Paolo
>
> On Sun, Nov 21, 2021 at 8:52 PM Valentin Petzel <valentin@petzel.at> wrote:
> > Hello Paolo,
> >
> > Theoretically it should be enough to check if
> > #(ly:font-config-get-font-file
> > font-name) is false, but at least on my system this returns just some
> > arbitrary but fixed font file if the font is not found. It should
> > definitely
> > not behave this way, gotta look into this.
> >
> > Cheers,
> > Valentin
signature.asc
Description: This is a digitally signed message part.
- Check if a font is currently installed, Paolo Prete, 2021/11/21
- Re: Check if a font is currently installed, David Wright, 2021/11/21
- Re: Check if a font is currently installed, Paolo Prete, 2021/11/21
- Re: Check if a font is currently installed, Valentin Petzel, 2021/11/21
- Re: Check if a font is currently installed, Paolo Prete, 2021/11/21
- Re: Check if a font is currently installed,
Valentin Petzel <=
- Re: Check if a font is currently installed, Paolo Prete, 2021/11/22
- Re: Check if a font is currently installed, Valentin Petzel, 2021/11/22
- Re: Check if a font is currently installed, Hans Aikema, 2021/11/22
- Re: Check if a font is currently installed, Paolo Prete, 2021/11/22
- Re: Check if a font is currently installed, Valentin Petzel, 2021/11/22