From c154cf38b698878ee11b064f8862cf59569a8b8c Mon Sep 17 00:00:00 2001 From: Alex Butler Date: Tue, 25 Jun 2024 13:27:56 +0100 Subject: [PATCH] Clarify Glyph::position docs describe a point relative to the glyph --- glyph/src/glyph.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glyph/src/glyph.rs b/glyph/src/glyph.rs index c40d5a0..f4107d5 100644 --- a/glyph/src/glyph.rs +++ b/glyph/src/glyph.rs @@ -59,8 +59,8 @@ pub struct Glyph { pub scale: PxScale, /// Position of this glyph. /// - /// Horizontally this is to the left of the glyph before applying - /// `h_advance` or `h_side_bearing`. Vertically this is at the "baseline". + /// This point, relative to the glyph, is to the left before applying + /// `h_advance` or `h_side_bearing` & vertically at the "baseline". /// See [glyph layout concepts](trait.Font.html#glyph-layout-concepts). pub position: Point, }