Commit 14837ef
Added guards in TryGetGlyphTypeface so the $Default placeholder stops… (#19891)
* Added guards in TryGetGlyphTypeface so the $Default placeholder stops recursing once the concrete default family cannot be resolved
* Throw if $Default is used as the default family name
* Stripped the redundant $Default guard/continue blocks
---------
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>1 parent 87d48e8 commit 14837ef
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
383 | 389 | | |
384 | 390 | | |
385 | 391 | | |
| |||
0 commit comments