Skip to content

Source Code Pro rendered poorly in macOS Safari's Lockdown Mode #1180

@jrose-signal

Description

@jrose-signal

In this screenshot, the default font on play.rust-lang.org looks incredibly thin and doesn't have syntax-based bolding.

When viewing play.rust-lang.org through macOS Safari with Lockdown Mode on, the capabilities of web fonts are dramatically restricted, and the playground ends up nigh-unreadably thin. It's still using Source Code Pro, but only in a single weight, and not even the "normal" weight used for non-bold text when the editor is working correctly. Hand-editing the CSS in the web inspector to use either monospace or the Ace defaults—which, in practice, is letting it use a font already available in the browser—leads to correct display, albeit not in Source Code Pro. (The problem isn't specific to Ace; the Simple and Monaco views have the same problem.) I don't know offhand if there's a way to get Source Code Pro to display well in Lockdown Mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions