giocomai / ganttrify

Create beautiful Gantt charts with ggplot2
https://ganttrify.europeandatajournalism.eu/
GNU General Public License v3.0
654 stars 61 forks source link

Fail gracefully if selected font is not available #22

Closed giocomai closed 7 months ago

giocomai commented 2 years ago

See also: https://github.com/giocomai/ganttrify/pull/21

giocomai commented 7 months ago

Currently, as far as I see, if a font is not available, the font_family argument is simply ignored by ggplot, and a fallback sans font is used by default. I'd somewhat prefer it to show a warning, but I wouldn't add a hard dependency to extrafont just for this.