Skip to content

Conversation

@gordonwoodhull
Copy link
Contributor

@gordonwoodhull gordonwoodhull commented Jan 3, 2025

fixes #11726

CSS has synonyms and it also uses dashes, so map and remove.

Also, we were previously failing if brand.typography.headings.weight was a string because it wouldn't be quoted. So use a raw typst inline (as with color).

This will be a backport to 1.6 and I'll add the changelog there.

from css to typst
fixes #11726

also, we were previously failing if
brand.typography.headings.weight was a string
because it wouldn't be quoted
so use a raw typst inline as with color
@gordonwoodhull gordonwoodhull changed the title typst brand yaml: translate css font weights to typst typst brand yaml: translate named css font weights to typst Jan 3, 2025
@gordonwoodhull gordonwoodhull merged commit f82973f into main Jan 3, 2025
47 checks passed
@gordonwoodhull gordonwoodhull deleted the bugfix/11726 branch January 3, 2025 18:03
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.

Font-weight name incompatibility in Typst

2 participants