Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.
/ font-maker Public archive
forked from maplibre/font-maker

Web app to convert font files into fontstacks for MapLibre GL

License

Notifications You must be signed in to change notification settings

felt/font-maker

 
 

Repository files navigation

font-maker

The easiest way to turn your custom fonts into files compatible with MapLibre GL (and Mapbox GL too).

For other prepared fonts, look at maplibre/demotiles/font instead.

Usage

  • Go to the web app at maplibre.org/font-maker/ and select your file.

  • Wait for the progress bar to complete and download your ZIP containing all ranges for the font.

Installation

You don't need to install anything to create SDF fonts, just use the page above.

For command line usage and developing, see CONTRIBUTING.md

Caveats

If the MapLibre renderer does not find a matching codepoint in the current font, it will skip display of that character.

CJK (Chinese, Japanese, Korean) text

The font-maker demo app has local ideographs enabled which is the default for most MapLibre applications. Generated fonts that include CJK ranges will display system default fonts instead of generated fonts.

CTL (Complex Text Layout) scripts

Certain scripts cannot be rendered in MapLibre GL, affecting at least these languages:

  • Burmese: OSM tag name:my
  • Hindi name:hi
  • Marathi name:mr
  • Gujarati name:gu
  • Punjabi name:pa, name:pnb
  • Assamese name:as
  • Bengali name:bn
  • Oriya name:or
  • Telugu name:te
  • Kannada name:kn
  • Tamil name:ta
  • Malayalam name:ml

Labels using these scripts have been excluded from the sample capital cities dataset.

Discussion

Join the #maplibre slack channel at OSMUS: get an invite at https://slack.openstreetmap.us/

About

Web app to convert font files into fontstacks for MapLibre GL

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 77.0%
  • C++ 14.5%
  • JavaScript 3.1%
  • HTML 1.7%
  • Python 1.5%
  • CMake 1.3%
  • Shell 0.9%