GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - maplibre/font-maker: Web app to convert font files into fontstacks for MapLibre GL

BranchesTags
Open more actions menu

Latest commit

 

History

105 Commits
105 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
app
app
 
 
vendor
vendor
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
CMakeLists.txt
CMakeLists.txt
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
build_wasm.sh
build_wasm.sh
 
 
main.cpp
main.cpp
 
 

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.

For an example of using font-maker on the command line to cover as much of Unicode as possible, see the protomaps/basemaps-assets repository.

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.

See @wipfli's Text Rendering in MapLibre guide for details on the drawbacks of mapping 1 codepoint to 1 glyph.

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

maplibre.org/font-maker

Topics

fontsmaplibre

Resources

Readme
BSD-3-Clause license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

265 stars

Watchers

8 watching

Forks

20 forks
Report repository

Sponsor this project

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.