wpecker opened this issue 6 years ago · 1 comments
Font centered in the image
For example:
pt := freetype.Pt(0,440 + int(f.PointToFixed(26)) >> 8)
That is, how to quickly and automatically give the X coordinate value so that the font is centered.
any way?