1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

WIP: work on hebrew char width

This commit is contained in:
Mathieu Schroeter 2019-02-05 23:11:00 +01:00
parent e012a5d1a2
commit 1556db8d05

View File

@ -139,8 +139,8 @@ GetCharWidth (const char *& c, Sint32 font)
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
8, 8, 7, 6, 7, 9, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
10, 10, 9, 9, 10, 6, 8, 10, 11, 7, 9, 9, 11, 11, 10, 7,
7, 10, 10, 9, 10, 10, 11, 9, 9, 13, 11, 0, 0, 0, 0, 0,
9, 9, 9, 9, 9, 5, 8, 9, 9, 7, 9, 9, 10, 10, 9, 6,
7, 9, 9, 9, 9, 9, 10, 9, 9, 13, 10, 0, 0, 0, 0, 0,
};
static const Uint8 table_width_little[] =
@ -159,7 +159,7 @@ GetCharWidth (const char *& c, Sint32 font)
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
6, 5, 5, 4, 5, 6, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
8, 8, 7, 7, 8, 4, 6, 8, 9, 5, 7, 7, 9, 9, 8, 5,
8, 8, 7, 7, 8, 3, 6, 8, 9, 5, 7, 7, 9, 9, 8, 4,
5, 8, 8, 7, 8, 8, 9, 7, 7, 11, 9, 0, 0, 0, 0, 0,
};
// clang-format on