- Issue created by @hitfactory
- Merge request !73Add ability to set font height ratio when using dompdf → (Open) created by hitfactory
When using Dompdf, the font line height in the PDF is different to the height of the rendered HTML in the browser.
Dompdf sets a default font height ratio of 1.1 and provides the setFontHeightRatio method to override that value.
Compare the line-height of fonts of the rendered HTML on the PDF debug page versus the corresponding PDF.
Provide a way to set 'font_height_ratio' via Dompdf configuration.
Merge request to come.
Add a Font Height Ratio field to Dompdf configuration.
Active
2.0
Code