Fixed arabic text renderering

This commit is contained in:
Willem 2022-02-09 12:43:57 +01:00
parent e1ff12f3dc
commit 881cc7bd22
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View file

@ -46,6 +46,7 @@ public class ImGuiSetup {
io.getFonts().addFontFromMemoryTTF(Gdx.files.internal("font/NotoSansCJKjp-Medium.otf").readBytes(), 14, fontConfig, glyphRanges);
io.getFonts().addFontFromMemoryTTF(Gdx.files.internal("font/FreeSans.ttf").readBytes(), 14, fontConfig, glyphRanges);
io.getFonts().addFontFromMemoryTTF(Gdx.files.internal("font/roboto-bold.ttf").readBytes(), 14, fontConfig, glyphRanges);
io.getFonts().addFontFromMemoryTTF(Gdx.files.internal("font/arslan-wessam.ttf").readBytes(), 14, fontConfig, glyphRanges);
fontConfig.destroy();
}