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
19 changes: 12 additions & 7 deletions THIRD_PARTY_LICENSES.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@ files.

SPDX license expression for this bundled font set: `OFL-1.1 AND Apache-2.0 AND (AGPL-3.0-only WITH PS-or-PDF-font-exception-20170817) AND (GPL-2.0-only WITH Font-exception-2.0) AND LicenseRef-GUST-Font-License-1.0`.

C059 and Liberation Sans Narrow are copyleft fonts with document-embedding
exceptions. The exceptions mean embedding the fonts into a rendered document does
not impose AGPL/GPL terms on that document. Distributing the font binaries
themselves carries the corresponding-source obligation, satisfied by the
unmodified upstream release pointers recorded in `shared/font-system/assets/LICENSES.md`.
C059, URW Gothic, and Liberation Sans Narrow are copyleft fonts with
document-embedding exceptions. The exceptions mean embedding the fonts into a
rendered document does not impose AGPL/GPL terms on that document. Distributing
the font binaries themselves carries the corresponding-source obligation,
satisfied by the unmodified upstream release pointers recorded in
`shared/font-system/assets/LICENSES.md`.

### Components

Expand All @@ -48,12 +49,14 @@ unmodified upstream release pointers recorded in `shared/font-system/assets/LICE
| Caprasimo | Cooper Black | OFL-1.1 | none | 1.001 |
| Archivo Black | Arial Black | OFL-1.1 | none | 1.006 |
| C059 | Century, Century Schoolbook | AGPL-3.0-only WITH PS-or-PDF-font-exception-20170817 | none | 1.00 |
| URW Gothic | Century Gothic | AGPL-3.0-only WITH PS-or-PDF-font-exception-20170817 | none | 1.00 |
| Bacasime Antique | Baskerville Old Face | OFL-1.1 | "Playfair" | 2.000 |
| Oregano Italic | Brush Script MT | OFL-1.1 | "Oregano Italic" | 1.000 |
| Gelasio | Georgia | OFL-1.1 | none | 1.008 |
| Cardo | Garamond | OFL-1.1 | none | Regular 1.0451; Bold 1.0011; Italic 0.991 |
| Comic Relief | Comic Sans MS | OFL-1.1 | none | 1.200 |
| Noto Sans | Tahoma | OFL-1.1 | none | 2.015 |
| Selawik | Segoe UI | OFL-1.1 | "Selawik" | 1.01 |
| Noto Sans Mono | Lucida Console | OFL-1.1 | none | 2.014 |
| Inconsolata SemiExpanded | Consolas | OFL-1.1 | none | 3.001 |
| PT Sans | Trebuchet MS | OFL-1.1 | "PT Sans", "PT Serif", "ParaType" | 2.003W OFL |
Expand All @@ -69,12 +72,14 @@ unmodified upstream release pointers recorded in `shared/font-system/assets/LICE
- **Caprasimo** (OFL-1.1): `Copyright 2023 The Caprasimo Project Authors (https://github.com/docrepair-fonts/caprasimo-fonts).` The v1.001 file declares no OFL Reserved Font Name.
- **Archivo Black** (OFL-1.1): `Copyright 2017 The Archivo Black Project Authors (https://github.com/Omnibus-Type/ArchivoBlack).` The v1.006 file declares no OFL Reserved Font Name.
- **C059** (AGPL-3.0-only WITH PS-or-PDF-font-exception-20170817): `(URW)++,Copyright 2014 by (URW)++ Design & Development`. These files declare no trademark string and no Reserved Font Name.
- **URW Gothic** (AGPL-3.0-only WITH PS-or-PDF-font-exception-20170817): `(URW)++,Copyright 2014 by (URW)++ Design & Development`. These files declare no trademark string and no Reserved Font Name.
- **Bacasime Antique** (OFL-1.1): `Copyright 2023 The Bacasime Antique Project Authors (https://github.com/docrepair-fonts/bacasime-antique-fonts), with Reserved Font Name "Playfair".` Playfair is a trademark of Claus Eggers Sørensen.
- **Oregano Italic** (OFL-1.1): `Copyright (c) 2012 by Brian J. Bonislawsky DBA Astigmatic (AOETI) (astigma@astigmatic.com), with Reserved Font Name "Oregano Italic".` Oregano Italic is a trademark of Astigmatic.
- **Gelasio** (OFL-1.1): `Copyright 2022 The Gelasio Project Authors (https://github.com/SorkinType/Gelasio).` The v1.008 files declare no OFL Reserved Font Name.
- **Cardo** (OFL-1.1): `Copyright (c) 2002-2011, David J. Perry (hospes02@scholarsfonts.net).` These files declare no OFL Reserved Font Name.
- **Comic Relief** (OFL-1.1): `Copyright 2013 The Comic Relief Project Authors (https://github.com/loudifier/Comic-Relief).` The v1.200 files declare no OFL Reserved Font Name.
- **Noto Sans** (OFL-1.1): `Copyright 2022 The Noto Project Authors (https://github.com/notofonts/latin-greek-cyrillic).` Noto is a trademark of Google LLC. The v2.015 files declare no OFL Reserved Font Name.
- **Selawik** (OFL-1.1): `© 2015 Microsoft Corporation (www.microsoft.com), with Reserved Font Name "Selawik". Selawik is a trademark of Microsoft Corporation in the United States and/or other countries.` Selawik is a trademark of the Microsoft group of companies.
- **Noto Sans Mono** (OFL-1.1): `Copyright 2022 The Noto Project Authors (https://github.com/notofonts/latin-greek-cyrillic).` Noto is a trademark of Google LLC. The v2.014 files declare no OFL Reserved Font Name.
- **Inconsolata SemiExpanded** (OFL-1.1): `Copyright 2006 The Inconsolata Project Authors (https://github.com/cyrealtype/Inconsolata).` These v3.001 files declare no OFL Reserved Font Name.
- **PT Sans** (OFL-1.1): `Copyright (c) 2010, ParaType Ltd. (http://www.paratype.com/public), with Reserved Font Names "PT Sans", "PT Serif" and "ParaType".`
Expand All @@ -90,8 +95,8 @@ and Noto Sans Mono ship as static WOFF2 instances generated from upstream
variable TrueType sources at the regular and bold weights; Noto Sans and Noto
Sans Mono are also instanced at normal width.

Verified for this ship set: 49 / 59 faces are static-source conversions with a
WOFF2 `name` table byte-identical to their source font, and 10 / 59 faces are
Verified for this ship set: 55 / 65 faces are static-source conversions with a
WOFF2 `name` table byte-identical to their source font, and 10 / 65 faces are
static variable-font instances with no subsetting. All metrics are preserved.
Under OFL FAQ 2.2.1 the static-source conversions are not Modified Versions and
retain the original font names. For Caladea, this also serves as the Apache-2.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ describe('TOOLBAR_FONTS (built-in font dropdown, derived from the font-offering
'Brush Script MT',
'Calibri',
'Century',
'Century Gothic',
'Comic Sans MS',
'Cooper Black',
'Courier New',
Expand All @@ -20,6 +21,7 @@ describe('TOOLBAR_FONTS (built-in font dropdown, derived from the font-offering
'Gill Sans MT Condensed',
'Helvetica',
'Lucida Console',
'Segoe UI',
'Tahoma',
'Times New Roman',
'Trebuchet MS',
Expand All @@ -29,7 +31,7 @@ describe('TOOLBAR_FONTS (built-in font dropdown, derived from the font-offering

it('does not leak non-advertised fonts into the default dropdown', () => {
const labels = new Set(TOOLBAR_FONTS.map((f) => f.label));
for (const name of ['Aptos', 'Cambria', 'Calibri Light', 'Century Schoolbook']) {
for (const name of ['Aptos', 'Cambria', 'Calibri Light', 'Century Schoolbook', 'Arial MT', 'Courier', 'Times']) {
expect(labels.has(name)).toBe(false);
}
});
Expand Down Expand Up @@ -87,6 +89,7 @@ describe('composeToolbarFontOptions (document fonts unioned with the bundled def
'Brush Script MT',
'Calibri',
'Century',
'Century Gothic',
'Comic Sans MS',
'Cooper Black',
'Courier New',
Expand All @@ -95,6 +98,7 @@ describe('composeToolbarFontOptions (document fonts unioned with the bundled def
'Gill Sans MT Condensed',
'Helvetica',
'Lucida Console',
'Segoe UI',
'Tahoma',
'Times New Roman',
'Trebuchet MS',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ describe('DEFAULT_FONT_FAMILY_OPTIONS (headless default font options, derived fr
{ label: 'Brush Script MT', value: 'Brush Script MT, serif' },
{ label: 'Calibri', value: 'Calibri, sans-serif' },
{ label: 'Century', value: 'Century, serif' },
{ label: 'Century Gothic', value: 'Century Gothic, sans-serif' },
{ label: 'Comic Sans MS', value: 'Comic Sans MS, sans-serif' },
{ label: 'Cooper Black', value: 'Cooper Black, serif' },
{ label: 'Courier New', value: 'Courier New, monospace' },
Expand All @@ -20,6 +21,7 @@ describe('DEFAULT_FONT_FAMILY_OPTIONS (headless default font options, derived fr
{ label: 'Gill Sans MT Condensed', value: 'Gill Sans MT Condensed, sans-serif' },
{ label: 'Helvetica', value: 'Helvetica, sans-serif' },
{ label: 'Lucida Console', value: 'Lucida Console, monospace' },
{ label: 'Segoe UI', value: 'Segoe UI, sans-serif' },
{ label: 'Tahoma', value: 'Tahoma, sans-serif' },
{ label: 'Times New Roman', value: 'Times New Roman, serif' },
{ label: 'Trebuchet MS', value: 'Trebuchet MS, sans-serif' },
Expand All @@ -33,5 +35,8 @@ describe('DEFAULT_FONT_FAMILY_OPTIONS (headless default font options, derived fr
expect(labels.has('Cambria')).toBe(false);
expect(labels.has('Calibri Light')).toBe(false);
expect(labels.has('Century Schoolbook')).toBe(false);
expect(labels.has('Arial MT')).toBe(false);
expect(labels.has('Courier')).toBe(false);
expect(labels.has('Times')).toBe(false);
});
});
6 changes: 6 additions & 0 deletions packages/super-editor/src/ui/create-super-doc-ui.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ describe('createSuperDocUI', () => {
'Brush Script MT',
'Calibri',
'Century',
'Century Gothic',
'Comic Sans MS',
'Cooper Black',
'Courier New',
Expand All @@ -168,6 +169,7 @@ describe('createSuperDocUI', () => {
'Gill Sans MT Condensed',
'Helvetica',
'Lucida Console',
'Segoe UI',
'Tahoma',
'Times New Roman',
'Trebuchet MS',
Expand Down Expand Up @@ -221,6 +223,7 @@ describe('createSuperDocUI', () => {
'Brush Script MT',
'Calibri',
'Century',
'Century Gothic',
'Comic Sans MS',
'Cooper Black',
'Courier New',
Expand All @@ -229,6 +232,7 @@ describe('createSuperDocUI', () => {
'Gill Sans MT Condensed',
'Helvetica',
'Lucida Console',
'Segoe UI',
'Tahoma',
'Times New Roman',
'Trebuchet MS',
Expand All @@ -244,6 +248,7 @@ describe('createSuperDocUI', () => {
'Brush Script MT',
'Calibri',
'Century',
'Century Gothic',
'Comic Sans MS',
'Cooper Black',
'Courier New',
Expand All @@ -252,6 +257,7 @@ describe('createSuperDocUI', () => {
'Gill Sans MT Condensed',
'Helvetica',
'Lucida Console',
'Segoe UI',
'Tahoma',
'Times New Roman',
'Trebuchet MS',
Expand Down
2 changes: 2 additions & 0 deletions packages/super-editor/src/ui/react/hooks.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ describe('domain hooks', () => {
'Brush Script MT',
'Calibri',
'Century',
'Century Gothic',
'Comic Sans MS',
'Cooper Black',
'Courier New',
Expand All @@ -201,6 +202,7 @@ describe('domain hooks', () => {
'Gill Sans MT Condensed',
'Helvetica',
'Lucida Console',
'Segoe UI',
'Tahoma',
'Times New Roman',
'Trebuchet MS',
Expand Down
52 changes: 36 additions & 16 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading