Repository navigation
feat(libSceFreeType): check outlines and query control bounds - #9064
1 commit merged into
Conversation
298b96d to
9544a3e
Compare
|
@Filip722 I rechecked the overlap notice with #8558 while auditing our open PR feedback. Our #9064 -> #9069 -> #9075 -> #9090 chain adds different exports; the kerning overlap is the shared debt insertion only. I propose #8558 before #9064, followed by #9069 -> #9075 -> #9090, retaining both kerning and outline debt entries. #9064 also already lists #8286 for its separate merge order. Please confirm that order; I can then add #8558 to #9064's Depends on line. There is no kerning implementation dependency. #9588 already declares the relevant branches for its helper/merge order. |
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
b3d9852
What
Add
FT_Outline_CheckandFT_Outline_Get_CBoxto the guest FreeType bridge. Contour validation uses the bundled library with an explicit host record; control bounds read guest 64-bit coordinates directly, avoiding WindowsFT_Posnarrowing. Null arguments, empty outlines and all control points follow the public source.Names and NIDs are present in the PS5 3.20 inventory. Behavior comes from bundled FreeType 2.13.3 and its public outline layout. Console signatures, count signedness and errors remain unverified and are recorded in debt.
Open, closed and merged PR searches found no implementation of these two exports. The earlier #8247 debt conflict is resolved by rebasing onto its merged implementation. #8286 still shares the CMake insertion; merge #8286 first. There are no shared exports.
Tested
Windows 11 x64, WinLibs MinGW-w64 GCC 15.2.0 r7, Release,
BUILD_TESTING=ON.cmake --build build --target libs guest_freetype_outline_tests guest_freetype_tests guest_freetype_charmap_tests -j6passed. The three registered tests passed (0.25 / 0.12 / 0.34 s).guest_freetype_outlinepassed in 0.15 s. Compiled source mutations that truncate coordinates to 32 bits or reject counts above 32,767 fail the regression.-Wall -Wextra -Werrorchecks and repository conventions passed. The packaged PRX containsC4a3dGgs+Ccand8ZxmGwESvSQ.Rebased onto main
3e91c8edf5; all system libraries rebuilt and the three registered tests passed again (0.14 / 0.07 / 0.07 s).Historical build limitation (2026-10-21): the default Windows build on the stated base failed at
ImageArrayWindowPastLayerLimit.cppbecause static alignment 65536 exceeded MinGW COFF's maximum 8192. Merged #8310 fixes that declaration; this is no longer a current-main blocker. The library/test results above retain their stated PR head and base.No title, PS5 hardware or Linux runtime was tested.
Compatibility validation (2026-10-21): temporarily combined this PR with #8247, #8286, #8289, #9045, #9054 and the charmap-metadata follow-up on main
3e91c8edf5. All system libraries built and all seven FreeType tests passed. The C++ changes merged cleanly; temporary CMake/debt resolutions were used only for this local compatibility check and are not published.Rebase audit (2026-10-21): rebased onto main
d099bc6cd8, including the now-merged #8247 and #8289. All system libraries built. A temporary combination of the seven remaining FreeType branches passed all nine tests (0.07 / 0.07 / 0.06 / 0.06 / 0.16 / 0.04 / 0.06 / 0.06 / 0.05 s); all seven branches passed conventions. Temporary integration commits were not published.Merge coordination update (2026-10-23): the #8558 overlap is a shared debt insertion only. Agreed order is #8558 before #9064, while retaining the existing #8286 order and both debt entries. Filip722 confirmed this order; this is not an implementation dependency. The agreed helper order before #9588 remains.
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)