Open BenShutt opened 6 months ago
https://github.com/3sidedcube/cubefoundation-ios/blob/98a3da102c6da6c24b62a4524c20652d849d7aab/Sources/CubeFoundationSwiftUI/Text/TextStyle.swift#L72
We can not assume the custom font name is always
"\(name) \(weight.name)"
I was working in a project where there was a hyphen like
"\(name)-\(weight.name)"
https://github.com/3sidedcube/cubefoundation-ios/blob/98a3da102c6da6c24b62a4524c20652d849d7aab/Sources/CubeFoundationSwiftUI/Text/TextStyle.swift#L72
We can not assume the custom font name is always
I was working in a project where there was a hyphen like