Bug#778476: SVG icon created from PDF file contains a lot of blank space

Raphaël Halimi raphael.halimi at gmail.com
Sun Feb 15 15:41:54 UTC 2015


Package: vim-common
Version: 2:7.4.488-5
Severity: minor
Tags: patch

Hi,

Since 2:7.4.488-5, vim's icon in MATE's menu looks abnormally tiny. It
seems to be due to the fact that the source PDF file (which is converted
to an SVG file with pdf2svg since 2:7.4.488-5) is a document in the US
Letter format with the icon at the bottom, and thus contains a lot of
blank space around the actual icon. This blank space is passed as-is
during the conversion, which results in a badly cropped icon.

Attached to this bug report is an SVG file I quickly created following
[1], maybe a better one could be used in the deb package and/or sent
upstream (I guess a margin should be inserted, but how thick ? I have no
experience in designing icons).

As a bonus, using a native SVG icon would get rid of the new pdf2svg
build dependency.

Hope this helps.

[1]
http://graphicdesign.stackexchange.com/questions/21635/getting-rid-of-whitespace-in-inkscape

-- 
Raphaël Halimi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vim.svg
Type: image/svg+xml
Size: 18209 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20150215/a362924d/attachment-0001.svg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20150215/a362924d/attachment-0001.sig>


More information about the pkg-vim-maintainers mailing list