This commit is contained in:
Hamcha 2016-06-20 17:44:46 +02:00
parent daff5eb65c
commit c91c9ca89b

View file

@ -87,7 +87,7 @@ func unsplash(broker *tg.Broker, update tg.APIMessage) {
timg := image.NewRGBA(bounds) timg := image.NewRGBA(bounds)
gc := draw2dimg.NewGraphicContext(timg) gc := draw2dimg.NewGraphicContext(timg)
gc.SetFontData(memeFontData) gc.SetFontData(quoteFontData)
gc.DrawImage(img) gc.DrawImage(img)
gc.SetStrokeColor(image.Black) gc.SetStrokeColor(image.Black)
gc.SetFillColor(image.White) gc.SetFillColor(image.White)