Use the Inter 4.0 font

Also bundle it, describe its usage in the Readme and provide a copy of
its license.
Furthermore document how to make use of the bundled font.
This commit is contained in:
June 2024-02-24 23:31:16 +01:00 committed by jtbx
commit 3bdba5f495
22 changed files with 111 additions and 5 deletions

View file

@ -11,6 +11,22 @@ There are two versions:
* height could be adjusted, if needed, but keep in mind to change the paper size when printing
- label-item: 38x90mm for use with DK-11208 pre-cut address labels
General notes:
### General Notes
- Labels with CCCHH logo in the footer are meant for items owned by CCCHH.
- The QL-500 does not have an automatic cutter, so it's recommended to only print one page at a time.
- In order for typst to discover the font we use and bundle, you need to manually make typst aware of our fonts directory via e.g. the `--font-path` option.
### Example Usage
To compile e.g. `label-wide.typ`, you can use the following command:
```
typst compile --font-path=./fonts label-wide.typ
```
## Fonts Used
We're using and also bundling the [Inter 4.0 font](https://github.com/rsms/inter/tree/v4.0) (see also the [Inter Font Website](https://rsms.me/inter/)).
It was licensed under the SIL OPEN FONT LICENSE Version 1.1.
A copy of the license can be found under: [`licenses/inter-4.0-font_OFL-1.1_license`](./licenses/inter-4.0-font_OFL-1.1_license)