Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/protomaps/basemaps-assets

Fonts and sprites for basemaps, hosted on GitHub Pages
https://github.com/protomaps/basemaps-assets

protomaps

Last synced: 9 days ago
JSON representation

Fonts and sprites for basemaps, hosted on GitHub Pages

Awesome Lists containing this project

README

        

# basemaps-assets
Fonts and sprites for [basemaps](https://github.com/protomaps/basemaps).

## Directory Structure

* `fonts/`: Contains PBF glyphs generated by [font-maker](https://github.com/maplibre/font-maker)
* Current fonts: `Noto Sans Regular`, `Noto Sans Medium`, `Noto Sans Italic`

* `sprites/v3`: Contains spritesheets generated by [spreet](https://github.com/flother/spreet), for each major version
* `[email protected]` - light and dark themed spritesheets at 1x and 2x pixel densities

## Fonts

The typefaces and font variants hosted and downloadable here are limited to only those used by [basemaps](https://github.com/protomaps/basemaps) and a Noto Sans alternate. It is not meant to include all possible variations or other fonts. If you want to generate fonts for your own use, use the examples in `scripts` and maintain your own repository.

## Linking to Assets in Styles

```
glyphs:'https://protomaps.github.io/basemaps-assets/fonts/{fontstack}/{range}.pbf'
```

## Downloading Assets

Use the `Code > Download ZIP` button on this repository page, or [this direct link](https://github.com/protomaps/basemaps-assets/archive/refs/heads/main.zip).

## License

The license for each group of assets is contained within that directory:

* `fonts/`: [SIL Open Font License](fonts/OFL.txt)
* `sprites/`: derived from [MIT-licensed tangrams/icons](https://github.com/tangrams/icons/blob/master/LICENSE.md)