Re: Crash in 2.25.4
Colin Campbell <[email protected]>
| Newsgroups | gmane.comp.gnu.lilypond.bugs |
|---|---|
| Message-ID | <[email protected]> |
On 2023-05-23 14:38, Jean Abou Samra wrote:
> Le mardi 23 mai 2023 à 22:08 +0200, Jean Abou Samra a écrit :
>
>> So Pango is apparently requesting a font with colored glyphs from Fontconfig...
>
>
> Speaking of which, I would also be interested in the output with
>
> ```
> diff --git a/lily/all-font-metrics.cc b/lily/all-font-metrics.cc
> index dd8cfaa8f3..0a8efa4433 100644
> --- a/lily/all-font-metrics.cc
> +++ b/lily/all-font-metrics.cc
> @@ -52,7 +52,9 @@ static void
> substitute_with_lily_config (FcPattern *pat, void *config)
> {
> FcConfig *fcconfig = static_cast<FcConfig *> (config);
> + FcPatternPrint (pat);
> FcConfigSubstitute (fcconfig, pat, FcMatchPattern);
> + FcPatternPrint (pat);
> }
>
> All_font_metrics::All_font_metrics (File_path search_path,
> ```
Applied this on top of your previous patch; let me know if you want it
done differently.
Again, no problems applying, compiling lilypond, nor compiling the test
file.
Resulting .PDF attached
Non-Musical_Patch2.pdf
(application/pdf, 26.1 KB) - not displayed