Closed zbaylin closed 4 years ago
Looks like we don't get any performance loss with this PR, which is always good :)
This PR:
+----------------------------------------------------------------+-------------+---------------------+
| Draw: drawText | 10000 | 0.0862729549408 |
+----------------------------------------------------------------+-------------+---------------------+
Master:
+----------------------------------------------------------------+-------------+---------------------+
| Draw: drawText | 10000 | 0.0877161026001 |
+----------------------------------------------------------------+-------------+---------------------+
I have updated your lock dirs and formatted the code. Please @zbaylin pull the last commit before pushing any more changes.
With this change - it seems like we don't really need reason-font-manager
here anymore. Were you planning on removing it in a separate change?
I have updated your lock dirs and formatted the code. Please @zbaylin pull the last commit before pushing any more changes.
This PR moves to a purely Skia-based font-discovery and management API.
This fixes #894 and will help when we add font-fallback. @EduardoRFS also noted on Discord that it will help on mobile platforms that dont have OS-based font discovery primitives baked in.