From 243d6bf7fbf376b764d976727db6726c96ad58b4 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 24 Dec 1996 01:08:07 +0000 Subject: [PATCH] lilypond-0.0.21 --- src/lookup.cc | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) 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) { -- 2.39.5