diff --git a/draw2dimg/ftgc.go b/draw2dimg/ftgc.go index 5482a23..8359480 100644 --- a/draw2dimg/ftgc.go +++ b/draw2dimg/ftgc.go @@ -277,7 +277,7 @@ func (gc *GraphicContext) GetStringBounds(s string) (left, top, right, bottom fl prev, hasPrev := truetype.Index(0), false for fragment := range gc.Emojis.Iterate(s) { if fragment.IsEmoji { - cursor += gc.Current.Scale*emojiScale + gc.Current.Scale*emojiSpacing*2 + cursor += fUnitsToFloat64(fixed.Int26_6(gc.Current.Scale)) * 1.15 continue } index := f.Index(fragment.Rune)