Skip to content

Add region option to template wizard #48

@Leedehai

Description

@Leedehai

Description

Hi, this Typst code snippet

// C
汉皇重色思倾国,御宇多年求不得。杨家有女初长成,养在深闺人未识。\
天生丽质难自弃,一朝选在君王侧。回眸一笑百媚生,六宫粉黛无颜色。

// J
日本語の音韻は、「っ」「ん」を除いて母音で終わる開音節言語の性格 \
が強く、また標準語を含め多くの方言がモーラを持つ。

// K
(The Korean punctuations are rendered okay, because it uses European punctuations.)
대한항공은 대한민국 국적의 항공사이며, 항공 동맹체인 스카이팀의 창립 항공사로 인천국제공항과 김포국제공항을 허브 공항으로 두고 있다.

was rendered correctly in PDF locally, with the Typst CLI:
Screenshot 2023-05-21 at 11 03 04

but the web app rendered the punctuations differently. Specifically, they are put at the middle of the character boxes, instead of at the corner:
Screenshot 2023-05-21 at 11 04 07

I'm not sure this is a font issue, though -- you may notice the glyph's fonts are different in the local PDF vs the web app (for example, Screenshot 2023-05-21 at 11 18 00 vs Screenshot 2023-05-21 at 11 18 11). The PDF version is generally more common in modern usage.

Maybe @peng1999 has some insights, but this issue only manifests on the web app so maintainers's involvement might be necessary.

Reproduction URL

https://typst.app/project/rFk7tfTxRTj_lwChTsvuV7

Browsers

Chrome

OS

macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions