bbb-recording-exporter icon indicating copy to clipboard operation
bbb-recording-exporter copied to clipboard

Bug: Text annotation box area is not respected

Open germanocaumo opened this issue 3 years ago • 1 comments

When you create a text annotation it has a box area limiting the visibility in the slide The script is not respecting the height, all the text is shown even it goes beyond the box area:

Live/playback: image

Exported: image

germanocaumo avatar Jan 17 '22 17:01 germanocaumo

Hi! Nice catch. This is relatively easy to fix: we can nest the text inside of a new SVG element that has the width and height of the text box.

<!-- https://stackoverflow.com/a/42608084 -->
<svg>
  <svg x="10" y="10" width="10" height="10">
    <text x="0" y="0">Test test test</text>
  </svg>
</svg>

danielpetri1 avatar Feb 22 '22 10:02 danielpetri1