From bbaf8800eb700d630dd6f2ba2b0ea8e13be7bb18 Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Sat, 25 Jul 2015 10:07:54 -0700 Subject: create separate square icon as Apple touch icon Round icon with transparent filling doesn't work well on iOS's home screen, because the transparent part will be filled in black. Also, the letters ZW have been enlarged to look better in a square icon. --- source/img/README.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source/img/README.rst') diff --git a/source/img/README.rst b/source/img/README.rst index cccd869f..be880031 100644 --- a/source/img/README.rst +++ b/source/img/README.rst @@ -2,9 +2,11 @@ The icon and favicon files are generated via the following commands: :: cd source/img xelatex icon.tex + xelatex icon-square.tex for size in 100 400 2048; do convert icon.pdf -density 400 -resize $sizex$size icon-$size.png; done - for size in 16 32 48 144 152; do convert icon.pdf -density 400 -resize $sizex$size favicon-$size.png; done - optipng favicon-*.png icon-*.png + for size in 16 32 48 144; do convert icon.pdf -density 400 -resize $sizex$size favicon-$size.png; done + convert icon-square.pdf -density 400 -resize 152x152 apple-touch-icon-152.png + optipng favicon-*.png icon-*.png apple-touch-icon-152.png convert favicon-16.png favicon-32.png favicon-48.png ../favicon.ico rm favicon-16.png favicon-32.png favicon-48.png -- cgit v1.2.1