BETTER MARGIN M8

This commit is contained in:
Hamcha 2016-06-21 14:31:13 +02:00
parent 3129f2e0bb
commit 51015129fe

View file

@ -129,7 +129,7 @@ func unsplash(broker *tg.Broker, update tg.APIMessage) {
// Still too big? Decrease font size again // Still too big? Decrease font size again
iter := 0 iter := 0
for width*1.05 > iwidth && iter < 10 { for width*1.2 > iwidth && iter < 10 {
log.Println("Warning, resizing!") log.Println("Warning, resizing!")
scale *= (0.9 - 0.1*float64(iter)) scale *= (0.9 - 0.1*float64(iter))
gc.SetFontSize(scale) gc.SetFontSize(scale)