On Apr 15, 2005, at 2:20 AM, Han-Wen Nienhuys wrote:

On Fri, 2005-04-15 at 00:55 -0700, Matthias Neeracher wrote:
[Since we seem to be moving towards a release candidate, I thought
I'd repost this bug report. This is the one issue that currently
keeps my on 2.4.x for my personal needs.]

On MacOS X, it seems that the symbols for x:maj7 and x:m7.5- still
don't work properly in 2.5.19 (The former is omitted, the latter
printed as a long box).
Is this a known bug or is it a platform specific problem?

This is font related problem. Lily uses Unicode codepoints, and lets pango decide which symbol to use. At the moment, Greek Capital Delta is used for the white triangle, from chord-modifier-init.ly:

        whiteTriangleMarkup = \markup {
          %%  394 capital delta
          #(ly:export (ly:wide-char->utf-8 #x0394))
          %% 2206 : delta from the symbol font.
          %   #(ly:export (ly:wide-char->utf-8 #x2206))
          %% up pointing triangle
          % #(ly:export (ly:wide-char->utf-8 #x25B3))

Pango should select a font that contains these glyphs. Can you verify
that the standard Mac fonts do not cover these codepoints? Over here,
the i386 version uses LucidaGrande (which actually comes from my Mac, I
believe) for the Delta, but sadly it's not available on Mac due to it
being a .dfont. Nevertheless, there should be many more (free) fonts
with these glyphs.

An update on this (sorry it took me so long): All three code points are supported in many Mac fonts, and all three characters show up fine in inkscape and gedit.
Can you tell me where in the lilypond code the font for the triangle is looked up? I could probably understand the issue better if I know where to hook up the debugger.


Matthias



_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to