Font Metrics and Font Management Utilities for R Graphics
Compute text metrics (width, ascent, descent), with or without kerning, from font files with 'FreeType', independently of the active graphic device. Font lookup is delegated to 'systemfonts'. Additional utilities let users register 'Google Fonts', the bundled 'Liberation' fonts or the bundled math font 'STIX Two Math', check font availability, and assemble 'htmlDependency' objects so that fonts are correctly embedded in 'Shiny' applications, 'R Markdown' documents, and 'htmlwidgets' outputs such as 'ggiraph'.
Tests Vignettes
Available Snapshots
This version of gdtools can be found in the following snapshots: