lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scaling "normal text" font size inside dynamic


From: tisimst
Subject: Re: scaling "normal text" font size inside dynamic
Date: Thu, 3 Aug 2017 07:31:59 -0700 (MST)

On Thu, Aug 3, 2017 at 6:45 AM, Kieren MacMillan-2 [via Lilypond] <[hidden email]> 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: Re: scaling "normal text" font size inside dynamic
Sent from the User mailing list archive at Nabble.com.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]