Repository navigation
feat(libSceFreeTypeOt): restore outline bitmap forwarding - #20047
oneandonlydean merged 1 commit into
Conversation
Progress report (579a566 → 2afc9ec)📈 System libraries: 41.32% (+0.0025%, +1 implemented function) ✅ 1 implemented
Changed libraries (implemented exports)
|
MarcZX10
left a comment
There was a problem hiding this comment.
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 through repo_read.py. I did not run commands or tests; the test results in the description are author-reported.
Results
| Check | Result | Note |
|---|---|---|
| Diff and changed code review | passed | All five changed files read |
| Tests and build | not run | Author reports Linux and Windows test runs |
| Console behavior | not run | Not measured on console |
Findings
Blocking
None.
Non-blocking
None.
Not verified
The claimed test runs, binary export inspection, conventions check, and git diff --check were 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.
|
The Windows build completed, and #20058 addresses the AppContent regression. Once its revert is on |
|
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.
|
ac9ac0e to
8273ec8
Compare
|
#20058 has landed, and I rebased this PR onto the updated |
|
The Windows build passed after the rebase, and Could a maintainer rerun the Windows job on #20047? |
|
Windows check of head Setup: Windows 11 Enterprise 22621, WinLibs GCC 15.2 UCRT, Release. The hosted Windows check does not run these tests on pull requests.
AI-assisted: yes. |
8273ec8 to
2afc9ec
Compare
|
Rebased onto |
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — comments
This review covers head 2afc9ec; 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
| Check | Result | Note |
|---|---|---|
| Diff and changed files | passed | All five reviewed files read |
| Tests | not run | Test outcomes in the description are author reported |
| Console behavior | not run | Provider remains unmeasured |
Findings
Blocking
None.
Non-blocking
- The added test exercises positive pitch in gray and mono modes, but not negative pitch or extreme pitch/row dimensions. Consider covering those bitmap layout cases to guard the adapter’s buffer-size calculation at
core/libs/prx/libSceFreeType/src/OutlineBitmap.cpp:41.
Not verified
- No build or tests were run; reported Ubuntu and Windows results are author reported.
- Console provider behavior was not measured.
- All five files listed under
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.
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)