Commit Graph

63 Commits

Author SHA1 Message Date
Henrik Rydgård
79ff2f0ba8 Start untangling our include mess a little. 2013-12-29 23:34:45 +01:00
Lioncash
19dee283f2 Access font after the null check in sceFontGetCharImageRect, not before. 2013-12-27 11:42:14 -05:00
Unknown W. Brackets
916768d938 Kill the "packagedFont" hack, correctly fixed now. 2013-12-10 23:19:25 -08:00
Unknown W. Brackets
0636a65ad9 Use ReadEntireFile() a few more places.
This fixes one or two minor memory leaks.
2013-12-08 12:02:37 -08:00
Unknown W. Brackets
8f6315e375 Support replacement chars in sceFontGetCharInfo(). 2013-11-16 23:32:13 -08:00
raven02
98cbd90178 Regression font alignment fix 2013-11-02 20:31:39 +08:00
Unknown W. Brackets
1d14915d87 Fix a string pointer comparison. 2013-10-30 08:14:43 -07:00
raven02
92042e6b55 Apply offset by 1px to our provided PSP fonts 2013-10-27 10:02:13 +08:00
Unknown W. Brackets
87781736c4 Use ms0:/PSP/flash0/font/ as an override for fonts.
This won't work for games that use flash0:/ directly, but if they just use
the default fonts (which is common), it will work fine.
2013-10-12 16:13:11 -07:00
Unknown W. Brackets
50e9e45d65 Check version in each DoState() func.
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Henrik Rydgard
8c88dff5a4 More log categories, use them (and existing ones). Improve log config. 2013-09-07 22:02:55 +02:00
Henrik Rydgard
cb076d1e6f Update some log levels in sceFont 2013-08-16 16:49:52 +02:00
Unknown W. Brackets
0b5bdeb1d3 Fix some compile failures under big endian. 2013-07-28 21:04:17 -07:00
Unknown W. Brackets
5e87d6e45d Add _le typedefs to font handling stuff. 2013-07-25 08:04:36 -07:00
Unknown W. Brackets
ded3fb5e12 Add reporting to a bunch of unimpl functions.
Also some comment/logging fixes along the way.
2013-05-19 22:12:37 -07:00
Unknown W. Brackets
7dade9416c Correctly call alloc/free font callbacks. 2013-05-10 22:06:50 -07:00
Unknown W. Brackets
7741376a38 Check a potential crash in sceFontOpen(). 2013-05-05 21:29:41 -07:00
Unknown W. Brackets
f9e4739c64 Clean up error codes in sceFontGetCharGlyphImage(). 2013-05-05 21:21:58 -07:00
Unknown W. Brackets
95823a776b Don't pass quite so many args to DrawCharacter(). 2013-05-05 21:13:50 -07:00
Unknown W. Brackets
4ab165ebd7 Simplify the font code a tiny bit. 2013-05-05 21:02:13 -07:00
Unknown W. Brackets
5ffb7f7d23 Correct error handling in sceFontGet*Info().
And tone down the logging a bit.
2013-05-05 20:58:52 -07:00
Unknown W. Brackets
9948da9a21 Buildfix for everything.
Oops.
2013-05-05 17:46:16 -07:00
Unknown W. Brackets
75a2f9bc06 Improve font matching in sceFontFindOptimumFont(). 2013-05-05 12:53:35 -07:00
Unknown W. Brackets
832edb0a8f Fix some x64 type conversion warnings. 2013-04-05 20:29:20 -07:00
Unknown W. Brackets
339b2839b3 Finish implementing savestates for fonts.
Oops, missed this before.  Was crashing FF3 and games using custom fonts.
2013-03-20 23:37:57 -07:00