In Chinese, font files tend to be relatively large because unlike the English alphabet with its 26 letters that can compose all possible words, Chinese characters do not operate on an alphabetic principle. Each unique character in a Chinese font file represents a distinct graphical symbol, and there are thousands of commonly used characters alone—more than 3,000 as you mentioned. This means that each font must include representations for these numerous characters, which contributes to the overall size of the font file compared to a typical Latin font. Additionally, since Chinese characters are more complex graphically, they often require more space and data to store and render.
'[email protected]' via weewx-user <[email protected]> 于2024年1月7日周日 00:29写道: > Where ever it came from, it propagated :D > > https://github.com/brewster76/fuzzy-archer/pull/136 > > It still leaves me unsure how to handle the font thing, the thai fonts is > shipped with the skin, but has a way smaller footprint. > Tom Keffer schrieb am Samstag, 6. Januar 2024 um 14:22:18 UTC+1: > >> Thanks for pointing that out. I'm not sure where "cn" came from. We'll >> change it to 'zh". >> >> Issue #912 <https://github.com/weewx/weewx/issues/912>. >> >> On Sat, Jan 6, 2024 at 1:59 AM '[email protected]' via weewx-user < >> [email protected]> wrote: >> >>> This reveals also a limitation of WeeWX current localization support: >>> according to Wikipedia's interpretation of ISO-639-1 ( >>> https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) "Chinese" >>> is "zh" and there is no way to distinguish between Traditional and >>> Simplified Chinese. WeeWX documentation ( >>> https://weewx.com/docs/5.0/custom/localization/#create-the-localization-file) >>> doesn't exactly refer to ISO-639-1 but only to "ISO language and country >>> codes" linking to w3schools ( >>> https://www.w3schools.com/tags/ref_language_codes.asp), where w3schools >>> seems to have i's own interpretation of ISO-639-1 (they are listing >>> currently 191 language codes where wikipedia lists 184). >>> >>> WeeWX seems to curve around this by inventing a language abbreviation >>> unknown to ISO-639-1: "cn" >>> https://github.com/weewx/weewx/blob/master/skins/Seasons/lang/cn.conf >>> >>> Bottom line: currently I don't know a solution to solve traditional vs. >>> simplified chinese translation without non-standard workarounds. >>> >>> Back to the very initial topic: @Kranz Liang can you check if you find a >>> font that works for you there: >>> https://fonts.google.com/noto/specimen/Noto+Sans+SC >>> Graham Eddy schrieb am Samstag, 6. Januar 2024 um 05:58:57 UTC+1: >>> >>>> maybe check the font_path in skins.conf, ensure the image generator >>>> fonts include the simplified chinese symbols >>>> *⊣GE⊢* >>>> >>>> On 6 Jan 2024, at 2:21 pm, Kranz Liang <[email protected]> wrote: >>>> >>>> I have translated the language files in weewx, converting Traditional >>>> Chinese into Simplified Chinese and also adjusted some word usages to >>>> better conform with the linguistic habits of users in Simplified Chinese >>>> regions. However, after these modifications, I am encountering garbled >>>> characters on the display interface and am unable to resolve this issue. >>>> >>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "weewx-user" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/392913a4-85e3-4090-b049-afba80a4c51dn%40googlegroups.com >>> <https://groups.google.com/d/msgid/weewx-user/392913a4-85e3-4090-b049-afba80a4c51dn%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > You received this message because you are subscribed to a topic in the > Google Groups "weewx-user" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/weewx-user/qcogpWfSThk/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/bcb0807d-94ae-49c5-9e90-559614c582b6n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/bcb0807d-94ae-49c5-9e90-559614c582b6n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 春暖话开! -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAHx1MYBi05F7150TPGE1jP70sHar%3DgUr2O01x%2BDAkPSMSpT5dg%40mail.gmail.com.
