Skip to content

For SVGs, the generated Font weight is "regular" instead of "normal" #83

Description

@LyGoeAbb

The title is pretty self explanatory. The SVGs that are generated by this library use font-weight="regular" instead of font-weight="normal". The latter seems to be the standard: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/font-weight.

lines 678, 724, 1333, and 1433 of VectSharp.SVG/SVGContext.cs should be modified accordingly.

This irregularity causes compatibility issues, in my case with flutter_svg.

Thank you for maintaining this project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions