Calculates the ascent of the current font at its current size.
The ascent represents the distance, in pixels, of the tallest character above the baseline.
Examples
Returns
Number: ascent measured in units of pixels.
Notice any errors or typos? Please let us know. Please feel free to edit src/typography/attributes.js and open a pull request!