No Description

James Godfrey-Kittle 8b9acb53e8 Try to avoid conflicting glif filenames 8 years ago
hinted f9e292a4bc Hinted TTF updates 15/08/20. 9 years ago
res f4b0800908 Update version number 8 years ago
samples ddbda1e380 Add IPA samples from the Noto repostory. 9 years ago
scripts c2ba14c5a8 Merge branch 'master' into everything-in-source 8 years ago
src 8b9acb53e8 Try to avoid conflicting glif filenames 8 years ago
third_party 5283037a5e [fontcrunch] Stricter compilation of quadopt 9 years ago
.gitignore c431466068 Remove out/ from version control 8 years ago
CONTRIBUTING.md 68568378b8 Rename CONTRIBUTING to CONTRIBUTING.md. 9 years ago
LICENSE ba03b84b90 Add license files and headers. 9 years ago
Makefile 4e541d69b5 Add script for generating condensed/italic masters 8 years ago
README.md 6bf21330cf Add simpler setup instructions using pip 8 years ago
requirements.txt 2b87a51297 Update glyph bounds tests 8 years ago

README.md

This is the source repository for Roboto: Google’s signature family of fonts, the default font on Android and Chrome OS, and the recommended font for Google’s visual language, Material Design.

It also contains the toolchain used in creating Roboto.

The font family supports all Latin, Cyrillic, and Greek characters in Unicode 7.0, as well as the currency symbol for the Georgian lari, to be published in Unicode 8.0.

The fonts are currently available in eighteen different styles.

A subset of an earlier version of Roboto is available from Google Fonts, and can be used as a web font.

Setup

Create a clean directory for Roboto:

mkdir -p $HOME/roboto-src
cd $HOME/roboto-src

Download the Roboto tools and sources:

git clone https://github.com/google/roboto.git

Create a virtual Python environment (optional but recommended):

pip install --user virtualenv
virtualenv roboto-env
source roboto-env/bin/activate

Download and install the dependencies:

cd roboto
pip install -r requirements.txt

Optional additional setup for running tests

Download the latest tarball release of HarfBuzz here and extract it into the home directory as $HOME/harfbuzz (alternatively, you can download the latest source from GitHub via git clone https://github.com/behdad/harfbuzz.git).

Build and install HarfBuzz:

cd $HOME/harfbuzz
./configure
make
sudo make install
cd $HOME/roboto-src/

On Ubuntu (or other distributions of GNU/Linux, using the appropriate package manager), make sure eog is installed:

sudo apt-get install eog

Run

cd roboto
make