I did try your code but my plot doesn't change and when I see the warnings() it gives me font family not found in Windows font database but on C:\Windows\Font\ I have the TTF files there!
I did try fonts() but I got NULL as output (I guess it didn't import any font)
And if I do font_import() I get:
Scanning ttf files in C:\WINDOWS\Fonts ...
Extracting .afm files from .ttf files...
Error in ttf_extract(ttfiles) :
lazy-load database 'N:/R/win-library/4.1/Rttf2pt1/R/Rttf2pt1.rdb' is corrupt
In addition: Warning messages:
1: In ttf_extract(ttfiles) : restarting interrupted promise evaluation
2: In ttf_extract(ttfiles) : internal error -3 in R_decompress1
Do you think it could be because of the old version of Rttf2pt1 since the message error is the same?
