Skip to content

Conversation

gordonwoodhull
Copy link
Contributor

fixes #11933, allowing e.g.

brand:
  typography:
    headings: Barrio, Times New Roman

Everywhere we read brand.typography.*.family in typst brand yml, treat it as a possible list and use the Typst CSS font-family conversion to Typst array.

We should also consider expanding the brand yml schema to allow lists here, but commas are unambiguous in font names, as discussed in #11918 generic font families, so this is fairly safe.

@gordonwoodhull gordonwoodhull merged commit 70d973d into main Apr 15, 2025
49 checks passed
@gordonwoodhull gordonwoodhull deleted the bugfix/11933 branch April 15, 2025 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

typst brand yaml: handle lists of fonts in typography element definitions

1 participant