mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
text: drop obsolete comment about NewWindow
Fixes: https://todo.sr.ht/~eliasnaur/gio/681 Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
This commit is contained in:
@@ -259,10 +259,6 @@ func WithCollection(collection []FontFace) ShaperOption {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// NewShaper constructs a shaper with the provided options.
|
// 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 {
|
func NewShaper(options ...ShaperOption) *Shaper {
|
||||||
l := &Shaper{}
|
l := &Shaper{}
|
||||||
for _, opt := range options {
|
for _, opt := range options {
|
||||||
|
|||||||
Reference in New Issue
Block a user