File: README.md

package info (click to toggle)
fonts-roboto 2%3A0~20170802-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 46,424 kB
  • sloc: ansic: 7,437; python: 6,353; cpp: 415; makefile: 190; perl: 116; sh: 26
file content (75 lines) | stat: -rw-r--r-- 1,753 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
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](https://www.google.com/fonts/specimen/Roboto) is available from Google Fonts, and can be used as a web font.

## 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:

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