mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-31 10:14:40 +03:00
Add Arabic ligature support
Montassar prepared a list of all the ligatures that needed to be supported, which was a simple A+B->C table, so that one was not too difficult either!
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
30c68f70bd
commit
822755a75f
@@ -1200,6 +1200,11 @@ int len(const uint32_t flags, const char* text)
|
||||
{
|
||||
PrintFlags pf = decode_print_flags(flags);
|
||||
|
||||
if (bidi_should_transform(text))
|
||||
{
|
||||
text = bidi_transform(text);
|
||||
}
|
||||
|
||||
int text_len = 0;
|
||||
uint32_t codepoint;
|
||||
while ((codepoint = UTF8_next(&text)))
|
||||
|
||||
Reference in New Issue
Block a user