title: Cannot import fonts into R
body: <p>I'm aware this issue has been posted on already, but I feel like I've tried most of the solutions without finding any success.</p>
  <p>I'm using <code>hrbrthemes</code> to plot my <code>ggplot</code> graphs, and it keeps telling me I don't have the right fonts imported.</p>
  <p>I installed all the fonts on windows, I used the <code>extrafont</code> packages and ran the <code>font_import()</code> command. I keep getting the following errors:</p>
  <pre><code>C:\Windows\Fonts\RobotoCondensed-Bold.ttf : No FontName. Skipping.
  </code></pre>
  <p>For absolutely all the fonts. Yet if I go to <code>C:\Windows\Fonts</code>, you can see from this image that the <code>RobotoCondensed</code> font family is properly installed.</p>
  <p><a href="https://i.stack.imgur.com/x0KOA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/x0KOA.png" alt="enter image description here" /></a></p>
  <p>The <code>loadfonts(device = &quot;win&quot;)</code> also doesn't do anything for me. I've tried all combinations including restarting my r session in between things and I still get this when I check what fonts are available:</p>
  <p><a href="https://i.stack.imgur.com/t3IZ6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t3IZ6.png" alt="enter image description here" /></a></p>
  <p>Here's my session info:</p>
  <pre><code>&gt; sessionInfo()
  R version 4.1.3 (2022-03-10)
  Platform: x86_64-w64-mingw32/x64 (64-bit)
  Running under: Windows 10 x64 (build 22000)
  
  Matrix products: default
  
  locale:
  [1] LC_COLLATE=English_Switzerland.1252  LC_CTYPE=English_Switzerland.1252    LC_MONETARY=English_Switzerland.1252 LC_NUMERIC=C                        
  [5] LC_TIME=English_Switzerland.1252    
  
  attached base packages:
  [1] stats     graphics  grDevices utils     datasets  methods   base     
  
  other attached packages:
  [1] extrafont_0.17   hrbrthemes_0.8.0
  
  loaded via a namespace (and not attached):
   [1] Rcpp_1.0.7        pillar_1.7.0      compiler_4.1.3    later_1.3.0       tools_4.1.3       digest_0.6.29     evaluate_0.15     lifecycle_1.0.1  
   [9] tibble_3.1.6      gtable_0.3.0      pkgconfig_2.0.3   rlang_0.4.12      DBI_1.1.2         cli_3.1.0         rstudioapi_0.13   writexl_1.4.0    
  [17] xfun_0.30         fastmap_1.1.0     Rttf2pt1_1.3.10   stringr_1.4.0     knitr_1.37        systemfonts_1.0.4 gdtools_0.2.4     generics_0.1.2   
  [25] vctrs_0.3.8       grid_4.1.3        glue_1.6.0        R6_2.5.1          fansi_0.5.0       RMySQL_0.10.23    pool_0.1.6        rmarkdown_2.13   
  [33] farver_2.1.0      ggplot2_3.3.5     purrr_0.3.4       extrafontdb_1.0   magrittr_2.0.1    scales_1.1.1      ggthemes_4.2.4    ellipsis_0.3.2   
  [41] htmltools_0.5.2   assertthat_0.2.1  colorspace_2.0-2  labeling_0.4.2    utf8_1.2.2        stringi_1.7.6     munsell_0.5.0     crayon_1.5.0 
  </code></pre>
  <p>Does anyone have an idea on how to fix this issue?</p>