Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage for Offline Maps and styles #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,38 @@ All glyphs are built on commit and written to `https://orangemug.github.io/font-
## Forking
If you'd like to fork this repo and generate CircleCI tests, you'll need to add ssh keys for writing to your repo. Details to do that are here <https://circleci.com/docs/adding-read-write-deployment-key/>

## Usage for Offline Maps and styles

### `gh-pages` already has glyphs built

``` bash
git checkout gh-pages
cd glyphs
```

### Or, Generate glyphs

``` bash
# cd to fonts and clone fonts, LICENSE and all
cd fonts
# ~70 MB
git clone https://github.com/google/roboto.git
# ~950 MB!!
git clone https://github.com/googlei18n/noto-fonts.git

# generate.sh script assumes folder is called noto
mv noto-fonts noto
```

``` bash
cd ..
# install the fonts cutters that are detailed in package.json
npm install

#
sh generate.sh
cd glyphs
```

## License
See individual font licenses in [./fonts](/fonts)