[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Documentation/user/out-www/lilypond/The-Feta-font.html#The%20Feta%20font
From: |
Juergen Reuter |
Subject: |
Documentation/user/out-www/lilypond/The-Feta-font.html#The%20Feta%20font |
Date: |
Tue, 8 Apr 2003 21:20:25 +0200 (CEST) |
Hi!
In CVS,
Documentation/user/out-www/lilypond/The-Feta-font.html#The%20Feta%20font
currently seems to be broken: the "\char #xyz" statements in
mf/out/{feta,parmesan}*list.ly are applied on a text font rather than on
a feta/parmesan font. At a first thought, a straight-forward "solution"
looks as follows:
--- buildscripts/mf-to-table.py 22 Mar 2003 00:34:28 -0000 1.30
+++ buildscripts/mf-to-table.py 8 Apr 2003 19:10:49 -0000
@@ -161,7 +161,7 @@
""")
for m in charmetrics:
escapedname=re.sub('_','\\\\\\\\_', m['name'])
- file.write (' s^\\markup { \\char #%d "%s" }\n' % (m['code'],
escapedname))
+ file.write (' s^\\markup { \\override #\'(font-family . music)
\\char #%d "%s" }\n' % (m['code'], escapedname))
file.write (r"""
}
\paper{
However, this does not work for the parmesan font, since the parmesan font
is accessed via font-family "ancient", not "music", but mf-to-table.py
does not know about the mapping {music<->feta, ancient<->parmesan}, as far
as I can see.
Using \musicglyph instead of \char is also problematic because of the "_"
in the name of many font symbols which is tricky to escape properly.
Any ideas how to fix this elegantly?
Greetings,
Juergen
- Documentation/user/out-www/lilypond/The-Feta-font.html#The%20Feta%20font,
Juergen Reuter <=