Hello Prince team,
I’m running Prince 16 and I’ve noticed a difference in how `line-height: normal` is resolved compared to web browsers.
Compared with the browser (I use Chromium version 133.0.6835.0), Prince renders the text with slightly shorter line boxes. The difference per line is very small but consistent, so it accumulates over many lines and becomes noticeable in longer documents.
The issue disappears when I use an explicit numeric line-height (for example, 1.4) instead of `normal`. With the same content, `line-height: normal` produces a noticeable gap at the bottom of the page, while an explicit line-height produces the same overall height in the browser and Prince, filling the page without a gap.
This makes me think the issue is specific to how `line-height: normal` is resolved in Prince.
I’ve attached a minimal example that reproduces the issue.
Could you please let me know if this behavior is expected, or if it could be considered a rendering discrepancy?
Best regards
I’m running Prince 16 and I’ve noticed a difference in how `line-height: normal` is resolved compared to web browsers.
Compared with the browser (I use Chromium version 133.0.6835.0), Prince renders the text with slightly shorter line boxes. The difference per line is very small but consistent, so it accumulates over many lines and becomes noticeable in longer documents.
The issue disappears when I use an explicit numeric line-height (for example, 1.4) instead of `normal`. With the same content, `line-height: normal` produces a noticeable gap at the bottom of the page, while an explicit line-height produces the same overall height in the browser and Prince, filling the page without a gap.
This makes me think the issue is specific to how `line-height: normal` is resolved in Prince.
I’ve attached a minimal example that reproduces the issue.
Could you please let me know if this behavior is expected, or if it could be considered a rendering discrepancy?
Best regards
