Question

FME Cloud and the use of fonts in Mapnik and PDF writer

  • 25 September 2019
  • 1 reply
  • 5 views

Badge +7

I'm getting warnings in my logs when using the PDFwriter (in the FeatureWriter) and the mapnikrasterizer. Both in FME Workbench and FME server (Cloud) i got these errors.

2019-09-25 13:00:58|  33.6|  0.0|WARN  |PDFWriter: Unsupported font family 'Arial'.  Reverting to 'Helvetica'
2019-09-25 13:00:58|  33.6|  0.0|WARN  |... Last line repeated 10 times ...

and

2019-09-25 15:54:14|   0.3|  0.2|WARN  |MapnikRasterizer (MapnikFactory): The specified font 'Tahoma,Standaard' could not be loaded.  Using default font 'FreeSans Medium'
2019-09-25 15:54:14|   0.3|  0.0|WARN  |MapnikRasterizer (MapnikFactory): The specified font 'Tahoma,Standaard' could not be loaded.  Using default font 'FreeSans Medium'

I tried all the available options in the font menu but got no result.


1 reply

Badge

@jdh009

As far as I know, this should not be a problem in FME Desktop if your operating system has the fonts installed that you are using.

 

 

On FME Cloud only FreeSans Medium is installed because that's the only font Ubuntu comes with by default. If you have licenses for other fonts you can try to upload them to the repository of the workspace when publishing the workspace. At least the PDF Writer should pick up the font according to the documentation.

Also, see this Q&A: https://knowledge.safe.com/questions/98974/add-fonts-to-fme-cloud.html

Reply