RichText icon indicating copy to clipboard operation
RichText copied to clipboard

FontType doesn't support custom fonts

Open RushanB opened this issue 1 year ago • 2 comments

When I try to set a custom font that I imported into my project it doesn't work

.fontType(.custom(UIFont(name: "NunitoSans-Regular", size: 14.0)))

RushanB avatar Apr 11 '24 19:04 RushanB

i tried custom font name, it didn't work for me too. @NuPlay

phanindhra77 avatar Jun 14 '24 06:06 phanindhra77

Using font from KMM not working also.

.fontType(.custom(SharedRes.fonts().comfortaa_regular.uiFont(withSize: UIFontMetrics.default.scaledValue(for: 16))))

kostapostolakis avatar Sep 30 '24 21:09 kostapostolakis