mirror of
https://github.com/Crocmagnon/display-epaper.git
synced 2024-12-23 04:21:48 +01:00
make time font semibold
This commit is contained in:
parent
25e083ba71
commit
1668044183
1 changed files with 1 additions and 1 deletions
2
img.go
2
img.go
|
@ -221,7 +221,7 @@ func drawVelov(gc *draw2dimg.GraphicContext, station *transports.Station, yOffse
|
||||||
}
|
}
|
||||||
|
|
||||||
func drawDate(gc *draw2dimg.GraphicContext, now time.Time) {
|
func drawDate(gc *draw2dimg.GraphicContext, now time.Time) {
|
||||||
text(gc, now.Format("15:04"), 110, leftX, 300, fonts.Bold)
|
text(gc, now.Format("15:04"), 110, leftX, 300, fonts.SemiBold)
|
||||||
text(gc, getDate(now), 30, leftX, 345, fonts.Regular)
|
text(gc, getDate(now), 30, leftX, 345, fonts.Regular)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue