class HexaPDF::Layout::Style

def scaled_font_ascender

The ascender of the font scaled appropriately.
def scaled_font_ascender
  @scaled_font_ascender ||= font.wrapped_font.ascender * font.scaling_factor *
    font.pdf_object.glyph_scaling_factor * font_size
end