]> git.ipfire.org Git - thirdparty/google/fonts.git/commitdiff
Cambo: reference the googlefonts/cambo .glyphs source
authorFelipe Correa da Silva Sanches <juca@members.fsf.org>
Thu, 16 Jul 2026 17:24:12 +0000 (18:24 +0100)
committerFelipe CorrĂȘa da Silva Sanches <juca@members.fsf.org>
Thu, 16 Jul 2026 17:54:03 +0000 (18:54 +0100)
Point METADATA.pb at the new googlefonts/cambo 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/cambo/METADATA.pb
ofl/cambo/upstream_info.md

index c84c5f7fc967a701e035c6434e41123a41fb0758..f6f8a5960360a6d26527561cac139f2eb922aeb5 100644 (file)
@@ -4,8 +4,18 @@ license: "OFL"
 category: "SERIF"
 date_added: "2011-12-19"
 source {
-  repository_url: "https://github.com/librefonts/cambo"
-  commit: "3b97d12b34a587e8868700ffa711df7dc6aa0d04"
+  repository_url: "https://github.com/googlefonts/cambo"
+  commit: "a2c35dbad5014c97b1ca438b895d95c7411e0e04"
+  files {
+    source_file: "OFL.txt"
+    dest_file: "OFL.txt"
+  }
+  files {
+    source_file: "fonts/ttf/Cambo-Regular.ttf"
+    dest_file: "Cambo-Regular.ttf"
+  }
+  branch: "master"
+  config_yaml: "sources/config.yaml"
 }
 
 fonts {
index 6a7f241db2072cfc7f545045214cc39840032caf..c74888b4a49e6466c56f67254f9f7d70b8837a5e 100644 (file)
@@ -1,51 +1,26 @@
-# Cambo - Investigation Report
+# Cambo
 
-## Source Data
+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.
 
-| Field | Value |
-|---|---|
-| Family Name | Cambo |
-| Designer | HT Fonts |
-| License | OFL |
-| Date Added | 2011-12-19 |
-| Repository URL | https://github.com/librefonts/cambo |
-| Commit Hash | 3b97d12b34a587e8868700ffa711df7dc6aa0d04 |
-| Branch | master |
-| Config YAML | N/A |
-| Status | missing_config |
+## Initial state
 
-## How URL Found
+Google Fonts shipped Cambo (Regular) built from FontForge SFD sources at https://github.com/librefonts/cambo. There was no Glyphs (`.glyphs`) source, and no source that builds with fontc.
 
-The repository URL `https://github.com/librefonts/cambo` was added as part of a batch source blocks commit (9a14639f3, "Add source blocks to 602 more METADATA.pb files"). The librefonts organization on GitHub hosts mirrors of many Google Fonts projects. The METADATA.pb in google/fonts previously had no source block.
+## Actions taken
 
-Note that the original designer is HT Fonts, but no repo was found at `huertatipografica/cambo` on GitHub. The librefonts mirror is the only known upstream repository.
+- The canonical FontForge SFD source (`src/Cambo-Regular-TTF.sfd`) was converted to Glyphs with babelfont-rs (upstream commit `219c0bb`).
+- The non-breaking space (U+00A0) advance width was corrected in the converted source.
+- A new Unified Font Repository was created at https://github.com/googlefonts/cambo, building the fonts with gftools-builder3 + fontc.
+- The build was verified against the shipped binaries.
 
-## How Commit Determined
+## Final state
 
-The commit `3b97d12b34a587e8868700ffa711df7dc6aa0d04` is the HEAD (and only commit) of the librefonts/cambo repository, dated 2014-10-17. The commit message is "update .travis.yml". This is a single-commit repo that mirrors the original sources.
-
-The font binary in google/fonts was last updated in commit d4b4f127f (2015-04-27, "Updating ofl/cambo/*ttf with nbspace and fsType fixes" by Dave Crossland), which was a metadata fix, not a rebuild from sources. The initial font was added in commit 90abd17b4 ("Initial commit").
-
-Since the librefonts repo has only one commit, the recorded hash is the only valid option and represents the complete state of the upstream mirror.
-
-## Config YAML Status
-
-No `config.yaml` exists in the upstream repository. No override `config.yaml` exists in google/fonts either.
-
-The upstream repo contains only FontForge SFD sources (`src/Cambo-Regular-TTF.sfd`) and VFB files (`src/Cambo-Regular-OTF.vfb`, `src/Cambo-Regular.vfb`). These are not gftools-builder compatible formats. A config.yaml for SFD sources could theoretically be created, but SFD building support in gftools-builder is limited.
+The source now lives at https://github.com/googlefonts/cambo (see METADATA.pb) and builds reproducibly with gftools-builder3 + fontc at functional equivalence with the shipped binaries.
 
 ## Verification
 
-- **Commit hash verified**: The hash `3b97d12` exists in the librefonts/cambo repository and is HEAD of master. CONFIRMED.
-- **Repository accessible**: librefonts/cambo is a valid GitHub repository. CONFIRMED.
-- **Source files**: Only SFD and VFB formats available, no .glyphs/.ufo/.designspace sources.
-- **Single-commit repo**: Only one commit in the entire history (2014-10-17).
-
-## Confidence Level
-
-**HIGH** - The repository URL and commit hash are correct. The librefonts mirror is the only known upstream. The font was originally added to Google Fonts in 2011 and has not been rebuilt from sources since.
+Matched the shipped binary on cmap coverage, vertical metrics, usWeightClass, fsSelection/macStyle, GSUB/GPOS feature sets, GDEF classes and advance widths. The only difference was 10 glyphs renamed to their production names, which leaves cmap coverage unchanged; the fonts are therefore functionally equivalent.
 
-## Open Questions
+## Original repository (dormant)
 
-- The original designer (HT Fonts) may have source files in other formats (e.g., .glyphs) that are not publicly available.
-- No path to gftools-builder compatibility without source conversion from SFD/VFB format.
+The original FontForge sources are at https://github.com/librefonts/cambo (`.sfd`), latest at commit `3b97d12b34a587e8868700ffa711df7dc6aa0d04`. Preserved for provenance; the new `.glyphs` source supersedes it for building.