Package Exports
- inter-ui
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (inter-ui) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Typeface-Inter
The CSS and web font files to easily self-host the Inter font family created by Rasmus Andersson.
This repository is just a means of more easily distributing the font. It tracks the releases of the main inter repository as best as I am able.
At present it only contains the woff
and woff2
formats. As a result it supports versions of Chrome 5; Safari 5.1; Firefox 3.6; Opera 11.5; IE 9; Android 4.4; iOS 5.1 and above.
SCSS files are also available for use with the Sass preprocessor. The font-display
property can be overridden by setting $inter-font-display
to a valid font-display
value before importing the desired .scss
file.
Hinted vs Unhinted
As detailed in the main repo:
Inter font files comes in two versions:
- "unhinted" -- Without TrueType hints (the default)
- "hinted" -- With TrueType hints
The TrueType hints are used by ClearType on Windows machines where ClearType is enabled. This usually changes the appearance of the fonts and can in some cases increase the legibility of text.
Additionally, hints are little computer programs that takes up considerable disk space, meaning that font files with hints are larger than those without hints. This might be a consideration when using web fonts.