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
39 changes: 39 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,3 +1,42 @@
This repository contains material under two separate licenses: (1) a Monotype
license that applies only to the subset font file identified below, and (2)
the MIT License, which applies to all other sample code in this repository.

---

1. Subset font file — Monotype license

The subset font file in demo/ in the pattern-variable-fonts-usage repository
(the "Font Software") is licensed under the following terms:

Monotype Imaging Inc. ("Monotype") grants you a non-exclusive, non-assignable,
non-transferable license to:

- install the Font Software on a user's workstation(s);
- install the Font Software on a server on which the Font Software may solely be
accessed in connection with testing the pattern-variable-fonts-usage repository
provided by Monotype;
- Use the Font Software on such workstation(s) or via such server to generate
content on the user's website for testing purposes only

You may not:

- Use the Font Software as webfont on websites
- Transfer, rent, lease, sublicense, give, lend, or further distribute the Font
Software, or any copy thereof
- Modify the Font Software in any way, including to create, directly or
indirectly, derivative works from the Font Software or any portion thereof
- Embed the Font Software in open source software which may have the direct or
indirect effect of causing the Font Software to become Publicly Available
Software or otherwise be subject to a Publicly Available Software agreement

---

2. Sample code — MIT License

Sample code with the exception of the subset font file in demo/ in the
pattern-variable-fonts-usage repository is licensed under the MIT License.

MIT License

Copyright (c) 2026 Monotype Imaging Inc.
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ This pattern implements the following assertions from [reference-fonts-implement
- `pc-008` — self-hosting web fonts requires a web font license; desktop licenses do not permit web delivery
- `bd-001` — self-hosted fonts integrate into CI/CD pipelines as versioned static assets
- `pc-010` — cross-origin font delivery requires CORS configuration; missing headers cause silent font blocking
- `pc-012` — some Monotype web font licenses require a tracking script alongside self-hosted font files; this demo covers `@font-face` / static hosting only—add a separate script when your license mandates tracking. For privacy-related scope, see the **Clarification** on [pc-012](https://github.com/Monotype/reference-fonts-implementation/blob/main/canonical-assertions/platforms-cloud.md#some-monotype-web-font-licenses-require-a-tracking-script-alongside-self-hosted-font-files).

## Usage

Expand All @@ -41,7 +42,7 @@ When the page, stylesheet, and font are all served from the **same origin** (as

## Font files

This repository includes **`demo/MyVF.woff2`**, a heavily subsetted version of GothamVar Regular. It demonstrates self-hosting only; **redistribution rights for that file are not granted to you**—use fonts you are licensed to deploy. For your own project, replace the file and the `@font-face` src path in `demo/styles.css`. See `demo/placeholder.txt` for placement notes.
This repository includes **`demo/MyVF.woff2`**, a heavily subsetted version of GothamVar Regular. That file is licensed only for limited testing per **LICENSE** (Monotype terms) and this README’s **License** section—not for regular website use or redistribution. For your own project, replace the file and the `@font-face` src path in `demo/styles.css`. See `demo/placeholder.txt` for placement notes.

To commit a different binary despite `*.woff2` in `.gitignore`, use **`git add -f demo/YourFile.woff2`** once, or add a **`!demo/YourFile.woff2`** line after the `*.woff2` rule.

Expand All @@ -67,4 +68,4 @@ Use GitHub Discussions (Q&A category) for questions about this pattern.

## License

Sample application **code** in this repository is licensed under the [MIT License](LICENSE). The **subset font file** in `demo/` is included **only** as a demonstration asset; it is **not** licensed to third parties for separate redistribution—use fonts you have rights to ship. Canonical assertion text in [reference-fonts-implementation](https://github.com/Monotype/reference-fonts-implementation) remains subject to that repository’s terms.
Sample application code in this repository is licensed under the MIT License. The subset font file in demo/ is included only as a build/CI demonstration asset and licensed for limited testing purposes only; it is not licensed for regular use on websites or redistribution. Please refer to the LICENSE file in the repository for both licenses. Canonical assertion text in [reference-fonts-implementation](https://github.com/Monotype/reference-fonts-implementation) remains subject to that repository’s terms.
1 change: 1 addition & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Variable Font Pattern</title>
<!-- If your license requires a tracking script (pc-012 in reference-fonts-implementation), add it in this head or before </body>—this demo does not. -->
<link rel="stylesheet" href="styles.css" />
</head>
<body>
Expand Down