mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
+4
-4
@@ -8,10 +8,10 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
nsareg "eliasnaur.com/font/noto/sans/arabic/regular"
|
nsareg "eliasnaur.com/font/noto/sans/arabic/regular"
|
||||||
"github.com/go-text/typesetting/font"
|
|
||||||
"github.com/go-text/typesetting/shaping"
|
|
||||||
"github.com/go-text/typesetting/language"
|
|
||||||
"github.com/go-text/typesetting/di"
|
"github.com/go-text/typesetting/di"
|
||||||
|
"github.com/go-text/typesetting/font"
|
||||||
|
"github.com/go-text/typesetting/language"
|
||||||
|
"github.com/go-text/typesetting/shaping"
|
||||||
"golang.org/x/image/font/gofont/goregular"
|
"golang.org/x/image/font/gofont/goregular"
|
||||||
"golang.org/x/image/math/fixed"
|
"golang.org/x/image/math/fixed"
|
||||||
|
|
||||||
@@ -668,7 +668,7 @@ func TestArabicDiacriticClustering(t *testing.T) {
|
|||||||
RunEnd: len(tt.input),
|
RunEnd: len(tt.input),
|
||||||
Direction: tt.wantDirection,
|
Direction: tt.wantDirection,
|
||||||
Script: language.Arabic,
|
Script: language.Arabic,
|
||||||
Face: nil, // face doesn't really matter for splitting anyway
|
Face: nil, // face doesn't really matter for splitting anyway
|
||||||
Size: fixed.I(10),
|
Size: fixed.I(10),
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user