sysfonts icon indicating copy to clipboard operation
sysfonts copied to clipboard

Adding additional font faces

Open gacolitti opened this issue 4 years ago • 1 comments

My company font family includes a font face called 'Book', but font_add() does not support this font face. Does it make sense to support arbitrary font face names in font_add()? Or is there a workaround you are aware of that will allow me to add additional font faces?

gacolitti avatar Feb 11 '21 23:02 gacolitti

Hi @gacolitti, sorry for the (very) late reply. The R graphics system only allows you to specify font faces among regular, bold, italic, and bolditalic, so to use "Book" you need to map it to one of the existing font faces.

yixuan avatar Jul 15 '21 05:07 yixuan