Add Arabic reshaping lookup table

This adds the lookup table and an accompanying hashmap that will be
used for reshaping Arabic - it's not yet used though.
This commit is contained in:
Dav999
2024-01-02 05:01:39 +01:00
committed by Misa Elizabeth Kai
parent 59ccdbea00
commit e011273eb3
3 changed files with 200 additions and 0 deletions

View File

@@ -13,6 +13,7 @@
#include "Exit.h"
#include "FileSystemUtils.h"
#include "Font.h"
#include "FontBidi.h"
#include "Game.h"
#include "Graphics.h"
#include "GraphicsUtil.h"
@@ -639,6 +640,7 @@ int main(int argc, char *argv[])
BUTTONGLYPHS_init();
font::load_main();
font::bidi_init();
// This loads music too...
if (!graphics.reloadresources())
@@ -843,6 +845,7 @@ static void cleanup(void)
graphics.grphx.destroy();
graphics.destroy_buffers();
graphics.destroy();
font::bidi_destroy();
font::destroy();
gameScreen.destroy();
music.destroy();