I've download a ttf from Google fonts and be using it like following. It works as expected.
//go:embed NotoSansJP-VariableFont_wght.ttf
var notoSansJPData []byte
func _() {
notoSansJP, err := opentype.Parse(notoSansJPData)
}
Then, I want to use bold one but can't find how to specify it.