-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Default to system font in attribution titles #7725
Conversation
This issue is tagged as a release blocker because it’s a highly visible regression on macOS compared to v0.2.1. It is not a release blocker on iOS, as it affects iOS only to the extent that a developer would try to display an MGLAttributionInfo title as rich text. The attribution sheet is unaffected because it displays each title as plain text. Even so, I’d like to land this change in time for macOS SDK v0.3.0, which means it’ll be in iOS SDK v3.4.0 as well. |
The WebKit blog says The only question I would then have is if OS X 10.10 still used Helvetica Neue at small sizes... |
Yes, Lucida Grande was supplanted by Helvetica Neue at all three control sizes. |
6102d60
to
15caf0f
Compare
Support for the Additionally, on macOS, I set |
@1ec5 You’re absolutely correct — the blog piece I cited doesn’t actually say when |
The inline stylesheet used when converting an attribution HTML string to an attributed string now specifies the system font as the default font. It still isn’t clear to me why macosapp has been defaulting to the system font, but it makes sense to me that the default default font would be Times without this change. This change makes use of WebKit’s proprietary
-apple-system
keyword, which Apple recommends for this purpose.There is still a slight difference between macosapp and an application outside macos.xcworkspace, but I think the two results are close enough:
Fixes #7722.
/cc @frederoni @friedbunny