Re: Overriding the font-size for a specific glyph

2021-11-20 Thread Valentin Petzel
By the way these methods are not limited to Script, but can be used for most properties of most grobs, as long as you can define a suitable function that classifies the grob according to what you want. For example you could differentiate between crescendo and diminuendo hairpins, or between wig

Re: Overriding the font-size for a specific glyph

2021-11-20 Thread Paolo Prete
Thank you Valentin, this is very complete! On Sat, Nov 20, 2021 at 1:51 PM Valentin Petzel wrote: > Hello Paolo, > > If you want you can also do something like this to make separately > overriding > those things easier. > > Cheers, > Valentin > > Am Samstag, 20. November 2021, 12:50:11 CET schri

Re: Overriding the font-size for a specific glyph

2021-11-20 Thread Kieren MacMillan
Hi Valentin, > The systematic way would be applying these tweaks by type. The method linked > by Kieren is a bit problematic in my opinion, as it applies these tweaks > after > the grob is generated. This means that this ignores any further tweaks and > overrides, also it means that if we ever

Re: Overriding the font-size for a specific glyph

2021-11-20 Thread Valentin Petzel
Hello Paolo, If you want you can also do something like this to make separately overriding those things easier. Cheers, Valentin Am Samstag, 20. November 2021, 12:50:11 CET schrieb Paolo Prete: > On Sat, Nov 20, 2021 at 12:48 PM Valentin Petzel wrote: > > Hello Paolo, > > > > The quick way wo

Re: Overriding the font-size for a specific glyph

2021-11-20 Thread Paolo Prete
On Sat, Nov 20, 2021 at 12:48 PM Valentin Petzel wrote: > Hello Paolo, > > The quick way would be to simply do > > dashDash = \tweak font-size #2 \tenuto > > The systematic way would be applying these tweaks by type. The method > linked > by Kieren is a bit problematic in my opinion, as it applie

Re: Overriding the font-size for a specific glyph

2021-11-20 Thread Valentin Petzel
Hello Paolo, The quick way would be to simply do dashDash = \tweak font-size #2 \tenuto The systematic way would be applying these tweaks by type. The method linked by Kieren is a bit problematic in my opinion, as it applies these tweaks after the grob is generated. This means that this ignore

Re: Overriding the font-size for a specific glyph

2021-11-20 Thread Paolo Prete
Thanks! On Sat, Nov 20, 2021 at 2:23 AM Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi Paolo, > > > Given > > { c'-- c'-> c'---> c'-- } > > how can I change the font-size only for the tenuto glyph, without having > to tweak each symbol? > > cf

Re: Overriding the font-size for a specific glyph

2021-11-19 Thread Kieren MacMillan
Hi Paolo, > Given > { c'-- c'-> c'---> c'-- } > how can I change the font-size only for the tenuto glyph, without having to > tweak each symbol? cf Hope that helps! Kieren Kieren MacMilla

Overriding the font-size for a specific glyph

2021-11-19 Thread Paolo Prete
Hello, Given { c'-- c'-> c'---> c'-- } how can I change the font-size only for the tenuto glyph, without having to tweak each symbol? Thanks!