typst / typst/codex

Filled circles are out of order

Open
#11 7 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
53
Forks
22
PR merge metrics
No merged PRs in 30d

Description

Description

According to https://www.unicode.org/charts/PDF/U1F780.pdf are ordered by size as follows:
22C5 < 2219 <1F784 < 2022 < 2981 < 26AB < 25CF < 2B24

But in typst U+2219 is circle.filled small and U+2981 is circle.filled.tiny. I suspect this is because the font used in the symbol list, but better fonts that actually follow unicode properly (Stix Two Math for instance) shows $ circle.filled.tiny circle.filled.small$ as
image

(This could also apply to other families of symbols, but this is the one I noticed)

Reproduction URL

No response

Operating system

No response

Typst version
  • I am using the latest version of Typst

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by searching the repository for the filled-circle symbol definitions and the code or data that determines their displayed order. Compare the entries for Unicode points 22C5, 2219, 1F784, 2022, 2981, 26AB, 25CF, and 2B24 with the Unicode chart and the reported rendering. Done means the symbol list follows the stated size order without regressing related symbol families.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
content
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.