FontRef.glyphMetrics

Result!(GlyphMetrics, TextError) glyphMetrics(GlyphId glyph) @safe nothrow @nogc const;

Parameters

glyphthe glyph id.

Returns

Advances, bearings and the bitmap box of the glyph at the

pixel size, 26.6; INVALID_GLYPH for a glyph the face does not have. Not the sole raster-capacity oracle: rasterize reports its own required bytes.