Repository navigation
feat(libSceFreeType): expose font and glyph names - #9045
Merged
1 commit merged intoOct 22, 2026
Merged
1 commit merged into
1 commit merged into
Conversation
santhoshkumar-dev
force-pushed
the
codex/freetype-font-names
branch
3 times, most recently
from
October 21, 2026 11:07
ae028bd to
bbaf9b9
Compare
This was referenced Oct 21, 2026
santhoshkumar-dev
marked this pull request as ready for review
October 21, 2026 12:02
12 tasks done
santhoshkumar-dev
force-pushed
the
codex/freetype-font-names
branch
from
October 21, 2026 12:28
bbaf9b9 to
1bf9429
Compare
12 tasks done
12 tasks done
|
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.
|
This was referenced Oct 22, 2026
fcd4558
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add
FT_Get_Glyph_Name,FT_Get_Name_IndexandFT_Get_Postscript_Nameto the existing LP64 FreeType guest bridge. A caller can retrieve glyph names, look up their glyph indices and read the face's cached PostScript name through guest-safe entry points.Glyph-name writes hold
GuestArena::HostWrite. Invalid indices are checked as nonnegative 64-bit values before entering the host routine: on Windows, narrowing a highFT_UIntto signed 32-bitFT_Longwould otherwise change error precedence for fonts without glyph names. PostScript names retain the native borrowed lifetime.Names and NIDs are present in the PS5 3.20 inventory. Signatures, output writes, lookup and ownership follow bundled FreeType 2.13.3. Console signatures and behavior remain unverified and are recorded with the existing adapter assumptions in the library's debt file.
The overlap checker reports #8286 for the shared debt paragraph only. Both PRs are ours; merge #8286 first, then rebase this documentation change. No other proposal was found for these three entry points in open, closed or merged PR history.
Tested
Windows 11 x64, WinLibs MinGW-w64 GCC 15.2.0 r7, Release,
BUILD_TESTING=ON, based on upstreamb6fe513b9a.cmake --build build --target libs guest_freetype_names_tests guest_freetype_tests guest_freetype_charmap_tests -j 6. The three registered FreeType tests passed (0.19 s / 0.08 s / 0.07 s).guest_freetype_bitmap,guest_freetype,guest_freetype_charmapandguest_freetype_namespassed (0.07 s / 0.08 s / 0.07 s / 0.06 s). Only the expected debt-paragraph conflict required resolution; the temporary merge is not part of this branch.-Wall -Wextra -Werrorsource checks and repository conventions passed.tGmYdLIYT98,sZzliEQrICMandGVnNjpJWCXM.Historical build limitation (2026-10-21): the default Windows build on the stated base failed at
ImageArrayWindowPastLayerLimit.cppbecause static alignment 65536 exceeded MinGW COFF's maximum 8192. Merged #8310 fixes that declaration; this is no longer a current-main blocker. The library/test results above retain their stated PR head and base.Rebased onto main
0a5080477f. With the SFNT-name follow-up present, all system libraries rebuilt and the existingguest_freetype,guest_freetype_charmapandguest_freetype_namestests passed (0.08 / 0.07 / 0.07 s). The unrelated alignment failure was reproduced again through its actual CMake test target.No title, PS5 hardware or Linux runtime was tested.
Compatibility validation (2026-10-21): temporarily combined this PR with #8247, #8286, #8289, #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.Rebase audit (2026-10-21): rebased onto main
d099bc6cd8, including the now-merged #8247 and #8289. All system libraries built. A temporary combination of the seven remaining FreeType branches passed all nine tests (0.07 / 0.07 / 0.06 / 0.06 / 0.16 / 0.04 / 0.06 / 0.06 / 0.05 s); all seven branches passed conventions. Temporary integration commits were not published.Merge coordination update (2026-10-23): new #9848 shares the test-registration insertion, with distinct source and tests. Proposed order is #8286 -> #9045 -> #9054 before #9848, retaining all registrations and its Apple import tests. Author confirmation is pending; this is not an implementation dependency.
Agreed documentation order (2026-10-23): #9924 -> #9933 -> #9045 -> #9054, preserving all PostScript metadata and naming entries. The existing #8286 prerequisite is retained. These implementations build independently; this order resolves the shared debt insertion.
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)