1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:17:36 +00:00

LibGfx: Added dirty and raw cyrillic support for bitmap fonts.

This is a very quick and diry hack to implement support for cyrillic bitmap fonts.
This commit is contained in:
Dmitrii Trifonov 2021-04-08 14:39:26 +03:00 committed by Andreas Kling
parent 2469e07784
commit 323b7021bc
2 changed files with 9 additions and 1 deletions

View file

@ -38,7 +38,10 @@ namespace Gfx {
enum FontTypes {
Default = 0,
LatinExtendedA = 1
LatinExtendedA = 1,
// There are many blocks between LatinExtendedA and Cyrrilic that has to be added later.
// Cyrrilic has to be switched to another number
Cyrillic = 2
};
class BitmapFont : public Font {