Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiang-Red committed Jan 4, 2023
1 parent cc569df commit a627dd3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions render.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,16 +253,16 @@ func (t Titleinfo) Drawcard() (imgs image.Image, err error) {
if err != nil {
return
}
y := (rech * 0.56) + canvas.FontHeight()*0.9
y := (rech * 0.56) + canvas.FontHeight()*0.95
canvas.DrawString(t.Lefttitle, recw*0.04, y)

err = canvas.LoadFontFace(t.Fontpath, 32)
if err != nil {
return
}
canvas.DrawString(t.Leftsubtitle, recw*0.04, y+canvas.FontHeight()*1.75)
canvas.DrawString(t.Leftsubtitle, recw*0.04, y+canvas.FontHeight()*1.85)

imgs = Fillet(canvas.Image(), 14)
imgs = Fillet(canvas.Image(), 16)
return
}

Expand Down

0 comments on commit a627dd3

Please sign in to comment.