Нет описания

Marc Foley 0b86a91404 regression_test: update fp 1 год назад
.github bf8393e666 Bump upload-artifact 4 лет назад
Docs ea541092dc Cleanup repo 4 лет назад
scripts 0b86a91404 regression_test: update fp 1 год назад
sources 2a9a9d9e8c bump font version 1 год назад
tests 81de4aff5e Merge pull request #103 from kpozin/add-sub-sup-cmap-web 1 год назад
.gitignore 90ad677075 Ignore font binaries 4 лет назад
AUTHORS.txt a7efb4c51c Re-organize repo 4 лет назад
CONTRIBUTORS.txt a7efb4c51c Re-organize repo 4 лет назад
FONTLOG.txt a7efb4c51c Re-organize repo 4 лет назад
LICENSE.txt 280570f972 Revert license back to Apache 4 лет назад
README.md 3acbbb0e84 Update README.md 4 лет назад
requirements.txt d3ea4b0cb9 update fontdiffenator 1 год назад
setup.py 7fb1de4a40 Add tests module 4 лет назад

README.md

Roboto VF

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.

Both fonts have named instances for all the styles in the v2.136 release.

Install

# Create a new virtualenv
virtualenv env
# Activate env
source env/bin/activate
# Install dependencies
pip install .
pip install -r requirements.txt

Generate

sh sources/build.sh

Font hinting

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:

  • Rebuild the fonts. We MUST ensure that hint modifications are being done on the latest binaries.
  • Make a VTT source font which contains the existing hinting data by running sh sources/make_vtt_src_font.sh. The font will be exported to sources/Roboto[ital,wdth,wght]_VTT.ttf.
  • In VTT, edit the newly generated font.
  • Export the source font's hinting data back to sources/vtt-hinting.ttx by running sh sources/export_vtt_hints.sh
  • Commit your changes using git.

Warning: vttLib doesn't support transformed composites. Please ensure source files do not contain them.

License

Both fonts and software found in this repo are all available under the Apache License v2.0