extrafont
extrafont copied to clipboard
Tools for using fonts in R graphics
Like the option for loadfonts, it would be nice to have a quiet option for font_import as well.
Examples on Mac include Papyrus.ttc and Optima.ttc.
Also add OpenType support.
Hi Winston, When running `font_import()` I get the message ["Importing fonts may take a few minutes"](https://github.com/wch/extrafont/blob/1063e8f8803879d9bb7e7a3e9a569ecfee8f75b3/R/font.r#L18) and it indeed takes quite a while even if all fonts are already registered....
Hi.. When I run the below the code, and open pdf file, the font is not embeded. Please advise Sys.setenv(R_GSCMD = "C:/GhostScript/gs10.01.1/bin/gswin64c.exe") library(extrafont) extrafont::font_import() # Register the fonts with R...
After using `embed_fonts()`, fonts are embedded but do not display correctly: ```r library(ggplot2) library(extrafont) #> Registering fonts with R temp quartz_off_screen #> 2 extrafont::embed_fonts("before.pdf") pdftools::pdf_fonts("before.pdf") #> # A tibble: 4...
Hi I´m trying to load dinpro light font in R. I download the font from the following weppage: https://es.fontsisland.com/font/din-pro-light But when I try to load it using: `font_import('demo_RCP/www/635-font.otf')` get the...
Hi I have found that upgrading from R 4.3.3 to R 4.4.0 causes certain fonts to no longer display properly in PDFs generated by converting R markdown code to PDF...
`library(extrafont)` `font_import()` > Scanning ttf files in /usr/share/fonts/ ... Extracting .afm files from .ttf files... /usr/share/fonts/dejavu/DejaVuSans-Bold.ttfError in gzfile(dest, "w") : cannot open the connection In addition: Warning message: In gzfile(dest,...