Function

CTFontGetUnderlinePosition

Returns the scaled underline position of the given font.

Declaration

CGFloat CTFontGetUnderlinePosition(CTFontRef font);

Parameters

font

The font reference.

Return Value

The font underline-position metric scaled according to the point size and matrix of the font reference.

See Also

Getting Font Metrics

CTFontGetAscent

Returns the scaled font-ascent metric of the given font.

CTFontGetDescent

Returns the scaled font-descent metric of the given font.

CTFontGetLeading

Returns the scaled font-leading metric of the given font.

CTFontGetUnitsPerEm

Returns the units-per-em metric of the given font.

CTFontGetGlyphCount

Returns the number of glyphs of the given font.

CTFontGetBoundingBox

Returns the scaled bounding box of the given font.

CTFontGetUnderlineThickness

Returns the scaled underline-thickness metric of the given font.

CTFontGetSlantAngle

Returns the slant angle of the given font.

CTFontGetCapHeight

Returns the cap-height metric of the given font.

CTFontGetXHeight

Returns the x-height metric of the given font.