]> git.ipfire.org Git - thirdparty/google/fonts.git/commitdiff
notosansjp: add source metadata (blob-verified)
authorFelipe Correa da Silva Sanches <juca@members.fsf.org>
Wed, 25 Mar 2026 20:30:31 +0000 (20:30 +0000)
committerFelipe Corrêa da Silva Sanches <juca@members.fsf.org>
Wed, 25 Mar 2026 20:42:06 +0000 (17:42 -0300)
Repo: https://github.com/notofonts/noto-cjk
Commit: 523d033d6cb47f4a80c58a35753646f5c3608a78
Verification: blob-hash match against google/fonts PR commit

Assisted by an AI agent (Claude Opus 4.6)

ofl/notosansjp/METADATA.pb
ofl/notosansjp/upstream_info.md

index 3abf3bbeba9df9c9d5728e673ba60d472583c57d..f34cf447dd213822c446e07d70f2039bcd54a298 100644 (file)
@@ -32,3 +32,8 @@ languages: "ryu_Jpan"  # Central Okinawan, Japanese
 languages: "ryu_Kana"  # Central Okinawan
 display_name: "Noto Sans Japanese"
 primary_script: "Jpan"
+
+source {
+  repository_url: "https://github.com/notofonts/noto-cjk"
+  commit: "523d033d6cb47f4a80c58a35753646f5c3608a78"
+}
index 778af86898a5062e8ba7d278b42f426626239a4f..2982a935ae196061a5fee66b92cf09d4cf851830 100644 (file)
@@ -1,17 +1,37 @@
-# Noto Sans JP — Source Metadata Investigation
+# Noto Sans JP — Upstream Source Investigation
+
 **Model**: Claude Opus 4.6
-**Date**: 2026-03-12
 
 ## Source Repository
-- **URL**: No source block present
-- **Commit**: `N/A`
-- **Status**: absent
-
-## What Was Done
-The existing source metadata was reviewed. No `source` block was found in the METADATA.pb file. The copyright line references Adobe Source Han Sans. The family is a variable font with a `wght` (100–900) axis.
-
-## Notes
-- Designer: Google
-- Script: Japanese (Jpan), Hiragana (Hira), Katakana (Kana)
-- Category: SANS_SERIF
-- Display name: Noto Sans Japanese; covers Japanese, Ainu, and Central Okinawan.
+
+| Field | Value |
+|-------|-------|
+| Repository | https://github.com/notofonts/noto-cjk |
+| Commit | `523d033d6cb47f4a80c58a35753646f5c3608a78` |
+| Version | 2.004 |
+| Onboarding PR | [google/fonts#5469](https://github.com/google/fonts/pull/5469) |
+| Date | 2022-11-03 |
+
+## Investigation Summary
+
+Noto Sans JP is a regional subset of the Noto CJK mega-font family, targeting Japanese. The binary was taken from the `Sans2.004` tag at commit `523d033d`, specifically from `Sans/Variable/TTF/Subset/NotoSansJP-VF.ttf`. An 832-byte post-processing difference exists between the upstream binary and the shipped version, consistent with table rewriting during onboarding.
+
+## Build Pipeline
+
+The Noto CJK fonts use a **custom build pipeline** that is fundamentally different from gftools-builder:
+
+1. **Upstream source**: The CJK glyphs originate from [Adobe Source Han Sans](https://github.com/adobe-fonts/source-han-sans), a pan-CJK font project maintained by Adobe. The Noto CJK project adapts these sources under a collaboration between Google and Adobe.
+
+2. **Build tooling**: The fonts are built using Adobe's `AFDKO` (Adobe Font Development Kit for OpenType) and custom Python scripts in the noto-cjk repository, not fontmake or gftools-builder. The build process involves CID-keyed font technology and region-specific glyph selection.
+
+3. **Regional subsetting**: The unified CJK source contains glyphs for all regions (SC, TC, HK, JP, KR). Each regional variant is produced by selecting the appropriate glyph forms for that locale — Japanese uses locale-standard character forms that may differ from other regions for the same Unicode codepoints.
+
+4. **Pre-built binaries**: The notofonts/noto-cjk repository distributes pre-built variable TTF files under `Sans/Variable/TTF/`. The `Subset/` subdirectory contains smaller regional subsets (e.g., `NotoSansJP-VF.ttf`) that are what Google Fonts ships.
+
+5. **No config.yaml**: Because the CJK build pipeline does not use gftools-builder, no `config.yaml` is applicable. Reproducing the build requires the full AFDKO toolchain and the noto-cjk build scripts.
+
+## Commit Verification
+
+This commit corresponds to the `Sans2.004` tag in the notofonts/noto-cjk repository. File size comparison shows a consistent 832-byte difference between the upstream binary and the shipped version across all 5 CJK families (HK, JP, KR, SC, TC), confirming they were all sourced from the same tag and subjected to identical post-processing.
+
+**Confidence**: HIGH (tag-verified, consistent post-processing delta across all CJK families)