[Rd] [Windows] grDevices::cairo_pdf fails to map certain font families (vs Cairo::CairoPDF)
Ivan Krylov
|kry|ov @end|ng |rom d|@root@org
Thu Jan 15 21:39:36 CET 2026
Dear Jan Netík,
Thank you for providing an easily reproduced example!
В Thu, 15 Jan 2026 15:15:56 +0100
Jan Netík <netikja using gmail.com> пишет:
> On Windows, grDevices::cairo_pdf() fails to render specific installed
> fonts (falling back to Helvetica/Arial), whereas Cairo::CairoPDF()
> locates and renders the exact same font correctly.
This seems to be fixed in both R-devel and the Cairo package on CRAN:
https://bugs.r-project.org/show_bug.cgi?id=18955
(I've tried your example and it works in R-to-be-4.6.0, but not R-4.5.)
--
Best regards,
Ivan
More information about the R-devel
mailing list