feat(libSceFreeType): add partial bitmap and outline glyph ownership #9465

Merged
Felipebmaitan merged 8 commits from upstream-pr/9465 into main 2026-11-02 07:57:47 +00:00
Felipebmaitan commented 2026-10-21 22:45:58 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Felipebmaitan on 2026-10-21T22:45:58Z.


What

Add partial bitmap/outline implementations of FT_Get_Glyph, FT_Glyph_Copy and FT_Done_Glyph to the FreeType guest bridge. Callers can retain glyphs independently of slot reloads and face destruction, create independent copies, and release each glyph separately.

The adapter exposes LP64 root, bitmap and outline records with layout assertions, copies guest-visible fields and preserves native bitmap ownership transfer, validation order and output-pointer state on errors. Outline coordinates remain 64-bit even where native FT_Pos is 32-bit.

Names and NIDs follow the PS5 3.20 export inventory: FT_Get_Glyph / eMKHL+Cj50k, FT_Glyph_Copy / Dr3F3qrSQ2c, and FT_Done_Glyph / RdrrejUMiJ0. The original contract reference is FreeType 2.13.3 ftglyph.c. Console ABI/version equivalence remains unverified and recorded in debt. SVG/custom classes, foreign handles and unsupported ownership changes throw. Release glyphs before their library. The exports remain partial implementations.

Merged main 4ac683fe026c3368e508ace9745d3017e12a1207 into live head 66a9f90ab9059de487e9a43cb9625428fa891344 for the November 1 maintainer request, preserving the existing branch history. The only conflict was docs/dev/debt/libSceFreeTypeOt.md: retained main's independent notes and the glyph-copy alias note, and recounted 72 unknown helpers from the merged Export.cpp definitions. Production Glyph.cpp and GuestFreeTypeGlyph.cpp are byte-identical to the incoming head, including checked signed/unsigned conversions, full-width outline coordinates, ownership/lifetime contracts and the corrected comparison against native FreeType 2.15.0 bitmap aliasing. No unrelated PR branch was changed.

Both #9398 and #9399 are merged and included through main; no outstanding predecessor reservation remains. #9588 remains downstream of this ownership PR.

Tested

Fresh integration verification on macOS arm64, Apple Clang 21.0.0, targeting x86-64, 2026-11-01; submitted merge head 9434fea162948340aa9d1c58e5ffd7713b82a4b8:

  • Built pinned FreeType 37515cf56ba3349656049edbed89ffc6f6466f2d (2.15.0) from source with CMake/Ninja, Release, two compiler jobs, matching the project's disabled optional FreeType dependencies.
  • Strict -std=c++20 -Wall -Wextra -Werror -Wno-return-type-c-linkage -fsyntax-only checks pass for 22 translation units: every FreeType bridge source, both provider export files and the corrected glyph regression. The Clang suppression covers existing C-linkage declarations in General.hpp. Glyph.cpp also compiles to an optimized x86-64 Mach-O object. These checks do not link or execute the guest runtime.
  • Public-header declaration audit passes: 399 libraries, 26,753 exports. All 9 selected compilation units pass: every FreeType/OpenType standalone public header plus the combined library umbrellas, compiled through test_public_headers.py with two workers. This is not the complete header compilation suite.
  • Conventions pass against both origin/main and the immutable merged main snapshot; PR-diff whitespace checks pass. Glyph production and regression files are byte-identical to incoming 66a9f90ab9; the merge retains the complete history and all independent main debt entries.
  • Merge preflight is clean against later main 69bfe767857056b99c2369fcb015498860332213; its intervening changes touch none of the FreeType/OpenType source or debt files. Fresh compilation covers the integrated 4ac683fe026 snapshot.
  • python3 tools/pr_overlap.py --repo boykopovar/AnyPS5 --branch fix/pr-9465-glyph-main-nov01 --jobs 2 scanned the exact submitted merge head against main 4ac683fe026, using isolated Git metadata. It fetched 1,849 candidate heads and probed 1,848 non-ancestor PRs. Automatic comparison exited 2 because four PRs conflict with main. Manually inspected all reported shared-file patches for #10606 (library references), #12004/#12373 (allocation/reallocation) and #14212 (debt formatting/count removal): they do not add these glyph ownership functions. Confirmed overlaps are downstream #9588 and shared OpenType debt insertions. This is not a claim that every other PR merges cleanly; the complete report is in the refresh reply.
  • Fresh Linux/Windows guest runtime tests and full runtime/library packaging were not run on this macOS machine. The historical Windows 22/22 runtime and public-header results below remain evidence for their stated prior head only.

Historical Windows verification (preserved from the October 30 refresh response):

Windows x86-64, WinLibs MinGW-w64 GCC 15.2.0, Release, BUILD_TESTING=ON, source-built pinned dependencies, on 2026-10-29. Integrated main 1189ec3003672bb364dd9f3119ead7b3976e3c83; tested submitted head 66a9f90ab9059de487e9a43cb9625428fa891344. Current FreeType submodule 37515cf56ba3349656049edbed89ffc6f6466f2d reports 2.15.0.

  • Full-project configuration and the 21 selected targets built successfully with at most two compiler jobs: the bridge and its dependencies, 16 FreeType test executables (including advances, glyph, bitmap/outline and stroker), four font/lifetime executables and the OpenType provider. All build/runtime/artifact output stayed in this bound worktree. This is not a complete libs build.
  • The initial integration runtime run passed 21/22 and exposed the old bitmap-transfer assertion. The corrected regression passes against native 2.15.0 while retaining lifetime and independent-copy coverage. The complete final focused runtime run passed 22/22, zero failures/skips, 20.90 s total, using ctest --test-dir build -R <selected names> -V --timeout 30 --no-tests=error.
  • Public-header declaration audit: 373 libraries and 14,010 exports verified, 1/1 CTest passed (66.99 s within its existing 90 s timeout). Using that unchanged-header manifest, ctest --test-dir build -R '^public_headers_compile_(13|14|17|18|19|26)$' -FA public_headers_manifest -j 2 -V --no-tests=error: 6/6 batches passed, 18.21 s. These cover every FreeType/OpenType public header and the combined library-umbrella compilation unit; this is not all 64 compilation batches.
  • python tools/check_conventions.py --base origin/main, git diff origin/main...HEAD --check and git diff --check pass. All CMake/API lines from the integrated main are retained; production Glyph.cpp is byte-identical to incoming 7f3a3a3f39.
  • python tools/pr_overlap.py --repo boykopovar/AnyPS5 --branch review/pr-9465-refresh-20261029 --jobs 2 completed for code/test/header-identical head 6a00e9b9961cea75092e34f76c62ae6a1c07cc55 using isolated Git metadata inside ignored artifacts after a shared-ref fetch race. All 1,435 candidate heads were probed. The submitted head differs from that scan only in documentation. Downstream #9588 carries these glyph exports/files by design. Other shared-file/debt conflicts and uncomparable PRs remain in the report; this is not a claim of no overlap. No unmerged implementation was imported or other PR branch edited. The full report is included in the refresh response.
  • A final merge-tree preflight against fetched main 08a10d225306ad102b57408e2ef7566bcfb829b2 was clean. Runtime evidence covers the integrated 1189ec30036 snapshot, not later main changes.

Not run on this submitted head: Linux/macOS execution, PS5 hardware, a title, the complete CTest suite, full library packaging/loader tests, or all public-header compilation batches. Older Windows/Linux/Clang reports belong to their explicitly stated historical heads in the review history.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4959373354 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9465). Originally posted by [Felipebmaitan](https://github.com/Felipebmaitan) on 2026-10-21T22:45:58Z. --- ### What Add partial bitmap/outline implementations of `FT_Get_Glyph`, `FT_Glyph_Copy` and `FT_Done_Glyph` to the FreeType guest bridge. Callers can retain glyphs independently of slot reloads and face destruction, create independent copies, and release each glyph separately. The adapter exposes LP64 root, bitmap and outline records with layout assertions, copies guest-visible fields and preserves native bitmap ownership transfer, validation order and output-pointer state on errors. Outline coordinates remain 64-bit even where native `FT_Pos` is 32-bit. Names and NIDs follow the [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceFreeTypeOt.c): `FT_Get_Glyph` / `eMKHL+Cj50k`, `FT_Glyph_Copy` / `Dr3F3qrSQ2c`, and `FT_Done_Glyph` / `RdrrejUMiJ0`. The original contract reference is [FreeType 2.13.3 ftglyph.c](https://github.com/freetype/freetype/blob/42608f77f20749dd6ddc9e0536788eaad70ea4b5/src/base/ftglyph.c). Console ABI/version equivalence remains unverified and recorded in debt. SVG/custom classes, foreign handles and unsupported ownership changes throw. Release glyphs before their library. The exports remain partial implementations. Merged main `4ac683fe026c3368e508ace9745d3017e12a1207` into live head `66a9f90ab9059de487e9a43cb9625428fa891344` for the [November 1 maintainer request](https://github.com/boykopovar/AnyPS5/pull/9465#issuecomment-6556331963), preserving the existing branch history. The only conflict was `docs/dev/debt/libSceFreeTypeOt.md`: retained main's independent notes and the glyph-copy alias note, and recounted **72** unknown helpers from the merged `Export.cpp` definitions. Production `Glyph.cpp` and `GuestFreeTypeGlyph.cpp` are byte-identical to the incoming head, including checked signed/unsigned conversions, full-width outline coordinates, ownership/lifetime contracts and the corrected comparison against native FreeType 2.15.0 bitmap aliasing. No unrelated PR branch was changed. Both #9398 and #9399 are merged and included through main; no outstanding predecessor reservation remains. #9588 remains downstream of this ownership PR. ### Tested Fresh integration verification on macOS arm64, Apple Clang 21.0.0, targeting x86-64, 2026-11-01; submitted merge head `9434fea162948340aa9d1c58e5ffd7713b82a4b8`: - Built pinned FreeType `37515cf56ba3349656049edbed89ffc6f6466f2d` (2.15.0) from source with CMake/Ninja, Release, two compiler jobs, matching the project's disabled optional FreeType dependencies. - Strict `-std=c++20 -Wall -Wextra -Werror -Wno-return-type-c-linkage -fsyntax-only` checks pass for **22 translation units**: every FreeType bridge source, both provider export files and the corrected glyph regression. The Clang suppression covers existing C-linkage declarations in `General.hpp`. `Glyph.cpp` also compiles to an optimized x86-64 Mach-O object. These checks do not link or execute the guest runtime. - Public-header declaration audit passes: **399 libraries, 26,753 exports**. All **9** selected compilation units pass: every FreeType/OpenType standalone public header plus the combined library umbrellas, compiled through `test_public_headers.py` with two workers. This is not the complete header compilation suite. - Conventions pass against both `origin/main` and the immutable merged main snapshot; PR-diff whitespace checks pass. Glyph production and regression files are byte-identical to incoming `66a9f90ab9`; the merge retains the complete history and all independent main debt entries. - Merge preflight is clean against later main `69bfe767857056b99c2369fcb015498860332213`; its intervening changes touch none of the FreeType/OpenType source or debt files. Fresh compilation covers the integrated `4ac683fe026` snapshot. - `python3 tools/pr_overlap.py --repo boykopovar/AnyPS5 --branch fix/pr-9465-glyph-main-nov01 --jobs 2` scanned the exact submitted merge head against main `4ac683fe026`, using isolated Git metadata. It fetched 1,849 candidate heads and probed 1,848 non-ancestor PRs. Automatic comparison exited 2 because four PRs conflict with main. Manually inspected all reported shared-file patches for #10606 (library references), #12004/#12373 (allocation/reallocation) and #14212 (debt formatting/count removal): they do not add these glyph ownership functions. Confirmed overlaps are downstream #9588 and shared OpenType debt insertions. This is not a claim that every other PR merges cleanly; the complete report is in the refresh reply. - Fresh Linux/Windows guest runtime tests and full runtime/library packaging were not run on this macOS machine. The historical Windows **22/22** runtime and public-header results below remain evidence for their stated prior head only. Historical Windows verification (preserved from the October 30 refresh response): Windows x86-64, WinLibs MinGW-w64 GCC 15.2.0, Release, `BUILD_TESTING=ON`, source-built pinned dependencies, on 2026-10-29. Integrated main `1189ec3003672bb364dd9f3119ead7b3976e3c83`; tested submitted head `66a9f90ab9059de487e9a43cb9625428fa891344`. Current FreeType submodule `37515cf56ba3349656049edbed89ffc6f6466f2d` reports 2.15.0. - Full-project configuration and the 21 selected targets built successfully with at most two compiler jobs: the bridge and its dependencies, 16 FreeType test executables (including advances, glyph, bitmap/outline and stroker), four font/lifetime executables and the OpenType provider. All build/runtime/artifact output stayed in this bound worktree. This is not a complete `libs` build. - The initial integration runtime run passed 21/22 and exposed the old bitmap-transfer assertion. The corrected regression passes against native 2.15.0 while retaining lifetime and independent-copy coverage. The complete final focused runtime run passed **22/22**, zero failures/skips, 20.90 s total, using `ctest --test-dir build -R <selected names> -V --timeout 30 --no-tests=error`. - Public-header declaration audit: **373 libraries and 14,010 exports** verified, 1/1 CTest passed (66.99 s within its existing 90 s timeout). Using that unchanged-header manifest, `ctest --test-dir build -R '^public_headers_compile_(13|14|17|18|19|26)$' -FA public_headers_manifest -j 2 -V --no-tests=error`: **6/6 batches passed**, 18.21 s. These cover every FreeType/OpenType public header and the combined library-umbrella compilation unit; this is not all 64 compilation batches. - `python tools/check_conventions.py --base origin/main`, `git diff origin/main...HEAD --check` and `git diff --check` pass. All CMake/API lines from the integrated main are retained; production `Glyph.cpp` is byte-identical to incoming `7f3a3a3f39`. - `python tools/pr_overlap.py --repo boykopovar/AnyPS5 --branch review/pr-9465-refresh-20261029 --jobs 2` completed for code/test/header-identical head `6a00e9b9961cea75092e34f76c62ae6a1c07cc55` using isolated Git metadata inside ignored artifacts after a shared-ref fetch race. All 1,435 candidate heads were probed. The submitted head differs from that scan only in documentation. Downstream #9588 carries these glyph exports/files by design. Other shared-file/debt conflicts and uncomparable PRs remain in the report; this is not a claim of no overlap. No unmerged implementation was imported or other PR branch edited. The full report is included in the refresh response. - A final merge-tree preflight against fetched main `08a10d225306ad102b57408e2ef7566bcfb829b2` was clean. Runtime evidence covers the integrated `1189ec30036` snapshot, not later main changes. Not run on this submitted head: Linux/macOS execution, PS5 hardware, a title, the complete CTest suite, full library packaging/loader tests, or all public-header compilation batches. Older Windows/Linux/Clang reports belong to their explicitly stated historical heads in the review history. <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none <!-- #PR, or none --> - [x] Fixes: none <!-- issue it closes as Fixes #N, or none --> - [x] Unblocks: none <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> - [x] GPUs tested: n/a <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> - [x] AI-assisted: yes <!-- yes / no -->
MarcZX10 commented 2026-10-21 22:49:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-21T22:49:18Z.

Code review location: core/libs/prx/libSceFreeType/src/Glyph.cpp; line 67

@@ -0,0 +1,195 @@
+#include "prx/libSceFreeType/include/GuestObjects.hpp"
+#include "prx/libc/include/General.hpp"
+
+#include FT_GLYPH_H
+
+#include <algorithm>
+#include <limits>
+#include <mutex>
+#include <unordered_map>
+
+using namespace FreeType;
+
+namespace {
+
+struct Glyph {
+    GuestOutlineGlyphRec outline{};
+    GuestBitmapGlyphRec bitmap{};
+    GuestLibrary* library = nullptr;
+    bool isBitmap = false;
+    std::unique_ptr<FT_GlyphRec, decltype(&FT_Done_Glyph)> host{nullptr, &FT_Done_Glyph};
+    std::vector<GuestVector> points;
+
+    GuestGlyphRec* Root() { return isBitmap ? &bitmap.root : &outline.root; }
+
+    void Publish() {
+        *Root() = {library, host->clazz, static_cast<std::uint32_t>(host->format), {host->advance.x, host->advance.y}};
+        if (isBitmap) {
+            const auto* native = reinterpret_cast<FT_BitmapGlyph>(host.get());
+            bitmap.left = native->left;
+            bitmap.top = native->top;
+            const auto& image = native->bitmap;
+            bitmap.bitmap = {image.rows, image.width, image.pitch, image.buffer, image.num_grays, image.pixel_mode, image.palette_mode, image.palette};
+        } else {
+            const auto& native = reinterpret_cast<FT_OutlineGlyph>(host.get())->outline;
+            for (std::size_t index = 0; index < points.size(); ++index) points[index] = {native.points[index].x, native.points[index].y};
+            outline.outline = {native.n_contours, native.n_points, points.empty() ? nullptr : points.data(), native.tags, native.contours, native.flags};
+        }
+    }
+};
+
+std::mutex glyphMutex;
+std::unordered_map<GuestGlyphRec*, std::unique_ptr<Glyph>> glyphs;
+
+FT_Pos Position(std::int64_t value, const char* function) {
+    if (value < std::numeric_limits<FT_Pos>::min() || value > std::numeric_limits<FT_Pos>::max()) NotImplemented_nid_no_patch(function);
+    return static_cast<FT_Pos>(value);
+}
+
+FT_Vector Advance(const GuestVector& advance) {
+    constexpr std::int64_t limit = 0x200000;
+    return {static_cast<FT_Pos>(std::clamp(advance.x, -limit, limit)), static_cast<FT_Pos>(std::clamp(advance.y, -limit, limit))};
+}
+
+bool ValidAdvance(const GuestVector& advance) {
+    return advance.x > -0x200000 && advance.x < 0x200000 && advance.y > -0x200000 && advance.y < 0x200000;
+}
+
+FT_Bitmap Bitmap(const GuestBitmap& bitmap) {
+    return {bitmap.rows, bitmap.width, bitmap.pitch, bitmap.buffer, bitmap.num_grays, bitmap.pixel_mode, bitmap.palette_mode, bitmap.palette};
+}
+
+struct Outline {
+    FT_Outline native{};
+    std::vector<FT_Vector> points;
+
+    Outline(const GuestOutline& outline, const char* function) {
+        native = {outline.n_contours, outline.n_points, nullptr, outline.tags, outline.contours, outline.flags};

This source currently fails a direct Linux syntax compile against FreeType headers. I ran c++ -std=c++20 -fsyntax-only -Icore/libs -Icore/libs/prx/libc/include -I/usr/include/freetype2 core/libs/prx/libSceFreeType/src/Glyph.cpp (host FreeType 2.13.18). It reports an invalid list assignment here and at Glyph::Publish line 36: FT_Outline::n_contours/n_points are signed short, while the guest fields are uint16_t. It also rejects the pointer comparisons at line 189 (char* vs unsigned char*, short* vs uint16_t*). The pinned FreeType 2.13.3 FT_Outline uses the same signed fields/pointers. Please add explicit checked conversions and compatible pointer comparisons, then run this focused compile (or the real target) so the new source is compiled.

<!-- greyfinch-sync:boykopovar/AnyPS5:review-comment:4342765528 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9465#discussion_r4342765528). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-21T22:49:18Z. **Code review location:** `core/libs/prx/libSceFreeType/src/Glyph.cpp`; line 67 ~~~~diff @@ -0,0 +1,195 @@ +#include "prx/libSceFreeType/include/GuestObjects.hpp" +#include "prx/libc/include/General.hpp" + +#include FT_GLYPH_H + +#include <algorithm> +#include <limits> +#include <mutex> +#include <unordered_map> + +using namespace FreeType; + +namespace { + +struct Glyph { + GuestOutlineGlyphRec outline{}; + GuestBitmapGlyphRec bitmap{}; + GuestLibrary* library = nullptr; + bool isBitmap = false; + std::unique_ptr<FT_GlyphRec, decltype(&FT_Done_Glyph)> host{nullptr, &FT_Done_Glyph}; + std::vector<GuestVector> points; + + GuestGlyphRec* Root() { return isBitmap ? &bitmap.root : &outline.root; } + + void Publish() { + *Root() = {library, host->clazz, static_cast<std::uint32_t>(host->format), {host->advance.x, host->advance.y}}; + if (isBitmap) { + const auto* native = reinterpret_cast<FT_BitmapGlyph>(host.get()); + bitmap.left = native->left; + bitmap.top = native->top; + const auto& image = native->bitmap; + bitmap.bitmap = {image.rows, image.width, image.pitch, image.buffer, image.num_grays, image.pixel_mode, image.palette_mode, image.palette}; + } else { + const auto& native = reinterpret_cast<FT_OutlineGlyph>(host.get())->outline; + for (std::size_t index = 0; index < points.size(); ++index) points[index] = {native.points[index].x, native.points[index].y}; + outline.outline = {native.n_contours, native.n_points, points.empty() ? nullptr : points.data(), native.tags, native.contours, native.flags}; + } + } +}; + +std::mutex glyphMutex; +std::unordered_map<GuestGlyphRec*, std::unique_ptr<Glyph>> glyphs; + +FT_Pos Position(std::int64_t value, const char* function) { + if (value < std::numeric_limits<FT_Pos>::min() || value > std::numeric_limits<FT_Pos>::max()) NotImplemented_nid_no_patch(function); + return static_cast<FT_Pos>(value); +} + +FT_Vector Advance(const GuestVector& advance) { + constexpr std::int64_t limit = 0x200000; + return {static_cast<FT_Pos>(std::clamp(advance.x, -limit, limit)), static_cast<FT_Pos>(std::clamp(advance.y, -limit, limit))}; +} + +bool ValidAdvance(const GuestVector& advance) { + return advance.x > -0x200000 && advance.x < 0x200000 && advance.y > -0x200000 && advance.y < 0x200000; +} + +FT_Bitmap Bitmap(const GuestBitmap& bitmap) { + return {bitmap.rows, bitmap.width, bitmap.pitch, bitmap.buffer, bitmap.num_grays, bitmap.pixel_mode, bitmap.palette_mode, bitmap.palette}; +} + +struct Outline { + FT_Outline native{}; + std::vector<FT_Vector> points; + + Outline(const GuestOutline& outline, const char* function) { + native = {outline.n_contours, outline.n_points, nullptr, outline.tags, outline.contours, outline.flags}; ~~~~ --- This source currently fails a direct Linux syntax compile against FreeType headers. I ran `c++ -std=c++20 -fsyntax-only -Icore/libs -Icore/libs/prx/libc/include -I/usr/include/freetype2 core/libs/prx/libSceFreeType/src/Glyph.cpp` (host FreeType 2.13.18). It reports an invalid list assignment here and at `Glyph::Publish` line 36: `FT_Outline::n_contours/n_points` are signed `short`, while the guest fields are `uint16_t`. It also rejects the pointer comparisons at line 189 (`char*` vs `unsigned char*`, `short*` vs `uint16_t*`). The pinned FreeType 2.13.3 `FT_Outline` uses the same signed fields/pointers. Please add explicit checked conversions and compatible pointer comparisons, then run this focused compile (or the real target) so the new source is compiled.
MarcZX10 commented 2026-10-21 22:49:20 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-21T22:49:20Z.

Review: CHANGES_REQUESTED


Requesting one blocking fix: Glyph.cpp does not compile because its FT_Outline aggregate conversions and pointer comparisons conflict with FreeType field types. I left an inline comment with the exact direct-compile command and diagnostics. The PR’s hosted eligibility, intake, conventions, labels and report checks are green, but all build jobs are skipped, so they did not exercise the new source.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5607171586 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9465#pullrequestreview-5607171586). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-21T22:49:20Z. **Review:** CHANGES_REQUESTED --- Requesting one blocking fix: `Glyph.cpp` does not compile because its `FT_Outline` aggregate conversions and pointer comparisons conflict with FreeType field types. I left an inline comment with the exact direct-compile command and diagnostics. The PR’s hosted eligibility, intake, conventions, labels and report checks are green, but all build jobs are skipped, so they did not exercise the new source.
MarcZX10 commented 2026-10-21 22:56:52 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-21T22:56:52Z.

Review: CHANGES_REQUESTED


I recompiled the new head 65dd86603589ba446a3703487bc2ef2a3b50e8d6; the reported compile blockers remain. With the same focused command against FreeType 2.13.18 headers, Glyph.cpp still fails at the GuestOutline aggregate assignment in Glyph::Publish, the FT_Outline aggregate assignment in Outline, and comparisons between unsigned char*/char* and uint16_t*/signed short* in FT_Done_Glyph. Please use explicit, checked field conversions and compatible pointer handling, then rerun the syntax compile. Hosted eligibility and conventions pass on the new head; all build jobs are skipped, so CI has not exercised this source.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5607228539 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9465#pullrequestreview-5607228539). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-21T22:56:52Z. **Review:** CHANGES_REQUESTED --- I recompiled the new head `65dd86603589ba446a3703487bc2ef2a3b50e8d6`; the reported compile blockers remain. With the same focused command against FreeType 2.13.18 headers, `Glyph.cpp` still fails at the `GuestOutline` aggregate assignment in `Glyph::Publish`, the `FT_Outline` aggregate assignment in `Outline`, and comparisons between `unsigned char*`/`char*` and `uint16_t*`/signed `short*` in `FT_Done_Glyph`. Please use explicit, checked field conversions and compatible pointer handling, then rerun the syntax compile. Hosted eligibility and conventions pass on the new head; all build jobs are skipped, so CI has not exercised this source.
Felipebmaitan commented 2026-10-21 23:03:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Felipebmaitan on 2026-10-21T23:03:18Z.

Code review location: core/libs/prx/libSceFreeType/src/Glyph.cpp; line 67

@@ -0,0 +1,195 @@
+#include "prx/libSceFreeType/include/GuestObjects.hpp"
+#include "prx/libc/include/General.hpp"
+
+#include FT_GLYPH_H
+
+#include <algorithm>
+#include <limits>
+#include <mutex>
+#include <unordered_map>
+
+using namespace FreeType;
+
+namespace {
+
+struct Glyph {
+    GuestOutlineGlyphRec outline{};
+    GuestBitmapGlyphRec bitmap{};
+    GuestLibrary* library = nullptr;
+    bool isBitmap = false;
+    std::unique_ptr<FT_GlyphRec, decltype(&FT_Done_Glyph)> host{nullptr, &FT_Done_Glyph};
+    std::vector<GuestVector> points;
+
+    GuestGlyphRec* Root() { return isBitmap ? &bitmap.root : &outline.root; }
+
+    void Publish() {
+        *Root() = {library, host->clazz, static_cast<std::uint32_t>(host->format), {host->advance.x, host->advance.y}};
+        if (isBitmap) {
+            const auto* native = reinterpret_cast<FT_BitmapGlyph>(host.get());
+            bitmap.left = native->left;
+            bitmap.top = native->top;
+            const auto& image = native->bitmap;
+            bitmap.bitmap = {image.rows, image.width, image.pitch, image.buffer, image.num_grays, image.pixel_mode, image.palette_mode, image.palette};
+        } else {
+            const auto& native = reinterpret_cast<FT_OutlineGlyph>(host.get())->outline;
+            for (std::size_t index = 0; index < points.size(); ++index) points[index] = {native.points[index].x, native.points[index].y};
+            outline.outline = {native.n_contours, native.n_points, points.empty() ? nullptr : points.data(), native.tags, native.contours, native.flags};
+        }
+    }
+};
+
+std::mutex glyphMutex;
+std::unordered_map<GuestGlyphRec*, std::unique_ptr<Glyph>> glyphs;
+
+FT_Pos Position(std::int64_t value, const char* function) {
+    if (value < std::numeric_limits<FT_Pos>::min() || value > std::numeric_limits<FT_Pos>::max()) NotImplemented_nid_no_patch(function);
+    return static_cast<FT_Pos>(value);
+}
+
+FT_Vector Advance(const GuestVector& advance) {
+    constexpr std::int64_t limit = 0x200000;
+    return {static_cast<FT_Pos>(std::clamp(advance.x, -limit, limit)), static_cast<FT_Pos>(std::clamp(advance.y, -limit, limit))};
+}
+
+bool ValidAdvance(const GuestVector& advance) {
+    return advance.x > -0x200000 && advance.x < 0x200000 && advance.y > -0x200000 && advance.y < 0x200000;
+}
+
+FT_Bitmap Bitmap(const GuestBitmap& bitmap) {
+    return {bitmap.rows, bitmap.width, bitmap.pitch, bitmap.buffer, bitmap.num_grays, bitmap.pixel_mode, bitmap.palette_mode, bitmap.palette};
+}
+
+struct Outline {
+    FT_Outline native{};
+    std::vector<FT_Vector> points;
+
+    Outline(const GuestOutline& outline, const char* function) {
+        native = {outline.n_contours, outline.n_points, nullptr, outline.tags, outline.contours, outline.flags};

Fixed in 9d667e1c9.

The adapter now checks outline counts before converting in either direction, explicitly adapts the signed/unsigned tag and contour array views, and compares their addresses through const void*. Unrepresentable counts throw rather than wrap, with the limitation recorded in debt. Added reference tests for maximum representable point counts and preservation of high-bit tag/contour data, plus rejection tests for counts beyond signed host limits.

I reproduced the old head's errors using installed FreeType 2.13.2 headers. Our pinned 2.13.3 checkout uses unsigned outline fields, which explains why the earlier bundled build did not catch this header variant.

Validation on Linux x86-64/GCC 13.3:

  • Your focused syntax command now passes; both the adapter and glyph test also pass with -Wall -Wextra -Werror against installed signed-field headers and pinned unsigned-field headers.
  • The full bundled libs build passes, and all 10 focused font/FreeType/loader runtime tests pass.
  • A supplemental runtime build compiles the adapter and glyph test with installed headers, reuses the unchanged project-built face/slot bridge objects, and relinks against system FreeType 2.13.2. The glyph test passes, including signed-count overflow rejection. This is a focused compatibility test, not a full system-dependency build.

Windows and PS5 remain untested. The PR description has the updated validation details.

<!-- greyfinch-sync:boykopovar/AnyPS5:review-comment:4342872482 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9465#discussion_r4342872482). Originally posted by [Felipebmaitan](https://github.com/Felipebmaitan) on 2026-10-21T23:03:18Z. **Code review location:** `core/libs/prx/libSceFreeType/src/Glyph.cpp`; line 67 ~~~~diff @@ -0,0 +1,195 @@ +#include "prx/libSceFreeType/include/GuestObjects.hpp" +#include "prx/libc/include/General.hpp" + +#include FT_GLYPH_H + +#include <algorithm> +#include <limits> +#include <mutex> +#include <unordered_map> + +using namespace FreeType; + +namespace { + +struct Glyph { + GuestOutlineGlyphRec outline{}; + GuestBitmapGlyphRec bitmap{}; + GuestLibrary* library = nullptr; + bool isBitmap = false; + std::unique_ptr<FT_GlyphRec, decltype(&FT_Done_Glyph)> host{nullptr, &FT_Done_Glyph}; + std::vector<GuestVector> points; + + GuestGlyphRec* Root() { return isBitmap ? &bitmap.root : &outline.root; } + + void Publish() { + *Root() = {library, host->clazz, static_cast<std::uint32_t>(host->format), {host->advance.x, host->advance.y}}; + if (isBitmap) { + const auto* native = reinterpret_cast<FT_BitmapGlyph>(host.get()); + bitmap.left = native->left; + bitmap.top = native->top; + const auto& image = native->bitmap; + bitmap.bitmap = {image.rows, image.width, image.pitch, image.buffer, image.num_grays, image.pixel_mode, image.palette_mode, image.palette}; + } else { + const auto& native = reinterpret_cast<FT_OutlineGlyph>(host.get())->outline; + for (std::size_t index = 0; index < points.size(); ++index) points[index] = {native.points[index].x, native.points[index].y}; + outline.outline = {native.n_contours, native.n_points, points.empty() ? nullptr : points.data(), native.tags, native.contours, native.flags}; + } + } +}; + +std::mutex glyphMutex; +std::unordered_map<GuestGlyphRec*, std::unique_ptr<Glyph>> glyphs; + +FT_Pos Position(std::int64_t value, const char* function) { + if (value < std::numeric_limits<FT_Pos>::min() || value > std::numeric_limits<FT_Pos>::max()) NotImplemented_nid_no_patch(function); + return static_cast<FT_Pos>(value); +} + +FT_Vector Advance(const GuestVector& advance) { + constexpr std::int64_t limit = 0x200000; + return {static_cast<FT_Pos>(std::clamp(advance.x, -limit, limit)), static_cast<FT_Pos>(std::clamp(advance.y, -limit, limit))}; +} + +bool ValidAdvance(const GuestVector& advance) { + return advance.x > -0x200000 && advance.x < 0x200000 && advance.y > -0x200000 && advance.y < 0x200000; +} + +FT_Bitmap Bitmap(const GuestBitmap& bitmap) { + return {bitmap.rows, bitmap.width, bitmap.pitch, bitmap.buffer, bitmap.num_grays, bitmap.pixel_mode, bitmap.palette_mode, bitmap.palette}; +} + +struct Outline { + FT_Outline native{}; + std::vector<FT_Vector> points; + + Outline(const GuestOutline& outline, const char* function) { + native = {outline.n_contours, outline.n_points, nullptr, outline.tags, outline.contours, outline.flags}; ~~~~ --- Fixed in 9d667e1c9. The adapter now checks outline counts before converting in either direction, explicitly adapts the signed/unsigned tag and contour array views, and compares their addresses through `const void*`. Unrepresentable counts throw rather than wrap, with the limitation recorded in debt. Added reference tests for maximum representable point counts and preservation of high-bit tag/contour data, plus rejection tests for counts beyond signed host limits. I reproduced the old head's errors using installed FreeType 2.13.2 headers. Our pinned 2.13.3 checkout uses unsigned outline fields, which explains why the earlier bundled build did not catch this header variant. Validation on Linux x86-64/GCC 13.3: - Your focused syntax command now passes; both the adapter and glyph test also pass with `-Wall -Wextra -Werror` against installed signed-field headers and pinned unsigned-field headers. - The full bundled `libs` build passes, and all 10 focused font/FreeType/loader runtime tests pass. - A supplemental runtime build compiles the adapter and glyph test with installed headers, reuses the unchanged project-built face/slot bridge objects, and relinks against system FreeType 2.13.2. The glyph test passes, including signed-count overflow rejection. This is a focused compatibility test, not a full system-dependency build. Windows and PS5 remain untested. The PR description has the updated validation details.
Felipebmaitan commented 2026-10-21 23:52:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Felipebmaitan on 2026-10-21T23:52:57Z.

Code review location: core/libs/prx/libSceFreeType/src/Glyph.cpp; line 67

@@ -0,0 +1,195 @@
+#include "prx/libSceFreeType/include/GuestObjects.hpp"
+#include "prx/libc/include/General.hpp"
+
+#include FT_GLYPH_H
+
+#include <algorithm>
+#include <limits>
+#include <mutex>
+#include <unordered_map>
+
+using namespace FreeType;
+
+namespace {
+
+struct Glyph {
+    GuestOutlineGlyphRec outline{};
+    GuestBitmapGlyphRec bitmap{};
+    GuestLibrary* library = nullptr;
+    bool isBitmap = false;
+    std::unique_ptr<FT_GlyphRec, decltype(&FT_Done_Glyph)> host{nullptr, &FT_Done_Glyph};
+    std::vector<GuestVector> points;
+
+    GuestGlyphRec* Root() { return isBitmap ? &bitmap.root : &outline.root; }
+
+    void Publish() {
+        *Root() = {library, host->clazz, static_cast<std::uint32_t>(host->format), {host->advance.x, host->advance.y}};
+        if (isBitmap) {
+            const auto* native = reinterpret_cast<FT_BitmapGlyph>(host.get());
+            bitmap.left = native->left;
+            bitmap.top = native->top;
+            const auto& image = native->bitmap;
+            bitmap.bitmap = {image.rows, image.width, image.pitch, image.buffer, image.num_grays, image.pixel_mode, image.palette_mode, image.palette};
+        } else {
+            const auto& native = reinterpret_cast<FT_OutlineGlyph>(host.get())->outline;
+            for (std::size_t index = 0; index < points.size(); ++index) points[index] = {native.points[index].x, native.points[index].y};
+            outline.outline = {native.n_contours, native.n_points, points.empty() ? nullptr : points.data(), native.tags, native.contours, native.flags};
+        }
+    }
+};
+
+std::mutex glyphMutex;
+std::unordered_map<GuestGlyphRec*, std::unique_ptr<Glyph>> glyphs;
+
+FT_Pos Position(std::int64_t value, const char* function) {
+    if (value < std::numeric_limits<FT_Pos>::min() || value > std::numeric_limits<FT_Pos>::max()) NotImplemented_nid_no_patch(function);
+    return static_cast<FT_Pos>(value);
+}
+
+FT_Vector Advance(const GuestVector& advance) {
+    constexpr std::int64_t limit = 0x200000;
+    return {static_cast<FT_Pos>(std::clamp(advance.x, -limit, limit)), static_cast<FT_Pos>(std::clamp(advance.y, -limit, limit))};
+}
+
+bool ValidAdvance(const GuestVector& advance) {
+    return advance.x > -0x200000 && advance.x < 0x200000 && advance.y > -0x200000 && advance.y < 0x200000;
+}
+
+FT_Bitmap Bitmap(const GuestBitmap& bitmap) {
+    return {bitmap.rows, bitmap.width, bitmap.pitch, bitmap.buffer, bitmap.num_grays, bitmap.pixel_mode, bitmap.palette_mode, bitmap.palette};
+}
+
+struct Outline {
+    FT_Outline native{};
+    std::vector<FT_Vector> points;
+
+    Outline(const GuestOutline& outline, const char* function) {
+        native = {outline.n_contours, outline.n_points, nullptr, outline.tags, outline.contours, outline.flags};

Independently rechecked the current head 9d667e1c929d5415a1a6d8d434a867c2c5ab8fcb on Windows x86-64 with the supported WinLibs GCC 15.2.0 toolchain.

The previous head 65dd866 reproduces all reported aggregate-assignment and pointer-comparison failures against the official FreeType 2.13.2 signed-field headers. On the current head, both new C++ files pass -std=c++20 -Wall -Wextra -Werror -fsyntax-only against those headers and against the pinned bundled headers.

A fresh full-project Release configuration compiled and linked the actual FreeType bridge, its libc/libkernel dependencies, the font libraries and the focused test executables. All 9 font/FreeType runtime tests pass, including guest_freetype_glyph, with no skips (0.74 s total). This was a focused target build; the full Windows libs target and patched-library loader were not run. Conventions and git diff --check also pass.

No further source changes were needed. The PR description now includes this Windows verification. Resolving this compile-error thread as addressed by the existing fix; hosted full builds remain skipped and the declared #9399 merge ordering still applies.

<!-- greyfinch-sync:boykopovar/AnyPS5:review-comment:4343173455 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9465#discussion_r4343173455). Originally posted by [Felipebmaitan](https://github.com/Felipebmaitan) on 2026-10-21T23:52:57Z. **Code review location:** `core/libs/prx/libSceFreeType/src/Glyph.cpp`; line 67 ~~~~diff @@ -0,0 +1,195 @@ +#include "prx/libSceFreeType/include/GuestObjects.hpp" +#include "prx/libc/include/General.hpp" + +#include FT_GLYPH_H + +#include <algorithm> +#include <limits> +#include <mutex> +#include <unordered_map> + +using namespace FreeType; + +namespace { + +struct Glyph { + GuestOutlineGlyphRec outline{}; + GuestBitmapGlyphRec bitmap{}; + GuestLibrary* library = nullptr; + bool isBitmap = false; + std::unique_ptr<FT_GlyphRec, decltype(&FT_Done_Glyph)> host{nullptr, &FT_Done_Glyph}; + std::vector<GuestVector> points; + + GuestGlyphRec* Root() { return isBitmap ? &bitmap.root : &outline.root; } + + void Publish() { + *Root() = {library, host->clazz, static_cast<std::uint32_t>(host->format), {host->advance.x, host->advance.y}}; + if (isBitmap) { + const auto* native = reinterpret_cast<FT_BitmapGlyph>(host.get()); + bitmap.left = native->left; + bitmap.top = native->top; + const auto& image = native->bitmap; + bitmap.bitmap = {image.rows, image.width, image.pitch, image.buffer, image.num_grays, image.pixel_mode, image.palette_mode, image.palette}; + } else { + const auto& native = reinterpret_cast<FT_OutlineGlyph>(host.get())->outline; + for (std::size_t index = 0; index < points.size(); ++index) points[index] = {native.points[index].x, native.points[index].y}; + outline.outline = {native.n_contours, native.n_points, points.empty() ? nullptr : points.data(), native.tags, native.contours, native.flags}; + } + } +}; + +std::mutex glyphMutex; +std::unordered_map<GuestGlyphRec*, std::unique_ptr<Glyph>> glyphs; + +FT_Pos Position(std::int64_t value, const char* function) { + if (value < std::numeric_limits<FT_Pos>::min() || value > std::numeric_limits<FT_Pos>::max()) NotImplemented_nid_no_patch(function); + return static_cast<FT_Pos>(value); +} + +FT_Vector Advance(const GuestVector& advance) { + constexpr std::int64_t limit = 0x200000; + return {static_cast<FT_Pos>(std::clamp(advance.x, -limit, limit)), static_cast<FT_Pos>(std::clamp(advance.y, -limit, limit))}; +} + +bool ValidAdvance(const GuestVector& advance) { + return advance.x > -0x200000 && advance.x < 0x200000 && advance.y > -0x200000 && advance.y < 0x200000; +} + +FT_Bitmap Bitmap(const GuestBitmap& bitmap) { + return {bitmap.rows, bitmap.width, bitmap.pitch, bitmap.buffer, bitmap.num_grays, bitmap.pixel_mode, bitmap.palette_mode, bitmap.palette}; +} + +struct Outline { + FT_Outline native{}; + std::vector<FT_Vector> points; + + Outline(const GuestOutline& outline, const char* function) { + native = {outline.n_contours, outline.n_points, nullptr, outline.tags, outline.contours, outline.flags}; ~~~~ --- Independently rechecked the current head `9d667e1c929d5415a1a6d8d434a867c2c5ab8fcb` on Windows x86-64 with the supported WinLibs GCC 15.2.0 toolchain. The previous head `65dd866` reproduces all reported aggregate-assignment and pointer-comparison failures against the official FreeType 2.13.2 signed-field headers. On the current head, both new C++ files pass `-std=c++20 -Wall -Wextra -Werror -fsyntax-only` against those headers and against the pinned bundled headers. A fresh full-project Release configuration compiled and linked the actual FreeType bridge, its libc/libkernel dependencies, the font libraries and the focused test executables. All 9 font/FreeType runtime tests pass, including `guest_freetype_glyph`, with no skips (0.74 s total). This was a focused target build; the full Windows `libs` target and patched-library loader were not run. Conventions and `git diff --check` also pass. No further source changes were needed. The PR description now includes this Windows verification. Resolving this compile-error thread as addressed by the existing fix; hosted full builds remain skipped and the declared #9399 merge ordering still applies.
Ondra97 commented 2026-10-22 00:06:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Ondra97 on 2026-10-22T00:06:57Z.


I am preparing a separate FT_Outline_Copy implementation. It overlaps this PR only at the libSceFreeType.md debt insertion; no exports or tests overlap. I will list #9465 as a merge-order dependency and rebase my debt entry after this PR merges. No changes to your branch are needed.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6329372629 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9465#issuecomment-6329372629). Originally posted by [Ondra97](https://github.com/Ondra97) on 2026-10-22T00:06:57Z. --- I am preparing a separate `FT_Outline_Copy` implementation. It overlaps this PR only at the `libSceFreeType.md` debt insertion; no exports or tests overlap. I will list #9465 as a merge-order dependency and rebase my debt entry after this PR merges. No changes to your branch are needed.
Ondra97 commented 2026-10-22 03:31:28 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Ondra97 on 2026-10-22T03:31:28Z.


I opened #9588 for FT_Glyph_Get_CBox. I declared #9465 as an implementation dependency and reuse its existing registered glyph ownership. Merge this ownership PR first; the new query reads the guest geometry while preserving the existing copy/destruction checks.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6331993913 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9465#issuecomment-6331993913). Originally posted by [Ondra97](https://github.com/Ondra97) on 2026-10-22T03:31:28Z. --- I opened #9588 for FT_Glyph_Get_CBox. I declared #9465 as an implementation dependency and reuse its existing registered glyph ownership. Merge this ownership PR first; the new query reads the guest geometry while preserving the existing copy/destruction checks.
MarcZX10 commented 2026-10-22 04:33:59 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T04:33:59Z.

Review: CHANGES_REQUESTED


The current head appears to address the earlier FreeType type-conversion compile findings, and the PR reports a focused 10/10 Linux test run including comparison against native FreeType, with ownership/error cases and boundary coordinates. The branch is still based on a6dcea927, 47 upstream commits behind current main (110a18ba01), and the test report explicitly uses that old base. Please rebase/update and rerun the focused glyph and related FreeType tests plus conventions and overlap checks on current main; preserve the agreed #9399-first CMake registration order. The current hosted build matrix skips Linux and Windows, so it has not independently compiled this source. I did not rerun the author’s reported suite locally.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5609299852 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9465#pullrequestreview-5609299852). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T04:33:59Z. **Review:** CHANGES_REQUESTED --- The current head appears to address the earlier FreeType type-conversion compile findings, and the PR reports a focused 10/10 Linux test run including comparison against native FreeType, with ownership/error cases and boundary coordinates. The branch is still based on `a6dcea927`, 47 upstream commits behind current `main` (`110a18ba01`), and the test report explicitly uses that old base. Please rebase/update and rerun the focused glyph and related FreeType tests plus conventions and overlap checks on current main; preserve the agreed #9399-first CMake registration order. The current hosted build matrix skips Linux and Windows, so it has not independently compiled this source. I did not rerun the author’s reported suite locally.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!9465
No description provided.