A Godot 4.x
addon that adds a UnicodeNormalizer
singleton.
The UnicodeNormalizer
helps removing diacritics and substituting tough characters.
It is handy when making your own fonts, or font engines.
"Dès Noël, où un zéphyr haï me vêt d'œufs..." → "Des Noel, ou un zephyr hai me vet d'oeufs..."
- fast (benchmarked, uses binary search)
- light (
~16Kio
database) - derived from unicode's database of decompositions and substitutions
- extensible
The installation is as usual, through the Assets Library. You can also simply copy the files of this project into yours, it should work.
Then, enable the plugin in Scene > Project Settings > Plugins
.
Please see the addons' README.
🦊 Feedback and contributions are welcome!