Type: vertical_glyph's doc names the two values it returns (review of #343)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
bflatastic 2026-10-08 01:35:56 +07:00
parent 5196337ca8
commit e792d2a964
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ impl FontFace {
.unwrap_or(self.upem * 0.5)
}
/// Glyph `gid` set upright in vertical type, from the font's vertical metrics: (its advance down
/// the column, the height of its vertical origin, the top of its cell, above the baseline), in
/// the column, the height above the baseline of its vertical origin, the top of its cell), in
/// font units. The origin is the `VORG` table's, else the glyph's top plus its top side bearing.
/// `None` when the font has no vertical metrics (`vhea`/`vmtx`), or they make no sense.
pub fn vertical_glyph(&self, gid: u32) -> Option<(f64, f64)> {