diff --git a/text/shaper.go b/text/shaper.go index 4e9a88c3..76a90f39 100644 --- a/text/shaper.go +++ b/text/shaper.go @@ -245,8 +245,11 @@ func WithCollection(collection []FontFace) ShaperOption { } } -// NewShaper constructs a shaper with the provided collection of font faces -// available. +// NewShaper constructs a shaper with the provided options. +// +// NewShaper must be called after [app.NewWindow], unless the [NoSystemFonts] +// option is specified. This is an unfortunate restriction caused by some platforms +// such as Android. func NewShaper(options ...ShaperOption) *Shaper { l := &Shaper{} for _, opt := range options {