I noticed these are not kerned (while superior - uppercase letter is kerned) for zerosuperior, how do I make sure they are automatically kerned?
Similarly, superior - lowercase is not kerned (for all superior numerals) but lowercase - superior is kerned.
Why isn't uppercase letter - superior automatically kerned?
-
skyrailhighline
- Posts: 17
- Joined: 25 Apr 2021
Re: Why isn't uppercase letter - superior automatically kerned?
In what cases do you need superior to lowercase kerning?
If you want to force auto kerning for these pairs, you need to add them as user-set autokern pairs (if you script this, set it in GSFontMaster.userData["KernOnUserSetAutopairs"]).
If you want to force auto kerning for these pairs, you need to add them as user-set autokern pairs (if you script this, set it in GSFontMaster.userData["KernOnUserSetAutopairs"]).
- Tim Ahrens
- Site Admin
- Posts: 502
- Joined: 11 Jul 2019
Re: Why isn't uppercase letter - superior automatically kerned?
Uppercase letters to superiors are kerned.
There must ba specific reason why they aren’t kerned in your font. Feel free to send me the .glyphs file, then I can have a closer look.
There must ba specific reason why they aren’t kerned in your font. Feel free to send me the .glyphs file, then I can have a closer look.
-
skyrailhighline
- Posts: 17
- Joined: 25 Apr 2021
Re: Why isn't uppercase letter - superior automatically kerned?
Thank you, I have sent the files.
- Tim Ahrens
- Site Admin
- Posts: 502
- Joined: 11 Jul 2019
Re: Why isn't uppercase letter - superior automatically kerned?
Thank you for the files.
The pairs list contained in Kern On is based on extensive processing of real-world data, plus some common sense: some pairs are removed as a tidy-up, and some pairs are generated, when the list is created.
The superior zeroes are generally not included after letters because they are unlikely to occur in this position (footnotes don’t start with a zero).
The pairs that include inferiors are mostly based on chemical formulas (the most common use, I suspect), plus some pairs that occur in Wikipedia (from which I process very large amounts of texts). Some of the pairs fall under the auto-generation, or were tidied away. The result is not perfectly consistent, nor does it have to be: real-world usage is what counts. Some combinations like ₀T₀ may not symmetrical in terms of coverage but this shouldn’t be relevant unless you make fonts indented for creating graphic patterns. Or, am I missing the relevance here?
The pairs list contained in Kern On is based on extensive processing of real-world data, plus some common sense: some pairs are removed as a tidy-up, and some pairs are generated, when the list is created.
The superior zeroes are generally not included after letters because they are unlikely to occur in this position (footnotes don’t start with a zero).
The pairs that include inferiors are mostly based on chemical formulas (the most common use, I suspect), plus some pairs that occur in Wikipedia (from which I process very large amounts of texts). Some of the pairs fall under the auto-generation, or were tidied away. The result is not perfectly consistent, nor does it have to be: real-world usage is what counts. Some combinations like ₀T₀ may not symmetrical in terms of coverage but this shouldn’t be relevant unless you make fonts indented for creating graphic patterns. Or, am I missing the relevance here?