feat(libSceFreeTypeOt): return 7 from the two LCD filter calls as firmware 13.42 does #16832

Merged
BunnyFl merged 8 commits from upstream-pr/16832 into main 2026-11-11 23:38:38 +00:00
BunnyFl commented 2026-11-07 17:34:44 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by BunnyFl on 2026-11-07T17:34:44Z.


What

The two libSceFreeTypeOt exports with the NIDs of FT_Library_SetLcdFilter (VW4GD-TaIUc) and FT_Library_SetLcdFilterWeights (GiuNQjoj4fs) threw. In firmware 13.42 both return 7 at once, and this change does the same:

Export NID Firmware 13.42 body Returns here
sceFreeTypeOtLibrarySetLcdFilter_nid_no_patch VW4GD-TaIUc mov $0x7,%eax; ret at 0x115a0 7
sceFreeTypeOtLibrarySetLcdFilterWeights_nid_no_patch GiuNQjoj4fs mov $0x7,%eax; ret at 0x11590 7
  • The NIDs recompute from FT_Library_SetLcdFilter and FT_Library_SetLcdFilterWeights (the leaf_scan.py NID function). At 837505d0ba the exports keep their placeholder names and no-parameter int declarations (core/libs/prx/libSceFreeType/include/Api.hpp:158-159): the bodies at 0x115a0 and 0x11590 (Source section) read no argument register, so they settle nothing about the parameters, and an int claims only the 32 bits mov $0x7,%eax writes.
  • At 837505d0ba these are the Ot module's own exports (core/libs/prx/libSceFreeTypeOt/Export.cpp:156 and :161). At 837505d0ba libSceFreeType's FT_Library_SetLcdFilter_nid_postfix and FT_Library_SetLcdFilterWeights_nid_postfix (core/libs/prx/libSceFreeType/include/Api.hpp:140-141) are not changed.

docs/dev/debt/libSceFreeTypeOt.md:

  • At 837505d0ba a new entry (docs/dev/debt/libSceFreeTypeOt.md:31) states the gap first (console prototypes unverified, only the 32-bit return claimed) and records the 13.42 reading.
  • At 5c555f674b the long list of identified names that throw is docs/dev/debt/libSceFreeTypeOt.md:5, and that second commit takes the two names out of it. That list has no count. At 837505d0ba the two bodies are at core/libs/prx/libSceFreeTypeOt/Export.cpp:156 and :161, both returning 7.

Source

Firmware 13.42 system/common/lib/libSceFreeTypeOt.sprx (sha256 5c5dd90618603c07987c3df49ad5dbf194017473a5e89369b328162d87a6b164), read from disassembly, not run on a console. The module's dynamic symbol table gives GiuNQjoj4fs at 0x11590 and VW4GD-TaIUc at 0x115a0. Each body, every instruction to its return, with the int3 padding after it:

11590: mov $0x7,%eax      ; GiuNQjoj4fs
11595: ret
11596: int3

115a0: mov $0x7,%eax      ; VW4GD-TaIUc
115a5: ret
115a6: int3

Neither body at 0x11590 or 0x115a0 reads an argument register or touches memory (listed above).

Tested

Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head 1963dea648 (main 62c2f3cc57 merged in):

  • docs/dev/debt/libSceFreeTypeOt.md conflicted again, in one place: the unverified-names bullet and the sceFreeTypeOtUnknown_* count bullet below it. The resolution keeps main's text and removes only this PR's own two names again. Against main 62c2f3cc57 the branch's diff is three files, 7 lines added and 3 removed: the two bodies, the two test rows, the two names and the new debt entry.
  • The count was derived, not carried over: the merged Export.cpp holds 44 sceFreeTypeOtUnknown_* mentions, two per export, giving 22, the number main's bullet states.
  • 10 of 10 pass, none Not Run (100% tests passed, 0 tests failed out of 10), with every executable behind the freetype_ot|freetypeot tests rebuilt at this head and the libSceFreeTypeOt library target built.
  • tools/check_conventions.py --base upstream/main on the committed head 1963dea648: all checks pass. review-tools/sig_users.py HEAD --build: no APS5_VABI declaration changes its signature.
  • tools/pr_overlap.py --branch feat/freetypeot-lcd-filter-returns --jobs 8 at this head, against 2,006 open pull requests: 15 share files with the branch, and the 5 it could compare have no conflicting line. The run failed closed (exit 2) on 10 that conflict with main themselves and compared none of them. All 10 were then checked by hand at this head, searching every added and removed line for sceFreeTypeOtLibrarySetLcdFilter_nid_no_patch, sceFreeTypeOtLibrarySetLcdFilterWeights_nid_no_patch, FT_Library_SetLcdFilter, FT_Library_SetLcdFilterWeights and the NIDs VW4GD-TaIUc and GiuNQjoj4fs. Four are clean: #10611, #14212, #15052, #17779. Six - #10606, #10897, #16122, #16978, #17776, #17865 - rewrite the same unverified-names bullet in docs/dev/debt/libSceFreeTypeOt.md, and each has exactly one removed and one added line carrying the two FT_Library_SetLcdFilter* names, both copies of that bullet. None of the six implements, renames or exports either function, and none names the two sceFreeTypeOt* exports or their NIDs.

Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head 6ad1f80fd5 (main 1e67c2782d merged in):

  • docs/dev/debt/libSceFreeTypeOt.md conflicted again, in two places this time. In the unverified-names bullet and the sceFreeTypeOtUnknown_* count bullet below it, the resolution keeps main's text and removes only this PR's own two names again. Next to this PR's LCD-filter entry, main rewrote the FT_Raccess_Get_HeaderInfo entry and added an FT_Raccess_Guess entry; the resolution keeps this PR's entry and takes main's two entries whole. Against main 1e67c2782d the branch's diff is three files, 7 lines added and 3 removed: the two bodies, the two test rows, the two names and the new debt entry.
  • The count was derived, not carried over: the merged Export.cpp holds 52 sceFreeTypeOtUnknown_* mentions, two per export, giving 26, the number main's bullet states. main 1e67c2782d also has a second count sentence near the top of that file that says 136; this PR leaves it as main has it.
  • 10 of 10 pass, none Not Run (100% tests passed, 0 tests failed out of 10), with every executable behind the freetype_ot|freetypeot tests rebuilt at this head and the libSceFreeTypeOt library target built. The set is 10 where it was 9: main added guest_freetype_ot_system.
  • tools/check_conventions.py --base upstream/main on the committed head 6ad1f80fd5: all checks pass. review-tools/sig_users.py HEAD --build: no APS5_VABI declaration changes its signature.
  • tools/pr_overlap.py --branch feat/freetypeot-lcd-filter-returns --jobs 8 at this head, against 1,983 open pull requests: 17 share files with the branch, and the 4 it could compare have no conflicting line. The run failed closed (exit 2) on 13 that conflict with main themselves and compared none of them. All 13 were then checked by hand at this head, searching every added and removed line for sceFreeTypeOtLibrarySetLcdFilter_nid_no_patch, sceFreeTypeOtLibrarySetLcdFilterWeights_nid_no_patch, FT_Library_SetLcdFilter, FT_Library_SetLcdFilterWeights and the NIDs VW4GD-TaIUc and GiuNQjoj4fs. Six are clean: #10611, #14212, #15052, #15687, #17572, #17779. Seven - #10606, #10897, #16122, #16978, #17715, #17776, #17865 - rewrite the same unverified-names bullet in docs/dev/debt/libSceFreeTypeOt.md, and each has exactly one removed and one added line carrying the two FT_Library_SetLcdFilter* names, both copies of that bullet. None of the seven implements, renames or exports either function, and none names the two sceFreeTypeOt* exports or their NIDs.

Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head 94029256b7 (main 9d3b86b420 merged in):

  • docs/dev/debt/libSceFreeTypeOt.md conflicted again, this time on the unverified-names bullet alone: main implemented FT_Request_Size, FT_New_Size and the FT_Stroker_* family and rewrote that bullet, while the sceFreeTypeOtUnknown_* count bullet merged cleanly. The resolution keeps main's bullet and removes only this PR's own two names from it again.
  • The count bullet was checked rather than trusted: the merged Export.cpp holds 72 sceFreeTypeOtUnknown_* mentions, two per export, giving 36, which is the number the cleanly merged bullet already carried. Neither of this PR's two exports is a sceFreeTypeOtUnknown_* one.
  • 9 of 9 pass, none Not Run (100% tests passed, 0 tests failed out of 9), with every executable behind the freetype_ot|freetypeot tests rebuilt at this head and the libSceFreeTypeOt library target built.
  • tools/check_conventions.py --base upstream/main on the committed head 94029256b7: all checks pass. review-tools/sig_users.py HEAD --build: no APS5_VABI declaration changes its signature.
  • tools/pr_overlap.py --branch feat/freetypeot-lcd-filter-returns --jobs 8 at this head, against 1,942 open pull requests: 17 share files with the branch, and none of the ones it could compare has a conflicting line. The run failed closed (exit 2) on 15 that conflict with main themselves and compared none of them. All 15 were then checked by hand at this head, searching every added and removed line for sceFreeTypeOtLibrarySetLcdFilter_nid_no_patch, sceFreeTypeOtLibrarySetLcdFilterWeights_nid_no_patch, FT_Library_SetLcdFilter, FT_Library_SetLcdFilterWeights and the NIDs VW4GD-TaIUc and GiuNQjoj4fs. Nine are clean. Six - #10606, #10611, #10897, #16122, #16978 and #17715 - rewrite the same unverified-names bullet in docs/dev/debt/libSceFreeTypeOt.md, which carries both FT_Library_SetLcdFilter* names, so those two names move on their removed and added copies of that one line. None of the six implements, renames or exports either function, and none names the two sceFreeTypeOt* exports or their NIDs. The earlier read at 5c555f674b below found none of them implementing, renaming or naming the two exports.

Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head 837505d0ba (main 0dd2fffe35 merged in):

  • The merge conflicted in docs/dev/debt/libSceFreeTypeOt.md only. The resolution keeps main's two bullets and re-applies this branch's own change to them: FT_Library_SetLcdFilter and FT_Library_SetLcdFilterWeights leave the identified-names list, and the sceFreeTypeOtUnknown_* count is derived from the merged Export.cpp instead of being carried over from either side - 72 mentions, two per export, giving 36, the same number main's line holds at 0dd2fffe35. Neither name is left in the merged Export.cpp.
  • 9 of 9 pass, none Not Run (100% tests passed, 0 tests failed out of 9), with every executable behind the freetype_ot|freetypeot tests rebuilt at this head and the libSceFreeTypeOt library target built. The set is 9 rather than the 2 of the earlier heads above: those runs matched only guest_freetype_ot_constants, and main has since added guest_freetype_ot_size_metrics.
  • tools/check_conventions.py --base upstream/main on the committed head 837505d0ba: all checks pass. review-tools/sig_users.py HEAD --build: no APS5_VABI declaration changes its signature.
  • tools/pr_overlap.py --branch feat/freetypeot-lcd-filter-returns --jobs 8 at this head, against 1,953 open pull requests: 17 share files with the branch. The one it could compare line by line has no conflicting line. The other 16 conflict with main themselves, were not compared line by line, and their diffs were not re-searched at this head: for those 16, overlap is not verified. The read at 5c555f674b above found none of them implementing, renaming or naming the two exports. They are #10606, #10611, #10613, #10897, #12004, #12370, #12373, #14212, #15052, #15687, #16121, #16122, #16823, #16825, #16978, #17572, each sharing core/libs/prx/libSceFreeTypeOt/Export.cpp, docs/dev/debt/libSceFreeTypeOt.md or both; whichever lands later merges the shared debt lines.

Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head 429c53a27c (main 6b733c4ef2 merged in):

  • The merge conflicted in docs/dev/debt/libSceFreeTypeOt.md only, on the line-5 list of identified names, which main changed with 016aaa560e (the FT_Outline_Render alias). The resolution takes main's line and drops FT_Library_SetLcdFilter and FT_Library_SetLcdFilterWeights from it again; against main, the branch's debt changes are those two names and the new entry.
  • 2 of 2 pass, none Not Run, with the test executable rebuilt at this head: guest_freetype_ot_constants and public_headers. The libSceFreeTypeOt library target builds too.
  • tools/check_conventions.py --base upstream/main on the committed head 429c53a27c: all checks pass.

Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head 5c555f674b (on main dd00a9c54e):

  • 2 of 2 pass, none Not Run, with the test executable rebuilt at this head: guest_freetype_ot_constants and public_headers. The libSceFreeTypeOt library target builds too (at 695fcb168c; the second commit only edits the debt file).
  • guest_freetype_ot_constants checks that both return 7 (core/libs/tests/GuestFreeTypeOtConstants.cpp:20-21 at 5c555f674b).
  • Negative controls at 695fcb168c (same code and test), each rebuilt and run, each failing guest_freetype_ot_constants (1 of 1 failed):
    • NotImplemented_nid_no_patch(__func__) put back at the top of both bodies, which is main's behaviour, with this branch's test: it aborts with sceFreeTypeOtLibrarySetLcdFilter_nid_no_patch not implemented.
    • The GiuNQjoj4fs export returning 0.
  • After the controls, the test executable and the library were rebuilt and the 2 tests pass again.
  • tools/check_conventions.py --base upstream/main on the committed head 5c555f674b: all checks pass.
  • tools/pr_overlap.py --branch feat/freetypeot-lcd-filter-returns --jobs 4 at 5c555f674b, against 1,734 open pull requests: 17 share files with the branch; the run could compare none of them line by line and listed all 17 as conflicting with the base. I read the added and removed lines of each in core/libs/prx/libSceFreeTypeOt/Export.cpp, docs/dev/debt/libSceFreeTypeOt.md, core/libs/prx/libSceFreeType and core/libs/tests: none implements, renames or names the two exports. Seven edit the same line-5 list of docs/dev/debt/libSceFreeTypeOt.md (#10606, #10611, #10897, #12370, #15687, #16120, #16122), each removing its own names, so whichever lands later merges that line; five of them still carry the two LCD filter names there, which should stay out. #14212 rewrites other sentences of that file.
  • Linux and macOS were not built or run. No title was run.

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

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5204220575 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/16832). Originally posted by [BunnyFl](https://github.com/BunnyFl) on 2026-11-07T17:34:44Z. --- ### What The two `libSceFreeTypeOt` exports with the NIDs of `FT_Library_SetLcdFilter` (`VW4GD-TaIUc`) and `FT_Library_SetLcdFilterWeights` (`GiuNQjoj4fs`) threw. In firmware 13.42 both return 7 at once, and this change does the same: | Export | NID | Firmware 13.42 body | Returns here | |---|---|---|---| | `sceFreeTypeOtLibrarySetLcdFilter_nid_no_patch` | `VW4GD-TaIUc` | `mov $0x7,%eax; ret` at `0x115a0` | 7 | | `sceFreeTypeOtLibrarySetLcdFilterWeights_nid_no_patch` | `GiuNQjoj4fs` | `mov $0x7,%eax; ret` at `0x11590` | 7 | - The NIDs recompute from `FT_Library_SetLcdFilter` and `FT_Library_SetLcdFilterWeights` (the `leaf_scan.py` NID function). At `837505d0ba` the exports keep their placeholder names and no-parameter `int` declarations (`core/libs/prx/libSceFreeType/include/Api.hpp:158-159`): the bodies at `0x115a0` and `0x11590` (Source section) read no argument register, so they settle nothing about the parameters, and an `int` claims only the 32 bits `mov $0x7,%eax` writes. - At `837505d0ba` these are the Ot module's own exports (`core/libs/prx/libSceFreeTypeOt/Export.cpp:156` and `:161`). At `837505d0ba` libSceFreeType's `FT_Library_SetLcdFilter_nid_postfix` and `FT_Library_SetLcdFilterWeights_nid_postfix` (`core/libs/prx/libSceFreeType/include/Api.hpp:140-141`) are not changed. `docs/dev/debt/libSceFreeTypeOt.md`: - At `837505d0ba` a new entry (`docs/dev/debt/libSceFreeTypeOt.md:31`) states the gap first (console prototypes unverified, only the 32-bit return claimed) and records the 13.42 reading. - At `5c555f674b` the long list of identified names that throw is `docs/dev/debt/libSceFreeTypeOt.md:5`, and that second commit takes the two names out of it. That list has no count. At `837505d0ba` the two bodies are at `core/libs/prx/libSceFreeTypeOt/Export.cpp:156` and `:161`, both returning 7. ### Source Firmware 13.42 `system/common/lib/libSceFreeTypeOt.sprx` (sha256 `5c5dd90618603c07987c3df49ad5dbf194017473a5e89369b328162d87a6b164`), read from disassembly, not run on a console. The module's dynamic symbol table gives `GiuNQjoj4fs` at `0x11590` and `VW4GD-TaIUc` at `0x115a0`. Each body, every instruction to its return, with the `int3` padding after it: ``` 11590: mov $0x7,%eax ; GiuNQjoj4fs 11595: ret 11596: int3 115a0: mov $0x7,%eax ; VW4GD-TaIUc 115a5: ret 115a6: int3 ``` Neither body at `0x11590` or `0x115a0` reads an argument register or touches memory (listed above). ### 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 Pro 10.0.26300, WinLibs GCC, Release, head `1963dea648` (`main` `62c2f3cc57` merged in): - `docs/dev/debt/libSceFreeTypeOt.md` conflicted again, in one place: the unverified-names bullet and the `sceFreeTypeOtUnknown_*` count bullet below it. The resolution keeps `main`'s text and removes only this PR's own two names again. Against `main` `62c2f3cc57` the branch's diff is three files, 7 lines added and 3 removed: the two bodies, the two test rows, the two names and the new debt entry. - The count was derived, not carried over: the merged `Export.cpp` holds 44 `sceFreeTypeOtUnknown_*` mentions, two per export, giving **22**, the number `main`'s bullet states. - **10 of 10 pass, none Not Run** (100% tests passed, 0 tests failed out of 10), with every executable behind the `freetype_ot|freetypeot` tests rebuilt at this head and the `libSceFreeTypeOt` library target built. - `tools/check_conventions.py --base upstream/main` on the committed head `1963dea648`: all checks pass. `review-tools/sig_users.py HEAD --build`: no `APS5_VABI` declaration changes its signature. - `tools/pr_overlap.py --branch feat/freetypeot-lcd-filter-returns --jobs 8` at this head, against 2,006 open pull requests: 15 share files with the branch, and the 5 it could compare have no conflicting line. The run failed closed (exit 2) on 10 that conflict with `main` themselves and compared none of them. **All 10 were then checked by hand at this head**, searching every added and removed line for `sceFreeTypeOtLibrarySetLcdFilter_nid_no_patch`, `sceFreeTypeOtLibrarySetLcdFilterWeights_nid_no_patch`, `FT_Library_SetLcdFilter`, `FT_Library_SetLcdFilterWeights` and the NIDs `VW4GD-TaIUc` and `GiuNQjoj4fs`. Four are clean: [#10611](https://github.com/boykopovar/AnyPS5/pull/10611), [#14212](https://github.com/boykopovar/AnyPS5/pull/14212), [#15052](https://github.com/boykopovar/AnyPS5/pull/15052), [#17779](https://github.com/boykopovar/AnyPS5/pull/17779). Six - [#10606](https://github.com/boykopovar/AnyPS5/pull/10606), [#10897](https://github.com/boykopovar/AnyPS5/pull/10897), [#16122](https://github.com/boykopovar/AnyPS5/pull/16122), [#16978](https://github.com/boykopovar/AnyPS5/pull/16978), [#17776](https://github.com/boykopovar/AnyPS5/pull/17776), [#17865](https://github.com/boykopovar/AnyPS5/pull/17865) - rewrite the same unverified-names bullet in `docs/dev/debt/libSceFreeTypeOt.md`, and each has exactly one removed and one added line carrying the two `FT_Library_SetLcdFilter*` names, both copies of that bullet. None of the six implements, renames or exports either function, and none names the two `sceFreeTypeOt*` exports or their NIDs. Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head `6ad1f80fd5` (`main` `1e67c2782d` merged in): - `docs/dev/debt/libSceFreeTypeOt.md` conflicted again, in two places this time. In the unverified-names bullet and the `sceFreeTypeOtUnknown_*` count bullet below it, the resolution keeps `main`'s text and removes only this PR's own two names again. Next to this PR's LCD-filter entry, `main` rewrote the `FT_Raccess_Get_HeaderInfo` entry and added an `FT_Raccess_Guess` entry; the resolution keeps this PR's entry and takes `main`'s two entries whole. Against `main` `1e67c2782d` the branch's diff is three files, 7 lines added and 3 removed: the two bodies, the two test rows, the two names and the new debt entry. - The count was derived, not carried over: the merged `Export.cpp` holds 52 `sceFreeTypeOtUnknown_*` mentions, two per export, giving **26**, the number `main`'s bullet states. `main` `1e67c2782d` also has a second count sentence near the top of that file that says 136; this PR leaves it as `main` has it. - **10 of 10 pass, none Not Run** (100% tests passed, 0 tests failed out of 10), with every executable behind the `freetype_ot|freetypeot` tests rebuilt at this head and the `libSceFreeTypeOt` library target built. The set is 10 where it was 9: `main` added `guest_freetype_ot_system`. - `tools/check_conventions.py --base upstream/main` on the committed head `6ad1f80fd5`: all checks pass. `review-tools/sig_users.py HEAD --build`: no `APS5_VABI` declaration changes its signature. - `tools/pr_overlap.py --branch feat/freetypeot-lcd-filter-returns --jobs 8` at this head, against 1,983 open pull requests: 17 share files with the branch, and the 4 it could compare have no conflicting line. The run failed closed (exit 2) on 13 that conflict with `main` themselves and compared none of them. **All 13 were then checked by hand at this head**, searching every added and removed line for `sceFreeTypeOtLibrarySetLcdFilter_nid_no_patch`, `sceFreeTypeOtLibrarySetLcdFilterWeights_nid_no_patch`, `FT_Library_SetLcdFilter`, `FT_Library_SetLcdFilterWeights` and the NIDs `VW4GD-TaIUc` and `GiuNQjoj4fs`. Six are clean: [#10611](https://github.com/boykopovar/AnyPS5/pull/10611), [#14212](https://github.com/boykopovar/AnyPS5/pull/14212), [#15052](https://github.com/boykopovar/AnyPS5/pull/15052), [#15687](https://github.com/boykopovar/AnyPS5/pull/15687), [#17572](https://github.com/boykopovar/AnyPS5/pull/17572), [#17779](https://github.com/boykopovar/AnyPS5/pull/17779). Seven - [#10606](https://github.com/boykopovar/AnyPS5/pull/10606), [#10897](https://github.com/boykopovar/AnyPS5/pull/10897), [#16122](https://github.com/boykopovar/AnyPS5/pull/16122), [#16978](https://github.com/boykopovar/AnyPS5/pull/16978), [#17715](https://github.com/boykopovar/AnyPS5/pull/17715), [#17776](https://github.com/boykopovar/AnyPS5/pull/17776), [#17865](https://github.com/boykopovar/AnyPS5/pull/17865) - rewrite the same unverified-names bullet in `docs/dev/debt/libSceFreeTypeOt.md`, and each has exactly one removed and one added line carrying the two `FT_Library_SetLcdFilter*` names, both copies of that bullet. None of the seven implements, renames or exports either function, and none names the two `sceFreeTypeOt*` exports or their NIDs. Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head `94029256b7` (`main` `9d3b86b420` merged in): - `docs/dev/debt/libSceFreeTypeOt.md` conflicted again, this time on the unverified-names bullet alone: `main` implemented `FT_Request_Size`, `FT_New_Size` and the `FT_Stroker_*` family and rewrote that bullet, while the `sceFreeTypeOtUnknown_*` count bullet merged cleanly. The resolution keeps `main`'s bullet and removes only this PR's own two names from it again. - The count bullet was checked rather than trusted: the merged `Export.cpp` holds 72 `sceFreeTypeOtUnknown_*` mentions, two per export, giving **36**, which is the number the cleanly merged bullet already carried. Neither of this PR's two exports is a `sceFreeTypeOtUnknown_*` one. - **9 of 9 pass, none Not Run** (100% tests passed, 0 tests failed out of 9), with every executable behind the `freetype_ot|freetypeot` tests rebuilt at this head and the `libSceFreeTypeOt` library target built. - `tools/check_conventions.py --base upstream/main` on the committed head `94029256b7`: all checks pass. `review-tools/sig_users.py HEAD --build`: no `APS5_VABI` declaration changes its signature. - `tools/pr_overlap.py --branch feat/freetypeot-lcd-filter-returns --jobs 8` at this head, against 1,942 open pull requests: 17 share files with the branch, and none of the ones it could compare has a conflicting line. The run failed closed (exit 2) on 15 that conflict with `main` themselves and compared none of them. **All 15 were then checked by hand at this head**, searching every added and removed line for `sceFreeTypeOtLibrarySetLcdFilter_nid_no_patch`, `sceFreeTypeOtLibrarySetLcdFilterWeights_nid_no_patch`, `FT_Library_SetLcdFilter`, `FT_Library_SetLcdFilterWeights` and the NIDs `VW4GD-TaIUc` and `GiuNQjoj4fs`. Nine are clean. Six - [#10606](https://github.com/boykopovar/AnyPS5/pull/10606), [#10611](https://github.com/boykopovar/AnyPS5/pull/10611), [#10897](https://github.com/boykopovar/AnyPS5/pull/10897), [#16122](https://github.com/boykopovar/AnyPS5/pull/16122), [#16978](https://github.com/boykopovar/AnyPS5/pull/16978) and [#17715](https://github.com/boykopovar/AnyPS5/pull/17715) - rewrite the same unverified-names bullet in `docs/dev/debt/libSceFreeTypeOt.md`, which carries both `FT_Library_SetLcdFilter*` names, so those two names move on their removed and added copies of that one line. None of the six implements, renames or exports either function, and none names the two `sceFreeTypeOt*` exports or their NIDs. The earlier read at `5c555f674b` below found none of them implementing, renaming or naming the two exports. Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head `837505d0ba` (`main` `0dd2fffe35` merged in): - The merge conflicted in `docs/dev/debt/libSceFreeTypeOt.md` only. The resolution keeps `main`'s two bullets and re-applies this branch's own change to them: `FT_Library_SetLcdFilter` and `FT_Library_SetLcdFilterWeights` leave the identified-names list, and the `sceFreeTypeOtUnknown_*` count is **derived** from the merged `Export.cpp` instead of being carried over from either side - 72 mentions, two per export, giving 36, the same number `main`'s line holds at `0dd2fffe35`. Neither name is left in the merged `Export.cpp`. - **9 of 9 pass, none Not Run** (100% tests passed, 0 tests failed out of 9), with every executable behind the `freetype_ot|freetypeot` tests rebuilt at this head and the `libSceFreeTypeOt` library target built. The set is 9 rather than the 2 of the earlier heads above: those runs matched only `guest_freetype_ot_constants`, and `main` has since added `guest_freetype_ot_size_metrics`. - `tools/check_conventions.py --base upstream/main` on the committed head `837505d0ba`: all checks pass. `review-tools/sig_users.py HEAD --build`: no `APS5_VABI` declaration changes its signature. - `tools/pr_overlap.py --branch feat/freetypeot-lcd-filter-returns --jobs 8` at this head, against 1,953 open pull requests: 17 share files with the branch. The one it could compare line by line has no conflicting line. The other **16** conflict with `main` themselves, were not compared line by line, and their diffs were not re-searched at this head: for those 16, overlap is **not verified**. The read at `5c555f674b` above found none of them implementing, renaming or naming the two exports. They are [#10606](https://github.com/boykopovar/AnyPS5/pull/10606), [#10611](https://github.com/boykopovar/AnyPS5/pull/10611), [#10613](https://github.com/boykopovar/AnyPS5/pull/10613), [#10897](https://github.com/boykopovar/AnyPS5/pull/10897), [#12004](https://github.com/boykopovar/AnyPS5/pull/12004), [#12370](https://github.com/boykopovar/AnyPS5/pull/12370), [#12373](https://github.com/boykopovar/AnyPS5/pull/12373), [#14212](https://github.com/boykopovar/AnyPS5/pull/14212), [#15052](https://github.com/boykopovar/AnyPS5/pull/15052), [#15687](https://github.com/boykopovar/AnyPS5/pull/15687), [#16121](https://github.com/boykopovar/AnyPS5/pull/16121), [#16122](https://github.com/boykopovar/AnyPS5/pull/16122), [#16823](https://github.com/boykopovar/AnyPS5/pull/16823), [#16825](https://github.com/boykopovar/AnyPS5/pull/16825), [#16978](https://github.com/boykopovar/AnyPS5/pull/16978), [#17572](https://github.com/boykopovar/AnyPS5/pull/17572), each sharing `core/libs/prx/libSceFreeTypeOt/Export.cpp`, `docs/dev/debt/libSceFreeTypeOt.md` or both; whichever lands later merges the shared debt lines. Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head `429c53a27c` (`main` `6b733c4ef2` merged in): - The merge conflicted in `docs/dev/debt/libSceFreeTypeOt.md` only, on the line-5 list of identified names, which `main` changed with `016aaa560e` (the `FT_Outline_Render` alias). The resolution takes `main`'s line and drops `FT_Library_SetLcdFilter` and `FT_Library_SetLcdFilterWeights` from it again; against `main`, the branch's debt changes are those two names and the new entry. - **2 of 2 pass, none Not Run**, with the test executable rebuilt at this head: `guest_freetype_ot_constants` and `public_headers`. The `libSceFreeTypeOt` library target builds too. - `tools/check_conventions.py --base upstream/main` on the committed head `429c53a27c`: all checks pass. Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head `5c555f674b` (on `main` `dd00a9c54e`): - **2 of 2 pass, none Not Run**, with the test executable rebuilt at this head: `guest_freetype_ot_constants` and `public_headers`. The `libSceFreeTypeOt` library target builds too (at `695fcb168c`; the second commit only edits the debt file). - `guest_freetype_ot_constants` checks that both return 7 (`core/libs/tests/GuestFreeTypeOtConstants.cpp:20-21` at `5c555f674b`). - **Negative controls** at `695fcb168c` (same code and test), each rebuilt and run, each failing `guest_freetype_ot_constants` (1 of 1 failed): - `NotImplemented_nid_no_patch(__func__)` put back at the top of both bodies, which is `main`'s behaviour, with this branch's test: it aborts with `sceFreeTypeOtLibrarySetLcdFilter_nid_no_patch not implemented`. - The `GiuNQjoj4fs` export returning 0. - After the controls, the test executable and the library were rebuilt and the 2 tests pass again. - `tools/check_conventions.py --base upstream/main` on the committed head `5c555f674b`: all checks pass. - `tools/pr_overlap.py --branch feat/freetypeot-lcd-filter-returns --jobs 4` at `5c555f674b`, against 1,734 open pull requests: 17 share files with the branch; the run could compare none of them line by line and listed all 17 as conflicting with the base. I read the added and removed lines of each in `core/libs/prx/libSceFreeTypeOt/Export.cpp`, `docs/dev/debt/libSceFreeTypeOt.md`, `core/libs/prx/libSceFreeType` and `core/libs/tests`: none implements, renames or names the two exports. Seven edit the same line-5 list of `docs/dev/debt/libSceFreeTypeOt.md` (#10606, #10611, #10897, #12370, #15687, #16120, #16122), each removing its own names, so whichever lands later merges that line; five of them still carry the two LCD filter names there, which should stay out. #14212 rewrites other sentences of that file. - Linux and macOS were not built or run. No title was run. ### 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 - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
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!16832
No description provided.