From 1653f5695f383f2ed840a62c06157547fcd3cc67 Mon Sep 17 00:00:00 2001 From: Bassel Al Sheikh Ali Date: Tue, 31 Dec 2024 08:03:32 +0300 Subject: [PATCH] fix: add Arabic font support and SVG upload --- app/handlers/images.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/handlers/images.go b/app/handlers/images.go index 813165783..63e7a9d45 100644 --- a/app/handlers/images.go +++ b/app/handlers/images.go @@ -198,8 +198,8 @@ func Favicon() web.HandlerFunc { opts := []imagic.ImageOperation{} if size > 0 { + opts = append(opts, imagic.Padding(size*10/100)) opts = append(opts, imagic.Resize(size)) - opts = append(opts, imagic.Fit()) } if c.QueryParam("bg") != "" {