Number - Currency pairs not kerned

Post Reply
skyrailhighline
Posts: 17
Joined: 25 Apr 2021

Number - Currency pairs not kerned

Post by skyrailhighline »

I noticed number-currency pairs are not kerned. Is there anyway to enable this? Obviously this isn't the standard way to use the currency symbols but a lot of people do use it this way.
User avatar
SCarewe
Posts: 135
Joined: 23 Apr 2021

Re: Number - Currency pairs not kerned

Post by SCarewe »

Which pairs are you talking about? dollar–[number], euro–[number]? Indeed these are incorrect ways of using these currencies, and I can't imagine anybody writes euro–[number]. I have never seen this.
User avatar
Tim Ahrens
Site Admin
Posts: 502
Joined: 11 Jul 2019

Re: Number - Currency pairs not kerned

Post by Tim Ahrens »

If numbers to currencies are not kerned in your case then there must be a specific reason. Maybe your numbers or currency symbols are tabular? Kern On does not kern tabular glyphs. Or, they may be set to “No kerning”.

It’s a tricky question which currency symbols should be kerned against figures before or after. I couldn’t find a good source that specifies for which of the currencies the convention is to place the symbol before the figure (such as $100) or after (such as 100€, as it would be used in Germany). Some may be used in both ways (the € AFAIK), and for some there may be a more or less strong preference to use a space in between, in the real world. So, that’s on my to-do list but it will take some research.
skyrailhighline
Posts: 17
Joined: 25 Apr 2021

Re: Number - Currency pairs not kerned

Post by skyrailhighline »

Regardless of what is correct according to principals, people will use it both ways. I personally have seen euro used before and after numbers, I have even seen it used between numerals as a decimal such as 5€30

https://en.wikipedia.org/wiki/Language_ ... ro#Summary

I'll send the file to you Tim, it happens even from a fresh file, based on the default Kern On settings.
User avatar
Tim Ahrens
Site Admin
Posts: 502
Joined: 11 Jul 2019

Re: Number - Currency pairs not kerned

Post by Tim Ahrens »

skyrailhighline wrote: 13 Feb 2026 Regardless of what is correct according to principals, people will use it both ways. I personally have seen euro used before and after numbers, I have even seen it used between numerals as a decimal such as 5€30
This is why currently, Kern On autokerns pairs for all currency symbols before and after figures, to be on the safe side.
User avatar
Tim Ahrens
Site Admin
Posts: 502
Joined: 11 Jul 2019

Re: Number - Currency pairs not kerned

Post by Tim Ahrens »

Thanks for reminding me of this. I updated the pairs list today, using the information on the usage of currency symbols from the Unicode CLDR. Plus, a few other updates and fixes (Glyphs likes to make changes that break add-ons, as you may know).

The updated currency pairs will be in the next Kern On release. I hope you will find all pairs you consider necessary.
Post Reply