feat(libSceFreeTypeOt): restore outline bitmap forwarding #20047
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/20047"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by THEMANnt on 2026-11-14T13:46:33Z.
What
Restore
FT_Outline_Get_Bitmapforwarding from #19411 after the revert in #19762. Keep4RRjK-Wd1lUexported by libSceFreeTypeOt and call the existing bitmap adapter throughFreeTypeOutlineGetBitmap_nid_no_patch. This prevents the patched ELF import from resolving back to the Ot export. The rasterization stays in libSceFreeType.RiverWhy and kaiffeetasse traced the self-binding in #19762. The bitmap work currently shared by #19410 and #19415 moves here. Those two branches have follow-up revisions prepared for after this lands. #13730 handles other instances of the same Linux problem.
Tested
On
ac9ac0ef09,guest_freetype_outline_bitmap,guest_freetype_ot, andguest_freetype_ot_patchedeach passed three consecutive runs on Ubuntu 24.04.5 (GCC 13.3, Ninja, Release, WSL2) and Windows x64 (GCC 15.2, Ninja, Release). The Ot test compares rendered pixels with native FreeType. The original forwarding timed out at 20.02 s on Linux with the same test. Restoring the fix passed in 0.01 s. Linuxnm -Dand Windowsobjdump -pshow the patched Ot module defines4RRjK-Wd1lU. The Linux binary has no import of that NID. Conventions andgit diff --checkpassed. The overlap checker flagged shared files on eight branches; manual inspection found bitmap implementation overlap only in #19410 and #19415.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)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-14T14:17:02Z.
Review: APPROVED
Reviewed — looks good
Nothing blocks this; the change restores typed outline bitmap forwarding through the shared adapter and adds coverage for the Ot export.
What I ran
Reviewed head
ac9ac0ef09643c20d19328c0e897a57da5f2cd49. I read all five changed files and the prepared description, commit list, manifest, and diff throughrepo_read.py. I did not run commands or tests; the test results in the description are author-reported.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
The claimed test runs, binary export inspection, conventions check, and
git diff --checkwere not independently verified. Console runtime behavior was not tested. All files marked reviewed in the manifest were read; no changed files were excluded.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-15T19:20:11Z.
Review: COMMENTED
Reviewed — comments
This review covers head
2afc9ecb90; no blocking defects were verified, but host tests and the console provider were not verified.What I ran
Read the prepared diff and all five changed files listed as reviewed in the manifest using
repo_read.py. No commands or tests were run.Results
Findings
Blocking
None.
Non-blocking
core/libs/prx/libSceFreeType/src/OutlineBitmap.cpp:41.Not verified
reviewedinmanifest.jsonwere read. No changed files were excluded by the manifest.To get this to a good state
Nothing is required. Optional: add bitmap layout coverage for negative pitch and large dimensions.