RichText
RichText copied to clipboard
FontType doesn't support custom fonts
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)))
i tried custom font name, it didn't work for me too. @NuPlay
Using font from KMM not working also.
.fontType(.custom(SharedRes.fonts().comfortaa_regular.uiFont(withSize: UIFontMetrics.default.scaledValue(for: 16))))