Przeglądaj źródła

remove code with outdated link

pull/85/head
Garrick Aden-Buie 9 miesięcy temu
rodzic
commit
df19a4c664
Nie udało się wyłuskać podpisu
1 zmienionych plików z 1 dodań i 14 usunięć
  1. +1
    -14
      vignettes/ggplot2-themes.Rmd

+ 1
- 14
vignettes/ggplot2-themes.Rmd Wyświetl plik



By inspecting the CSS file at the link I used in `text_font_url`, By inspecting the CSS file at the link I used in `text_font_url`,
I found a direct URL for the `.ttf` files for _GlacialIndifferenceRegular_. I found a direct URL for the `.ttf` files for _GlacialIndifferenceRegular_.
I've included the code I used to download the font to a temporary file below,
but in case the URL breaks, I've included _Glacial Indifference_
in the xaringanthemer package.

```{r eval=FALSE}
font_url <- file.path(
"https://fontlibrary.org/assets/fonts/glacial-indifference/",
"5f2cf277506e19ec77729122f27b1faf/0820b3c58fed35de298219f314635982",
"GlacialIndifferenceRegular.ttf"
)

font_temp <- tempfile()
download.file(font_url, font_temp)
```
I've included _Glacial Indifference_ in the xaringanthemer package.


```{r sysfonts-custom-font, fig.width = 10} ```{r sysfonts-custom-font, fig.width = 10}
# Path to the local custom font file # Path to the local custom font file

Ładowanie…
Anuluj
Zapisz