From e792d2a964d66555ece4032c5a29b3c30008d2b7 Mon Sep 17 00:00:00 2001 From: bflatastic Date: Thu, 8 Oct 2026 01:35:56 +0700 Subject: [PATCH] Type: vertical_glyph's doc names the two values it returns (review of #343) Co-Authored-By: Claude Opus 5.5 --- crates/text/src/fontdb.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/text/src/fontdb.rs b/crates/text/src/fontdb.rs index 66050eed..81f077d7 100644 --- a/crates/text/src/fontdb.rs +++ b/crates/text/src/fontdb.rs @@ -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)> {