EmuNewz Network
Bug in font rendering - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: svn trunk discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=56)
+---- Thread: Bug in font rendering (/showthread.php?tid=3399)



Bug in font rendering - Itaru - 01-18-2011

Text in Dissidia Final Fantasy and Gran Turismo is messed up starting with r1948, and the problem is a bug/typo in jpcsp.util.Debug class inside the isFontCharNull method. I think line 74 should be:

if(Font.font[index + i] != 0x00) {

Making the above fix restores proper text in the above 2 games and other games also, I'm sure. Wink


RE: Bug in font rendering - Hykem - 01-18-2011

Indeed. I noticed this some time ago after a PM from Darth1701.
Sorry for haven't fixing this yet. I'll be commiting this fix alongside your fix for 64-bit saving and a couple of other small tweaks just before adding the new CryptoEngine.
Thanks! Smile


RE: Bug in font rendering - gid15 - 01-18-2011

(01-18-2011, 12:18 PM)Itaru Wrote: Text in Dissidia Final Fantasy and Gran Turismo is messed up starting with r1948, and the problem is a bug/typo in jpcsp.util.Debug class inside the isFontCharNull method. I think line 74 should be:

if(Font.font[index + i] != 0x00) {

Making the above fix restores proper text in the above 2 games and other games also, I'm sure. Wink
Fixed in r1953. Thank you for the debugging! Smile