forked from joejulian/gio
2db1a7bfb9
This commit pushes limiting the maximum number of lines of text into the shaper implementation. This is more efficient than doing it in widgets, and also opens the door for future use of the shaper to insert ellipsis and other truncating characters as appropriate. I realized that we lost the implementation of limiting the number of lines of text in my text stack overhaul, so this fixes a regression from that work. Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
18 lines
533 B
Modula-2
18 lines
533 B
Modula-2
module gioui.org
|
|
|
|
go 1.18
|
|
|
|
require (
|
|
eliasnaur.com/font v0.0.0-20220124212145-832bb8fc08c3
|
|
gioui.org/cpu v0.0.0-20210817075930-8d6a761490d2
|
|
gioui.org/shader v1.0.6
|
|
github.com/benoitkugler/textlayout v0.3.0
|
|
github.com/go-text/typesetting v0.0.0-20221214153724-0399769901d5
|
|
golang.org/x/exp v0.0.0-20221012211006-4de253d81b95
|
|
golang.org/x/exp/shiny v0.0.0-20220827204233-334a2380cb91
|
|
golang.org/x/image v0.0.0-20220722155232-062f8c9fd539
|
|
golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64
|
|
)
|
|
|
|
require golang.org/x/text v0.3.7
|