https://github.com/jiachenyee/Font
as the Package URL.Text("Hello!")
.font(.custom(.myFontName))
Text("Hello!")
.font(.custom(.myFontName()))
Text("Hello!")
.font(.custom(.myFontName(weight: .bold)))
Text("Hello!")
.font(.custom(.myFontName))
Text("Hello!")
.font(.custom(.myFontName, size: 100))
Set font size relative to another font type using Apple's relativeTo:
font sizes.
Text("Hello!")
.font(.custom(.myFontName, size: 100, relativeTo: .title))
link |
Stars: 0 |
Last commit: 1 year ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics