Problem
When compiling the following example via typst 0.15.0 as PDF the highlighted text is noticeably off-center compared to the rest.
Screenshot of the PDF with typst 0.15
Highlighted text is vertically off-center.
Screenshot of the PDF with typst 0.14.2
Looks good, the highlighted part is at the same height as the rest of the line:
Minimal reproducible example
#import "@preview/codly:1.3.0": *;
#show: codly-init.with()
#codly(highlights: (
(line: 3, start: 3, end: 10, fill: orange),
))
```rust
pub fn main() {
println!("Hello, world!");
println!("Hello, world!");
}
```
I compiled this with the current version of typst.app.
You can configure the compiler version in the project settings.
Problem
When compiling the following example via
typst 0.15.0as PDF the highlighted text is noticeably off-center compared to the rest.Screenshot of the PDF with
typst 0.15Highlighted text is vertically off-center.
Screenshot of the PDF with
typst 0.14.2Looks good, the highlighted part is at the same height as the rest of the line:
Minimal reproducible example
I compiled this with the current version of typst.app.
You can configure the compiler version in the project settings.