]> git.ipfire.org Git - thirdparty/google/fonts.git/commitdiff
lustria: add source metadata from googlefontdirectory-hg
authorFelipe Correa da Silva Sanches <juca@members.fsf.org>
Wed, 25 Mar 2026 14:37:01 +0000 (14:37 +0000)
committerFelipe Correa da Silva Sanches <juca@members.fsf.org>
Wed, 25 Mar 2026 14:37:01 +0000 (14:37 +0000)
Repo: https://github.com/googlefonts/googlefontdirectory-hg
Commit: 52f780bc9d197280a9f430574e179a5f233c56b6
source block added to METADATA.pb

Assisted by an AI agent (Claude Opus 4.6)

ofl/lustria/METADATA.pb
ofl/lustria/upstream_info.md

index 41f6077199e953ac0d10e2311fae8ef151b6f457..fbb9ab15c32be00772f17d063d2010b456a41484 100644 (file)
@@ -15,3 +15,7 @@ fonts {
 subsets: "menu"
 subsets: "latin"
 subsets: "latin-ext"
+source {
+  repository_url: "https://github.com/googlefonts/googlefontdirectory-hg"
+  commit: "52f780bc9d197280a9f430574e179a5f233c56b6"
+}
index bb0fbcf81ed95bbfbb267bf81aab583b9d16db5f..7d1975ff231befdf3a06ed44853d20c2c5a413a3 100644 (file)
@@ -2,87 +2,44 @@
 
 **Model**: Claude Opus 4.6
 **Date**: 2026-03-03
-**Status**: complete (SFD-only sources)
+**Status**: complete (SFD/VFB-only sources)
 
-## METADATA.pb Source Block (current)
+## Source Repository
 
-The current METADATA.pb on upstream main has **no source block**. A source block was added on the local branch `sources_info_2026-02-25` (commit `9a14639f3`) but has not been merged to upstream google/fonts main yet.
+The source files for Lustria are available in the **googlefontdirectory-hg** monorepo at commit `52f780bc9d197280a9f430574e179a5f233c56b6`, under the path `lustria/src/`.
 
-Current METADATA.pb contents (upstream main):
-```
-name: "Lustria"
-designer: "MADType"
-license: "OFL"
-category: "SERIF"
-date_added: "2012-01-18"
-fonts {
-  name: "Lustria"
-  style: "normal"
-  weight: 400
-  filename: "Lustria-Regular.ttf"
-  post_script_name: "Lustria-Regular"
-  full_name: "Lustria"
-  copyright: "Copyright (c) 2011, Matthew Desmond (http://www.madtype.com | mattdesmond@gmail.com), with Reserved Font Name Lustria"
-}
-subsets: "menu"
-subsets: "latin"
-subsets: "latin-ext"
-```
+### Source Files in googlefontdirectory-hg
 
-## Repository Analysis
+| File | Format | Notes |
+|------|--------|-------|
+| `Lustria-Regular-TTF.sfd` | FontForge SFD | Primary editable source (not gftools-builder compatible) |
+| `Lustria-Regular-OTF.vfb` | FontLab VFB | Proprietary binary (not buildable with gftools) |
+| `Lustria-Regular.otf` | Compiled OTF binary | Not a design source |
+| `METADATA_comments.txt` | Metadata | Legacy subsetting commands, not a source file |
 
-**Upstream repository**: https://github.com/librefonts/lustria
+No modern gftools-builder compatible sources (.glyphs, .ufo, .designspace) exist. The only editable sources are in SFD (FontForge) and VFB (FontLab) formats, which are not supported by gftools-builder.
 
-The repository was created on 2014-07-16 under the `librefonts` GitHub organization. It contains a single commit (`a796e0e874e34d163ac3aceb3f6014af1ef66d3c`) dated 2014-10-17, authored by `hash3g <hash.3g@gmail.com>` with the message "update .travis.yml". The repo is not archived and not a fork.
+## librefonts Mirror
 
-**Contributors**: vitalyvolkov, xen
+The same source files are also available at https://github.com/librefonts/lustria, created on 2014-07-16 under the `librefonts` GitHub organization. It contains a single commit (`a796e0e874e34d163ac3aceb3f6014af1ef66d3c`) dated 2014-10-17, authored by `hash3g <hash3g@gmail.com>` with the message "update .travis.yml". The repo is not archived and not a fork.
 
-### Repository Structure
-
-The repository contains:
-- `Lustria-Regular.ttf.*.ttx` — TTX decomposed tables of the TTF binary (root level)
-- `src/Lustria-Regular-TTF.sfd` — FontForge SFD source (327 KB)
-- `src/Lustria-Regular-OTF.vfb` — FontLab VFB source (80 KB)
-- `src/Lustria-Regular.otf.*.ttx` — TTX decomposed tables of the OTF binary
-- `src/METADATA_comments.txt` — Build comments referencing `~/googlefontdirectory/` workflow
-- `src/VERSIONS.txt` — Records "Version 001.001"
-- `.travis.yml` — CI configuration using fontbakery-build.py (legacy tooling)
-- `METADATA.json`, `FONTLOG.txt`, `DESCRIPTION.en_us.html`, `OFL.txt`
+**Contributors**: vitalyvolkov, xen
 
-**No modern source files found**: No `.glyphs`, `.glyphx`, `.ufo`, or `.designspace` files exist. The only editable sources are SFD (FontForge) and VFB (FontLab) formats, which are not compatible with gftools-builder.
+The repository contains TTX decomposed tables of the TTF binary at root level, plus the SFD/VFB sources in `src/`, a `.travis.yml` for CI using the legacy `fontbakery-build.py` pipeline, and metadata files (FONTLOG.txt, OFL.txt, DESCRIPTION.en_us.html).
 
-**No `config.yaml` found** in the repository.
+The METADATA_comments.txt file references `~/googlefontdirectory/` paths, indicating this font was processed using the original Google Fonts directory tooling (font-optimizer, subset.py) before the current repository structure was established.
 
 ## Onboarding History
 
-Lustria was added to Google Fonts in the "Initial commit" (`90abd17b4`) dated 2015-03-07, authored by Dave Crossland. The `date_added` field in METADATA.pb is "2012-01-18", indicating the font was part of the Google Fonts catalog before the current git repository was created.
+Lustria was added to Google Fonts on 2012-01-18 (per `date_added` in METADATA.pb). The font was included in the initial commit of the google/fonts repository (`90abd17b4`, 2015-03-07, by Dave Crossland), which migrated the entire collection into the current structure.
 
-The font binary (`Lustria-Regular.ttf`, 37,400 bytes) has never been updated since the initial commit. Its SHA-256 hash is `8b50753779d151674dcc74bdf9cdde1e788d8fb2b9ace8fb183a0def0f7361ce` and remained unchanged throughout the repository history.
+The font binary (`Lustria-Regular.ttf`, 37,400 bytes) has never been updated since the initial commit. Its SHA-256 hash is `8b50753779d151674dcc74bdf9cdde1e788d8fb2b9ace8fb183a0def0f7361ce`.
 
-The `librefonts/lustria` repository predates the initial google/fonts commit (created July 2014 vs. March 2015), and appears to be part of the `librefonts` organization's effort to provide source repositories for Google Fonts families. The repository was set up with Travis CI for automated font building using the legacy `fontbakery-build.py` toolchain.
-
-The METADATA_comments.txt file references `~/googlefontdirectory/` paths, indicating this font was processed using the original Google Fonts directory tooling (font-optimizer, subset.py) before the current repository structure was established.
+**Designer**: MADType (Matthew Desmond, mattdesmond@gmail.com, www.madtype.com)
 
 ## Build Configuration
 
-**No `config.yaml` exists** in the upstream repository.
-
-The only available sources are:
-- `src/Lustria-Regular-TTF.sfd` — FontForge format
-- `src/Lustria-Regular-OTF.vfb` — FontLab format
-
-These legacy formats are **not compatible with gftools-builder**, which requires `.glyphs`, `.ufo`, or `.designspace` sources. An override `config.yaml` cannot be created because there are no buildable source files for gftools-builder.
-
-The `.travis.yml` used the legacy `fontbakery-build.py` pipeline with FontForge and fontcrunch, which is no longer the standard build system.
-
-## Findings
-
-1. **Repository identified**: The upstream repository is `https://github.com/librefonts/lustria` with a single commit `a796e0e`.
-2. **SFD-only sources**: The repository contains only FontForge (SFD) and FontLab (VFB) source files. These are legacy formats not supported by the modern gftools-builder toolchain.
-3. **No config.yaml possible**: Since there are no `.glyphs`, `.ufo`, or `.designspace` sources, no `config.yaml` can be created (neither in the upstream repo nor as an override).
-4. **Font unchanged**: The binary TTF in google/fonts has never been modified since the initial commit in 2015.
-5. **Commit hash verified**: The single commit `a796e0e874e34d163ac3aceb3f6014af1ef66d3c` is the only commit in the repository, making it the correct reference.
-6. **Pending source block**: A source block was prepared on the `sources_info_2026-02-25` branch but has not been merged to upstream google/fonts main.
+No `config.yaml` exists and none can be created. The only available sources are SFD (FontForge) and VFB (FontLab) formats, which are not compatible with gftools-builder. The legacy `.travis.yml` used the `fontbakery-build.py` pipeline with FontForge and fontcrunch, which is no longer the standard build system.
 
 ## Recommended Source Block
 
@@ -93,4 +50,4 @@ source {
 }
 ```
 
-No `config_yaml` field is needed because the sources are SFD-only (FontForge format) and cannot be built with gftools-builder. No override `config.yaml` is applicable.
+No `config_yaml` field is needed because the sources are SFD-only and cannot be built with gftools-builder.