Commit 3527e34
committed
Optimize
- Avoid drawing dynamic text in English completely, since it's not necessary. This causes performance to be slightly better when using English vs. Chinese, but the performance improvements in previous commits should make it better to use compared to the previous versions.
- Adds commented "part 4" which is disabling dynamic text completely. It's possible to draw everything using Source Han Sans when using Chinese, but the character widths look unbalanced. So for aesthetic reasons, we'll keep using dynamic text this time.draw_text_dynamic (part 3)1 parent ba05d3f commit 3527e34
1 file changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
3 | 19 | | |
4 | 20 | | |
5 | 21 | | |
| |||
0 commit comments