Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filled circles are out of order #11

Open
1 task done
Enivex opened this issue Nov 24, 2023 · 4 comments
Open
1 task done

Filled circles are out of order #11

Enivex opened this issue Nov 24, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@Enivex
Copy link
Collaborator

Enivex commented Nov 24, 2023

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
@Enivex Enivex added the bug Something isn't working label Nov 24, 2023
@MDLC01
Copy link
Collaborator

MDLC01 commented Sep 16, 2024

I'm not sure Unicode prescribes any order in the document you linked.

Black circles

Constitute a set as follows: 22C5, 2219, 1F784, 2022, 2981, 26AB, 25CF, and 2B24

@Enivex
Copy link
Collaborator Author

Enivex commented Sep 16, 2024

I'm not sure Unicode prescribes any order in the document you linked.

Black circles

Constitute a set as follows: 22C5, 2219, 1F784, 2022, 2981, 26AB, 25CF, and 2B24

While not explicitly stated, they're very clearly in a specific order, and it's specifically in order of size in many fonts.

Absent of a better order I believe typst should use this one for relative sizing.

(And similarly for other sequences of symbols)

@MDLC01
Copy link
Collaborator

MDLC01 commented Sep 16, 2024

That makes sense.

@Enivex
Copy link
Collaborator Author

Enivex commented Sep 16, 2024

If we're not going to follow this order, then I'd suggest avoiding symbol names containing sizes unless they're almost universally consistent across fonts.

@laurmaedje laurmaedje transferred this issue from typst/typst Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants