mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
text: drop unused field on line
Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
This commit is contained in:
@@ -80,7 +80,6 @@ type line struct {
|
||||
// runeCount is the number of text runes represented by this line's runs.
|
||||
runeCount int
|
||||
|
||||
xOffset fixed.Int26_6
|
||||
yOffset int
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -327,7 +327,7 @@ func (l *Shaper) NextGlyph() (_ Glyph, ok bool) {
|
||||
}
|
||||
glyph := Glyph{
|
||||
ID: g.id,
|
||||
X: align + line.xOffset + run.X + runOffset,
|
||||
X: align + run.X + runOffset,
|
||||
Y: int32(line.yOffset),
|
||||
Ascent: line.ascent,
|
||||
Descent: line.descent,
|
||||
|
||||
Reference in New Issue
Block a user