-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
I just discovered that ScaledFont doesn't work with the new iOS 15 AttributedString/Markdown support. It just uses the same font for the whole string.
I'm not sure if it's reasonable to expect it would, given that we are specifying what exact font to use in the plist, I supposed it would probably need a different API. I just thought I'd get your thoughts on this.
Works:
struct ContentView: View {
var body: some View {
Text("**Depart:** 4:30 PM")
.font(.subheadline)
}
}Doesn't work:
struct ContentView: View {
var body: some View {
Text("**Depart:** 4:30 PM")
.scaledFont(.subheadline)
}
}