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:
parent
5196337ca8
commit
e792d2a964
|
|
@ -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)> {
|
||||
|
|
|
|||
Loading…
Reference in New Issue