Add custom font support to images.Text

Fixes #9253
This commit is contained in:
Bjørn Erik Pedersen 2021-12-07 12:49:53 +01:00
parent e61cdf335f
commit e71d715b9b
14 changed files with 56 additions and 6 deletions

View file

@ -597,6 +597,8 @@ func TestImageOperationsGolden(t *testing.T) {
c := qt.New(t)
c.Parallel()
// Note, if you're enabling this on a MacOS M1 (ARM) you need to run the test with GOARCH=amd64.
// GOARCH=amd64 go test -timeout 30s -run "^TestImageOperationsGolden$" ./resources -v
devMode := false
testImages := []string{"sunset.jpg", "gohugoio8.png", "gohugoio24.png"}