Commit 0f699f3
committed
Fix font package detection for fonts with spaces in names
Fonts with spaces (e.g., "Noto Emoji", "DejaVu Sans") were failing
auto-installation because fontSearchTerm() generated search patterns
that didn't match font files. Font files use concatenated names without
spaces (NotoEmoji-Regular.ttf, DejaVuSans-Bold.ttf).
Replace spaces with \s* regex pattern to match files with or without spaces.
Closes #137261 parent d5f5ad2 commit 0f699f3
File tree
3 files changed
+7
-2
lines changed- news
- src/command/render/latexmk
- tests/unit/latexmk
3 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
| 300 | + | |
| 301 | + | |
301 | 302 | | |
302 | 303 | | |
303 | 304 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
0 commit comments