You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(libSceFreeType): expose font format and embedding flags - #9090
Add the guest exports FT_Get_X11_Font_Format and FT_Get_FSType_Flags. They query the owned native face, return its driver format string and preserve the full unsigned 16-bit embedding flags. Null handles follow native FreeType. The generated BDF fixture is shared with the charmap-metadata regression.
Both names/NIDs are present in the PS5 3.20 inventory. The modern FT_Get_Font_Format alias is absent there and is not added. Behavior follows bundled FreeType 2.13.3's format service and FSType service. Console signatures, labels, flags and string lifetime remain unverified and are recorded in debt.
This branch builds on #9075; merge it first. #8247 is merged, and the remaining #8286 CMake dependency is ordered by that chain. No competing implementation was found in main or open, closed and merged PR history.
Tested
Windows 11 x64, WinLibs MinGW-w64 GCC 15.2.0 r7, Release, BUILD_TESTING=ON. Main 47fa6eecf8 was merged into the branch before validation.
All system libraries and six FreeType test targets built; all six registered tests passed (0.05 / 0.06 / 0.06 / 0.06 / 0.06 / 0.19 s).
Generated TrueType OS/2 tables check zero, individual, combined and high embedding-flag bits through 0xFFFF; missing OS/2 and non-SFNT BDF faces follow native results. Format labels and pointers are compared with the actual native face, including multiple faces and null/empty handles. Borrowed native format strings remain readable after faces and libraries are destroyed in the test.
Shared BDF-fixture extraction preserves the charmap test's behavior. Strict -Wall -Wextra -Werror source checks and conventions passed.
After restoring this branch, all six tests passed again (0.05 / 0.06 / 0.07 / 0.06 / 0.06 / 0.07 s). The packaged PRX contains aWMUKhiwUbk and H4eyE4ez7O4.
Historical build limitation (2026-10-21): the default Windows build on the stated base failed at ImageArrayWindowPastLayerLimit.cpp because 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.
No title, PS5 hardware or Linux runtime was tested.
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.
Checklist
Based on current main; no other open PR implements the same functions
I opened #9588 for FT_Glyph_Get_CBox. I declared #9090 for merge order because its #9075 -> #9069 -> #9064 chain carries the same outline helpers/tests and shares the CMake/debt insertions. The inherited helper bodies and outline test match #9064 exactly. Retain one copy of those helpers plus the distinct new features.
Confirmed the dependency chain. Merge our branches in this order: #8286, #9064, #9069, #9075, then #9090. #9588 follows those prerequisites together with its other declared dependencies. Keep one copy of the inherited outline helpers/tests while retaining the distinct font-property, outline-mutation, charmap-metadata and glyph-query features.
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.
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
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 the guest exports
FT_Get_X11_Font_FormatandFT_Get_FSType_Flags. They query the owned native face, return its driver format string and preserve the full unsigned 16-bit embedding flags. Null handles follow native FreeType. The generated BDF fixture is shared with the charmap-metadata regression.Both names/NIDs are present in the PS5 3.20 inventory. The modern
FT_Get_Font_Formatalias is absent there and is not added. Behavior follows bundled FreeType 2.13.3's format service and FSType service. Console signatures, labels, flags and string lifetime remain unverified and are recorded in debt.This branch builds on #9075; merge it first. #8247 is merged, and the remaining #8286 CMake dependency is ordered by that chain. No competing implementation was found in main or open, closed and merged PR history.
Tested
Windows 11 x64, WinLibs MinGW-w64 GCC 15.2.0 r7, Release,
BUILD_TESTING=ON. Main47fa6eecf8was merged into the branch before validation.0xFFFF; missing OS/2 and non-SFNT BDF faces follow native results. Format labels and pointers are compared with the actual native face, including multiple faces and null/empty handles. Borrowed native format strings remain readable after faces and libraries are destroyed in the test.-Wall -Wextra -Werrorsource checks and conventions passed.47fa6eecf8. All system libraries and nine FreeType test targets built; all nine registered tests passed (0.23 / 0.16 / 0.08 / 0.07 / 0.07 / 0.06 / 0.07 / 0.08 / 0.12 s). C++ changes merged cleanly; temporary CMake/debt resolutions and merge commits are not published.aWMUKhiwUbkandH4eyE4ez7O4.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.No title, PS5 hardware or Linux runtime was tested.
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.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)