Skip to content

svg: Handle "em" attribute in the text node (godot) #2713

@capnm

Description

@capnm
tvgSvgLoader.cpp:
    else if (strstr(str, "in")) parsedValue *= PX_PER_IN;
    //TODO: Implement 'em', 'ex' attributes

The absence of the relatively frequently used em attribute breaks the text size in many SVGs.

Metadata

Metadata

Assignees

Labels

complianceSpecification Compliance for W3C, Lottie, SVG, etc.enhancementImprove featuressvgSVG features

Type

No type
No fields configured for issues without a type.

Projects

Status
Done 1.1

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions