~eliasnaur/gio

b0483975b747ae9e2c551ec6701db87e74596435 — Chris Waldon 5 months ago bfb4753
text: drop unused field on line

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
2 files changed, 1 insertions(+), 2 deletions(-)

M text/gotext.go
M text/shaper.go
M text/gotext.go => text/gotext.go +0 -1
@@ 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
}


M text/shaper.go => text/shaper.go +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,