Commit 8b17e5e
committed
Use canvas context text primitives when the font file is missing
It fixes #20065.
The only to get a path (from the path generator) is when the font is embedded.
So when we need a path (disableFontFace: true or when we want to use a pattern for stroking/filling), it's impossible
to fulfil.1 parent e4585c2 commit 8b17e5e
4 files changed
Lines changed: 18 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1625 | 1625 | | |
1626 | 1626 | | |
1627 | 1627 | | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
1628 | 1631 | | |
1629 | 1632 | | |
1630 | 1633 | | |
| |||
1768 | 1771 | | |
1769 | 1772 | | |
1770 | 1773 | | |
1771 | | - | |
1772 | | - | |
1773 | | - | |
1774 | | - | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
1775 | 1779 | | |
1776 | 1780 | | |
1777 | 1781 | | |
1778 | 1782 | | |
1779 | | - | |
| 1783 | + | |
1780 | 1784 | | |
1781 | 1785 | | |
1782 | 1786 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
733 | 733 | | |
734 | 734 | | |
735 | 735 | | |
| 736 | + | |
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12213 | 12213 | | |
12214 | 12214 | | |
12215 | 12215 | | |
| 12216 | + | |
| 12217 | + | |
| 12218 | + | |
| 12219 | + | |
| 12220 | + | |
| 12221 | + | |
| 12222 | + | |
| 12223 | + | |
12216 | 12224 | | |
12217 | 12225 | | |
0 commit comments