Hi!
I've been working on Resource Packs for quite a while now and the most annoying thing I have encountered is that fonts don't let you create ligatures, apply kerning or adjust spacing after letters, and changing the writing system to RTL. This would be really useful for making languages like Arabic work properly in Minecraft, as letter spacing could ensure that the Arabic characters don't have that awkward 1px spacing between glyphs, and also would ensure that typing Arabic text in chat would not turn LTR when typing. Ligatures would also be ideal for Arabic, where for example the لا ligature only appears after sending the message in chat.
The most logical approach I came up with would be something like this:
Ligatures
The font files would now have support for a new ligature provider which would work exactly like the bitmap provider, with the only difference being that chars would be defined as a list of lists of strings, instead of just a regular list, so that each ligature is its own string.
An example json file that would add support for the fi and ffi ligature would look something like this:
It seems like I have hit the character limit so I will explain other aspects of my idea further in the comments 💛
Please sign in to leave a comment.
2 Comments