wch / extrafont

Tools for using fonts in R graphics
315 stars 48 forks source link

Can´t load dinpro light #97

Open davidaceropronus opened 1 year ago

davidaceropronus commented 1 year ago

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 following message:

Scanning ttf files in demo_RCP/www/635-font.otf ... Extracting .afm files from .ttf files... Error in data.frame(fontfile = ttfiles, FontName = "", stringsAsFactors = FALSE) : arguments imply differing number of rows: 0, 1

I can´t load it.