[PR #3838] [CLOSED] Title screen: R, U and S are the texture's own strokes (#3822) #5241

Closed
opened 2026-11-03 05:11:12 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3838
Author: @MSedgeMC
Created: 10/29/2026
Status: ❌ Closed

Base: main ← Head: fix/rust-edition-1to1


📝 Commits (2)

  • c6d5eed Title screen: R, U and S are the texture's own strokes (#3822)
  • fc49247 R: the leg is the V's arm, so the letter no longer reads as a Q

📊 Changes

2 files changed (+154 additions, -382 deletions)

View changed files

📝 crates/horizon-client-render/src/title_edition.rs (+153 -381)
📝 docs/media/brand/README.md (+1 -1)

📄 Description

Fixes #3822.

The banner's R, U and S were rectangles in title_edition.rs, painted with a palette sampled from the texture, sitting next to "EDITION", which is vanilla's own 3D lettering. They could not match: the drawn letters were flat and lighter-edged (rim ink 6%, highlight 3% against EDITION's 4% and 2%) and every corner was a right angle — the "Rust is straight but Edition is slightly tilted" of the report.

Nothing is drawn now. The letters are the texture's own strokes, moved:

  • R — the D's box with its bottom arm lifted eight rows to become the bowl's bottom, the D's right side kept, and the E's lower stem as the leg.
  • U — the D with its top arm blacked out, and the stem's top closing the second stroke so both reach the letter's top.
  • S — the E with its middle arm widened to the full box and the stem's lower half moved to the right side.
  • T — vanilla's own, as before.

So every pixel of the new word is one of the texture's, and the letters inherit its shading, bevels, outline and hand-drawn slants. The palette sampling, the glyph rectangles and the extrusion/outline/counter painter are gone: 229 lines fewer than before. The fingerprint gate is unchanged, so a resource pack's edition.png is still left as drawn.

prepared_vanilla_edition now also asserts that every opaque pixel of the result is one of the texture's own inks, which is what keeps the two words from drifting apart again.

The word spans columns 0..191 instead of 0..194, so the gap before "EDITION" grows by three texels (0.75 px at GUI scale 1). The scope note below counts +153/−382: the net is a deletion, and it does not split into parts that each make sense alone.

No screenshot: the banner is Mojang's own art rearranged, so I did not add an image of it to the repository.

**pr_ready** (tools/pr_ready.py --quick, against origin/main at 909396071, 2 min 15 s)

| Check | Result |
| --- | --- |
| Scope | note: 2 files, +153 -382; 533 lines of code: over 500, split it if it can ship in parts |
| Cargo.lock | pass, unchanged |
| Public tree | pass |
| Python tests | pass, 423 passed (26 s) |
| rustfmt | pass (5 s) |
| clippy | pass (1 min 37 s) |
| tests: horizon-client-render | fail: 548 passed, 1 failed (6 s) |
| doc tests | pass, 0 passed (1 s) |
| content root tests | skipped, content root untouched |
| tokens.css up to date | skipped, theme untouched |
| launcher rustfmt / clippy / tests | skipped, launcher untouched |
| Parity | not run (--quick): CI's parity job picks the affected harnesses |
| Label | player-facing: `feature` if players get something new, no label for a fix |

(The build machine's terminal mangled the block's emoji; the checks, counts and timings are as it printed them.)

The one red test is not from this change: telemetry::tests::a_crash_keeps_only_what_says_what_happened fails identically on a clean checkout of origin/main at 9093960 (an assertion on a macOS /Users/... path), and this branch touches only title_edition.rs and its line in docs/media/brand/README.md. clippy needed libasound2-dev and libudev-dev on the build machine, which the container did not have at first.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/3838 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 10/29/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/rust-edition-1to1` --- ### 📝 Commits (2) - [`c6d5eed`](https://github.com/horizon-rust/horizon/commit/c6d5eed7a4d74221685c100aa8941a914f539f9d) Title screen: R, U and S are the texture's own strokes (#3822) - [`fc49247`](https://github.com/horizon-rust/horizon/commit/fc49247e01fec147d58b95f9fc50c121b0800f59) R: the leg is the V's arm, so the letter no longer reads as a Q ### 📊 Changes **2 files changed** (+154 additions, -382 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client-render/src/title_edition.rs` (+153 -381) 📝 `docs/media/brand/README.md` (+1 -1) </details> ### 📄 Description Fixes #3822. The banner's R, U and S were rectangles in `title_edition.rs`, painted with a palette sampled from the texture, sitting next to "EDITION", which is vanilla's own 3D lettering. They could not match: the drawn letters were flat and lighter-edged (rim ink 6%, highlight 3% against EDITION's 4% and 2%) and every corner was a right angle — the "Rust is straight but Edition is slightly tilted" of the report. Nothing is drawn now. The letters are the texture's own strokes, moved: - **R** — the D's box with its bottom arm lifted eight rows to become the bowl's bottom, the D's right side kept, and the E's lower stem as the leg. - **U** — the D with its top arm blacked out, and the stem's top closing the second stroke so both reach the letter's top. - **S** — the E with its middle arm widened to the full box and the stem's lower half moved to the right side. - **T** — vanilla's own, as before. So every pixel of the new word is one of the texture's, and the letters inherit its shading, bevels, outline and hand-drawn slants. The palette sampling, the glyph rectangles and the extrusion/outline/counter painter are gone: 229 lines fewer than before. The fingerprint gate is unchanged, so a resource pack's `edition.png` is still left as drawn. `prepared_vanilla_edition` now also asserts that every opaque pixel of the result is one of the texture's own inks, which is what keeps the two words from drifting apart again. The word spans columns 0..191 instead of 0..194, so the gap before "EDITION" grows by three texels (0.75 px at GUI scale 1). The scope note below counts +153/−382: the net is a deletion, and it does not split into parts that each make sense alone. No screenshot: the banner is Mojang's own art rearranged, so I did not add an image of it to the repository. ``` **pr_ready** (tools/pr_ready.py --quick, against origin/main at 909396071, 2 min 15 s) | Check | Result | | --- | --- | | Scope | note: 2 files, +153 -382; 533 lines of code: over 500, split it if it can ship in parts | | Cargo.lock | pass, unchanged | | Public tree | pass | | Python tests | pass, 423 passed (26 s) | | rustfmt | pass (5 s) | | clippy | pass (1 min 37 s) | | tests: horizon-client-render | fail: 548 passed, 1 failed (6 s) | | doc tests | pass, 0 passed (1 s) | | content root tests | skipped, content root untouched | | tokens.css up to date | skipped, theme untouched | | launcher rustfmt / clippy / tests | skipped, launcher untouched | | Parity | not run (--quick): CI's parity job picks the affected harnesses | | Label | player-facing: `feature` if players get something new, no label for a fix | ``` (The build machine's terminal mangled the block's emoji; the checks, counts and timings are as it printed them.) The one red test is not from this change: `telemetry::tests::a_crash_keeps_only_what_says_what_happened` fails identically on a clean checkout of origin/main at 9093960 (an assertion on a macOS `/Users/...` path), and this branch touches only `title_edition.rs` and its line in `docs/media/brand/README.md`. clippy needed `libasound2-dev` and `libudev-dev` on the build machine, which the container did not have at first. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:11:12 +07:00
Sign in to join this conversation.
No milestone
No project
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.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#5241
No description provided.