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
In G, text line break detection is currently done by iteratively measuring the width of each character and then adding them up to determine whether a line break is needed. External users may configure wordWrapWidth by directly measuring the width of the entire text. The two different text measurement methods will lead to visual inconsistencies.
The reason is that when using canvas's TextMetrics to measure text, the total width of non-Chinese characters is greater when measured character by character than when measuring the entire text directly.
The text was updated successfully, but these errors were encountered:
In G, text line break detection is currently done by iteratively measuring the width of each character and then adding them up to determine whether a line break is needed. External users may configure
wordWrapWidth
by directly measuring the width of the entire text. The two different text measurement methods will lead to visual inconsistencies.The reason is that when using canvas's
TextMetrics
to measure text, the total width of non-Chinese characters is greater when measured character by character than when measuring the entire text directly.The text was updated successfully, but these errors were encountered: