Repository navigation
feat(libSceFreeType): implement FT_Request_Size - #9846
Conversation
|
I checked the wrapper against the bundled FreeType 2.13.3 implementation and the LP64 guest record layout. Its invalid-face/size/request ordering matches One contribution-rule coordination item remains: the PR notes shared insertions with open #8286 and #9350, but says |
|
@MarcZX10 Thanks for checking this. I updated the checklist to @santhoshkumar-dev @Ondra97, can you confirm that landing #8286 and #9350 before #9846 works for your plans? The overlaps are the debt-file insertion with #8286 and the CMake insertion with #9350; the implementations are independent. I am holding #9846 behind both rather than asking either of you to reconcile a later merge. The description marks author confirmation as pending until you reply. No source or test changes were requested or made for this coordination update, so the recorded build and test results still apply. |
|
@Felipebmaitan I confirm that #9350 landing before #9846 works for my plans. I checked both patches: the guest list APIs and FT_Request_Size are independent; the shared CMake insertion needs to retain both This confirms the #9350 side of the proposed order. No source or test change is needed for this coordination. |
|
The updated overlap report identifies a shared debt-file insertion with #9384 ( @Ondra97, can you also confirm that #9384 landing before #9846 works for your plans? Your confirmation for #9350 is already recorded; this request concerns the newly reported #9384 overlap. Confirmation for #8286 remains pending separately. |
|
@Felipebmaitan Confirmed from the #8286 side: landing #8286 before #9846 works for my plans. Please keep #8286 on the Depends on line for the agreed merge order. The bitmap APIs and FT_Request_Size implement different functions. After rebasing, retain both the bitmap and size-request debt entries, along with their source and test registrations. This confirms the #8286 part of the order; the separate #9384 confirmation remains with its author. |
|
@santhoshkumar-dev Recorded your #8286-before-#9846 confirmation in the description. #8286 remains on the |
|
@Felipebmaitan I also confirm that #9384 landing before #9846 works for my plans. Please retain #9384 on the Depends on line; my earlier confirmation for #9350 still stands. I checked the patches: FT_Select_Size and FT_Request_Size are distinct guest exports. Their shared debt-file insertion should retain both entries. When rebasing #9846 after the prerequisites land, please preserve #9384's size-selection coverage in guest_freetype alongside guest_freetype_request_size. No source change is needed for this merge-order confirmation. |
|
Windows validation (Windows 11 10.0.26200, WinLibs GCC 15.2.0 r7, Release), head 2cfe073 merged onto
No findings. AI-assisted: yes |
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends 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.
|
|
@MarcZX10 All requested author confirmations are now linked in the PR description: #8286, #9350, and #9384. The declared dependencies remain recorded. #9846 has since merged as @Dom3005 I also linked your Windows validation in Tested, explicitly attributed to your run: 5/5 repeated passes including the 32-bit |
What
Implement
FT_Request_Sizethrough the bundled FreeType backend with an explicit 32-byte LP64 guest request record. Preserve native validation order, support all five request modes and bitmap strikes, and synchronize size metrics after backend success or failure without refreshing glyph data. Requests outside the Windows hostFT_Longrange throw; console ABI assumptions and host-width limits are recorded in technical debt.Tested
Ubuntu 24.04 x86-64 in Docker on Apple Silicon/Rosetta, GCC 13.3, Release, bundled dependencies,
BUILD_TESTING=ON. Software Vulkan: llvmpipe / Mesa 25.2.8, LLVM 20.1.2;LP_NUM_THREADS=2andVK_ICD_FILENAMES=/usr/share/vulkan/icd.d/lvp_icd.json.2cfe0735a94d3564fe8a1aea75ffeb98f7142578.ctest --test-dir /tmp/anyps5-build --output-on-failure --parallel 4: 1,836 tests attempted; 1,698 passed, 97 skipped, 41 failed, in 409 seconds. The full suite is not green on this host.mainat6a6a35fdf5c2612821345be89309180622782d89and reran all 41 failing tests with the same environment and parallelism: 40 also failed on main. Observed failures include unavailableuserfaultfdwrite watching, Rosetta memory/ELF mapping errors, and existing libc/graphics assertions.agc_driver_queued_index_read_order, passed on main, passed on the feature branch rerun, and passed 10 consecutive additional feature-branch runs. Its full-suite diagnostic wasthe image write left no pending result to order against.python3 tools/check_conventions.py --base origin/main: passed with existing upstream debt-length warnings and zero errors. Checking against the upstream baseline reports all checks passed.git diff --check: passed.2cfe0735a9merged onto main1a745ae38e.guest_freetype_request_sizepassed 5/5 repeated runs, exercising the Windows 32-bitFT_Longrange-rejection exception path. A negative control replacing the wrapper withNotImplemented_nid_no_patchaborted as expected. No findings were reported. These Windows results were supplied by that contributor, not run by this PR author. Console titles were not tested.Failures reproduced on unchanged main (40)
Merge-order coordination (review record): #8286, #9350 and #9384 were declared as merge-order prerequisites. @santhoshkumar-dev confirmed #8286 before this PR; @Ondra97 confirmed both #9350 and #9384 before this PR. All requested author confirmations are recorded. This PR has since merged as
3875f8c8ff83fb1506c7fa62142befbf93bb4318, before the declared prerequisites had all landed, so the earlier future-rebase plan for this branch no longer applies. Remaining integrations must retain the distinct bitmap, list, size-selection and size-request debt entries, their source/test registrations, and #9384's size-selection coverage inguest_freetypealongsideguest_freetype_request_size.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)