You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
graphemecluster
changed the title
Line Breaking Rules are being ignored in the output due to display: inline-blockof <ruby> wrappers
Line breaking rules are being ignored in the output due to display: inline-block of <ruby> wrappers
Sep 11, 2022
The problem is that many of these libraries are outdated; I can’t find any UAX 14 implementations that align with Unicode 16.0 in npm.
The ideal solution would be a polyfill of https://github.com/tc39/proposal-intl-segmenter-v2, but there doesn’t seem to be one at the moment.
graphemecluster
changed the title
Line breaking rules are being ignored in the output due to display: inline-block of <ruby> wrappers
Line breaking rules are being ignored in the output due to display: flex of <ruby> wrappers
Oct 3, 2024
無論新版還是舊版也有這個標點符號換行(禁則処理)問題。刪除這行的一些 consequences 是:
.getBoundingClientRect()
並不會考慮 rt 的 dimension。traverse element 的所有 child 並計算 minimum bounding box 也許可以解決這個問題。新版
https://github.com/nk2028/qieyun-autoderiver/blob/e06b116690f1995d710b78337468c8656e9c2509/src/Components/TooltipChar.tsx#L43
舊版
https://github.com/nk2028/qieyun-autoderiver/blob/0aa83ddb796ce743aefcf6d0a800f57f8f931e2d/src/App.scss#L319
The text was updated successfully, but these errors were encountered: