Ticket #273 (Fixed)Thu Feb 17 07:46:16 UTC 2011
SVG logo (Press material) has unnecessarily large canvas dimensions
Reported by: | Trevor Johnson (329) | Severity: | Enhancement |
Part: | Web site: General (miscellaneous issues) | Release: | 3rd public site release |
Milestone: | Batch Three code release completed | Status | Fixed |
Details by Trevor Johnson (329):
The SVG logo contains the following definition
width="744.09448819" height="1052.3622047"
which results in the logo being surrounded by a fair amount of blank space.
- This shouldn’t be a problem for DTP use
- But rendering in MediaWiki via passing the filename as a parameter to a template uses (AIUI) librsvg and doesn’t seem to easily permit cropping of the canvas
- The resulting rendered logo is smaller than desirable, and plonked in the centre of a large canvas
- By using SVG-edit, the logo can be cropped to ‘fit to canvas’, resulting in dimensions of 319×319
- This doesn’t account for the line thicknesses, which get cropped if rendered at this new size
- Subsequently changing the canvas size to 335×335 and repositioning the logo from
0,0
to8,8
results in the file below
Riscos rool logo cog svgedit fitcanvastocontent.svg
My questions are:
- If the above is deemed of relevance, could a revised file be hosted here on the ROOL site?
- Also, are there more appropriate licensing conditions than those currently stated for the above Wikipedia file?
Thanks.
Changelog:
Modified by Trevor Johnson (329) Thu, February 17 2011 - 07:51:20 GMT
For ‘fit to canvas’, read ‘fit canvas to content’.
Modified by Trevor Johnson (329) Thu, February 17 2011 - 07:55:27 GMT
For further reference and comparison, here’s a rendering of the current ROOL file, which will be deleted in due course:
Modified by Andrew Hodgkinson (6) Wed, March 16 2011 - 20:31:26 GMT
- Milestone changed from Unspecified to Batch Three code release completed
- Release changed from Unspecified to 3rd public site release
I’ve played around in Inkscape and modified the file. It ought to have been straightforward, but asking Inkscape to shrink the page size to the drawing within led to rendering quirks on Mac OS. Having solved those, I’ve uploaded the new file.
If you’re happy with the updated file, please close the ticket.
Modified by Andrew Hodgkinson (6) Sat, March 19 2011 - 17:45:50 GMT
- Status changed from Open to Fixed
Assuming this is fine :-)
since the canvas dimensions have been changed to fit the cog precisely. Closing the ticket.