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

Add Arial #1

Open
lukasmartinelli opened this issue Dec 30, 2016 · 3 comments
Open

Add Arial #1

lukasmartinelli opened this issue Dec 30, 2016 · 3 comments

Comments

@lukasmartinelli
Copy link
Collaborator

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
Copy link
Member

klokan commented Mar 7, 2017

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
Copy link
Member

klokan commented Mar 22, 2018

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

@birkskyum
Copy link

birkskyum commented Jun 6, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants