feat(libSceFreeType): implement FT_Get_Track_Kerning #10588
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/10588"
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 MarcZX10 on 2026-10-24T11:21:41Z.
What
Adds
FT_Get_Track_Kerningto libSceFreeType, forwarding to the bundled FreeType 2.13.3 through the guest face. The point size and the result use the guest's 64-bitFT_Fixed; the result is written only when the native call succeeds, as in ftobjs.c. A point size outside the hostFT_Fixedrange throws, which only matters where the native type is 32 bits (Windows). Console signature and errors are unverified; the debt entry says so.Commits: implementation, test, debt entry.
Tested
Linux x86-64, GCC, full CMake build (Ninja, Release).
guest_freetype_track_kerningcompares error code and output with a nativeFT_Facefor a TrueType and a BDF face, over several point sizes and degrees, checks the output stays untouched on error, and covers null face, null result and an unregistered face. The host CPU (Xeon E5-1620 v2) fails the startup CPU-feature gate, so I ran the test with that check disabled in a local, uncommitted edit; it exits 0. Windows was not run.tools/check_conventions.pyandgit diff --checkpass. No title or GPU involved.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-02T04:57:39Z.
Review: COMMENTED
Fix-up checked — include is in place, no open points
The only new reply is a fix-up note from oneandonlydean, and the include it describes is present in the code at this head.
What I ran
gh pr view 10588 --json headRefOid,stategives2ccdd6373bbbdc198ae9e0e1463e0a856e5f45c6, OPEN, same as the batch file.gh apiand filtered to users other than MarcZX10 and bots, newer than 2026-10-27T02:23:12Z.gh api repos/boykopovar/AnyPS5/commits/<head>/check-runs.git show 2ccdd637:<path>andgit diff upstream/main...2ccdd637.Results
Findings
Api.hppinclude tosrc/TrackKerning.cpp. Confirmed:TrackKerning.cpp:1includesprx/libSceFreeType/include/Api.hpp, andApi.hpp:100declaresFT_Get_Track_Kerning_nid_postfix, which the definition atTrackKerning.cpp:14matches.Sources
github.com/boykopovar/AnyPS5@2ccdd6373b/core/libs/prx/libSceFreeType/src/TrackKerning.cpp (L1-L1)github.com/boykopovar/AnyPS5@2ccdd6373b/core/libs/prx/libSceFreeType/include/Api.hpp (L100-L100)Not verified