Go version

go version go1.24.6 darwin/arm64

Output of go env in your module/workspace:

n/a

What did you do?

Try to render an emoji, eg 😀 using a font that has that glyph, eg "/System/Library/Fonts/Apple Color Emoji.ttc"

with code similar to

ff, err := opentype.NewFace(face, &opentype.FaceOptions{Size: fs.FontSize, DPI: 72, Hinting: font.HintingFull})
img := image.NewRGBA(image.Rect(0, 0, fs.ap.W, fs.ap.H*2))
d := &font.Drawer{
            Dst:  img,
            Src:  image.NewUniform(fs.textColor),
            Face: ff,
            Dot:  fixed.Point26_6{X: fixed.I(offsetX), Y: fixed.I(fs.ap.H - offsetY)},
        }
d.DrawString(fs.Line1)

What did you see happen?

Nothing drawn/rendered

What did you expect to see?

😀

Comment From: cagedmantis

cc @nigeltao