Commit 7334549
committed
fix(Avalonia): use embedded font collection
What does "Inter is used the same way fonts:Inter#Inter" mean when the source from Avalonia.Fonts.Inter uses new Uri("fonts:Inter", UriKind.Absolute), I have been unable to get any of my embedded fonts to work via a fontCollection (stepping through the code, it seems to register my fonts with the collection, but still does not display them unless installed on the system).
This is fixed by using the `fonts:` scheme1 parent 17f9436 commit 7334549
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
| |||
0 commit comments