From: fred Date: Tue, 24 Dec 1996 01:08:07 +0000 (+0000) Subject: lilypond-0.0.21 X-Git-Tag: release/1.5.59~6470 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=243d6bf7fbf376b764d976727db6726c96ad58b4;p=lilypond.git lilypond-0.0.21 --- diff --git a/src/lookup.cc b/src/lookup.cc index d7a3f721e9..9c8def52cf 100644 --- a/src/lookup.cc +++ b/src/lookup.cc @@ -33,11 +33,13 @@ Lookup::text( String style, String text , int dir) { svec a; - a.add((*symtables_)("style")->lookup(style).tex); - Symbol s = (*symtables_)("align")->lookup(dir); - a[0] = substitute_args( text,a); + a.add(text); + Symbol tsym = (*symtables_)("style")->lookup(style); + a[0] = substitute_args(tsym.tex,a); + Symbol s = (*symtables_)("align")->lookup(dir); s.tex = substitute_args(s.tex,a); + s.dim.y = tsym.dim.y; return s; } @@ -84,6 +86,12 @@ Lookup::bar(String s) return (*symtables_)("bars")->lookup(s); } +Symbol +Lookup::script(String s) +{ + return (*symtables_)("scripts")->lookup(s); +} + Symbol Lookup::clef(String s) {