[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#698872: Debian logo svg file is not loadable in Inkscape



Package: www.debian.org

[ reporting this as a bug ]

Heya,
  Filippo Rusconi discovered the .svg of the Debian logo is not loadable
in (some versions of) Inkscape. With the help of Jakub Wilk, the .svg
has been fixed and it's attached to this mail. Can you please update the
published version, when you get around it?

See quoted mailed below, and corresponding thread on -devel [1], for
more information.

Thanks for maintaining www.d.o!
Cheers.

[1]: https://lists.debian.org/debian-devel/2013/01/msg00532.html

On Thu, Jan 24, 2013 at 06:44:13PM +0100, Filippo Rusconi wrote:
> Greetings Jakub,
> 
> On Thu, Jan 24, 2013 at 06:17:37PM +0100, Jakub Wilk wrote:
> > * Jakub Wilk <jwilk@debian.org>, 2013-01-24, 17:48:
> > >here's how to fix the SVG:
> > >
> > >1) apt-get install libxml2-utils sgml-data
> > >2) xmllint --noent openlogo.svg > openlogo-fixed.svg
> > >(Yes it's "noent", not to be confused with "nonet".)
> > >3) Optionally, remove the DTD declaration from the resulting file.
> > 
> > The last two steps could be merged into one:
> > 
> > xmllint --dropdtd --noent openlogo.svg > openlogo-fixed.svg
> > 
> 
> That did the trick ! Thanks a lot. In fact I had set out to remove the
> DTD manually, but my first attempts failed. I can see that the DTD
> specif went away in the fixed file.
> 
> For what it's worth, there is still some adobe-specific metadata cruft
> that can be removed with no harm apparently:
> 
> 
> 	<metadata>
> 		<variableSets xmlns="http://ns.adobe.com/Variables/1.0/";>
> 			<variableSet varSetName="binding1" locked="none">
> 				<variables/>
> 				<v:sampleDataSets xmlns="http://ns.adobe.com/GenericCustomNamespace/1.0/"; xmlns:v="http://ns.adobe.com/Variables/1.0/"/>
> 			</variableSet>
> 		</variableSets>
> 		<sfw xmlns="http://ns.adobe.com/SaveForWeb/1.0/";>
> 			<slices/>
> 			<sliceSourceBounds y="322.867" x="251" width="108.758" height="144.133" bottomLeftOrigin="true"/>
> 		</sfw>
> 	</metadata>
> 
> Attached to this mail is a version saved with inkscape and edited to
> remove any reference to adobe. This new file loads fine in Inkscape,
> The Gimp, Iceweasel and... GNU Emacs!
> 
> Maybe the folks at debian-www@lists.debian.org might want to give it a
> test and replace the old file with this one? Anyhow I now have my
> Debian logo for my slides!
> 
> Thanks all for helping with this issue.
> 
> Cheers,
> Filippo
> 
> -- 
> Filippo Rusconi, PhD - public crypto key C78F687C @ pgp.mit.edu
> Researcher at CNRS and Debian Developer <lopippo@debian.org>
> Author of ``massXpert''     at http://www.massxpert.org

-- 
Stefano Zacchiroli  . . . . . . .  zack@upsilon.cc . . . . o . . . o . o
Maître de conférences . . . . . http://upsilon.cc/zack . . . o . . . o o
Debian Project Leader . . . . . . @zack on identi.ca . . o o o . . . o .
« the first rule of tautology club is the first rule of tautology club »

Attachment: openlogo-fixed-save-by-inkscape.svg
Description: image/svg

Attachment: signature.asc
Description: Digital signature


Reply to: