Skip to content

Filled circles are out of order #11

Open

Description

@Enivex

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

Activity

  1. MDLC01 commented on Sep 16, 2024

    @MDLC01
    Collaborator

    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

  2. Enivex commented on Sep 16, 2024

    @Enivex
    CollaboratorAuthor

    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)

  3. MDLC01 commented on Sep 16, 2024

    @MDLC01
    Collaborator

    That makes sense.

  4. Enivex commented on Sep 16, 2024

    @Enivex
    CollaboratorAuthor

    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.

  5. transferred this issue fromtypst/typston Nov 23, 2024
  6. MDLC01 commented on Jan 29, 2025

    @MDLC01
    Collaborator

    For reference, a list of most geometric shapes, which also seems to be in order, is available in Table 22-7 of the Unicode 16.0.0 Core Specification.

  7. Enivex commented on Jan 29, 2025

    @Enivex
    CollaboratorAuthor

    For reference, a list of most geometric shapes, which also seems to be in order, is available in Table 22-7 of the Unicode 16.0.0 Core Specification.

    That page also explicitly says

    "Several other blocks, such as General Punctuation, Mathematical Operators, Block Elements, Miscellaneous Symbols, and Geometric Shapes Extended, contain a few other characters which are members of the size-graded sets of such symbols."

  8. MDLC01 commented on Feb 3, 2025

    @MDLC01
    Collaborator

    Additional information regarding the use of geometric shapes in mathematics, including available sizes and size order, is available in section 2.11 of UTR #25, the (non-authoritative) Technical Report on Unicode Support for Mathematics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions