Hi everybody, need help with the Persian sori and koron glyphs. Here is a detailed description of what I tried I am on macosx10.4.11 I went to Anrian Pertout's website, downloaded the "True Type fonts in zip archive fomat: 'Microtonal Font <http://www.pertout.com/Microton_TT.zip>' " ( http://www.pertout.com/PhD2007Introduction.htm ) put it in macintosh hd/system/library/fonts I also put the persian.ly file in one of the folders that lilypond appeared to be searching into for it (namely: mac hd/user/music/music notes).
After pasting the following code (included in the persian.ly file) in Lilypond's text file: \include "persian.ly" \score { \relative c' { \set Staff.keySignature = \chahargahD \override Score.KeySignature #'text = #chahargahDKey bk'8 a gs fo r g ak g fs ek d c d ef16 d c4 } \midi { } \layout { } } } I saved it and compiled it, the pdf file showed up with the glyphs completely messed up, instead of koron, sori, sharp, key signature, accidentals etc... I got these signs : ø ! ! ùù " ' ù! (see the attached pdf) The notes and the clef are ok. I get 5 error messages: 1º syntax error, unexpected '}' 2º (process:1240): Pango-WARNING **: Error loading GDEF table 28333 3º (process:1240): Pango-WARNING **: Error loading GSUB table 28333 4º (process:1240): Pango-WARNING **: Error loading GPOS table 28333 5º Erreur : erreur sur les fichiers : "/Users/radif/Music/Musicnotes/ chahargah.ly" "Error: error on the files:..." Now i guess something's wrong with the persian fonts, maybe the location i put them in; but the error message doesn't make it clear for me as where I have messed up. I see there are many pango files inLilypond's code source: Lilypond 2.12.2/lily/pango-font-scheme.cc Lilypond 2.12.2/lily/pango-font.cc Lilypond 2.12.2/lily/include/pango-font.hh Lilypond 2.12.2/lily/pango-select-scheme.cc Lilypond 2.12.2/lily/pango-select.cc Thanks all for your help. -- Patrick 2009/3/15 Hans Aberg <hab...@math.su.se> > On 15 Mar 2009, at 18:55, Valentin Villenave wrote: > > Just download the TrueType fonts and install them using the Font Book as >>> "Computer" (system wide) fonts. It worked on Mac OS X 10.5.x for PPC. >>> >> >> In recent LilyPond versions, you don't even have to install the font; >> you can just put it in the same directory as your source file, and add >> >> #(ly:font-config-add-directory "./") >> >> before loading your font. (It is still a bit experimental though.) >> > > One can install it (using the Font Book) in the home directory, but for > some reason it did not work with the versions of LilyPond that I tried. > Perhaps LilyPond must have ~/Library/Fonts added to the search path. > > Hans > > > -- Patrick
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user