lilypond-devel
[Top][All Lists]
Advanced

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

Re: Strange behavior with unfound text font,Strange behavior with unfoun


From: Werner LEMBERG
Subject: Re: Strange behavior with unfound text font,Strange behavior with unfound text font
Date: Mon, 12 Dec 2022 10:25:58 +0000 (UTC)

> \markup \override #'(font-name . "Nonexistent Bold") "ABC"
> 
> With 2.22, this compiles without warning, and the resulting PDF
> contains the font "DejaVuSans-Bold" (according to pdffonts).
> 
> With 2.23.82, it gives me
> 
> GNU LilyPond 2.23.82 (running Guile 2.2)
> Processing `unfound-font.ly'
> Parsing...
> warning: cannot get postscript name
> warning: no PostScript font name for font
> `/usr/share/fonts/google-noto-vf/NotoSans-VF.ttf'
> warning: FreeType face has no PostScript font name
> Finding the ideal number of pages...
> Fitting music on 1 page...
> Drawing systems...
> Converting to `unfound-font.pdf'...
> Success: compilation successfully completed

Hmm.  Using FreeType 2.12.1 (self-compiled) and FontConfig 2.13.1 (as
provided by my openSUSE box), running `lilypond --verbose` (from
current git) on the above input gives

```
...
[nonexistent_bold_3.8662109375]
Finding the ideal number of pages...
[lilypond_serif_3.8662109375]
CFF name for font C059-Roman is the same.
Fitting music on 1 page...
Drawing systems...
Initializing embedded CFF font list.
[/usr/share/fonts/truetype/arialbd.ttf]
Embedding CFF font `C059-Roman'.
[/home/wl/.fonts/urw-fonts/C059-Roman.otf]
...
```

as expected, and I see 'ABC' in the created output file.

I've also repeated the same with fontconfig 2.14.1 and I get identical
output.


    Werner



reply via email to

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