Closed Darxor closed 10 months ago
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.
Using custom fonts with svglite device (with
{systemfonts}
, rather than loading them via{extrafont}
) leads to issues:ggtext::geom_richtext
produce unexpected results.Example
In my example I used Montserrat font (can be installed as system font from google fonts).
An .rmd like one bellow will produce warnings as one above and text in the chart will be rendered incorrectly.
Example
Systemfonts successfully finds the font.
By filing an issue to this repo, I promise that
xfun::session_info('knitr')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('yihui/knitr')
.I understand that my issue may be closed if I don't fulfill my promises.