Skip to content

fix: Remove a few chars to fix Arabic, Persian, Georgian and CJK scripts

With https://github.com/rsms/inter/pull/472 a few characters were introduced in order to render certain currency symbols:

  • 元 for New Taiwan Dollar
  • ლ for Georgian Lari
  • د, م and إ for Moroccan and UAE dirham

The problem is that these characters do not use specific code points for Currencies (e.g. like € or £), and are just part of the normal alphabets of languages. As Inter doesn't have the complete script for Arabic, Persian, Georgian and CJK scripts, other characters of those scripts will render in a different font. The difference is especially striking in Arabic and Persian because it breaks the different forms of letters.

So the solution is to simply remove the characters.

See also:

Edited by Lukas 'ai-pi' Eipert

Merge request reports