Am Mi., 16. Juli 2025 um 13:40 Uhr schrieb Werner LEMBERG <[email protected]>:
>
> > These are the logs:
> >
> > Drawing systems...
>
> > (process:73801): Pango-WARNING **: 21:21:21.999: Unable to open font
> >   file /usr/share/fonts/liberation-sans-fonts/LiberationSans-Bold.ttf
> >   for font Liberation Sans Bold 2.435546875, falling back to
> >   /usr/share/fonts/google-noto-vf/NotoSans[wght].ttf
>
> Aah, this explains everything, thanks.  LilyPond doesn't support
> OpenType Font Variations, and `NotoSans[wght].ttf` is such a font.
> Alas, rejecting it correctly doesn't work due to a bug in older
> FontConfig versions.  It has been fixed in version 2.15; however, the
> LilyPond binary bundle for version 2.24.3 as available from
> lilypond.org still uses 2.14.2.  AFAICS, even the current binary
> bundles for development versions use 2.14.2.  See
>
>   https://gitlab.com/lilypond/lilypond/-/issues/6613
>
> for more information.
>
> The only viable solution is to remove all Variation Fonts, in
> particular the `google-noto-vf` package.  It should be replaced with
> non-VF Google Noto fonts.  Of course, installing the 'liberation'
> fonts also helps :-)
>
> I've opened
>
>   https://gitlab.com/lilypond/lilypond/-/issues/6830
>
> to track the update of FontConfig for LilyPond binaries.
>
>
>      Werner

I changed the snippet to avoid the overrides for 'font-name.
The default-font prints correctly.
https://lsr.di.unimi.it/LSR/Item?id=658

Cheers,
  Harm

Reply via email to