When I try to do font_import() to use more fonts in Rstudio, I get this:
Scanning ttf files in /Library/Fonts/, /System/Library/Fonts, ~/Library/Fonts/ ...
Extracting .afm files from .ttf files...
/System/Library/Fonts/Supplemental/Arial Unicode.ttfsh: line 1: 65328 Segmentation fault: 11 '/Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rttf2pt1/exec//ttf2pt1' -a -GfAe '/System/Library/Fonts/Supplemental/Arial Unicode.ttf' '/var/folders/h3/gbg9fh2x6kvgrpzw8tpbj5qh0000gn/T//RtmpI09ceu/fonts/Arial Unicode' 2>&1
: No FontName. Skipping.
All fonts are bypassed and in warnings alll have this:
1: In system2(ttf2pt1, c(args, shQuote(ttfiles[i]), shQuote(tmpfiles[i])), ... :
command executed ''/Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rttf2pt1/exec//ttf2pt1' -a -GfAe '/System/Library/Fonts/Supplemental/Arial Unicode.ttf' '/var/folders/h3/gbg9fh2x6kvgrpzw8tpbj5qh0000gn/T//RtmpI09ceu/fonts/Arial Unicode' 2>&1' have status 139
Any ideas on how to solve it?