Skip to content

Commit 3dee31a

Browse files
add example of issue #11683
i can't figure out a way to automate this test but we should have it for visual testing
1 parent 79d5012 commit 3dee31a

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: "Untitled"
3+
format: typst
4+
keep-typ: true
5+
---
6+
7+
```{=typst}
8+
#text(font: "Roboto")[Roboto]
9+
10+
#text(font: "Linux Libertine")[Linux Libertine]
11+
12+
#text(font: "New Computer Modern Math")[New Computer Modern Math]
13+
14+
#text(font: "DejaVu Sans Mono")[DejaVu Sans Mono]
15+
```
16+
17+
```{r}
18+
library(gt)
19+
df <- data.frame(a = c("aa111bbb", "abcdef"), b = c(1, 2))
20+
tab <- gt::gt(df)
21+
# reliably recreate fonts failure from https://github.com/quarto-dev/quarto-cli/issues/11683
22+
opt_table_font(tab,
23+
font = c("InvalidFontName", "system-ui", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"),
24+
add = FALSE)
25+
```

0 commit comments

Comments
 (0)