Skip to content

Typst uses fake superscripts for some characters in Source Serif 4 despite available typographic glyphs #7249

@apcamargo

Description

@apcamargo

Description

When using the Source Serif 4 font, Typst appears to substitute fake superscript numerals even though the font includes proper typographic superscript glyphs.

In the example below, typographic superscripts are correctly used when the superscript contains only lowercase letters (test), but Typst switches to fake superscripts when the superscript includes numerical characters or parentheses.

Image

As discussed in #7122, Typst is expected to fall back to fake superscripts only when real superscript glyphs are unavailable. However, Source Serif 4 provides genuine superscript glyphs for both numerals and parentheses, so this fallback should not occur.

For reference, here is how the output should look when the correct typographic superscripts are used:

Image

Reproduction URL

https://typst.app/project/rp5IR98kh7MhJX32ewRNHC

Operating system

Web app

Typst version

  • I am using the latest version of Typst

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionSomething that did work before stopped working.textText layout, shaping, internationalization, etc.urgentShould be fixed before the next release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions