Am Mi., 14. Juli 2021 um 13:45 Uhr schrieb Knut Petersen <knut_peter...@t-online.de>: > > Hi Harm, > > If possible send also the fonts used on your system. > > Do you mean the output of > $ lilypond -dshow-available-fonts &> fonts > ? > > Of course not ;-) > > Ok. Compile the test file without the cairo backend : > > LANG=c bin/lilypond -l DEBUG filename_名字♯.ly &> nocairotrace > > In nocairotrace you see the fonts that were used, e.g.: > > [...] > Drawing systems... > Initializing embedded CFF font list. > Embedding CFF font `C059-Roman'. > [/home/lilytest/lilypond/usr/share/lilypond/current/fonts/otf/C059-Roman.otf] > [/usr/share/fonts/truetype/DejaVuSerif.ttf] > [/usr/share/fonts/truetype/sazanami-mincho.ttf] > [/home/lilytest/lilypond/usr/share/lilypond/current/ps/music-drawing-routines.ps] > [/home/lilytest/lilypond/usr/share/lilypond/current/ps/lilyponddefs.ps] > Paper_outputter elapsed time: 1.09 seconds > Converting to `filename_名字♯.pdf'... > [...] > > The font files that were not supplied by the lilypond installer are those of > interest (here: DejaVuSerif.ttf and sazanami-mincho.ttf). > > After that compile with the cairo backend: > > LANG=c bin/lilypond -l DEBUG -dbackend=cairo filename_名字♯.ly &> cairotrace > > and send the fonts identified in the first rund and cairotrace from the > second run. > > Knut
>From nocairotrace: [...] Drawing systems... Initializing embedded CFF font list. Embedding CFF font `C059-Roman'. [/home/hermann/.local/share/fonts/C059-Roman.otf] [/usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf] Embedding CFF font `NotoSerifCJKjp-Regular'. [/usr/share/fonts/opentype/noto/NotoSerifCJK-Regular.ttc] [/home/hermann/lilypond/usr/share/lilypond/current/ps/music-drawing-routines.ps] [/home/hermann/lilypond/usr/share/lilypond/current/ps/lilyponddefs.ps] Paper_outputter elapsed time: 0.78 seconds Converting to `filename_名字♯.pdf'... [...] >From cairotrace: [...] Drawing systems... set-paper-width: 595.275591 set-paper-height: 841.889764 set-lily-output-units: 2.834646, sf: 0.000000 set-output-scale: 1.757299 sf: 4.981320 Generating filename_名字♯.cairo.pdf ... cairo-use-font: name: C059-Roman, file: /home/hermann/.local/share/fonts/C059-Roman.otf, index: 0 inserted font C059-Roman loaded from /home/hermann/.local/share/fonts/C059-Roman.otf in fontmap cairo-use-font: name: NotoSerifCJKjp-Regular, file: /usr/share/fonts/opentype/noto/NotoSerifCJK-Regular.ttc, index: 0 Font 'NotoSerifCJKjp-Regular' from file '/usr/share/fonts/opentype/noto/NotoSerifCJK-Regular.ttc' does not have a glyph name table! inserted font NotoSerifCJKjp-Regular loaded from /usr/share/fonts/opentype/noto/NotoSerifCJK-Regular.ttc in fontmap cairo-use-font: name: DejaVuSerif, file: /usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf, index: 0 inserted font DejaVuSerif loaded from /usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf in fontmap moveto x: 5.690551 y: -5.723157 print_glyphs font: C059-Roman, size: 3.865234375000, glyph count: 39 moveto x: 48.081959 y: -5.723157 print_glyphs font: C059-Roman, size: 3.865234375000, glyph count: 2 moveto x: 50.081835 y: -5.723157 print_glyphs font: C059-Roman, size: 3.865234375000, glyph count: 5 moveto x: 59.081088 y: -5.723157 print_glyphs font: C059-Roman, size: 3.865234375000, glyph count: 15 moveto x: 92.185517 y: -5.723157 print_glyphs font: C059-Roman, size: 3.865234375000, glyph count: 2 moveto x: 91.570937 y: -5.723157 print_glyphs font: C059-Roman, size: 3.865234375000, glyph count: 1 moveto x: 90.512494 y: -5.723157 print_glyphs font: DejaVuSerif, size: 3.865234375000, glyph count: 1 moveto x: 86.142151 y: -5.723157 print_glyphs font: NotoSerifCJKjp-Regular, size: 3.865234375000, glyph count: 2lilypond: /home/gub/gub/target/linux-64/src/lilypond-localhost--lilypond.git-tmp-gubllt-test/lily/lily-guile.cc:126: std::string ly_scm2string(SCM): Assertion `scm_is_string (str)' failed. Maybe that part Font 'NotoSerifCJKjp-Regular' from file '/usr/share/fonts/opentype/noto/NotoSerifCJK-Regular.ttc' does not have a glyph name table! points to the problem, I'm guessing though... Cheers, Harm