add more fonts
partially related to an issue when displaying non-Latin characters however a true fix isn't coming yet as I haven't figured out a way to load glyphs during run-time as needed
This commit is contained in:
parent
f32f079ef8
commit
379d90ae4d
18 changed files with 132272 additions and 19 deletions
33
src/gui/fonts.cpp
Normal file
33
src/gui/fonts.cpp
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
#include "fonts.h"
|
||||
|
||||
const unsigned int* builtinFont[]={
|
||||
font_plexSans_compressed_data,
|
||||
font_liberationSans_compressed_data,
|
||||
font_exo_compressed_data,
|
||||
font_proggyClean_compressed_data,
|
||||
font_unifont_compressed_data
|
||||
};
|
||||
|
||||
const unsigned int builtinFontLen[]={
|
||||
font_plexSans_compressed_size,
|
||||
font_liberationSans_compressed_size,
|
||||
font_exo_compressed_size,
|
||||
font_proggyClean_compressed_size,
|
||||
font_unifont_compressed_size
|
||||
};
|
||||
|
||||
const unsigned int* builtinFontM[]={
|
||||
font_plexMono_compressed_data,
|
||||
font_mononoki_compressed_data,
|
||||
font_ptMono_compressed_data,
|
||||
font_proggyClean_compressed_data,
|
||||
font_unifont_compressed_data
|
||||
};
|
||||
|
||||
const unsigned int builtinFontMLen[]={
|
||||
font_plexMono_compressed_size,
|
||||
font_mononoki_compressed_size,
|
||||
font_ptMono_compressed_size,
|
||||
font_proggyClean_compressed_size,
|
||||
font_unifont_compressed_size
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue