typst / typst/typst

Buenard font text moves baseline to top edge of x-height

Open
#6,769 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-investigation text
Dominant language
Rust
Stars
56.1k
Forks
1.7k
Avg merge
3d 10h
Merged PRs (30d)
22

Description

Description

Hard to come up with a title.

#grid(columns: 2, [text], text(font: "Buenard")[text])
#grid(columns: 2, [text], text(font: "Buenard")[text] + ".")
#grid(columns: 2, [text], text(font: "Buenard", baseline: 0.45em)[text])
Image

buenard-font.zip from https://www.actionfonts.com/download/buenard-font.zip from https://fontfuror.com.

Same happens with 0.12 and 0.11.1 and bcc71ddb. I also tried this font from some other site and the same thing happens. I think bold has the same issue.

Reproduction URL

No response

Operating system

Linux

Typst version
  • I am using the latest version of Typst

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the provided Typst grid examples and Buenard font, comparing the normal text, punctuation, and explicit baseline cases. Trace the font baseline handling and verify that the text baseline remains consistent for Buenard, including bold if applicable; confirm the behavior on Linux with the latest Typst version.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.