Re: Using -dshow-available-fonts with LilyPond v2.25.12 throws error with non–UTF-8 encoded font info

2024-01-14 Thread Werner LEMBERG
> Also, I'm pretty sure that the intent of FcChar8* in Fontconfig is > to represent UTF-8 so this is probably worthy of a bug report to the > Fontconfig people? Indeed. To do so it would be helpful to check the output of `fc-list` (ideally with proper patterns to make the result more similar

Re: Using -dshow-available-fonts with LilyPond v2.25.12 throws error with non–UTF-8 encoded font info

2024-01-14 Thread Werner LEMBERG
> I can confirm that replacing > > scm_write_line (ly_string2scm (str), port); > > with > > scm_c_write (port, str.c_str (), str.length ()); > > fixes the issue on my end. I’d be happy to make a merge request for > this. I've updated https://gitlab.com/lilypond/lilypond/-/merge_requests/2231