Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for OpenHarmony #239

Merged
merged 2 commits into from
Apr 19, 2024
Merged

Conversation

jschwe
Copy link
Member

@jschwe jschwe commented Apr 17, 2024

  • Use the filesystem as SystemSource on OpenHarmony
  • Use HarmonyOS Sans as the default font family for available styles on Openharmony

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.

jschwe added 2 commits April 17, 2024 16:48
[HarmonyOS Sans], which despite the name is also available in
[OpenHarmony](https://gitee.com/openharmony/utils_system_resources),
is really the default and only font on OpenHarmony besides some
language specific NotoSans fonts.

[HarmonyOS Sans]: https://developer.huawei.com/consumer/en/doc/design-guides-V1/font-0000001157868583-V1
@jschwe jschwe marked this pull request as ready for review April 18, 2024 10:52
Copy link
Member

@gterzian gterzian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mrobinson mrobinson added this pull request to the merge queue Apr 19, 2024
Merged via the queue into servo:main with commit ef9cc1d Apr 19, 2024
4 checks passed
@jschwe jschwe deleted the jschwender/main_ohos branch April 19, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants