sysfonts
sysfonts copied to clipboard
Adding additional font faces
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?
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.