import { type Metrics } from "https://deno.land/x/font@0.1.3/mod.ts";
Encapsulates all layout information associated with a glyph for a fixed scale.
Properties
Whole pixel offset of the left-most edge of the bitmap. This may be negative to reflect the glyph is positioned to the left of the origin.
Whole pixel offset of the bottom-most edge of the bitmap. This may be negative to refelct the glyph is positioned below the baseline.
bounds: OutlineBounds
The bounding box that contains the glyph's outline at the offsets specified by the font. This is always a smaller box than the bitmap bounds.