I have set my raw font to JetBrains Mono, but added the built in font DejaVu Sans Mono as a fallback, so that on systems where it isn’t installed, raw text still looks okay-ish. Now the problem is since DejaVu is the “larger” font, this breaks some layouting in my documents. Can I adjust the font size based on which font has been used?
#show raw: set text(font: ("JetBrains Mono", "DejaVu Sans Mono") size: 1em)
If at all possible, I’d like it to work with lists and strings, since typstyle likes to turn single-element lists into “regular” items.