lhl2617 / VSLilyPond

VSCode Extension for LilyPond
https://marketplace.visualstudio.com/items?itemName=lhl2617.vslilypond
93 stars 7 forks source link

Compilation fails with Chinese titles #364

Open unbored opened 2 years ago

unbored commented 2 years ago

Here is what I've got in output log:

Compiling: /Users/King/Documents/lilypond/chunxiaoyin.ly Fontconfig warning: "/usr/local/etc/fonts/fonts.conf", line 86: unknown element "blank"

Fontconfig warning: "/usr/local/etc/fonts/fonts.conf", line 86: unknown element "blank"

Backtrace: 18 (apply-smob/1 #<catch-closure 10a955c00>) In ice-9/eval.scm: 293:34 17 ( #(#(#<directory (lily) 10a95ef00>) #<variable 10c4?>)) 619:8 16 ( #(#(#(#(#(#(#<directory (lily) 10a95?>) ?) ?) ?) ?) ?)) In srfi/srfi-1.scm: 640:9 15 (for-each #<procedure 10c432240 at ice-9/eval.scm:333:?> ?) In ice-9/eval.scm: 619:8 14 ( #(#(#(#(#<directory (lily) 10a95ef00> #f # ?) ?) ?) ?)) In ice-9/boot-9.scm: 829:9 13 (catch _ #<procedure 10c435820 at ice-9/eval.scm:386?> ?) In unknown file: 12 (ly:parse-file "/Users/King/Documents/lilypond/chunxiao?") 11 (ly:book-process # #< Output_def> #< Outputdef> #) In ice-9/eval.scm: 619:8 10 ( #(#(#(#(#(#(#(#(#(#(#(?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?)) 619:8 9 ( #(#(#(#<directory (scm framework-ps) 10cdf3aa0>) ?) ?)) 159:9 8 ( #(#(#(#<directory (scm framework-ps) 10cdf3aa0>) ?) ?)) 293:34 7 (_ #(#(#(#(#(#(#<directory (scm frame?> ?) ?) ?) ?) ?) ?)) In srfi/srfi-1.scm: 592:29 6 (map1 ((#<Fontmetric ("emmentaler-20" . 0.569055?> ?) ?)) 592:17 5 (map1 ((#f "HiraKakuProN-W4" "/System/Library/Fon?" ?) ?)) In ice-9/eval.scm: 159:9 4 ( #(#(#(#(#(#(#(#<directory (scm ?> ?) ?) ?) ?) ?) ?) ?)) 279:15 3 ( #(#(#(#(#(#(#(#<directory (scm ?> ?) ?) ?) ?) ?) ?) ?)) 159:9 2 ( #(#(#(#<directory (scm framework-ps) 10cdf3aa0>) ?) ?)) 155:9 1 (_ #(#(#(#<directory (scm framework-ps) 10cdf3aa0>) ?) ?)) In unknown file: 0 (stat "/System/Library/Fonts/??????????? W4.ttc" #<unde?>)

ERROR: In procedure stat: In procedure stat: No such file or directory: "/System/Library/Fonts/??????????? W4.ttc"

Compilation failed

Compilation successes if I just use lilypond command to compile:

GNU LilyPond 2.22.1 (running Guile 2.2) Fontconfig warning: "/usr/local/etc/fonts/fonts.conf", line 86: unknown element "blank" Fontconfig warning: "/usr/local/etc/fonts/fonts.conf", line 86: unknown element "blank" Processing `chunxiaoyin.ly' Parsing... Interpreting music... Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 page... Drawing systems... Converting to `chunxiaoyin.pdf'... Success: compilation successfully completed