bug-lilypond
[Top][All Lists]
Advanced

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

Re: Crash in 2.25.4


From: Colin Campbell
Subject: Re: Crash in 2.25.4
Date: Wed, 24 May 2023 20:31:33 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.11.0


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

Attachment: Non-Musical_Patch2.pdf
Description: Adobe PDF document


reply via email to

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