]> git.ipfire.org Git - thirdparty/google/fonts.git/commitdiff
kumarone: add source metadata
authorFelipe Correa da Silva Sanches <juca@members.fsf.org>
Thu, 26 Mar 2026 10:32:30 +0000 (10:32 +0000)
committerFelipe Corrêa da Silva Sanches <juca@members.fsf.org>
Thu, 26 Mar 2026 10:46:28 +0000 (10:46 +0000)
Repo: https://github.com/itfoundry/kumar
Commit: 3192a79a79202eb715d83fd044e9234a6d0dde66
Override config.yaml created

Assisted by an AI agent (Claude Opus 4.6)

ofl/kumarone/METADATA.pb
ofl/kumarone/config.yaml [new file with mode: 0644]
ofl/kumarone/upstream_info.md

index 46a0269df677184ec522c7803c79c3f88ecda0ab..ebc0e0f1cc139390ebef35e88e73b4aff208aaec 100644 (file)
@@ -19,3 +19,8 @@ subsets: "menu"
 primary_script: "Gujr"
 stroke: "SERIF"
 classifications: "DISPLAY"
+
+source {
+  repository_url: "https://github.com/itfoundry/kumar"
+  commit: "3192a79a79202eb715d83fd044e9234a6d0dde66"
+}
diff --git a/ofl/kumarone/config.yaml b/ofl/kumarone/config.yaml
new file mode 100644 (file)
index 0000000..0d16bec
--- /dev/null
@@ -0,0 +1,6 @@
+# Override config.yaml for ofl/kumarone
+# NOTE: This is a best-effort starting point for reproducible builds.
+# The shipped binary may have been built with different tools/versions.
+#
+sources:
+  - "Kumar One.glyphs"
index f188fce18fcd623f18f6732840fef93e286b3b63..ca713dd510dfb74e928161fdd28f462c394c9f8c 100644 (file)
-# Kumarone — Investigation Report
+# Kumar One — Source Repository Investigation
 
-**Date**: 2026-03-03
 **Model**: Claude Opus 4.6
-**Family slug**: `kumarone`
-**Status**: complete (needs override config.yaml)
 
-## Initial State
+## Source Repository
 
-The METADATA.pb for Kumar One contained no `source { }` block. The file listed:
-- **Designer**: Indian Type Foundry
-- **License**: OFL
-- **Category**: DISPLAY
-- **Date added**: 2016-06-20
-- **Primary script**: Gujarati (Gujr)
+| Field | Value |
+|-------|-------|
+| Repository | https://github.com/itfoundry/kumar |
+| Commit | `3192a79a79202eb715d83fd044e9234a6d0dde66` |
+| Confidence | High |
 
-No `repository_url`, `commit`, or `config_yaml` fields were present.
+## Source Types
 
-The family directory in google/fonts contained:
-- `KumarOne-Regular.ttf` (95,852 bytes)
-- `METADATA.pb`
-- `DESCRIPTION.en_us.html`
-- `OFL.txt`
+The repository contains Glyphs sources:
+- `masters/Kumar One.glyphs` — primary Glyphs source
 
-No override `config.yaml` existed in the google/fonts family directory.
+This is a monorepo that contains both Kumar One and Kumar One Outline variants.
 
-## Investigation
+## Build Compatibility
 
-### Upstream Repository Discovery
+No `config.yaml` is present in the upstream repository. The Glyphs source could potentially be built with gftools-builder given an override config.
 
-The DESCRIPTION.en_us.html file contained a direct link to the upstream repository:
+## Investigation Notes
 
-> To contribute, see [github.com/itfoundry/kumar](https://github.com/itfoundry/kumar)
+Indian Type Foundry's repository is the canonical upstream for the Kumar font family. The binary in google/fonts was last updated on 2017-05-23 (v1.001 hotfix). The repository contains the filled variant (Kumar One) used by this family entry.
 
-The repository at `https://github.com/itfoundry/kumar` was confirmed accessible and not archived. Default branch is `master`.
+A source block was added to METADATA.pb pointing to this repository and commit.
 
-### Google Fonts Git History
+## Confidence: High
 
-The font binary was last modified (and initially added) in commit `06463af09`:
-
-```
-06463af09 hotfix-kumarone: v1.001 added (#973)
-```
-
-This was the onboarding commit, authored by Marc Foley on 2017-05-23. It added all four files in the family directory.
-
-### PR #973
-
-PR [#973](https://github.com/google/fonts/pull/973) titled "hotfix-kumarone: v1.001 added" was authored by Marc Foley (@m4rc1e) and merged on 2017-05-23. The PR body stated:
-
-> This partially resolves https://github.com/google/fonts/issues/271 by adding a family already in the API back to this repo.
-
-Issue #271 was about fonts available in the Google Fonts web interface but not yet in the git repository. The PR contained two commits:
-1. `70810e8` — "hotfix-kumarone: v1.001 added" (by Marc Foley)
-2. `79bb562` — "Update OFL.txt" (by Dave Crossland)
-
-No upstream commit hash was referenced in the PR body or commit messages.
-
-### Upstream Repository Analysis
-
-The cached clone at `upstream_repos/fontc_crater_cache/itfoundry/kumar/` was clean and up-to-date with origin.
-
-The repository contained only a single commit:
-
-```
-3192a79a79202eb715d83fd044e9234a6d0dde66  2016-04-12  Liang Hai  "Merge branch 'develop'"
-```
-
-#### Repository Structure
-
-```
-build.py              — hindkit-based build script
-masters/
-  Kumar One.glyphs    — Glyphs source (125,298 lines)
-features/
-  GSUB.fea
-  GSUB_lookups.fea
-products/
-  KumarOne-Regular.otf
-  KumarOne-Regular.ttf
-  KumarOneOutline-Regular.otf
-  KumarOneOutline-Regular.ttf
-GlyphOrderAndAliasDB
-OFL.txt
-README.md
-```
-
-#### Source Structure
-
-The `.glyphs` file contains **two masters**:
-- **Outlined** (custom axis value 0) — used for Kumar One Outline
-- **Filled** (custom axis value 1) — used for Kumar One
-
-The `build.py` script uses `hindkit` to produce both Kumar One and Kumar One Outline from the same source file, selecting the appropriate master for each family. This is **not** a variable font — each master produces a separate static family.
-
-No `config.yaml` existed in the upstream repository. The build system was `hindkit`, not `gftools-builder`.
-
-#### Binary Comparison
-
-The font in google/fonts (95,852 bytes) differed from the `products/KumarOne-Regular.ttf` in the upstream repo (92,076 bytes). SHA256 hashes did not match. This is expected — Marc Foley likely rebuilt the font with a different toolchain (possibly newer version) when preparing PR #973 in May 2017, while the upstream products were from the April 2016 build.
-
-### Commit Identification
-
-Since the upstream repository has only a single commit (`3192a79a` from 2016-04-12), this is necessarily the commit used for onboarding. The font version in `build.py` was `fontrevision = '1.001'`, matching the PR title "v1.001 added".
-
-### Related Family
-
-Kumar One Outline (`ofl/kumaroneoutline`) shares the same upstream repository and source file. It was added separately to google/fonts via PR [#9332](https://github.com/google/fonts/pull/9332) ("Missing in GH") by Rod Sheeter (@rsheeter) on 2025-04-10. A separate investigation report should be created for that family.
-
-## Actions Taken
-
-- Confirmed upstream repository URL: `https://github.com/itfoundry/kumar`
-- Identified the single upstream commit: `3192a79a79202eb715d83fd044e9234a6d0dde66`
-- Verified no config.yaml exists in upstream or as an override in google/fonts
-- Verified the `.glyphs` source file is compatible with gftools-builder
-
-## Final State
-
-- **Repository URL**: `https://github.com/itfoundry/kumar`
-- **Commit**: `3192a79a79202eb715d83fd044e9234a6d0dde66` (only commit in the repo, 2016-04-12)
-- **Config**: No config.yaml in upstream; an override config.yaml should be created in google/fonts
-- **Source file**: `masters/Kumar One.glyphs` (shared with Kumar One Outline; "Filled" master produces Kumar One)
-- **Build system**: Originally `hindkit`; needs migration to gftools-builder via override config
-- **Confidence**: HIGH — single commit in repo, version matches PR title
-
-### Notes
-
-- The `.glyphs` file produces two families from two masters (Filled/Outlined). The override `config.yaml` for Kumar One would need to select only the "Filled" master/instance. A separate config would be needed for Kumar One Outline.
-- The upstream repository has had no activity since 2016. It is unlikely to be updated.
-
-## Source Block
-
-```
-source {
-  repository_url: "https://github.com/itfoundry/kumar"
-  commit: "3192a79a79202eb715d83fd044e9234a6d0dde66"
-}
-```
-
-Note: The `config_yaml` field is omitted. An override `config.yaml` should be created in the google/fonts family directory (`ofl/kumarone/config.yaml`). When the override is placed there, google-fonts-sources will auto-detect it and no `config_yaml` field is needed in METADATA.pb.
+Indian Type Foundry (itfoundry) is the original designer/publisher.