lilypond-devel
[Top][All Lists]
Advanced

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

Re: Integration of Guilev2 branches into master


From: David Kastrup
Subject: Re: Integration of Guilev2 branches into master
Date: Mon, 10 Feb 2020 22:43:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Han-Wen Nienhuys <address@hidden> writes:

> On Mon, Feb 10, 2020 at 9:44 PM Thomas Morley <address@hidden>
> wrote:
>
>>
>> One is called 'filename.ly' the other 'filename_名字♯.ly
>> <http://xn--filename_-3j3fv107b1jsa.ly>'
>>
>> Observations
>> (1)
>> With 2.19.84 both files are found and compiled.
>> 'filename_名字♯.ly <http://xn--filename_-3j3fv107b1jsa.ly>' needs approx
>> double time for compilation, though.
>>
>>
> the chinese fonts will require embedding a potentially large unicode font,
> maybe that explains the slowness?

Good point.

>> (2)
>> A guile-2 build from current master is unable to find the file.
>> warning: cannot find file: `filename_?????????.ly'
>> fatal error: failed files: "filename_?????????.ly"
>>
>> This is not new, thus I'm used to put in the attached patch, setting
>> locale to help ly:load
>>
>
> I have the feeling that the locale setting may affect much more than just
> the path finding for ly:load.

I thought we already did that in another place?  Is that too late?

No idea about the rest.

>> The file 'filename_名字♯.ly <http://xn--filename_-3j3fv107b1jsa.ly>' is
>> found now and compiled.
>> Alas, now the compilation time of 'filename.ly' is approx x4 (not
>> surprising)
>> And the timing for 'filename_名字♯.ly
>> <http://xn--filename_-3j3fv107b1jsa.ly>' is approx shocking x16 (with a
>> huge halt at 'Layout output to ...'-stage)
>> Both compared to 2.19.84
>>
>> Any way to improve?
>>
>>
> How are filenames encoded on Windows? What does GUILE do when you ask it to
> open a file with a unicode name? (does it know to encode as utf8?)


-- 
David Kastrup



reply via email to

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