Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions packages/fallbacks/fallbacks.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ describe("selected visual fallback rows", () => {
["Bookman Old Style", "TeX Gyre Bonum", "substitute"],
["Brush Script MT", "Oregano Italic", "category_fallback"],
["Century", "C059", "substitute"],
["Century Schoolbook", "C059", "substitute"],
["Comic Sans MS", "Comic Relief", "category_fallback"],
["Garamond", "Cardo", "category_fallback"],
["Gill Sans MT Condensed", "PT Sans Narrow", "category_fallback"],
Expand Down Expand Up @@ -425,8 +426,8 @@ describe("candidate license metadata", () => {
const LICENSE_IDS = new Set([
"AGPL-3.0-only WITH PS-or-PDF-font-exception-20170817",
"Apache-2.0",
"GPLv2-with-font-exception",
"GUST-Font-License-1.0",
"GPL-2.0-only WITH Font-exception-2.0",
"LicenseRef-GUST-Font-License-1.0",
"OFL-1.1",
"Ubuntu-font-1.0",
]);
Expand Down
27 changes: 25 additions & 2 deletions packages/fallbacks/records.json
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@
"meanDelta": 0,
"maxDelta": 0.5
},
"candidateLicense": "GPLv2-with-font-exception",
"candidateLicense": "GPL-2.0-only WITH Font-exception-2.0",
"faceVerdicts": {
"regular": "metric_safe",
"bold": "visual_only",
Expand Down Expand Up @@ -372,7 +372,7 @@
"bookman-old-style__tex-gyre-bonum#visual_review#2026-06-09"
],
"exportRule": "preserve_original_name",
"candidateLicense": "GUST-Font-License-1.0"
"candidateLicense": "LicenseRef-GUST-Font-License-1.0"
},
{
"evidenceId": "century",
Expand All @@ -397,6 +397,29 @@
"exportRule": "preserve_original_name",
"candidateLicense": "AGPL-3.0-only WITH PS-or-PDF-font-exception-20170817"
},
{
"evidenceId": "century-schoolbook",
"generic": "serif",
"logicalFamily": "Century Schoolbook",
"physicalFamily": "C059",
"verdict": "visual_only",
"faces": {
"regular": true,
"bold": true,
"italic": true,
"boldItalic": true
},
"gates": {
"static": "pass",
"metric": "fail",
"layout": "not_run",
"ship": "fail"
},
"policyAction": "substitute",
"measurementRefs": ["century-schoolbook__c059#visual_review#2026-06-09"],
"exportRule": "preserve_original_name",
"candidateLicense": "AGPL-3.0-only WITH PS-or-PDF-font-exception-20170817"
},
{
"evidenceId": "garamond",
"generic": "serif",
Expand Down
29 changes: 27 additions & 2 deletions packages/fallbacks/src/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ export const SUBSTITUTION_EVIDENCE: readonly SubstitutionEvidence[] = [
"meanDelta": 0,
"maxDelta": 0.5
},
"candidateLicense": "GPLv2-with-font-exception",
"candidateLicense": "GPL-2.0-only WITH Font-exception-2.0",
"faceVerdicts": {
"regular": "metric_safe",
"bold": "visual_only",
Expand Down Expand Up @@ -381,7 +381,7 @@ export const SUBSTITUTION_EVIDENCE: readonly SubstitutionEvidence[] = [
"bookman-old-style__tex-gyre-bonum#visual_review#2026-06-09"
],
"exportRule": "preserve_original_name",
"candidateLicense": "GUST-Font-License-1.0"
"candidateLicense": "LicenseRef-GUST-Font-License-1.0"
},
{
"evidenceId": "century",
Expand All @@ -408,6 +408,31 @@ export const SUBSTITUTION_EVIDENCE: readonly SubstitutionEvidence[] = [
"exportRule": "preserve_original_name",
"candidateLicense": "AGPL-3.0-only WITH PS-or-PDF-font-exception-20170817"
},
{
"evidenceId": "century-schoolbook",
"generic": "serif",
"logicalFamily": "Century Schoolbook",
"physicalFamily": "C059",
"verdict": "visual_only",
"faces": {
"regular": true,
"bold": true,
"italic": true,
"boldItalic": true
},
"gates": {
"static": "pass",
"metric": "fail",
"layout": "not_run",
"ship": "fail"
},
"policyAction": "substitute",
"measurementRefs": [
"century-schoolbook__c059#visual_review#2026-06-09"
],
"exportRule": "preserve_original_name",
"candidateLicense": "AGPL-3.0-only WITH PS-or-PDF-font-exception-20170817"
},
{
"evidenceId": "garamond",
"generic": "serif",
Expand Down
Loading