Bugzilla – Attachment 1080 Details for
Bug 7998
Blurry favicon in web access and web admin on regular screens
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Makefile patch for adding size labels to icons
icons_with_labels.patch (text/plain), 1.33 KB, created by
Samuel Mannehed
on 2022-11-22 10:51:57 CET
(
hide
)
Description:
Makefile patch for adding size labels to icons
Filename:
MIME Type:
Creator:
Samuel Mannehed
Created:
2022-11-22 10:51:57 CET
Size:
1.33 KB
patch
obsolete
>diff --git a/client/tlclient/icons/Makefile b/client/tlclient/icons/Makefile >index a388fb412..9560e70fb 100644 >--- a/client/tlclient/icons/Makefile >+++ b/client/tlclient/icons/Makefile >@@ -134,7 +134,12 @@ WEB_BASE_ICONS := $(WEB_ICON_SIZES_REVERSE:%=icon_%.png) > # General conversion > icon_%.png: thinlinc_icon.svg > cbrun i386 convert -depth 8 \ >- -background transparent -size $*x$* "$(lastword $^)" "$@" >+ -background transparent -size $*x$* "$(lastword $^)" \ >+ -font Roboto-Bold -pointsize `bc <<< 'scale=2; $*/1.8'` -fill "#00ff00" \ >+ -draw "gravity Center text +0+0 \"$*\"" \ >+ -stroke "#ff0000" -strokewidth 4 \ >+ -fill none -draw "rectangle 2,2 `expr $* - 3`,`expr $* - 3`" \ >+ "$@" > > $(IOS_SIZES:%=icon_opaque_%.png): thinlinc_icon.svg > $(IPAD_SIZES:%=icon_opaque_%.png): thinlinc_icon_76.svg >@@ -145,7 +150,12 @@ $(IOS_NOTIFY_SIZES:%=icon_opaque_%.png): thinlinc_icon_114.svg > > icon_opaque_%.png: > cbrun i386 convert -depth 8 \ >- -background white -size $*x$* "$(lastword $^)" "$@" >+ -background white -size $*x$* "$(lastword $^)" \ >+ -font Roboto-Bold -pointsize `bc <<< 'scale=2; $*/1.8'` -fill "#ff00ff" \ >+ -draw "gravity Center text +0+0 \"$*\"" \ >+ -stroke "#ff0000" -strokewidth 4 \ >+ -fill none -draw "rectangle 2,2 `expr $* - 3`,`expr $* - 3`" \ >+ "$@" > > icon.ico: $(WEB_BASE_ICONS) > cbrun i386 convert $(WEB_BASE_ICONS) "$@"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 7998
:
1063
|
1064
|
1075
|
1079
| 1080 |
1081
|
1082
|
1090