Open peteralt opened 7 months ago
Describe the bug When I set a custom font for my .text TextStyle, it takes the new font, but any attributes like bold or italic are being overwritten and dismissed.
.text
Sample:
Markdown(text) .markdownTextStyle(\.text) { FontFamily(.custom(CustomFont.pawp.fontName)) }
Checklist
main
Expected behavior I would expect the styling to still apply even with the new custom font.
Version information
Additional context Add any other context about the problem here.
Describe the bug When I set a custom font for my
.text
TextStyle, it takes the new font, but any attributes like bold or italic are being overwritten and dismissed.Sample:
Checklist
main
branch of this package.Expected behavior I would expect the styling to still apply even with the new custom font.
Version information
Additional context Add any other context about the problem here.