Adding fonts after compiler initialization #412
-
Hi, Thanks for this library! I'm wondering if it is possible to add fonts after the compiler has been initialised ? I've tried importing via Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi, typst.ts doesn't support dynamic font loading, which is limited by typst compiler itself. PS: There will be some resource type rfc for dynamic font loading, but the rfc is still in draft.
|
Beta Was this translation helpful? Give feedback.
-
Ah that is what I was guessing. Thanks! |
Beta Was this translation helpful? Give feedback.
Hi, typst.ts doesn't support dynamic font loading, which is limited by typst compiler itself.
PS: There will be some resource type rfc for dynamic font loading, but the rfc is still in draft.
See Discord Topic: Resource type