flutter_svg icon indicating copy to clipboard operation
flutter_svg copied to clipboard

text dominant-baseline, letter-spacing attributes do not work

Open JanghoChu opened this issue 4 years ago • 2 comments

I'm using flutter_svg package version 0.19.1

<text dominant-baseline="hanging" text-anchor="start" x="30" y="161"
    font-size="32" font-family="East Sea Dokdo" font-weight="normal"
    letter-spacing="-0.04em" fill="#151515">
MyText
</text>
  • dominant-baseline, letter-spacing do not work

Is there any solution?

JanghoChu avatar May 27 '21 05:05 JanghoChu

They aren't implemented. Letter spacing is probably a matter of just using https://api.flutter.dev/flutter/painting/TextStyle/letterSpacing.html, not sure about dominant-baseline. Happy to review a patch that adds this.

dnfield avatar May 27 '21 05:05 dnfield

Thank you for your reply :)

JanghoChu avatar May 27 '21 06:05 JanghoChu