HarmonyOS Sans SC — preview font notice
======================================

The website uses the HarmonyOS Sans SC family for two reasons:

1. the HarmonyOS client sets `fontFamily: 'HarmonyOS Sans'` in every demo option;
2. chart label measurement and layout depend on the same glyph metrics.

The WOFF2 files in `assets/fonts/` are subsets generated from the locally
installed `HarmonyOS_Sans_SC_Regular.ttf` and `HarmonyOS_Sans_SC_Bold.ttf`.
They contain the site copy plus the GB2312 character set so that the built-in
demo labels render with the same metrics as the client.

HarmonyOS Sans is a font distributed by Huawei Device Co., Ltd. and is subject
to its own license. This repository is a technical preview; before publishing
the website publicly, confirm that the font license permits the intended web
embedding/redistribution, or replace the two WOFF2 files with a licensed font.

To rebuild the subsets on a machine with the HarmonyOS fonts installed:

```powershell
cd website
powershell -NoProfile -ExecutionPolicy Bypass -File scripts/build-fonts.ps1
```

The script recreates `subset-chars.txt` automatically and is not needed at
runtime.

The page CSS references:

- `assets/fonts/harmonyos-sans-regular.woff2`
- `assets/fonts/harmonyos-sans-bold.woff2`

If these files are absent, the browser falls back to the system font stack and
chart label metrics may differ slightly from the client.
