No Description

James Godfrey-Kittle 553048cd59 Bump version number for new release 9 years ago
hinted f9e292a4bc Hinted TTF updates 15/08/20. 9 years ago
res 553048cd59 Bump version number for new release 9 years ago
samples ddbda1e380 Add IPA samples from the Noto repostory. 10 years ago
scripts 9dc4f8edbe [web] Fix up name table for windows 9 years ago
src 75925cc929 Hotfix features to be unaffected by class sorting 9 years ago
third_party 5283037a5e [fontcrunch] Stricter compilation of quadopt 9 years ago
.gitignore c431466068 Remove out/ from version control 9 years ago
CONTRIBUTING.md 68568378b8 Rename CONTRIBUTING to CONTRIBUTING.md. 10 years ago
LICENSE ba03b84b90 Add license files and headers. 10 years ago
Makefile 1d2bd3316c Add make target to build Android fonts from hinted fonts. 9 years ago
README.md eca287931e Update readme for ufo2ft 9 years ago

README.md

This is the source repository for Roboto: Google’s signature family of fonts, the default font on Android and ChromeOS, 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 code and dependencies:

git clone https://github.com/google/roboto.git
git clone https://github.com/behdad/fonttools.git
git clone https://github.com/googlei18n/cu2qu.git
git clone https://github.com/googlei18n/ufo2ft.git
git clone https://github.com/robofab-developers/robofab.git
git clone https://github.com/typesupply/feaTools.git
git clone https://github.com/typemytype/booleanOperations.git

download Cython and extract it into the current directory. On Ubuntu, Cython can also be downloaded and installed via:

sudo apt-get install cython
For post-production:
git clone https://github.com/googlei18n/nototools
git clone https://github.com/rougier/freetype-py.git

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).

Install dependencies:

You can install the necessary modules at the sytem level:

cd fonttools
sudo python setup.py install
cd ../cu2qu
sudo python setup.py install
cd ../ufo2ft
sudo python setup.py install
cd ../robofab
sudo python setup.py install
cd ../feaTools
sudo python setup.py install
cd ../Cython-0.22
sudo python setup.py install
cd ../booleanOperations
sudo python setup.py install
cd ..

Or set $PYTHONPATH locally before running make:

PYTHONPATH="$PYTHONPATH:$HOME/roboto-src/fonttools/Lib"
PYTHONPATH="$PYTHONPATH:$HOME/roboto-src/cu2qu/Lib"
PYTHONPATH="$PYTHONPATH:$HOME/roboto-src/ufo2ft/Lib"
PYTHONPATH="$PYTHONPATH:$HOME/roboto-src/robofab/Lib"
PYTHONPATH="$PYTHONPATH:$HOME/roboto-src/feaTools/Lib"
PYTHONPATH="$PYTHONPATH:$HOME/roboto-src/booleanOperations/Lib"
For post-production:
cd $HOME/harfbuzz
./configure
make
sudo make install
cd $HOME/roboto-src/

Install python modules to system:

cd noto
sudo python setup.py install
cd ../freetype-py
sudo python setup.py install
cd ..

Or:

PYTHONPATH="$PYTHONPATH:$HOME/roboto-src/noto"
PYTHONPATH="$PYTHONPATH:$HOME/roboto-src/freetype-py"

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

sudo apt-get install eog

Running the toolchain:

cd roboto
make

Dependencies

The Roboto build toolchain depends on:

OTF/TTF Generation

OTF generation depends on:

Post-Production

Post-production scripts (most of the code outside of the fontbuild directory, e.g. for testing output) depend on: