FS#68453 - [mapnik] fails to find any font face
Attached to Project:
Community Packages
Opened by mephinet (mephinet) - Wednesday, 28 October 2020, 16:47 GMT
Last edited by Morten Linderud (Foxboron) - Monday, 16 November 2020, 21:06 GMT
Opened by mephinet (mephinet) - Wednesday, 28 October 2020, 16:47 GMT
Last edited by Morten Linderud (Foxboron) - Monday, 16 November 2020, 21:06 GMT
|
Details
Description:
I just started looking into local processing of openstreetmap data - so please be kind if I'm mistaken. After importing data into Postgis using osm2psql and the openstreetmap-carto style, I tried to render my first map with mapnik-render. However, invocation fails with: Error Failed to find font face 'Noto Sans Regular' in FontSet 'fontset-0' in FontSet at line 15 of 'mapnik.xml' I double-checked that the package noto-fonts is installed, it is. Furthermore, when commenting out *all* fonts except for DejaVu Sans Book in the file, it still complains: Error Failed to find font face 'DejaVu Sans Book' in FontSet 'fontset-0' in FontSet at line 15 of 'mapnik.xml' So I have the feeling that mapnik-render is unable to find *any* font on my system. Can you please check whether maybe mapnik's font rendering was broken by a recent fontconfig update? Setting FC_DEBUG didn't yield any additional output. Apart from mapnik, I haven't seen any issues wrt fonts on my system... Additional info: noto-fonts 20190926-4 mapnik 3.0.23-2 Steps to reproduce: $ pacman -S noto-fonts mapnik $ mapnik-render /the/attached/mini.xml out.png |
This task depends upon
Closed by Morten Linderud (Foxboron)
Monday, 16 November 2020, 21:06 GMT
Reason for closing: Upstream
Monday, 16 November 2020, 21:06 GMT
Reason for closing: Upstream
mini.xml
So this is no packaging issue, I'll to upstream.