James Godfrey-Kittle 8b9acb53e8 Try to avoid conflicting glif filenames | 8 лет назад | |
---|---|---|
hinted | 9 лет назад | |
res | 8 лет назад | |
samples | 9 лет назад | |
scripts | 8 лет назад | |
src | 8 лет назад | |
third_party | 9 лет назад | |
.gitignore | 8 лет назад | |
CONTRIBUTING.md | 9 лет назад | |
LICENSE | 9 лет назад | |
Makefile | 8 лет назад | |
README.md | 8 лет назад | |
requirements.txt | 8 лет назад |
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.
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
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
cd roboto
make