feat(libcairo): implement font options lifecycle and settings #14328

Merged
hyvvs merged 14 commits from upstream-pr/14328 into main 2026-11-05 23:15:37 +00:00
hyvvs commented 2026-11-01 09:26:49 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by hyvvs on 2026-11-01T09:26:49Z.


What

Implement eight previously unimplemented libcairo font-options exports: create, copy, destroy, antialias set/get, hint-style set, hint-metrics set and subpixel-order set. The public declarations now use the Cairo pointer and enum ABI (including explicit 32-bit enum representation for valid out-of-range C values). Each object owns its own allocation, copies are independent, and a shared immutable error object handles null copies and allocation failures; null/error setters and destroy do nothing. Cairo font options have no reference count.

Behavior was checked against the Cairo 1.18.4 source and public API documentation. The technical-debt table removes these eight resolved exports, and the progress scanner measures libcairo moving from 0/161 to 8/161 implemented exports.

Merge coordination: #14258 changes disjoint matrix exports but also edits the libcairo debt introduction. #14308 adds unreachable return 0 statements after throwing stubs, including these eight definitions; it contains no competing Cairo semantics. #14327 changes disjoint image/surface exports but shares the Export.cpp area and debt introduction. These may require conflict resolution when merged.

Coordinated landing order: #14258 (matrix) -> #14327 (image surfaces) -> #14328 (font options) -> #14329 (regions). Symbol implementations are disjoint but the PRs share Cairo export inventory, CMake, and technical-debt files. Each later PR will integrate earlier merged changes before landing; standalone branches are not yet a single integrated Cairo build.

Tested

  • Windows 11, WinLibs GCC 15.2: compiled GuestCairoFontOptions.cpp with FontOptions.cpp using -std=c++20 -Wall -Wextra -Werror; standalone ABI test passed.
  • Linux (Ubuntu WSL2), GCC with AddressSanitizer and UndefinedBehaviorSanitizer: compiled the same sources using -fsanitize=address -fsanitize=undefined and ran with ASAN_OPTIONS=detect_leaks=1:halt_on_error=1 and UBSAN_OPTIONS=print_stacktrace=1:halt_on_error=1; passed.
  • python tools/check_conventions.py --base upstream/main: passed. git diff --check: passed.
  • tools/progress.py measured exactly the eight intended exports as implemented; no unrelated libcairo export changed.
  • Full Windows CMake configuration was attempted with -DBUILD_TESTING=ON but cannot complete in the fresh worktree because the SDL2 and FFmpeg submodules are not initialized. The standalone test uses the exact production implementation source compiled on each platform.
  • tools/pr_overlap.py --branch feat/libcairo-font-options was run and reviewed. Old unrelated PRs share core/libs/CMakeLists.txt; their changed-line hunks are separate from this PR's source and test-registration hunks. #14258, #14308 and #14327 are called out above.

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: #14327 (merge-order coordination only; implemented export families are disjoint)
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5106093319 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14328). Originally posted by [hyvvs](https://github.com/hyvvs) on 2026-11-01T09:26:49Z. --- ### What Implement eight previously unimplemented `libcairo` font-options exports: create, copy, destroy, antialias set/get, hint-style set, hint-metrics set and subpixel-order set. The public declarations now use the Cairo pointer and enum ABI (including explicit 32-bit enum representation for valid out-of-range C values). Each object owns its own allocation, copies are independent, and a shared immutable error object handles null copies and allocation failures; null/error setters and destroy do nothing. Cairo font options have no reference count. Behavior was checked against the [Cairo 1.18.4 source](https://codegraph.jelmer.uk/cairo/1.18.4-3/src/cairo-font-options.c) and [public API documentation](https://www.cairographics.org/manual/cairo-cairo-font-options-t.html). The technical-debt table removes these eight resolved exports, and the progress scanner measures `libcairo` moving from **0/161** to **8/161** implemented exports. Merge coordination: #14258 changes disjoint matrix exports but also edits the libcairo debt introduction. #14308 adds unreachable `return 0` statements after throwing stubs, including these eight definitions; it contains no competing Cairo semantics. #14327 changes disjoint image/surface exports but shares the `Export.cpp` area and debt introduction. These may require conflict resolution when merged. **Coordinated landing order:** #14258 (matrix) -> #14327 (image surfaces) -> #14328 (font options) -> #14329 (regions). Symbol implementations are disjoint but the PRs share Cairo export inventory, CMake, and technical-debt files. Each later PR will integrate earlier merged changes before landing; standalone branches are not yet a single integrated Cairo build. ### Tested <!-- 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. --> - Windows 11, WinLibs GCC 15.2: compiled `GuestCairoFontOptions.cpp` with `FontOptions.cpp` using `-std=c++20 -Wall -Wextra -Werror`; standalone ABI test **passed**. - Linux (Ubuntu WSL2), GCC with AddressSanitizer and UndefinedBehaviorSanitizer: compiled the same sources using `-fsanitize=address -fsanitize=undefined` and ran with `ASAN_OPTIONS=detect_leaks=1:halt_on_error=1` and `UBSAN_OPTIONS=print_stacktrace=1:halt_on_error=1`; **passed**. - `python tools/check_conventions.py --base upstream/main`: **passed**. `git diff --check`: **passed**. - `tools/progress.py` measured exactly the eight intended exports as implemented; no unrelated libcairo export changed. - Full Windows CMake configuration was attempted with `-DBUILD_TESTING=ON` but cannot complete in the fresh worktree because the SDL2 and FFmpeg submodules are not initialized. The standalone test uses the exact production implementation source compiled on each platform. - `tools/pr_overlap.py --branch feat/libcairo-font-options` was run and reviewed. Old unrelated PRs share `core/libs/CMakeLists.txt`; their changed-line hunks are separate from this PR's source and test-registration hunks. #14258, #14308 and #14327 are called out above. ### 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: #14327 (merge-order coordination only; implemented export families are disjoint) - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
BunnyFl commented 2026-11-02 03:42:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by BunnyFl on 2026-11-02T03:42:23Z.

Review: APPROVED


Windows 11, WinLibs GCC 15.2.0 r7, Release. Head b2d817a3d3 merged into upstream/main 93dbd0f82a:

  • guest_cairo_font_options and public_headers pass.
  • Mutation check: with cairo_font_options_set_antialias writing whenever options != nullptr (so also into the shared error object), the test crashes. So it does exercise a setter on the nil object.

Provenance, checked against firmware 13.42's libcairo.sprx:

  • The module carries the version string 1.18.0, so 1.18.4's cairo-font-options.c is the right family; the font-options code is the same across those releases.
  • Its cairo_font_options_create (j2xKmRzIV84) allocates 0x38 bytes and zeroes them, every field at its default. On allocation failure it raises a no-memory error and returns the shared nil object, as the source does and as this implementation models.

The landing order you lay out with #14258, #14327 and #14329 is noted. Each of those touches the same debt intro and Export.cpp region, so the later ones will need the usual rebase.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5731870619 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14328#pullrequestreview-5731870619). Originally posted by [BunnyFl](https://github.com/BunnyFl) on 2026-11-02T03:42:23Z. **Review:** APPROVED --- Windows 11, WinLibs GCC 15.2.0 r7, Release. Head b2d817a3d3 merged into upstream/main 93dbd0f82a: - `guest_cairo_font_options` and `public_headers` pass. - Mutation check: with `cairo_font_options_set_antialias` writing whenever `options != nullptr` (so also into the shared error object), the test crashes. So it does exercise a setter on the nil object. Provenance, checked against firmware 13.42's `libcairo.sprx`: - The module carries the version string `1.18.0`, so 1.18.4's `cairo-font-options.c` is the right family; the font-options code is the same across those releases. - Its `cairo_font_options_create` (`j2xKmRzIV84`) allocates 0x38 bytes and zeroes them, every field at its default. On allocation failure it raises a no-memory error and returns the shared nil object, as the source does and as this implementation models. The landing order you lay out with #14258, #14327 and #14329 is noted. Each of those touches the same debt intro and `Export.cpp` region, so the later ones will need the usual rebase.
MarcZX10 commented 2026-11-02 06:18:19 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-02T06:18:19Z.

Review: COMMENTED


Reviewed — no blocking findings

This implements the libcairo font-options exports (create, copy, destroy, the antialias, hint-style, hint-metrics and subpixel-order setters, and the antialias getter) in FontOptions.cpp, with the stubs removed from Export.cpp. The implementation follows cairo's nil-object pattern. The PR declares #14327 as a dependency, for merge order only, and the stack report flags the dependency chain. The Windows build compiled the new guest test, but the CTest run did not report it.

What I ran

  • Head b2d817a3d37662db052dae1253ce5d16c0c9de29; base 26fa1212b82f76dd49cf12d65e445d6ff3e0844c. 6 files, +224/-49: libcairo/FontOptions.cpp (new, 71 lines), libcairo/Export.cpp (stubs removed), libcairo/include/InventoryExports.hpp (eight declarations with parameters), core/libs/tests/GuestCairoFontOptions.cpp (new, 102 lines), core/libs/CMakeLists.txt (+8: adds FontOptions.cpp to libcairo and builds the test), and docs/dev/debt/libcairo.md (not read in full).
  • Read FontOptions.cpp in full and the whole test. Checked the eight declarations against the eight definitions: all match.
  • Stack report (tools/pr_stack_check.py from the main checkout): dependency order #14258 → #14327 → #14328. The report marks #14327 → #14328 as current_dependency_head_not_included, with overlapping changed paths in libcairo/Export.cpp, libcairo/include/InventoryExports.hpp and docs/dev/debt/libcairo.md. The individual merge preview against current main is clean.
  • The PR body declares "Depends on: #14327 (merge-order coordination only; implemented export families are disjoint)" and gives the landing order #14258 → #14327 → #14328 → #14329.
  • Hosted: the Windows job built guest_cairo_font_options_tests.exe and listed it under the guest tests. No CTest result for guest_cairo_font_options appears in the log. The run reports 2594 of 2594.
  • Read-only checks from the trusted main checkout: diff check, conventions and PR template, and the stack check (exit code 0, with the dependency flags above). ABI audit passed: 161 symbols, no findings.
  • No MarcZX10 review at this head.

Results

Check Result Note
Diff check passed
Conventions and PR template passed conventions check from the main checkout; an earlier run was cancelled and the later run succeeded
Declared dependency declared #14327 (merge-order only); the body gives the landing order
Stack report flagged current_dependency_head_not_included for #14258 → #14327 and #14327 → #14328, with overlapping paths; individual previews clean
Eight declarations match eight definitions passed by reading
Nil and error objects (null copy, null getter, null setters, destroy of nil) passed by reading matches the test's expectations
Enum values asserted by the test not verified the test's values were not checked against cairo's header
ABI audit (main-checkout tool) passed 161 symbols, no findings
guest_cairo_font_options (hosted) not run built and listed; no CTest line in the Windows log
Linux build and runtime tests not run Linux is skipped on pull requests
Negative controls not run no local build
Hosted CI passed (build) windows passed (2594/2594, without this test); report, conventions and library-portability succeeded; linux, relinkers and write-watch skipped
Read-only check output

Precheck was not run: no PR-head code is run here. Diff check: passed. Conventions: passed. ABI audit: passed (161 symbols). Stack check: exit 0, with the flagged dependency relations above. Hosted: gh api repos/boykopovar/AnyPS5/commits/b2d817a3d37662db052dae1253ce5d16c0c9de29/check-runs, and the Windows job log.

Negative control

Not run here. A negative control needs a local build, and code from this head is not run here.

Findings

Blocking

None.

Non-blocking

  • Dependency coordination: the body declares #14327 as a dependency, and the stack report flags both links as current_dependency_head_not_included, with overlapping files in libcairo's Export.cpp, InventoryExports.hpp and the debt file. Land #14327 first, and rebase this PR onto it before merging if #14327 changes. Otherwise these files will conflict.
  • The test builds FontOptions.cpp into its own executable rather than linking the libcairo target, so the test does not exercise the shared library's copy of the code. It is still a valid unit test.

Sources

Not verified

  • The enum values the test asserts (for example CAIRO_ANTIALIAS_BEST == 6), against cairo's header.
  • The debt entry's wording (not read in full).
  • Linux behaviour, and whether the test passes (it is not reported by CTest on this head).

To get this to a good state

  • Nothing blocking. Land after #14327 and rebase if #14327 changes. If this test should run hosted, its CTest name needs to appear in the Windows run.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5732743470 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14328#pullrequestreview-5732743470). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-02T06:18:19Z. **Review:** COMMENTED --- # Reviewed — no blocking findings This implements the libcairo font-options exports (create, copy, destroy, the antialias, hint-style, hint-metrics and subpixel-order setters, and the antialias getter) in `FontOptions.cpp`, with the stubs removed from `Export.cpp`. The implementation follows cairo's nil-object pattern. The PR declares #14327 as a dependency, for merge order only, and the stack report flags the dependency chain. The Windows build compiled the new guest test, but the CTest run did not report it. ## What I ran - Head `b2d817a3d37662db052dae1253ce5d16c0c9de29`; base `26fa1212b82f76dd49cf12d65e445d6ff3e0844c`. 6 files, +224/-49: `libcairo/FontOptions.cpp` (new, 71 lines), `libcairo/Export.cpp` (stubs removed), `libcairo/include/InventoryExports.hpp` (eight declarations with parameters), `core/libs/tests/GuestCairoFontOptions.cpp` (new, 102 lines), `core/libs/CMakeLists.txt` (+8: adds `FontOptions.cpp` to `libcairo` and builds the test), and `docs/dev/debt/libcairo.md` (not read in full). - Read `FontOptions.cpp` in full and the whole test. Checked the eight declarations against the eight definitions: all match. - Stack report (`tools/pr_stack_check.py` from the main checkout): dependency order `#14258 → #14327 → #14328`. The report marks `#14327 → #14328` as `current_dependency_head_not_included`, with overlapping changed paths in `libcairo/Export.cpp`, `libcairo/include/InventoryExports.hpp` and `docs/dev/debt/libcairo.md`. The individual merge preview against current main is clean. - The PR body declares "Depends on: #14327 (merge-order coordination only; implemented export families are disjoint)" and gives the landing order #14258 → #14327 → #14328 → #14329. - Hosted: the Windows job built `guest_cairo_font_options_tests.exe` and listed it under the guest tests. No CTest result for `guest_cairo_font_options` appears in the log. The run reports 2594 of 2594. - Read-only checks from the trusted main checkout: diff check, conventions and PR template, and the stack check (exit code 0, with the dependency flags above). ABI audit passed: 161 symbols, no findings. - No MarcZX10 review at this head. ## Results | Check | Result | Note | | --- | --- | --- | | Diff check | passed | | | Conventions and PR template | passed | conventions check from the main checkout; an earlier run was cancelled and the later run succeeded | | Declared dependency | declared | #14327 (merge-order only); the body gives the landing order | | Stack report | flagged | `current_dependency_head_not_included` for #14258 → #14327 and #14327 → #14328, with overlapping paths; individual previews clean | | Eight declarations match eight definitions | passed by reading | | | Nil and error objects (null copy, null getter, null setters, destroy of nil) | passed by reading | matches the test's expectations | | Enum values asserted by the test | not verified | the test's values were not checked against cairo's header | | ABI audit (main-checkout tool) | passed | 161 symbols, no findings | | `guest_cairo_font_options` (hosted) | not run | built and listed; no CTest line in the Windows log | | Linux build and runtime tests | not run | Linux is skipped on pull requests | | Negative controls | not run | no local build | | Hosted CI | passed (build) | windows passed (2594/2594, without this test); report, conventions and library-portability succeeded; linux, relinkers and write-watch skipped | <details><summary>Read-only check output</summary> Precheck was not run: no PR-head code is run here. Diff check: passed. Conventions: passed. ABI audit: passed (161 symbols). Stack check: exit 0, with the flagged dependency relations above. Hosted: `gh api repos/boykopovar/AnyPS5/commits/b2d817a3d37662db052dae1253ce5d16c0c9de29/check-runs`, and the Windows job log. </details> ## Negative control Not run here. A negative control needs a local build, and code from this head is not run here. ## Findings **Blocking** None. **Non-blocking** - Dependency coordination: the body declares #14327 as a dependency, and the stack report flags both links as `current_dependency_head_not_included`, with overlapping files in libcairo's `Export.cpp`, `InventoryExports.hpp` and the debt file. Land #14327 first, and rebase this PR onto it before merging if #14327 changes. Otherwise these files will conflict. - The test builds `FontOptions.cpp` into its own executable rather than linking the `libcairo` target, so the test does not exercise the shared library's copy of the code. It is still a valid unit test. ## Sources - Implementation: https://github.com/boykopovar/AnyPS5/blob/b2d817a3d37662db052dae1253ce5d16c0c9de29/core/libs/prx/libcairo/FontOptions.cpp - Test: https://github.com/boykopovar/AnyPS5/blob/b2d817a3d37662db052dae1253ce5d16c0c9de29/core/libs/tests/GuestCairoFontOptions.cpp - Declarations: https://github.com/boykopovar/AnyPS5/blob/b2d817a3d37662db052dae1253ce5d16c0c9de29/core/libs/prx/libcairo/include/InventoryExports.hpp - Build registration: https://github.com/boykopovar/AnyPS5/blob/b2d817a3d37662db052dae1253ce5d16c0c9de29/core/libs/CMakeLists.txt (lines 218 and 1277-1282) - Windows job log: check-run `windows` on b2d817a3d37662db052dae1253ce5d16c0c9de29 ## Not verified - The enum values the test asserts (for example `CAIRO_ANTIALIAS_BEST == 6`), against cairo's header. - The debt entry's wording (not read in full). - Linux behaviour, and whether the test passes (it is not reported by CTest on this head). ## To get this to a good state - Nothing blocking. Land after #14327 and rebase if #14327 changes. If this test should run hosted, its CTest name needs to appear in the Windows run.
BunnyFl commented 2026-11-04 15:39:46 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by BunnyFl on 2026-11-04T15:39:46Z.

Review: APPROVED


@hyvvs re-checked at 1446abba83. This PR's own files, core/libs/prx/libcairo/FontOptions.cpp and core/libs/tests/GuestCairoFontOptions.cpp, are byte-identical to my approved b2d817a3d3 (git diff b2d817a3d3 1446abba83 on both is empty). The new lines come from the #14327 stack. Surface.cpp, include/Surface.hpp and tests/GuestCairoSurface.cpp here are identical to #14327's current head 255872d012. This approval still covers only the font-options part. I haven't reviewed #14327's surface code.

What I ran: head 1446abba83 merged onto main b11c7bf84f (merge 486a2d174d), Windows 11, WinLibs GCC, Release, BUILD_TESTING=ON:

  • guest_cairo_matrix, guest_cairo_surface, guest_cairo_font_options and public_headers: 4 of 4 pass.
  • check_conventions.py --base upstream/main passes.
  • pr_overlap.py --branch: 11 open PRs touch the same files. Every one that shares exports is part of your declared Cairo stack (#14327, #14329, #15315, #15317, #15324, #15430, #15675, #15679, #15681).
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5771175560 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14328#pullrequestreview-5771175560). Originally posted by [BunnyFl](https://github.com/BunnyFl) on 2026-11-04T15:39:46Z. **Review:** APPROVED --- @hyvvs re-checked at `1446abba83`. This PR's own files, `core/libs/prx/libcairo/FontOptions.cpp` and `core/libs/tests/GuestCairoFontOptions.cpp`, are byte-identical to my approved `b2d817a3d3` (`git diff b2d817a3d3 1446abba83` on both is empty). The new lines come from the #14327 stack. `Surface.cpp`, `include/Surface.hpp` and `tests/GuestCairoSurface.cpp` here are identical to #14327's current head `255872d012`. This approval still covers only the font-options part. I haven't reviewed #14327's surface code. **What I ran:** head `1446abba83` merged onto `main` `b11c7bf84f` (merge `486a2d174d`), Windows 11, WinLibs GCC, Release, `BUILD_TESTING=ON`: - `guest_cairo_matrix`, `guest_cairo_surface`, `guest_cairo_font_options` and `public_headers`: 4 of 4 pass. - `check_conventions.py --base upstream/main` passes. - `pr_overlap.py --branch`: 11 open PRs touch the same files. Every one that shares exports is part of your declared Cairo stack (#14327, #14329, #15315, #15317, #15324, #15430, #15675, #15679, #15681).
BunnyFl commented 2026-11-04 21:46:22 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by BunnyFl on 2026-11-04T21:46:22Z.

Review: APPROVED


@hyvvs re-checked at 282f660d61, still approved for the font-options part.

git range-diff against my approval of 1446abba83: the ten earlier commits are unchanged, and the one new commit, 282f660d61 ("preserve image type on rectangle subsurfaces"), changes only core/libs/prx/libcairo/Surface.cpp and core/libs/tests/GuestCairoSurface.cpp. Those two files, and include/Surface.hpp, are identical to #14327's current head f6ca44f6ce. FontOptions.cpp and GuestCairoFontOptions.cpp are unchanged (git diff 1446abba83 282f660d61 on both is empty). As before, this approval covers the font options; I haven't reviewed #14327's surface code, including the new cairo_surface_get_type answer.

What I ran

Windows 11 Pro 10.0.26300, WinLibs GCC 15.2, Release, this head merged cleanly onto main b611e634f7 (b2ace2f48e):

  • guest_cairo_matrix, guest_cairo_surface, guest_cairo_font_options and public_headers: 4 of 4 pass.
  • tools/pr_overlap.py --branch on this head: every PR that shares lines is a Cairo PR touching the same CMakeLists.txt registrations and Export.cpp lines: your stack (#14327, #14329, #15315, #15317, #15324, #15430, #15675, #15679, #15681, #15685) and #15208 (gradient pattern state).
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5776302380 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14328#pullrequestreview-5776302380). Originally posted by [BunnyFl](https://github.com/BunnyFl) on 2026-11-04T21:46:22Z. **Review:** APPROVED --- @hyvvs re-checked at `282f660d61`, still approved for the font-options part. `git range-diff` against my approval of `1446abba83`: the ten earlier commits are unchanged, and the one new commit, `282f660d61` ("preserve image type on rectangle subsurfaces"), changes only `core/libs/prx/libcairo/Surface.cpp` and `core/libs/tests/GuestCairoSurface.cpp`. Those two files, and `include/Surface.hpp`, are identical to #14327's current head `f6ca44f6ce`. `FontOptions.cpp` and `GuestCairoFontOptions.cpp` are unchanged (`git diff 1446abba83 282f660d61` on both is empty). As before, this approval covers the font options; I haven't reviewed #14327's surface code, including the new `cairo_surface_get_type` answer. ## What I ran Windows 11 Pro 10.0.26300, WinLibs GCC 15.2, Release, this head merged cleanly onto `main` `b611e634f7` (`b2ace2f48e`): - `guest_cairo_matrix`, `guest_cairo_surface`, `guest_cairo_font_options` and `public_headers`: 4 of 4 pass. - `tools/pr_overlap.py --branch` on this head: every PR that shares lines is a Cairo PR touching the same `CMakeLists.txt` registrations and `Export.cpp` lines: your stack (#14327, #14329, #15315, #15317, #15324, #15430, #15675, #15679, #15681, #15685) and #15208 (gradient pattern state).
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!14328
No description provided.