Skip to content

Quarto possibly overwriting svg font settings in typst output? #10354

Answered by gordonwoodhull
sblgpln asked this question in Q&A
Discussion options

You must be logged in to vote

I did a quick search and I think you may be running into this issue

typst/typst#3162

As a workaround, I

  • rendered with keep-typ:true
  • modified the svg by hand to replace the font shorthand with font-family, font-weight, and font-size (as suggested in typst/typst#3162 (comment))
  • ran quarto typst compile manually

I think this is closer to the desired look:

It looks like they have fixed this on Typst main but they haven't made a new release yet. If they do, we should pick it up our next release.

Anyway as @cscheid said, it's an upstream Typst issue and not really Quarto.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@sblgpln
Comment options

Comment options

You must be logged in to vote
2 replies
@sblgpln
Comment options

@cscheid
Comment options

Comment options

You must be logged in to vote
1 reply
@sblgpln
Comment options

Answer selected by sblgpln
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
4 participants