Skip to content

Commit

Permalink
不会更新依赖库😭
Browse files Browse the repository at this point in the history
  • Loading branch information
aimerneige committed Aug 31, 2023
1 parent b84ec1f commit 7aa3ea0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/chess/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"time"

"github.com/FloatTech/gg"
"github.com/FloatTech/zbputils/img/text"
"github.com/RomiChan/syncx"
"github.com/jinzhu/gorm"
"github.com/notnil/chess"
Expand Down Expand Up @@ -604,8 +605,7 @@ func generateCharBoardImage(boardString string) (string, error) {
dc.SetRGB(1, 1, 1)
dc.Clear()
dc.SetRGB(0, 0, 0)
// TODO: upload this font to zbpdata
fnt := "./unifont-15.0.06.ttf"
fnt := text.GNUUnifontFontFile

Check failure on line 608 in plugin/chess/core.go

View workflow job for this annotation

GitHub Actions / Build binary CI (linux, 386)

undefined: text.GNUUnifontFontFile

Check failure on line 608 in plugin/chess/core.go

View workflow job for this annotation

GitHub Actions / Build binary CI (linux, arm64)

undefined: text.GNUUnifontFontFile

Check failure on line 608 in plugin/chess/core.go

View workflow job for this annotation

GitHub Actions / Build binary CI (linux, arm)

undefined: text.GNUUnifontFontFile

Check failure on line 608 in plugin/chess/core.go

View workflow job for this annotation

GitHub Actions / Build binary CI (windows, 386)

undefined: text.GNUUnifontFontFile

Check failure on line 608 in plugin/chess/core.go

View workflow job for this annotation

GitHub Actions / lint

undefined: text.GNUUnifontFontFile (typecheck)

Check failure on line 608 in plugin/chess/core.go

View workflow job for this annotation

GitHub Actions / lint

undefined: text.GNUUnifontFontFile) (typecheck)
if err := dc.LoadFontFace(fnt, FontSize); err != nil {
return "", err
}
Expand Down

0 comments on commit 7aa3ea0

Please sign in to comment.