%%lily code file name Test_中文.ly \version "2.19.2" #(define (footnote-filename) (define (periodize i l) (if (null? l) i (periodize (string-append i "." (car l)) (cdr l)))) (let* ((comml (object->string (command-line))) (loc (+ (string-rindex comml #\space) 2)) (commllen (- (string-length comml) 2)) (filen (substring comml loc commllen)) (filesplit (string-split filen #\.)) (filehead (if (eq? 1 (length filesplit)) (car filesplit) (periodize (car filesplit) (cdr (reverse (cdr (reverse filesplit)))))))) (string-append filehead ".ly"))) #(define filN (footnote-filename)) music = { f'8 c'8 f'8 g'8 b'8 a'8 g'8 f'8 } \book { \bookOutputSuffix "tenor_男" \score { \new Staff \with { } \music \layout {} \midi {\tempo 4=64} } \markup \line { \tiny \filN } } %%end lily code
After I ran the above lily code I got the following warning error. I don't under what is the conflict copy. How can I find it in window 7? The file name printed on the .pdf does not contain utf-8 character. On window 7 explorer (file manager) can show utf-8 character on directory name and file name, but lilypond cannot generate it even lilypond can display utf-8 character in lyrics. This is what lilypond generated .pdf shows: C:/Users/Tsang/Dropbox/Lyndon/choir/find-us-faithful_\ x82/test_.ly the directory name is "find-us-faithful_薪火永傳" and the file name is "test_中文.ly" attached is the generated pdf - trying to generate test_中文-tenor_男.pdf but the file name shown as - please refer to the file name of the attachment. Also lilypond log does not show utf-8 character Any help is appreciated! Starting lilypond-windows.exe 2.19.2 [test_中文.ly]... Processing `C:/Users/Tsang/Dropbox/Lyndon/choir/find-us-faithful_н������/test_����.ly' Parsing... Interpreting music... Preprocessing graphical objects... Interpreting music... MIDI output to `test_����-tenor_�__.mid'... (lilypond-windows.exe:6920): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() warning: no glyph for character U+EFFFFFFF in font `C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma (tsang's conflicted copy 2012-05-21).otf' warning: no glyph for character U+EFFFFFFF in font `C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma (tsang's conflicted copy 2012-05-21).otf' warning: no glyph for character U+EFFFFFFF in font `C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma (tsang's conflicted copy 2012-05-21).otf' warning: no glyph for character U+EFFFFFFF in font `C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma (tsang's conflicted copy 2012-05-21).otf' warning: no glyph for character U+EFFFFFFF in font `C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma (tsang's conflicted copy 2012-05-21).otf' warning: no glyph for character U+EFFFFFFF in font `C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma (tsang's conflicted copy 2012-05-21).otf' warning: no glyph for character U+EFFFFFFF in font `C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma (tsang's conflicted copy 2012-05-21).otf' warning: no glyph for character U+EFFFFFFF in font `C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma (tsang's conflicted copy 2012-05-21).otf' warning: no glyph for character U+EFFFFFFF in font `C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma (tsang's conflicted copy 2012-05-21).otf' Finding the ideal number of pages... Fitting music on 1 page... Drawing systems... Layout output to `test_����-tenor_�__.ps'... Converting to `./test_����-tenor_�__.pdf'... Success: compilation successfully completed Completed successfully in 1.1".
test_中文-tenor_鏮_.pdf
Description: Adobe PDF document
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user