ls1intum/Apollon

Text in the Color Description element overflows in the generated PDF

akesfeden opened this issue · 0 comments

Describe the bug

When a diagram is exported as PDF, the text in the Color Description element overflows in the generated PDF even though it looks as expected on screen.

To Reproduce

  1. Click 'New' and select any diagram that has a 'Color Description' element.
  2. Place a 'Color Description' element
  3. Type a long text that causes the text to wrapped into a multiple lines.
  4. Export diagram as PDF
  5. See that the text inside the Color Description element in the generated PDF overflows.

Expected behavior

Text inside the Color Description element is wrapped like it it seen on the screen.

On screen:
image

Screenshots

In PDF:
image

Environment

 - OS: Windows 10
 - Browser Chrome 105.0.5195.102
 - Version Apollon Standalone 1.6.3

Additional context

Maybe this issue can be moved to Apollon_standalone.