Skip to content

Support setting the background colour of the text #169

Open
@bramp

Description

@bramp

SVG sadly doesn't allow setting the background of text, instead you must create a rect behind the text. This is problematic if the font is chosen at run time, as there is no way at generation time to measure the width/height of the text.

We could hack some emscript that runs inside the SVG to keep the background rect in the right place.

other suggestions welcome

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions