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: Thomas Morley
Subject: Re: LilyPond 2.23.6 released
Date: Sun, 13 Feb 2022 22:37:07 +0100

Am So., 13. Feb. 2022 um 16:02 Uhr schrieb Jonas Hahnfeld via LilyPond
user discussion <lilypond-user@gnu.org>:
>
> Am Samstag, dem 12.02.2022 um 20:43 +0800 schrieb Jinsong Zhao:
> > 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.
>
> Okay, interesting. So there actually may be multiple problems on
> Windows, again working fine on Linux...

Not for me, being on Ubuntu 20.04

Compiling
\markup \override #'(font-name . "思源黑体 HW Bold") "中文"
returns:
ERROR: In procedure ly:text-interface::interpret-markup:
Invalid read access of chars of wide string: "思源黑体 HW Bold 3.8662109375"

For both setups (see my recent mail on devel), i.e. self-compiled
2.23.6 and the GitLab-archive

Cheers,
  Harm

Verbose output:

$ lilypond-git -V atest-109.ly
Log level set to 287
GNU LilyPond 2.23.6 (running Guile 2.2)

Relocation
  LilyPond binary has absolute file name:
    /home/hermann/lilypond-git/build/out/bin/lilypond
  Setting INSTALLER_PREFIX to '/home/hermann/lilypond-git/build/out'
  Using run-time value for datadir,
    setting it to '/home/hermann/lilypond-git/build/out/share/lilypond/current'
  Using compile-time value for libdir,
    setting it to '/usr/local/lib/lilypond/2.23.6'
  Using compile-time value for localedir,
    setting it to '/usr/local/share/locale'
  Using compile-time value for relocdir,
    setting it to ''
  Prepending '/home/hermann/lilypond-git/build/out/bin' to PATH
  Setting PATH to
'/home/hermann/lilypond-git/build/out/bin:/home/hermann/openlilylib:/home/hermann/extending-lilypond:/home/hermann/git-cl:/home/hermann/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin'
Setting GUILE_AUTO_COMPILE to '0'
Setting GUILE_WARN_DEPRECATED to 'detailed'
Setting XDG_CACHE_HOME to
'/home/hermann/lilypond-git/build/out/share/lilypond/current'
Setting GC_INITIAL_HEAP_SIZE to '40M'
Setting GC_NPROCS to '1'
Setting GC_FREE_SPACE_DIVISOR to '1'


Effective prefix: '/home/hermann/lilypond-git/build/out/share/lilypond/current'
PATH="/home/hermann/lilypond-git/build/out/bin:/home/hermann/openlilylib:/home/hermann/extending-lilypond:/home/hermann/git-cl:/home/hermann/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"

[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/lily.scm]
Using (ice-9 curried-definitions) module
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/lily-library.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/output-lib.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/markup-macros.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/parser-ly-from-scheme.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/file-cache.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/define-event-classes.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/define-music-callbacks.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/define-music-types.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/define-note-names.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/c++.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/chord-entry.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/skyline.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/markup.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/define-markup-commands.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/stencil.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/modal-transforms.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/chord-ignatzek-names.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/music-functions.scm
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/define-music-display-methods.scm]
]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/part-combiner.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/autochange.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/define-music-properties.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/time-signature.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/time-signature-settings.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/auto-beam.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/chord-name.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/bezier-tools.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/define-context-properties.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/translation-functions.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/script.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/midi.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/layout-beam.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/parser-clef.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/layout-slur.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/font.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/bar-line.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/flag-styles.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/fret-diagrams.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/tablature.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/harp-pedals.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/define-woodwind-diagrams.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/display-woodwind-diagrams.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/predefined-fretboards.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/define-grob-properties.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/define-grobs.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/define-grob-interfaces.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/define-stencil-commands.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/scheme-engravers.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/scheme-performers.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/titling.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/paper.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/backend-library.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/color.scm]
[/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/safe-lily.scm]
(primitive-load-path lily): 0.26 seconds
Initializing FontConfig...
Adding fontconfig configuration file:
/home/hermann/lilypond-git/build/out/share/lilypond/current/fonts/00-lilypond-fonts.conf
Adding fontconfig configuration file: /etc/fonts/fonts.conf
Adding fontconfig configuration file:
/home/hermann/lilypond-git/build/out/share/lilypond/current/fonts/99-lilypond-fonts.conf
Adding font directory:
/home/hermann/lilypond-git/build/out/share/lilypond/current/fonts/otf
Building font database...

[/home/hermann/lilypond-git/build/out/share/lilypond/current/ly/declarations-init.ly[/home/hermann/lilypond-git/build/out/share/lilypond/current/ly/music-functions-init.ly][/home/hermann/lilypond-git/build/out/share/lilypond/current/ly/toc-init.ly]
Using `nederlands' note
names...[/home/hermann/lilypond-git/build/out/share/lilypond/current/ly/drumpitch-init.ly][/home/hermann/lilypond-git/build/out/share/lilypond/current/ly/chord-modifiers-init.ly][/home/hermann/lilypond-git/build/out/share/lilypond/current/ly/script-init.ly][/home/hermann/lilypond-git/build/out/share/lilypond/current/ly/chord-repetition-init.ly][/home/hermann/lilypond-git/build/out/share/lilypond/current/ly/scale-definitions-init.ly][/home/hermann/lilypond-git/build/out/share/lilypond/current/ly/dynamic-scripts-init.ly][/home/hermann/lilypond-git/build/out/share/lilypond/current/ly/spanners-init.ly][/home/hermann/lilypond-git/build/out/share/lilypond/current/ly/predefined-fretboards-init.ly][/home/hermann/lilypond-git/build/out/share/lilypond/current/ly/string-tunings-init.ly][/home/hermann/lilypond-git/build/out/share/lilypond/current/ly/property-init.ly][/home/hermann/lilypond-git/build/out/share/lilypond/current/ly/grace-init.ly][/home/hermann/lilypond-git/build/out/share/lilypond/current/ly/midi-init.ly[/home/hermann/lilypond-git/build/out/share/lilypond/current/ly/performer-init.ly]][/home/hermann/lilypond-git/build/out/share/lilypond/current/ly/paper-defaults-init.ly[/home/hermann/lilypond-git/build/out/share/lilypond/current/ly/titling-init.ly][/home/hermann/lilypond-git/build/out/share/lilypond/current/ly/text-replacements.ly]][/home/hermann/lilypond-git/build/out/share/lilypond/current/ly/context-mods-init.ly][/home/hermann/lilypond-git/build/out/share/lilypond/current/ly/engraver-init.ly]]
Processing `atest-109.ly'
Parsing...[/home/hermann/lilypond-git/build/out/share/lilypond/current/ly/init.ly
Using `nederlands' note names...[atest-109.ly]Backtrace:
          12 (apply-smob/1 #<catch-closure 558cb089fb20>)
In 
/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/lily.scm:
   923:16 11 (lilypond-main _)
    952:4 10 (lilypond-all _)
In srfi/srfi-1.scm:
    640:9  9 (for-each #<procedure 558cb231f3c0 at /home/hermann/li…> …)
In 
/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/lily.scm:
    962:9  8 (_ "atest-109.ly")
In ice-9/boot-9.scm:
    829:9  7 (catch ly-file-failed #<procedure 558cb234b7c0 at /hom…> …)
In unknown file:
           6 (ly:parse-file "atest-109.ly")
           5 (ly:book-process #<Book> #< Output_def> #< Output_def> #)
           4 (ly:optimal-breaking #<Paper_book>)
In srfi/srfi-1.scm:
   501:18  3 (fold-right #<procedure 558cb21ce060 at /home/herman…> . #)
In 
/home/hermann/lilypond-git/build/out/share/lilypond/current/scm/lily/markup.scm:
    60:15  2 (_ (#<procedure override-markup (layout props new-p…> …) …)
In unknown file:
           1 (ly:text-interface::interpret-markup #< Output_def> (#) #)
           0 (ly:text-interface::interpret-markup #< Output_def> (…) #)

ERROR: In procedure ly:text-interface::interpret-markup:
Invalid read access of chars of wide string: "思源黑体 HW Bold 3.8662109375"



reply via email to

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