qgis / qgis-docker

Official Docker image for QGIS Server and Desktop
GNU Affero General Public License v3.0
67 stars 21 forks source link

Add the possibility to map a local font folder #10

Closed daniviga closed 5 years ago

daniviga commented 5 years ago

This allows QGIS server to use custom fonts for the internal rendering

lucamanga commented 5 years ago

For me it was sufficient to pass this parameter:

docker run -d -p 8380:80 --volume=/usr/local/share/fonts:/usr/local/share/fonts ...

in which the local /usr/local/share/fonts contains all the needed fonts.

daniviga commented 5 years ago

Yeah, it's a matter only of documenting it and make sure that font cache is up-to-date.

See https://github.com/gem/oq-qgis-server/commit/9221c2976695d7ce327c83fb24bd09327ba517d7

daniviga commented 5 years ago

Closed via https://github.com/gem/oq-qgis-server/pull/14