Commit 997b69e
committed
Clear findfont cache when calling addfont().
... as new fonts may invalidate previous searches (e.g. a previous
findfont may have chosen to return an approximate match, whereas the
newly added font is an exact match).
No test, as there is no machinery to *remove* a font from FontManager
yet so we add a font just temporarily within the test.1 parent 8a8dd90 commit 997b69e
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1092 | 1092 | | |
1093 | 1093 | | |
1094 | 1094 | | |
| 1095 | + | |
1095 | 1096 | | |
1096 | 1097 | | |
1097 | 1098 | | |
| |||
0 commit comments