Make font size smaller to let the initials still look good in smaller sizes
This commit is contained in:
parent
03edcd511d
commit
b764ba73df
|
@ -68,7 +68,7 @@ const (
|
|||
func drawImage(text rune, bg *color.RGBA) (img *image.RGBA64, err error) {
|
||||
|
||||
size := defaultSize
|
||||
fontSize := float64(size) * 0.9
|
||||
fontSize := float64(size) * 0.8
|
||||
|
||||
// Inspired by https://github.com/holys/initials-avatar
|
||||
|
||||
|
|
Loading…
Reference in New Issue