Is there a way to get font size and weight in SwiftUI? I want to do custom drawing in code that matches the style of the SF symbols.
I know that Text/Font is late resolved, but if I drew in a late resolved environment like Canvas
, that would work for this. However ResolvedText
in Canvas does not seem to provide any hints either on which size and weight are used. Am I missing something?