Table of Contents

Method TryGetGlyphBoundingBox

Namespace
DocWright.Fonts
Assembly
DocWright.Fonts.dll

TryGetGlyphBoundingBox(ushort, out GlyphBoundingBox)

Tries to get one glyph bounding box (fUnits) parsed from glyf/loca.

public bool TryGetGlyphBoundingBox(ushort glyphId, out GlyphBoundingBox boundingBox)

Parameters

glyphId ushort

The glyph id.

boundingBox GlyphBoundingBox

The bounding box on success.

Returns

bool

true when the glyph id is in range.