lilypond-user
[Top][All Lists]
Advanced

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

Re: LilyPond 2.23.6 released


From: Jinsong Zhao
Subject: Re: LilyPond 2.23.6 released
Date: Sat, 12 Feb 2022 20:43:44 +0800
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0

On 2022/2/12 18:48, Jonas Hahnfeld wrote:
Am Mittwoch, dem 09.02.2022 um 20:39 +0100 schrieb Jonas Hahnfeld via
LilyPond user discussion:
Am Mittwoch, dem 09.02.2022 um 12:07 +0800 schrieb Jinsong Zhao:
Hello developers,

Thanks a lot for the transition towards Guile 2.2. I've switched to
2.23.6/guile 2.2 on Windows 10.

The only issue I have currently encountered is when the filename is in
Chines, for example "中文.ly", then lilypond could not generate PDF
file. It could generate corrected "中文.midi", and also could generate
correct ps and svg file, but the filenames are unreadable characters.

I can confirm it's not working with the version using Guile 2.2 -
however I remember that I tested this in the past and made it work,
after fixing something in the LilyPond code. I'll have to dig up
details and figure out what broke / changed...

Yep, I remembered correctly that there was a general issue with special
character filenames: https://gitlab.com/lilypond/lilypond/-/issues/6089
The problem was fixed quite some time ago in
https://gitlab.com/lilypond/lilypond/-/merge_requests/612 and this
works, ie LilyPond produces the correct filenames and correctly encoded
contents. What doesn't work is Ghostscript converting the generated
Postscript to PDF, which I suspect is a packaging / cross-compilation
error on our side since it works with the official Windows binaries
from ghostscript.com and the older version of Ghostscript from GUB...

Tracked in https://gitlab.com/lilypond/lilypond/-/issues/6282, I'll
have to investigate how to solve this.

Thanks a lot for your efforts on this issue.

In my case, LilyPond 2.23.6/guile 2.2 does not produce the correct filenames but correctly encoded contents. The only correct filename produced by LilyPond is the MIDI file. However, LilyPond 2.23.6/guile 1.8 produced all correct filenames.

The following is the output in CMD terminal. You will find that filenames of ps and svg are not correct. However the content are correct.

D:\Jinso\Desktop\ly>d:\Program\lilypond-2.23.6\bin\lilypond.exe 中文.ly
GNU LilyPond 2.23.6 (running Guile 2.2)
Processing `涓枃.ly'
Parsing...
Interpreting music...[8][16]
Preprocessing graphical objects...
Interpreting music...
MIDI output to `涓枃.mid'...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Converting to `涓枃.pdf'...
warning: `(gs -q -dNODISPLAY -dNOSAFER -dALLOWPSTRANSPARENCY -dNOPAUSE -dBATCH -dAutoRotatePages=/None -dPrinted=false ./tmp--tmp-5651466)' failed (1)

fatal error: failed files: "涓枃.ly"

D:\Jinso\Desktop\ly>d:\Program\lilypond-2.23.6\bin\lilypond.exe --ps 中文.ly
GNU LilyPond 2.23.6 (running Guile 2.2)
Processing `涓枃.ly'
Parsing...
Interpreting music...[8][16]
Preprocessing graphical objects...
Interpreting music...
MIDI output to `涓枃.mid'...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Copying to `涓枃.ps'...
Success: compilation successfully completed

D:\Jinso\Desktop\ly>d:\Program\lilypond-2.23.6\bin\lilypond.exe --svg 中 文.ly
GNU LilyPond 2.23.6 (running Guile 2.2)
Processing `涓枃.ly'
Parsing...
Interpreting music...[8][16]
Preprocessing graphical objects...
D:\Jinso\Desktop\ly>d:\Program\lilypond-2.23.6\bin\lilypond.exe --svg 中 文.ly
GNU LilyPond 2.23.6 (running Guile 2.2)
Processing `涓枃.ly'
Parsing...
Interpreting music...[8][16]
Preprocessing graphical objects...
Interpreting music...
MIDI output to `涓枃.mid'...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Success: compilation successfully completed

D:\Jinso\Desktop\ly>dir
 驱动器 D 中的卷是 Data
 卷的序列号是 D6A8-795E

 D:\Jinso\Desktop\ly 的目录

2022/02/12  20:32    <DIR>          .
2022/02/12  20:32    <DIR>          ..
2022/02/12  20:28               211 tmp--tmp-5651466
2022/02/12  19:57             1,617 中文.ly
2022/02/12  20:32             1,295 中文.mid
2022/02/12  20:28             2,187 涓枃-tmp-5790652.457878.pdf
2022/02/12  20:28        43,410,812 ����-tmp-5790652
2022/02/12  20:32        43,410,812 ����.ps
2022/02/12  20:32            88,064 ����.svg
               7 个文件     86,914,998 字节
               2 个目录 592,849,948,672 可用字节



reply via email to

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