Commit Graph
5 Commits
Author SHA1 Message Date
hypermistandClaude Opus 5.5 0c799de538 test(libSceFont): stop pinning the unimplemented font-set outline profile path
The font-set record path still throws in production, but the test no
longer asserts it: tests cover implemented behaviour only. The null-output
check on a font-set handle stays. The outline profile debt entry states
the gap without naming a source.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 19:57:38 +13:00
hypermistandClaude Opus 5.5 13342462a4 refactor(libSceFont): use the library headers in the font outline profile test
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 13:41:29 +13:00
hypermistandClaude Opus 5.5 d3525d37cd fix(libSceFont): check a null outline profile before the font-set path
A valid font-set handle with a null output now returns
SCE_FONT_ERROR_INVALID_PARAMETER instead of throwing, matching the
handle, then output, order of the firmware.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 01:29:12 +13:00
hypermistandClaude Opus 5.5 2fce9e473b fix(libSceFont): check the font handle before reading it in the outline profile
ComputeFontGlyphsOutlineProfile read font->library before checking the
handle and cleared the output only after the context lookup, relying on
sceFontGetFontGlyphsOutlineProfile to have validated the handle. It now
rejects a null or non-font handle with SCE_FONT_ERROR_INVALID_FONT_HANDLE
first, clearing a non-null output, then checks the output, then clears it
before the library and context lookups, matching the firmware 13.60 order.
The test also covers a null output with a bad handle and a handle with no
library.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 00:58:25 +13:00
hypermistandClaude Opus 5.5 928729bdfb feat(libSceFont): report the glyph outline profile through the FreeType driver
sceFontGetFontGlyphsOutlineProfile reports the maxp maximum contours,
points, composite contours and composite points through the driver slot
at SysDriver+0x70, as libSceFont and libSceFontFt do in firmware 13.60.
A maxp older than 1.0 returns SCE_FONT_ERROR_NO_SUPPORT_FUNCTION, and a
failed call clears the output. Font-set records, which the console
merges over system font entries, still throw.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 22:02:15 +13:00