]> git.ipfire.org Git - thirdparty/google/fonts.git/commitdiff
Red Hat Text: fix source block in METADATA.pb
authorFelipe Correa da Silva Sanches <juca@members.fsf.org>
Fri, 27 Feb 2026 10:39:24 +0000 (10:39 +0000)
committerFelipe Corrêa da Silva Sanches <juca@members.fsf.org>
Fri, 27 Feb 2026 10:46:34 +0000 (10:46 +0000)
- Repo: RedHatOfficial/RedHatFont
- Commit: 3228709 (merge bghryct sources into unified repo)
- Config: source/Proportional/RedHatText/config.yaml
- Status: complete
- Confidence: MEDIUM
Original bghryct/RedHatText repo deleted; content merged into RedHatOfficial/RedHatFont.

ofl/redhattext/METADATA.pb
ofl/redhattext/upstream_info.md [new file with mode: 0644]

index 5ebe2e9642cb027b8f2b1a27dcb841e565819668..34ee32cb111c3250bc1e3f797b5293acc8f64e05 100644 (file)
@@ -30,21 +30,22 @@ axes {
   max_value: 700.0
 }
 source {
-  repository_url: "https://github.com/bghryct/RedHatText"
-  commit: "dfbc50b16e27d5be1986c3ec79534460a74c1370"
+  repository_url: "https://github.com/RedHatOfficial/RedHatFont"
+  commit: "32287097803f6c58136b60bc7a4a594a7fcbd689"
+  config_yaml: "source/Proportional/RedHatText/config.yaml"
   files {
     source_file: "OFL.txt"
     dest_file: "OFL.txt"
   }
   files {
-    source_file: "fonts/variable/RedHatText[wght].ttf"
+    source_file: "fonts/Proportional/RedHatText/variable/RedHatText[wght].ttf"
     dest_file: "RedHatText[wght].ttf"
   }
   files {
-    source_file: "fonts/variable/RedHatText-Italic[wght].ttf"
+    source_file: "fonts/Proportional/RedHatText/variable/RedHatText-Italic[wght].ttf"
     dest_file: "RedHatText-Italic[wght].ttf"
   }
-  branch: "main"
+  branch: "master"
 }
 
 stroke: "SANS_SERIF"
diff --git a/ofl/redhattext/upstream_info.md b/ofl/redhattext/upstream_info.md
new file mode 100644 (file)
index 0000000..ba0595f
--- /dev/null
@@ -0,0 +1,89 @@
+# Investigation Report: Red Hat Text
+
+## Summary
+
+| Field | Value |
+|-------|-------|
+| **Family Name** | Red Hat Text |
+| **Status** | complete |
+| **Repository URL** | https://github.com/RedHatOfficial/RedHatFont |
+| **Commit Hash** | `32287097803f6c58136b60bc7a4a594a7fcbd689` |
+| **Config YAML** | `source/Proportional/RedHatText/config.yaml` |
+| **Confidence** | MEDIUM |
+
+## Current State in google/fonts
+
+The METADATA.pb at `ofl/redhattext/METADATA.pb` has:
+```
+source {
+  repository_url: "https://github.com/bghryct/RedHatText"
+  commit: "dfbc50b16e27d5be1986c3ec79534460a74c1370"
+  files { ... }
+  branch: "main"
+}
+```
+
+The URL `https://github.com/bghryct/RedHatText` returns **HTTP 404** — the repository has been deleted.
+
+## How the Correct URL Was Found
+
+See the [Red Hat Display investigation](red-hat-display.md) for the full repository history. All three Red Hat families share the same upstream repo `https://github.com/RedHatOfficial/RedHatFont`.
+
+The bghryct per-family repos were created by Mirko Velimirovic for the Version 1.030 update, then merged back into RedHatOfficial/RedHatFont via PR #69 on 2025-03-06.
+
+## How the Commit Hash Was Identified
+
+The original onboarding commit in google/fonts (PR #8501, merged 2024-11-20):
+```
+commit 5586f40517c878eae7b9bdf37257a0fa69c3f653
+Author: Emma Marichal
+Date: 2024-11-15
+
+    Red Hat Text: Version 1.030 added
+
+    Taken from the upstream repo https://github.com/bghryct/RedHatText at commit
+    https://github.com/bghryct/RedHatText/commit/dfbc50b16e27d5be1986c3ec79534460a74c1370.
+```
+
+The original commit `dfbc50b` was in the now-deleted `bghryct/RedHatText` repo and does **not exist** in `RedHatOfficial/RedHatFont`. The equivalent content is at commit `32287097803f6c58136b60bc7a4a594a7fcbd689` (merge of PR #69 from bghryct/master, tagged `4.1.0`).
+
+### Why MEDIUM Confidence
+
+Same reasoning as Red Hat Display — the original bghryct commit hashes are unverifiable since the repos are deleted. Commit `3228709` is the merge that incorporated the equivalent content.
+
+## Verification
+
+### Config YAML
+`source/Proportional/RedHatText/config.yaml` exists at commit `3228709`:
+```yaml
+sources:
+  - RedHatText.glyphs
+  - RedHatText-Italic.glyphs
+familyName: "Red Hat Text"
+buildOTF: true
+```
+
+Source files: `source/Proportional/RedHatText/RedHatText.glyphs` and `RedHatText-Italic.glyphs`
+
+### Font File Paths
+In RedHatOfficial/RedHatFont at commit `3228709`:
+- `fonts/Proportional/RedHatText/variable/RedHatText[wght].ttf`
+- `fonts/Proportional/RedHatText/variable/RedHatText-Italic[wght].ttf`
+
+Note: The old bghryct repo used `fonts/variable/` (flat), while the RedHatOfficial repo uses `fonts/Proportional/RedHatText/variable/` (organized by family).
+
+### URL Verification
+- `https://github.com/bghryct/RedHatText` → HTTP 404 (deleted)
+- `https://github.com/RedHatOfficial/RedHatFont` → HTTP 200 (active)
+
+### Branch
+The repo uses `master` (not `main`).
+
+## What Needs to Change
+
+In `ofl/redhattext/METADATA.pb`, the source block should be updated:
+1. Fix `repository_url` from `bghryct/RedHatText` to `RedHatOfficial/RedHatFont`
+2. Update `commit` from `dfbc50b...` to `32287097803f6c58136b60bc7a4a594a7fcbd689`
+3. Add `config_yaml: "source/Proportional/RedHatText/config.yaml"`
+4. Update `source_file` paths from `fonts/variable/` to `fonts/Proportional/RedHatText/variable/`
+5. Change `branch` from `main` to `master`