quarto-dev / quarto-dev/quarto-cli

`_brand.yml`: google returning different font names confuses us

Open
#11,947 10 comments 1 reaction 2 assignees View on GitHub

@gordonwoodhull is already working on this.

Since Jan 25, 2025.

brand bug
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

This works:

typography: 
  fonts:
    - source: google
      family: 'Source Sans Pro'
  base: 
    family: 'Source Sans Pro'

This doesn't:

typography: 
  fonts:
    - source: google
      family: 'Source Sans 3'
  base: 
    family: 'Source Sans 3'

Even though "Source Sans 3" is the name of the font on Google Fonts. The issue appears to be that the CSS query returns Source Sans Pro as the name of the font, but we try to use Source Sans 3, and faceplant.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.