diff --git a/Readme.md b/Readme.md index 77488b2..822175c 100644 --- a/Readme.md +++ b/Readme.md @@ -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) diff --git a/fonts/Inter-Black.ttf b/fonts/Inter-Black.ttf new file mode 100644 index 0000000..034a73e Binary files /dev/null and b/fonts/Inter-Black.ttf differ diff --git a/fonts/Inter-BlackItalic.ttf b/fonts/Inter-BlackItalic.ttf new file mode 100644 index 0000000..7eb4b51 Binary files /dev/null and b/fonts/Inter-BlackItalic.ttf differ diff --git a/fonts/Inter-Bold.ttf b/fonts/Inter-Bold.ttf new file mode 100644 index 0000000..15e908f Binary files /dev/null and b/fonts/Inter-Bold.ttf differ diff --git a/fonts/Inter-BoldItalic.ttf b/fonts/Inter-BoldItalic.ttf new file mode 100644 index 0000000..1e7bc41 Binary files /dev/null and b/fonts/Inter-BoldItalic.ttf differ diff --git a/fonts/Inter-ExtraBold.ttf b/fonts/Inter-ExtraBold.ttf new file mode 100644 index 0000000..c1449e8 Binary files /dev/null and b/fonts/Inter-ExtraBold.ttf differ diff --git a/fonts/Inter-ExtraBoldItalic.ttf b/fonts/Inter-ExtraBoldItalic.ttf new file mode 100644 index 0000000..f0f4260 Binary files /dev/null and b/fonts/Inter-ExtraBoldItalic.ttf differ diff --git a/fonts/Inter-ExtraLight.ttf b/fonts/Inter-ExtraLight.ttf new file mode 100644 index 0000000..e98ac27 Binary files /dev/null and b/fonts/Inter-ExtraLight.ttf differ diff --git a/fonts/Inter-ExtraLightItalic.ttf b/fonts/Inter-ExtraLightItalic.ttf new file mode 100644 index 0000000..cf74046 Binary files /dev/null and b/fonts/Inter-ExtraLightItalic.ttf differ diff --git a/fonts/Inter-Italic.ttf b/fonts/Inter-Italic.ttf new file mode 100644 index 0000000..e0421ee Binary files /dev/null and b/fonts/Inter-Italic.ttf differ diff --git a/fonts/Inter-Light.ttf b/fonts/Inter-Light.ttf new file mode 100644 index 0000000..31ac788 Binary files /dev/null and b/fonts/Inter-Light.ttf differ diff --git a/fonts/Inter-LightItalic.ttf b/fonts/Inter-LightItalic.ttf new file mode 100644 index 0000000..0bd6cec Binary files /dev/null and b/fonts/Inter-LightItalic.ttf differ diff --git a/fonts/Inter-Medium.ttf b/fonts/Inter-Medium.ttf new file mode 100644 index 0000000..9342730 Binary files /dev/null and b/fonts/Inter-Medium.ttf differ diff --git a/fonts/Inter-MediumItalic.ttf b/fonts/Inter-MediumItalic.ttf new file mode 100644 index 0000000..a607d9f Binary files /dev/null and b/fonts/Inter-MediumItalic.ttf differ diff --git a/fonts/Inter-Regular.ttf b/fonts/Inter-Regular.ttf new file mode 100644 index 0000000..c544be4 Binary files /dev/null and b/fonts/Inter-Regular.ttf differ diff --git a/fonts/Inter-SemiBold.ttf b/fonts/Inter-SemiBold.ttf new file mode 100644 index 0000000..a32e2b8 Binary files /dev/null and b/fonts/Inter-SemiBold.ttf differ diff --git a/fonts/Inter-SemiBoldItalic.ttf b/fonts/Inter-SemiBoldItalic.ttf new file mode 100644 index 0000000..7f28786 Binary files /dev/null and b/fonts/Inter-SemiBoldItalic.ttf differ diff --git a/fonts/Inter-Thin.ttf b/fonts/Inter-Thin.ttf new file mode 100644 index 0000000..af78ac3 Binary files /dev/null and b/fonts/Inter-Thin.ttf differ diff --git a/fonts/Inter-ThinItalic.ttf b/fonts/Inter-ThinItalic.ttf new file mode 100644 index 0000000..681cbf2 Binary files /dev/null and b/fonts/Inter-ThinItalic.ttf differ diff --git a/label-item.typ b/label-item.typ index f623e69..651cbd5 100644 --- a/label-item.typ +++ b/label-item.typ @@ -1,6 +1,5 @@ #set text( - //font: "pt sans", - font: "ubuntu", + font: "Inter", fallback: false, size: 11pt, lang: "en", diff --git a/label-wide.typ b/label-wide.typ index 83933f1..37894ec 100644 --- a/label-wide.typ +++ b/label-wide.typ @@ -1,6 +1,5 @@ #set text( - //font: "pt sans", - font: "ubuntu", + font: "Inter", fallback: false, size: 14pt, lang: "en", diff --git a/licenses/inter-4.0-font_OFL-1.1_license b/licenses/inter-4.0-font_OFL-1.1_license new file mode 100644 index 0000000..9b2ca37 --- /dev/null +++ b/licenses/inter-4.0-font_OFL-1.1_license @@ -0,0 +1,92 @@ +Copyright (c) 2016 The Inter Project Authors (https://github.com/rsms/inter) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION AND CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE.