servo / font-kit

A cross-platform font loading library written in Rust
Apache License 2.0
660 stars 98 forks source link

Add support for OpenHarmony #239

Closed jschwe closed 3 months ago

jschwe commented 3 months ago

HarmonyOS Sans, which despite the name is also available in OpenHarmony, is really the default and only font on OpenHarmony besides some language specific NotoSans fonts.

Note: So far I've only tested on a HarmonyOS phone, but since HarmonyOS Sans is also published on Gitee as part of OpenHarmony it should also be available on OpenHarmony devices. Nevertheless, I'm marking this MR as a Draft, until I've confirmed that the HarmonyOS fonts are also available on pure OpenHarmony devices. Edit: The colleagues from Oniro have tested and confirmed, that the HarmonyOS Sans fonts are also available on pure OpenHarmony devices.