mirror of
https://github.com/storytold/cadcraft.git
synced 2026-11-03 08:52:05 -06:00
* fonts: scan the Android system font directories System fonts are the only fallback for text whose own font lacks a glyph (CJK in an SHX big font, for example), and Android was falling through to the XDG directories it does not have: a drawing came out in the stroke font with missing-glyph boxes for Chinese. Search /system/fonts and the product and vendor partitions too. The directory list moves out of scan() so the platform's main location is tested directly. * fonts: scan the HarmonyOS system font directories HarmonyOS targets are target_os = "linux" with target_env = "ohos", so they fell into the XDG branch and found no fonts at all: Chinese text in a drawing came out as missing-glyph boxes while the stroke font drew the ASCII around it. Search /system/fonts there too, as on Android. * contributors: add qinshah Credits them by the name on their public GitHub profile. * fonts: document the platform font directories