typst-hs
typst-hs copied to clipboard
support for stroke
This is a very experimental PR... I'm not even sure how do I test it. The goal is to support stroke function when converting Typst files to other formats.
I wonder how are VAuto values handled? In the constructor, when Nothing/VAuto is passed, I can either fill in a hard coded default, or simply store the VAuto. But at some point the auto values must be resolved.
For example, in Typst, auto is actually stored and evaluated at rendering. When printing #stroke().paint, we get auto instead of a concrete color.