SDL_FontCache
SDL_FontCache copied to clipboard
Doesn't fully render characters
When using the font found here: https://www.freejapanesefont.com/aozora-mincho-download/ it doesn't fully render characters that characters like g and j. Specifically it cuts off the bottoms of said characters.
An update at some point appears to have broken Japanese characters in general. I just updated the version of FC that I use for one of my games, and Japanese characters no longer render.
@TG-Galeforce Do you know a version which did work? I can bisect from there.
Let me poke around with it and get back to you on it.
Edit 1: Japanese font works when I revert to commit 50afa5d6c1af2744a88b19ecc7e6f007957a1dc5; I tried going back one branch merge at a time until I found one that works.
Edit 2: If I, from that point, apply the changes of commit db5b641fc68fd4815d31a6d020e4a4e1c8483507, it stops working.
Edit 3: I've confirmed that the problem consistently occurs with that commit, across multiple fonts - both the one that I actually use for my game, as well as publicly available ones. Here's one that I tested: https://www.freejapanesefont.com/motoya-kosugi-maru-download/ Note that the problem doesn't occur when rendering non-Japanese characters from these fonts, so the issue is with the characters themselves rather than the fonts.
Edit 4: If I start from the head at master and revert merge 0860d7356fb091110bb8701c4bf073d3423b0863, it works as expected.