Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FontType doesn't support custom fonts #49

Open
RushanB opened this issue Apr 11, 2024 · 2 comments
Open

FontType doesn't support custom fonts #49

RushanB opened this issue Apr 11, 2024 · 2 comments

Comments

@RushanB
Copy link

RushanB commented Apr 11, 2024

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 RushanB changed the title FontType doesn't work as expected FontType doesn't support custom fonts Apr 11, 2024
@phanindhra77
Copy link

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

@kostapostolakis
Copy link

Using font from KMM not working also.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants