lilypond-user
[Top][All Lists]
Advanced

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

Re: Font kerning


From: Joel C. Salomon
Subject: Re: Font kerning
Date: Sun, 13 Feb 2022 18:19:11 -0500
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0


On 2/7/2022 11:53 AM, Francesco Napoleoni wrote:
How can I adjust (if possible) such property in a markup block?

namely I would like to “shrink” the “V.° I.°” and the “V.° 2.°” text like the
attached screenshot.

I wonder whether you’re using the wrong symbol, and using the correct one might help a little. Your code is using the degree sign “°” U+B0, when by context this should probably be the masculine ordinal indicator “º” U+BA.

(Some fonts display this symbol as a superscript “o” like “ᵒ”; some add an underline to it like “̵ᵒ”; some add an underdot that I can’t easily imitate by abusing other Unicode characters; and your source material is using a full-stop “.” kerned in pretty tightly.)

I’m also pretty sure this is a font with old-style figures, where the numeral “1” looks like a small-caps “ɪ”; and so the v’s should be lower-case.

So the actual text should be “vº1º” & “vº2º” or “v.º1.º” & “v.º2.º”:

{
  c''1^\markup {
    \override #'(font-name . "TeX Gyre Schola")
    \override #'(font-features . ("onum"))
    { "vº1º2º" }
  }
  c''^\markup \concat {
    \override #'(font-name . "TeX Gyre Termes")
    \override #'(font-features . ("onum"))
{ "v." \hspace #-0.4 "º" "1." \hspace #-0.6 "º" "2." \hspace #-0.6 "º" }
  }
}


—Joel



reply via email to

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