Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/google/roboto

The Roboto family of fonts
https://github.com/google/roboto

Last synced: about 1 month ago
JSON representation

The Roboto family of fonts

Awesome Lists containing this project

README

        

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.

[Subsetted webfonts](https://fonts.google.com/specimen/Roboto) are also available from Google Fonts.

## Setup

Create a clean directory for Roboto:

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

Download the Roboto tools and sources:

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

Create a virtual Python environment (optional but recommended):

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

Download and install the dependencies (currently requires Python 2, not 3):

```bash
cd roboto
pip install -r requirements.txt
```

#### Optional additional setup for running tests

Download the latest tarball release of HarfBuzz
[here](http://www.freedesktop.org/wiki/Software/HarfBuzz/) 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:

```bash
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:

```bash
sudo apt-get install eog
```

## Run

```bash
cd roboto
make
```