minseong0324 opened a new issue, #21868: URL: https://github.com/apache/echarts/issues/21868
### Version 6.1.0 (5.6.0 is not affected) ### Link to Minimal Reproduction [Official Editor](https://echarts.apache.org/examples/en/editor.html?code=NY-_SsRAEMb7PMUHFtsET1AsIhYidjbWR4pJdi4Jt2TDZvOPIyBaWNj5JMFGOF9i80ZucmczDPPNfPP7Nhs8UZpDUcIKnaGqBll0hbQ5bq9C2JyRGR6Q6P4y0JUtdIl7HAKgf-iLOlpbwA4VRxApWc60GUS4TiVZirAV7mv-nF_n9_nDHd0E97OUo_t2k5--ucn9ihDipSFj2agBhlsuGxbxyYb8o-eF0H9DUfqdlnzv8VbQaCXVLZud0p2nSAzT3jsmlO4zo5tSPmqljVcupJQCo3cdF-vhHAF1vhzuSNV8Umo2BXtpe_iPlpDxludE1yFuYoxxMN79AQ&enc=deflate) ### Steps to Reproduce Open the link. Both x-axis labels have `width: 60` and `overflow: 'break'`. The grey box shows the width. ### Current Behavior `Выручка за квартал` is broken inside words: `Выруч` / `ка за` / `кварт` / `ал`. Each word fits in 60px. The English label wraps between words. ### Expected Behavior The label wraps only between words, as in 5.6.0. ### Any additional comments? The cause is in zrender (ecomfe/zrender#1188). It measures '国' once per font and uses that width for every non-ASCII character, so in `12px sans-serif` each Cyrillic letter counts as 12px. That width is also the default line height. With a web font split by `unicode-range`, measuring '国' also loads the subset that contains it, even if the page never uses that character. ecomfe/zrender#1189 fixes it, along with #21812. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
