class HexaPDF::Layout::Style

def calculated_font_size

The calculated font size, taking superscript and subscript into account.
def calculated_font_size
  (superscript || subscript ? 0.583 : 1) * font_size
end