Skip to content

Bold weight has greater line height; causes glitches in Xcode editor #252

@snej

Description

@snej

For some reason the bold weight has a slightly higher line height (maybe it's the leading?) than the other weights. See screenshot (the app is plain old TextEdit on Mac OS X.)
fira code linespacing

In editors that take this into account (such as Xcode), this results in uneven linespacing if some syntax styles use bold. Worse, I suspect this is triggering the already-reported scrolling glitch in Xcode 8 (#241) — as you type, when Xcode is updating the syntax coloring of text up above in the file, it can also be changing its line height, causing text below to move up or down.

Unfortunately there's no way I know of to tell Xcode to use fixed linespacing. The only workaround is to avoid the bold weight, which is a shame because it's great for keywords and doc-comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions