Craig Hockenberry on Nostr: Has anyone figured out how to get a custom font in a WKWebView to match the dynamic ...
Has anyone figured out how to get a custom font in a WKWebView to match the dynamic type settings of a UIKit/SwiftUI view?
`font: -apple-system-body` will match .body in the view with the San Francisco system font, but I can't find something similar if I'm using `font: “Custom”`
I _really_ don't want to start sniffing around in font metrics (especially in SwiftUI where they are essentially unavailable).
`font: -apple-system-body` will match .body in the view with the San Francisco system font, but I can't find something similar if I'm using `font: “Custom”`
I _really_ don't want to start sniffing around in font metrics (especially in SwiftUI where they are essentially unavailable).