mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-13 17:47:12 -04:00
Try 'Slate for OnePlus' font before 'Roboto', fixes launcher text appearing as boxes on some android 10 devices (Thanks Odd0002)
This commit is contained in:
parent
e70362a46e
commit
6332bc55e4
@ -36,7 +36,7 @@ void DrawTextArgs_MakeEmpty(struct DrawTextArgs* args, struct FontDesc* font, cc
|
|||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
*-----------------------------------------------------Font functions------------------------------------------------------*
|
*-----------------------------------------------------Font functions------------------------------------------------------*
|
||||||
*#########################################################################################################################*/
|
*#########################################################################################################################*/
|
||||||
static String font_candidates[9] = {
|
static String font_candidates[10] = {
|
||||||
String_FromConst(""), /* Filled in with Drawer2D_FontName */
|
String_FromConst(""), /* Filled in with Drawer2D_FontName */
|
||||||
String_FromConst("Arial"), /* preferred font on all platforms */
|
String_FromConst("Arial"), /* preferred font on all platforms */
|
||||||
String_FromConst("Liberation Sans"), /* nice looking fallbacks for linux */
|
String_FromConst("Liberation Sans"), /* nice looking fallbacks for linux */
|
||||||
@ -45,7 +45,8 @@ static String font_candidates[9] = {
|
|||||||
String_FromConst("Cantarell"),
|
String_FromConst("Cantarell"),
|
||||||
String_FromConst("DejaVu Sans Book"),
|
String_FromConst("DejaVu Sans Book"),
|
||||||
String_FromConst("Century Schoolbook L Roman"), /* commonly available on linux */
|
String_FromConst("Century Schoolbook L Roman"), /* commonly available on linux */
|
||||||
String_FromConst("Roboto") /* android */
|
String_FromConst("Slate For OnePlus"), /* android 10, some devices */
|
||||||
|
String_FromConst("Roboto") /* android (broken on some android 10 devices) */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* adjusts height to be closer to system fonts */
|
/* adjusts height to be closer to system fonts */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user