Skip to content

Regression in absolute value brackets rendering in math #6717

@marco-scarpetta

Description

@marco-scarpetta

Description

Hi,
I noticed a regression in the rendering of absolute value brackets when using the STIX Two Math font. The issue appears after #6336.
Here’s a minimal example to reproduce the issue:

$ P_x = abs(c)^2 + abs(c^H)^2 = 2 abs(c)^2 $

$ P_x = 1 / 2 abs(overline(d))^2 $

#show math.equation: set text(font: "STIX Two Math")

$ P_x = abs(c)^2 + abs(c^H)^2 = 2 abs(c)^2 $

$ P_x = 1 / 2 abs(overline(d))^2 $

PDF output before #6336:

Image

PDF output after #6336:

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 syntax, layout, etc.regressionSomething that did work before stopped working.upstreamIssues in dependencies.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions