[PR #2844] [MERGED] Fonts: Pixelify Sans gets the Cyrillic О and П it was missing #4651

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2844
Author: @Domanffe
Created: 10/27/2026
Status: ✅ Merged
Merged: 10/28/2026
Merged by: @rdbtCVS

Base: main ← Head: fix/pixelify-cyrillic-o-p


📝 Commits (1)

  • c3fb165 Fonts: Pixelify Sans gets the Cyrillic О and П it was missing

📊 Changes

4 files changed (+3 additions, -1 deletions)

View changed files

📝 crates/horizon-theme/fonts/PixelifySans-Bold.ttf (+0 -0)
📝 crates/horizon-theme/fonts/PixelifySans-Medium.ttf (+0 -0)
📝 crates/horizon-theme/fonts/PixelifySans-SemiBold.ttf (+0 -0)
📝 docs/design-system.md (+3 -1)

📄 Description

🤖 Opened by Alexander's AI agent (Hermes), not by Alexander himself.

A Russian heading in the launcher drew «О» and «П» in the fallback font. Pixelify Sans maps U+043E (о) and U+043F (п) and not their capitals, so ПОИГРАТЬ came out with two tall, smooth letters in the middle of a pixel word, and ПОДКЛЮЧИТЬСЯ started with one. The same happens on the website and in the game's own captions, which use the same token.

The three bundled weights now carry both letters, taken from the font's own drawing. О is the Latin O's glyph under the Cyrillic codepoint, which is the same round shape this font gives о: its lowercase is the O with the top shifted down. П is that weight's lowercase п with everything above the baseline lifted to the cap height the font uses there, Н's top. The lift is per weight because each draws its own metrics: 175 units in SemiBold, 177 in Medium, 171 in Bold. Each new glyph now sits on the bounding box of the O and Н of its own weight, so widths and heights match the letters beside them.

О keeps the O's hinting instructions, being the same glyph under another codepoint. П is a new outline and carries none, which a pixel design does not need at the 13 to 38 px the launcher draws it. GDEF, GPOS and GSUB are byte-identical to the files they replace and no table was added or dropped.

docs/design-system.md now says so beside the font's entry, so a future re-download does not silently bring the bug back.

Checked in the built launcher with the language set to ru: «Главная», «Моды», «Серверы», «Офлайн», «Подготовка», «Играть» all render in the pixel face.

The pr_ready --quick block follows as a comment.


🔄 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/2844 **Author:** [@Domanffe](https://github.com/Domanffe) **Created:** 10/27/2026 **Status:** ✅ Merged **Merged:** 10/28/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `fix/pixelify-cyrillic-o-p` --- ### 📝 Commits (1) - [`c3fb165`](https://github.com/horizon-rust/horizon/commit/c3fb1656e66f55ebbbf53417577436c2e94b0c2f) Fonts: Pixelify Sans gets the Cyrillic О and П it was missing ### 📊 Changes **4 files changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-theme/fonts/PixelifySans-Bold.ttf` (+0 -0) 📝 `crates/horizon-theme/fonts/PixelifySans-Medium.ttf` (+0 -0) 📝 `crates/horizon-theme/fonts/PixelifySans-SemiBold.ttf` (+0 -0) 📝 `docs/design-system.md` (+3 -1) </details> ### 📄 Description > 🤖 Opened by Alexander's AI agent (Hermes), not by Alexander himself. A Russian heading in the launcher drew «О» and «П» in the fallback font. Pixelify Sans maps U+043E (о) and U+043F (п) and not their capitals, so `ПОИГРАТЬ` came out with two tall, smooth letters in the middle of a pixel word, and `ПОДКЛЮЧИТЬСЯ` started with one. The same happens on the website and in the game's own captions, which use the same token. The three bundled weights now carry both letters, taken from the font's own drawing. **О** is the Latin `O`'s glyph under the Cyrillic codepoint, which is the same round shape this font gives `о`: its lowercase is the `O` with the top shifted down. **П** is that weight's lowercase `п` with everything above the baseline lifted to the cap height the font uses there, `Н`'s top. The lift is per weight because each draws its own metrics: 175 units in SemiBold, 177 in Medium, 171 in Bold. Each new glyph now sits on the bounding box of the `O` and `Н` of its own weight, so widths and heights match the letters beside them. О keeps the `O`'s hinting instructions, being the same glyph under another codepoint. П is a new outline and carries none, which a pixel design does not need at the 13 to 38 px the launcher draws it. GDEF, GPOS and GSUB are byte-identical to the files they replace and no table was added or dropped. `docs/design-system.md` now says so beside the font's entry, so a future re-download does not silently bring the bug back. Checked in the built launcher with the language set to `ru`: «Главная», «Моды», «Серверы», «Офлайн», «Подготовка», «Играть» all render in the pixel face. The `pr_ready --quick` block follows as a comment. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:06:57 +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#4651
No description provided.