Re: Using -dshow-available-fonts with LilyPond v2.2 5.12 throws error with non–UTF-8 encoded font info
Nate Whetsell <[email protected]>
| Newsgroups | gmane.comp.gnu.lilypond.bugs |
|---|---|
| Message-ID | <[email protected]> |
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. > On Jan 13, 2024, at 6:19 PM, Jean Abou Samra <[email protected]> wrote: > >> I don't have the time to check this but is there not a way to simply write bytes to (current-error-port) in Guile? > > Like scm_c_write < https://www.gnu.org/software/guile/manual/html_node/Using-Ports-from-C.html > ?