lineHeight method

double lineHeight(
  1. PdfDocument document
)

Implementation

double lineHeight(PdfDocument document) {
  final font = resolve(document);
  return (font.ascent - font.descent) * size;
}