]> git.ipfire.org Git - thirdparty/google/fonts.git/commitdiff
Glegoo: reference the googlefonts/glegoo .glyphs source
authorFelipe Correa da Silva Sanches <juca@members.fsf.org>
Thu, 9 Jul 2026 17:24:11 +0000 (18:24 +0100)
committerFelipe CorrĂȘa da Silva Sanches <juca@members.fsf.org>
Thu, 9 Jul 2026 18:53:46 +0000 (19:53 +0100)
Point METADATA.pb at the new googlefonts/glegoo repository (the FontForge SFD
source converted to Glyphs, building with gftools-builder3 + fontc) and
rewrite upstream_info.md to record the modernization.

Assisted by an AI agent (Claude Opus 4.8)

ofl/glegoo/METADATA.pb
ofl/glegoo/upstream_info.md

index 09d655cd63e24e44c2029c6c2f5821adbb9cfdda..4d5d13856320f02080de89204ba0ff372c4c1e79 100644 (file)
@@ -26,7 +26,21 @@ subsets: "devanagari"
 subsets: "latin"
 subsets: "latin-ext"
 source {
-  repository_url: "https://github.com/etunni/glegoo"
-  commit: "a6b0a10abfaf1b88feb4a9f9eb731beefbb4bbb8"
+  repository_url: "https://github.com/googlefonts/glegoo"
+  commit: "f33250e4771fc7535fbbe847c4d9787396dff0a9"
+  files {
+    source_file: "OFL.txt"
+    dest_file: "OFL.txt"
+  }
+  files {
+    source_file: "fonts/ttf/Glegoo-Bold.ttf"
+    dest_file: "Glegoo-Bold.ttf"
+  }
+  files {
+    source_file: "fonts/ttf/Glegoo-Regular.ttf"
+    dest_file: "Glegoo-Regular.ttf"
+  }
+  branch: "master"
+  config_yaml: "sources/config.yaml"
 }
 stroke: "SLAB_SERIF"
index caac0740a5735980ba47db84f5890a1e87c0a9ed..f9c40449c339f91df3c394261e3eb6c5bf18561e 100644 (file)
@@ -1,93 +1,28 @@
-# Investigation Report: Glegoo
+# Glegoo
 
-## Summary
+Source modernized 2026-07: the FontForge `.sfd` sources were converted to Glyphs (`.glyphs`) and now build with the Google Fonts Rust pipeline (gftools-builder3 + fontc). The repository, commit and config are recorded in the `source { }` block of METADATA.pb and are not duplicated here.
 
-Glegoo is a slab serif typeface designed by Eduardo Tunni, featuring Regular and Bold weights with Latin and Devanagari script support. The upstream repository at `https://github.com/etunni/glegoo` contains FontForge SFD source files. The METADATA.pb already has a source block with repository_url and commit hash, and an override config.yaml exists in the google/fonts family directory. However, the override config.yaml only references `Glegoo-Regular.sfd` and omits `Glegoo-Bold.sfd`, which means it cannot produce the full family.
+## Initial state
 
-## Key Findings
+Google Fonts shipped Glegoo (Regular and Bold) built from FontForge SFD sources at https://github.com/etunni/glegoo. There was no Glyphs (`.glyphs`) source, and no source that builds with fontc.
 
-| Field              | Value |
-|--------------------|-------|
-| Family Name        | Glegoo |
-| Designer           | Eduardo Tunni |
-| Repository URL     | https://github.com/etunni/glegoo |
-| Commit Hash        | a6b0a10abfaf1b88feb4a9f9eb731beefbb4bbb8 |
-| Config YAML        | Override config.yaml in google/fonts (needs correction) |
-| Source Type        | FontForge SFD (.sfd) |
-| Weights            | Regular (400), Bold (700) |
-| Status             | needs_correction |
-| Confidence         | HIGH |
+## Actions taken
 
-## Investigation Details
+- The canonical FontForge SFD sources were converted to Glyphs with babelfont-rs (upstream commit `219c0bb`).
+- A new Unified Font Repository was created at https://github.com/googlefonts/glegoo, building the fonts with gftools-builder3 + fontc.
+- Devanagari mark positioning: babelfont names the below/above anchors generically (DVAnchor0/DVAnchor3), which fontc cannot split into blwm/abvm; the below-base anchors were renamed to bottom so fontc routes below-base marks to blwm (12/12, matching shipped).
+- Two dead, shadowed i-matra ligature rules were removed.
+- The vertical metrics were set to the shipped values, the Bold master name + an OS/2 WeightClass override (700) were added, and the spacing conjuncts were kept out of the mark category so their advances and mark coverage match shipped.
+- The build was verified against the shipped binaries.
 
-### METADATA.pb Analysis
+## Final state
 
-The current METADATA.pb contains a source block added by Simon Cozens (commit 474a446c0, 2024-01-14) with the repository_url, later enriched by Felipe Sanches (commit f7b6a76a3, 2025-10-30) with the commit hash `a6b0a10abfaf1b88feb4a9f9eb731beefbb4bbb8`. No `config_yaml` field is set in the source block, which is correct since there is a local override config.yaml.
+The source now lives at https://github.com/googlefonts/glegoo (see METADATA.pb) and builds reproducibly with gftools-builder3 + fontc at functional parity with the shipped binaries.
 
-### Upstream Repository
+## Verification
 
-- **URL**: https://github.com/etunni/glegoo
-- **Cached at**: upstream_repos/fontc_crater_cache/etunni/glegoo
-- **Remote verified**: Yes, remote origin matches the METADATA.pb repository_url
+cmap, vertical metrics, usWeightClass, fsSelection/macStyle, GSUB features, abvm/blwm mark coverage (40/12) and advance widths all match the shipped binaries. The only difference is a redundant generic `mark` GPOS feature that fontc registers alongside abvm/blwm; it is inert for Devanagari (HarfBuzz applies the Indic abvm/blwm features, not the default mark).
 
-The repository contains:
-- `Glegoo-Regular.sfd` - FontForge source for Regular weight (v2.0.1)
-- `Glegoo-Bold.sfd` - FontForge source for Bold weight (v2.0.1)
-- `Glegoo-Regular.ttf` - Pre-compiled Regular binary
-- `Glegoo-Bold.ttf` - Pre-compiled Bold binary
-- `OFL.txt`, `FONTLOG.txt` - License and font log
-- No config.yaml in the upstream repo
-- No .glyphs, .ufo, or .designspace files
+## Original repository (dormant)
 
-### Commit Hash Verification
-
-The referenced commit `a6b0a10` (2014-08-27, "Update files and image") is the HEAD of the repository's master branch. It only modified documentation files (PDF sample and InDesign template), not the font sources.
-
-The SFD source files were last updated in commit `99fd234` (2014-08-12, "New ttf's with auto hinting version 1.1"). The commit `a6b0a10` is acceptable as the reference since it is the latest commit in the repo and the SFD files at that commit are identical to those at `99fd234`.
-
-The TTF files in google/fonts do not match the pre-compiled TTFs in the upstream repo (different md5 checksums), indicating the fonts in google/fonts were rebuilt from the SFD sources during onboarding rather than copied directly.
-
-### Google Fonts History
-
-- **Initial commit** (90abd17b4, 2015-03-07): Font files were added in the initial commit of the google/fonts repository.
-- **No TTF updates**: The TTF files have never been updated since the initial commit.
-
-### Override config.yaml Issue
-
-The current override config.yaml in `ofl/glegoo/config.yaml` contains:
-
-```yaml
-buildVariable: false
-sources:
-  - Glegoo-Regular.sfd
-```
-
-This only references the Regular weight. The Bold weight (`Glegoo-Bold.sfd`) is a separate SFD file in the upstream repo and should also be listed. Without it, gftools-builder would only produce the Regular weight, not the full family.
-
-## Conclusion
-
-The source block in METADATA.pb is correct (repository_url and commit hash are both valid). However, the override config.yaml needs correction to include both SFD sources. Note that SFD is not a modern gftools-builder source format, so building from these sources may not be fully supported by the current toolchain.
-
-### Recommended METADATA.pb Source Block
-
-The existing source block is correct and does not need changes:
-
-```
-source {
-  repository_url: "https://github.com/etunni/glegoo"
-  commit: "a6b0a10abfaf1b88feb4a9f9eb731beefbb4bbb8"
-}
-```
-
-### Recommended Override config.yaml Correction
-
-```yaml
-buildVariable: false
-sources:
-  - Glegoo-Regular.sfd
-  - Glegoo-Bold.sfd
-```
-
-### Status: needs_correction
-
-The METADATA.pb source block is complete, but the override config.yaml should be corrected to include both the Regular and Bold SFD sources.
+The original FontForge sources are at https://github.com/etunni/glegoo (`.sfd`), latest at commit `a6b0a10abfaf1b88feb4a9f9eb731beefbb4bbb8`. Preserved for provenance; the new `.glyphs` source supersedes it for building.