typst / webapp-issues

Issue tracker for Typst's web app.
https://typst.app
13 stars 0 forks source link

#sym.square.stroked.big shows incorrectly in preview #252

Closed wuhongyewhy closed 10 months ago

wuhongyewhy commented 10 months ago

Description

stroked.big and stroked.tiny show a grey box without boards, but in the final pdf, they are stroked boxes without grey fill。

input file as follow:

#sym.square $->$ #sym.square

#sym.square.stroked $->$ #sym.square.stroked

#sym.square.stroked.big $->$ #sym.square.stroked.big

#sym.square.stroked.tiny $->$ #sym.square.stroked.tiny

image fig. 1. In preview

image fig. 2. Final pdf

Reproduction URL

No response

Browsers

Chrome

OS

Windows

laurmaedje commented 10 months ago

This is because the preview is capable of rendering emoji while the PDF output isn't yet. Duplicate of https://github.com/typst/typst/issues/144.