Skip to content

Better text render method for piet-svg with <path> #543

@matthunz

Description

@matthunz

I think piet-svg would greatly benefit from rendering text as a <path> element rather than <text>.

This would allow us to get the exact size of text before drawing, instead of just a best guess. The current design seems to render the text on the host machine before letting whatever machine that views the SVG decide it's own dimensions.

This could be done with something like text-to-svg but probably rewritten in rust (tm)

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