Fix found! - Solved: only Bitmore-Medieval font renders properly in gridview - #8 by timhei
(changed title from a topic regarding System font to just about any font not working in gridview - link to info for switch in title here: Solved: only Bitmore-Medieval font renders properly in gridview - #7 by Tengu )
SDK 1.9.3, Windows 11
I'm trying to use the Playdate System font, because I want to use localized text and the system font renders both English and Hiragana really well
Well, even after banging on this for a couple of days I can't seem to get the System font to render English text at all in a gridview (simple list). It works fine with bitmapped fonts:
But switching to the System font gets nothing:
I thought it might be something I was doing wrong, so I went back and switched the gridview sample to the System font and it's showing the same issue:
No amount of fiddling with gfx.setImageDrawMode and/or gfx.setFont seems to have any effect on this.
Strangely enough, if I use the bitmap font it renders localized English (en.strings) in the bitmap font, but then some unknown mechanism turns around and automagically renders localized Hiragana (jp.strings) in the System font. This gets me almost what I want (English and Hiragana both work in gridview), but they're not in the same style/size.
tl;dr - there seems to be something about gridview that doesn't like the System font. Is this a bug, or am I doing something wrong?
Thanks for any advice/assistance