mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Manually loads darwin system fonts. Darwin system fonts returns different typeface in different sizes. This PR loads the font in different sizes then register them as different fonts. These new fonts can be access through the framework. Fixes https://github.com/flutter/flutter/issues/63507 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style