marceloprates / prettymaps

A small set of Python functions to draw pretty maps from OpenStreetMap data. Based on osmnx, matplotlib and shapely libraries.
GNU Affero General Public License v3.0
11.04k stars 516 forks source link

Japanese text not rendered #58

Open Zaneo opened 2 years ago

Zaneo commented 2 years ago

It seems that the library for writing the name on the plot doesn't support Japanese text? (See the left side)

Should be 大森、大田区

image

JonFreer commented 2 years ago

Hi,

I think this is due to the font .ttf provided not supporting japanese characters. I tried with a font that does (https://fonts.google.com/specimen/Rampart+One?subset=japanese#standard-styles) and it works fine.