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
If text has <br>, it gets tspans and wraps onto multiple lines. If you pass the text node to Drawing.bBox though, it is measured as if the text is all on one line, giving the incorrect bBox.
In the example below, the text node is passed to Drawing.bBox. The 304 returned as the width is the sum of the widths of each tspan. When it's rendered in updatemenus though, each tspan is on a separate line.
The text was updated successfully, but these errors were encountered:
If text has
<br>
, it gets tspans and wraps onto multiple lines. If you pass the text node toDrawing.bBox
though, it is measured as if the text is all on one line, giving the incorrect bBox.In the example below, the
text
node is passed toDrawing.bBox
. The 304 returned as the width is the sum of the widths of eachtspan
. When it's rendered inupdatemenus
though, eachtspan
is on a separate line.The text was updated successfully, but these errors were encountered: