go.*,font/opentype,text: switch to latest go-text/typesetting api

This commit upgrades our go-text version to the latest one which internalizes
harfbuzz and supports text truncators. This allows us to drop our dependency
upon Benoit's textlayout package.

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
This commit is contained in:
Chris Waldon
2023-03-22 12:11:07 -04:00
committed by Elias Naur
parent d7b1c7c33b
commit 47d25c1394
4 changed files with 73 additions and 64 deletions
+2 -3
View File
@@ -6,11 +6,10 @@ 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
github.com/go-text/typesetting v0.0.0-20230327140021-5bac583ebb4f
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/image v0.5.0
golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64
)