VectorCraft: An open-source, vector art tool written by scratch in pure Rust
Type: vertical_glyph's doc names the two values it returns (review of #343)
bflatastice792d2a964d6
diff --git a/crates/text/src/fontdb.rs b/crates/text/src/fontdb.rsindex 66050eedd..81f077d75 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)> {