openmaptiles / fonts

Font glyphs for GL Styles with open fonts
https://fonts.openmaptiles.org/
217 stars 97 forks source link

Add Arial #1

Open lukasmartinelli opened 7 years ago

lukasmartinelli commented 7 years ago

The default font stacks of the Mapbox GL style specification are Open Sans Regular and Arial Unicode MS Regular. They should be somehow covered (or aliased) by the fonts here.

"text-font": {
      "type": "array",
      "value": "string",
      "function": "piecewise-constant",
      "zoom-function": true,
      "default": ["Open Sans Regular", "Arial Unicode MS Regular"],
      "doc": "Font stack to use for displaying text.",
      "requires": [
        "text-field"
      ]
    },
klokan commented 7 years ago

Arial Unicode MS Regular is a licensed font - not free.

Alias to the Noto font is probably the only free solution - can be done on server side by TileServer GL. The problem is that Noto is not designed the way that one font file contains all characters. The number of glyphs is too large. Minimally two different fonts are required.

klokan commented 6 years ago

The latest Noto we released does have all required characters. https://blog.klokantech.com/2018/02/maps-in-the-language-of-visitor.html

birkskyum commented 5 months ago

It's a workaround, but it would be quite helpful to have a Open Sans, Arial folder with just Open Sans inside, to avoid the lost requests caused by Open Sans, Arial being the default font of maplibre - a temporary http redirect would do, the files doesn't even have to be in the repo.