Skip to content

docs: regular minor updates#101

Merged
YDX-2147483647 merged 2 commits into
typst-doc-cn:mainfrom
YDX-2147483647:cron
Apr 24, 2026
Merged

docs: regular minor updates#101
YDX-2147483647 merged 2 commits into
typst-doc-cn:mainfrom
YDX-2147483647:cron

Conversation

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 23, 2026

Deploy Preview for clreq-gap-typst ready!

Name Link
🔨 Latest commit d003a09
🔍 Latest deploy log https://app.netlify.com/projects/clreq-gap-typst/deploys/69eb549ed54310000818518a
😎 Deploy Preview https://deploy-preview-101--clreq-gap-typst.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link
Copy Markdown

Diff between #101 and main

Feedback

@YDX-2147483647 YDX-2147483647 changed the title docs: regular minor updates Regular minor updates Apr 23, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds documentation and build support for a newly tracked Typst issue affecting mixed-font superscripts/subscripts (KaiTi vs Noto Serif CJK), and updates the font download script to ensure the needed fonts are available.

Changes:

  • Update the font download script to fetch the KaiTi + SimSun bundle when either font is missing.
  • Add a new entry in main.typ documenting Typst issue/pull request related to mixed-font sub/superscript metric misalignment.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
scripts/download_fonts.sh Extends font presence checks to include KaiTi alongside SimSun before downloading the bundled archive.
main.typ Adds a new documented gap entry (<mix-super-metric>) with an example illustrating the KaiTi/Noto Serif CJK superscript misalignment.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scripts/download_fonts.sh
Comment thread main.typ Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@YDX-2147483647 YDX-2147483647 changed the title Regular minor updates docs: regular minor updates Apr 24, 2026
@YDX-2147483647 YDX-2147483647 merged commit 39eb34f into typst-doc-cn:main Apr 24, 2026
7 checks passed
@YDX-2147483647 YDX-2147483647 deleted the cron branch April 24, 2026 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

上标中,混用思源宋体和楷体会导致高度、字号不一致

2 participants