Marc Foley 2699b96f4b Update README.md | 9 месяцев назад | |
---|---|---|
.github | 4 лет назад | |
Docs | 4 лет назад | |
scripts | 9 месяцев назад | |
sources | 9 месяцев назад | |
tests | 9 месяцев назад | |
.gitignore | 4 лет назад | |
AUTHORS.txt | 4 лет назад | |
CONTRIBUTORS.txt | 4 лет назад | |
FONTLOG.txt | 4 лет назад | |
OFL.txt | 9 месяцев назад | |
README.md | 9 месяцев назад | |
requirements.txt | 1 год назад | |
setup.py | 4 лет назад |
This is a variable version of Roboto intended to be a 1:1 match with the official non-variable release from Google.
This is not an official Google project, but was enabled with generous funding by Google Fonts, who contracted Type Network. The Roboto family of instances contained 6 weights and two widths of normal, along with italic of the regular width. The project began by taking UFO instances generated during the build process of the Roboto v2.136 release, which have quadratic outlines. The Thin, Regular and Bold UFOs required some fixes for interpolation compatibility, and a build script was written that preserves outline overlaps.
/sources contains 'new' source UFOs (compared to the 'old' UFOs used in the static-only era of the project).
github.com/TypeNetwork/Roboto/releases contains variation font TTFs.
Both fonts have named instances for all the styles in the v2.136 release.
# Create a new virtualenv
virtualenv env
# Activate env
source env/bin/activate
# Install dependencies
pip install .
pip install -r requirements.txt
sh sources/build.sh
The fonts have been hinted using Microsoft VTT and compiled using vttLib. The hinting data is stored as xml in sources/vtt-hinting.ttx
.
If you would like to make modifications to the hints using VTT, you'll need to do the following:
sh sources/make_vtt_src_font.sh
. The font will be exported to sources/Roboto[ital,wdth,wght]_VTT.ttf
.sources/vtt-hinting.ttx
by running sh sources/export_vtt_hints.sh
Warning: vttLib doesn't support transformed composites. Please ensure source files do not contain them.
Both fonts and software found in this repo are all available under the OFL License v1.1