Skip to content

Supporting the mult-line text control #1062

Description

@tarleomkar

@echolove38 @jfhenon @pmkrawczyk @brettz9 @cuixiping @pmkrawczyk i've been implemented that but having sometrouble due to fuxa uses the svg library the behaviour comes into picture like its taking spaces after the text dividationa and only the one vertical horizontal line is there for the entire text box likewise in simple
implemented the multi-line text functionality using elements inside the SVG tag. This is the only reliable method in SVG to handle line breaks.

However, due to SVG’s native rendering behavior, the line spacing can’t be pixel-perfect or tightly controlled like in standard HTML/CSS. You may notice extra spacing or alignment quirks — that’s expected with how dy="1.2em" works in .

Just wanted to highlight that this is the standard approach for multi-line SVG text, and all functionality is working correctly within those SVG limitations.

Image

Originally posted by @tarleomkar in #821

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions