PdfDoubleExtension extension

on

Methods

resolveLineHeight() double
Calculate based on the the current value to return the more similar line height as should see on a PDF (and like Docx, libreoffice formatting too)
resolvePaddingByLineHeight() double
Calculate based on the current value to return the padding at the last of the line since pdf package rich text, on param of lineSpacing doesn't have effect at the top or botton of the line