On Thu, Aug 3, 2017 at 6:45 AM, Kieren MacMillan-2 [via Lilypond] <
ml+s1069038n204841...@n5.nabble.com> wrote:

> > Just put \larger before \normal-text and it will respond to the
> 'font-size property, but be at a larger point size than the rest of it.
>
> But the scaling factor is different depending on the font (x-height, etc.)
> — so don't I have to do that *inside* each function, and therefore
> duplicate each function in every stylesheet with a different font? I was
> hoping there was a more elegant solution…
>

This is the unfortunate reality about fonts. I once tried to find a way by
first making a non-printed markup of only the "x" character, getting its
Y-extent, then scaling based on that, but I was never successful. Maybe
someone else will have a better idea for you, aside from adding another
input parameter for to pass in to the 'fontsize markup macro.

Best,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/scaling-normal-text-font-size-inside-dynamic-tp204834p204843.html
Sent from the User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to