Skip to content

Incorrect baseline for union.big and sect.big (and possibly others?) in some fonts #1272

@Enivex

Description

@Enivex

Description

#show math.equation : set text(font: "Stix Two Math", fallback: false)
$
|K| = union.big_(p=0)^oo K_p times Delta^p \u{29f8} tilde
$

$
|K| = sect.big_(p=0)^oo K_p times Delta^p \u{29f8} tilde
$

yields

image

The same (system) font in latex (lualatex + unicode-math) has correct baseline

image

Other fonts, like New Computer Modern, displays correctly in typst

#show math.equation : set text(font: "New Computer Modern Math", fallback: false)

$
|K| = union.big_(p=0)^oo K_p times Delta^p \u{29f8} tilde
$

$
|K| = sect.big_(p=0)^oo K_p times Delta^p \u{29f8} tilde
$

image

Reproduction URL

No response

Operating system

No response

Typst version

  • I am using the latest version of Typst

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmathRelated to math category, with its syntax, layout, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions