Fixed arabic text renderering
This commit is contained in:
parent
e1ff12f3dc
commit
881cc7bd22
BIN
main-gdxapp/assets/font/arslan-wessam.ttf
Normal file
BIN
main-gdxapp/assets/font/arslan-wessam.ttf
Normal file
Binary file not shown.
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue