bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Half a \prall


From: Hans Aberg
Subject: Re: Half a \prall
Date: Mon, 17 Sep 2007 15:35:31 +0200

On 17 Sep 2007, at 14:32, Mats Bengtsson wrote:

Yes, that is the idea - I am using UTF-8 files in Xcode (Mac OS X 10.4.10). I have also found a Unicode font Euterpe that does it correctly:
  http://openfontlibrary.org/media/files/Eimai/191

I also found (replies in the Unicode mailing list) some other Unicode fonts, but U+1D19D is designed wrongly, as a Pralltriller, instead of having only on peak and valley:
  http://cg.scs.carleton.ca/~luc/music.html
  http://users.teilar.gr/~g1951d/
  http://cg.scs.carleton.ca/~luc/math.html
  http://www.decodeunicode.org/en/musical_symbols
Cf.
  http://www.unicode.org/charts/symbols.html
  http://www.unicode.org/charts/PDF/U1D100.pdf

They have many other useful musical symbols, though.

So the question is how to choose musical symbols selectively from different fonts, and the make say ornament symbols from that.
In general, the font handling library used in LilyPond will try to find a matching font that contains the symbol. Otherwise you can specify the font-name explicitly, for example using a \markup{...} as shown in section "Font selection", at least as the font works with
Unicode.

I got this working, using the variations
  fis16^\markup {...}
  cis^\markup {\override #'(font-name . "Euterpe") {...}}
where "..." is U+1D19D encoded as UTF-8 in the source-file.

However, I noticed what seems to be a bug in in the LilyPond 2.11.28 distribution for Mac OS X 10.4.8:

It does not work if the font is installed in the Font Book as User, which is the default for user installed fonts. It must be installed a Computer, and dropped onto this icon. Then the font ends up in / Library/Fonts/, which is one of the LilyPond search places. If installed as User, the font ends up in ~/Library/Fonts/, which LilyPond (or the PS to PDF conversion tool) does not search.

  Hans Ã…berg






reply via email to

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