Wrong kerning in a line of text: font or Typst issue

Hi, I’m using the Orange Book template here in Typst after I used it in a previous LateX project.
I loaded it in the Typst web app and, when I wrote the book’s title I get the attached text. Here you can see that the two lines of text slightly overlap each other.
Is this a font problem, an typographical error of Typst of what else?
Thanks in advance.
Luca

Sorry, I can’t find the said attachments.

But by guessing, line 521 of the template’s source code appears to be what’s causing the overlapping you mentioned.

Here’s what you can try to fix this:

  • Download the necessary template files from GitHub, edit that line to have a higher value, and load these files locally inside Typst web app. Importing would be done accordingly, as opposed to #import "@preview ..." that you have now.
  • File an issue on the template’s GitHub, perhaps asking for change of this value, or even that heading is used, not par. Apart from making more sense, this would probably also enable you to have something like #show heading: set par(leading: 0.4em) without further altering the template.