Integration limits misaligned when using Nagwa TK Math font

Hello,

I’ve noticed that when using the Nagwa TK Math font, the placement of the integration limits appears incorrect (too close to or misaligned with the integral sign).

Here’s a minimal reproducible example:

#set text(font: "Nagwa TK Text")
#show math.equation: set text(font: "Nagwa TK Math")

This is a formula:

$
integral_0^infinity sin(x) dif x
$

This produces the following rendering issue:

The font can be downloaded from the official source:
https://fonts.nagwa.com/tk/

Would it be possible to adjust how Typst handles the positioning of limits when using this font family?

Thank you for your help!

I think that it’s probably best to report a bug towards the typst repository on github for this one. If there is a problem with the font (and not Typst) – Typst contributors will be able to find out — then most likely they’ll want a bug reported towards the font. I haven’t seen that Typst has tried to add font-specific workarounds, so I’m guessing that’s unlikely.

I didn’t find any preexisting issue when web searching, but I found this PDF created with Typst 0.12 where the same font is used for math, and integration limits look ok: https://www.typst.dev/math_fonts.pdf

1 Like

Thanks for your answer. I have meanwhile filed an issue at GitHub: