unhcr-dataviz / unhcrthemes

UNHCR branded theme for ggplot2 and data visualization colour palettes
https://unhcr-dataviz.github.io/unhcrthemes/
Other
18 stars 7 forks source link

Load Lato font #8

Closed vidonne closed 2 years ago

vidonne commented 2 years ago

Find the best way to load the Lato font so it can be used in the charts. Extrafont vs showtext vs custom function or simply the use of ragg when saving the plot?

dickoa commented 2 years ago

Hi @vidonne

A PR to automatically load Lato on startup, it uses showtext for vector devices and ragg for bitmap.

https://github.com/vidonne/unhcrthemes/pull/14