Announcement

#1 2013-09-07 22:07:05

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

SVG Logo

Hey

plg asked me if I could try to create a SVG version of Piwigo logo

after some headache I ended up with a first version you can find here
http://piwigo.us/dev/mistic100/logo-svg/piwigo.svg

it's partially generated with svg.js library here http://piwigo.us/dev/mistic100/logo-svg/index.htm

the big part was the font, first I wanted to use the SVG version of Lacuna Regular, but few browsers support SVG fonts, even inside SVG files !!
So I decided to include the font file encoded in base64 inside the SVG file, and in order to save space I edited the font file in order to remove any unused glyphs

now the whole logo is 11.9 KiB, that's twice the size of the PNG used on the site...
I think I'll try to manually include the glyphs as SVG paths for a second version

Offline

 

#2 2013-09-08 12:56:14

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: SVG Logo

ok I used the vectorization function of Illustrator (pretty easy), unfortunately it saved only 300 bytes
http://piwigo.us/dev/mistic100/logo-svg/piwigo-full.svg

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2022 · Contact