Skip to content

The difference between SF Pro and Roboto (minor) #95

@badlydrawnrob

Description

@badlydrawnrob

They seem quite close ... with Roboto being slightly taller and wider (or more spaced out characters)

In general it's better to pick ONE font (and perhaps a display font too) and understand how their text-box effects the vertical spacing in your design. For the purposes of this repo picking conflicting fonts is a bad idea. For simple text-based layouts it's not such a big deal, but the more you lean on a grid, the more problems will occur.

It might be an idea to either:

  1. Include both fonts as @font-face (for testing at least)
  2. Or pick a decent print-based font and have system-ui as a fallback only

The only concerns really seem to be a slightly different baseline (higher?) which changes the .gl-baseline-grid slightly. In terms of box-height they're pretty much the same though. I don't think the --spacing or --font-size variables need to change.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions