I am running R on Arch Linux, where the default /usr/share/fonts/truetype/ path is rather /usr/share/fonts/TTF. I can imagine it can be even trickier on other distros :)
Wouldn't it be easier to search for all files in /usr/share/fonts as the ttf_import function is already filtering by pattern?
I am running R on Arch Linux, where the default
/usr/share/fonts/truetype/
path is rather/usr/share/fonts/TTF
. I can imagine it can be even trickier on other distros :)Wouldn't it be easier to search for all files in
/usr/share/fonts
as thettf_import
function is already filtering bypattern
?