feat(libSceFreeType): load glyphs by character code #8289
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/8289"
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 santhoshkumar-dev on 2026-10-20T09:02:43Z.
What
Add
FT_Load_Charto the existinglibSceFreeTypeguest bridge. It delegates character lookup, the direct glyph-index fallback for faces without a charmap, and load/render flags to bundled FreeType, then refreshes the guest glyph slot on success or error. Its LP64 character argument uses the same low-32-bit conversion as the existingFT_Get_Char_Indexadapter.The name/NID
wPQ0rMK4-JUis present in the PS5 3.20 inventory. Behavior follows bundled FreeType 2.13.3FT_Load_Char. Console-version and ABI uncertainty remains as recorded in the existing library debt.Tested
Windows 11 x64, WinLibs MinGW-w64 GCC 15.2.0 r7, Release,
BUILD_TESTING=ON, based on upstream35fa2bdd82.guest_freetypepassed (0.07 s).-Wall -Wextra -Werrorsyntax checks and conventions passed.guest_freetype_bitmap,guest_freetypeandguest_freetype_charmappassed (0.06 s / 0.08 s / 0.07 s). Aborted the merge afterward.guest_freetypepassed again (0.09 s), and the patched PRX exportswPQ0rMK4-JU.No overlap with open pull requests. Open, closed and merged FreeType history was reviewed before implementation.Latest main
e9a5a0c849was checked before publication; it changes no FreeType or libc dependency source.No title, PS5 hardware or Linux runtime was tested.
Refresh on 2026-10-21: rebased onto upstream
1381826358, rebuilt the FreeType library and both current test targets, and reranguest_freetypeandguest_freetype_charmap(0.08 s / 0.07 s). Conventions passed. Production behavior is unchanged.Compatibility validation (2026-10-21): temporarily combined this PR with #8247, #8286, #9045, #9054, #9064 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.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 github-actions[bot] on 2026-10-20T09:03:31Z.
Progress report (
b6fe513→f43de1f)📈 System libraries: 50.59% (+0.01%, +1 implemented functions)
✅ 1 implemented
FT_Load_Char_nid_postfixImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-21T12:02:42Z.
Checked the
FT_Load_Charadapter against FreeType 2.13.3 (low-32-bit charcode, slot sync on error, null face), and thatguest_freetypecompares slot, outline and bitmap with native FreeType, including the no-cmap case and high character-code bits; merged.