changeset 1419:b411735768fd

fix: typo
author sam <sam@basx.dev>
date Wed, 01 Jan 2025 19:36:55 +0700
parents 5bbcd40eb145
children 6f81a41603d9
files semicongine/text.nim
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/semicongine/text.nim	Wed Jan 01 17:52:51 2025 +0700
+++ b/semicongine/text.nim	Wed Jan 01 19:36:55 2025 +0700
@@ -73,7 +73,7 @@
     lineAdvance*: float32
     lineHeight*: float32 # like lineAdvance - lineGap
     ascent*: float32 # from baseline to highest glyph
-    descent*: float32 # from baseline to highest glyph
+    descent*: float32 # from baseline to lowest glyph
     xHeight*: float32 # from baseline to height of lowercase x
     descriptorSet*: DescriptorSetData[GlyphDescriptorSet[MaxGlyphs]]
     descriptorGlyphIndex: Table[Rune, uint16]