<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Lthere&#039;s &#187; SVG</title>
	<atom:link href="http://heldermagalhaes.com/blog/tag/svg/feed/" rel="self" type="application/rss+xml" />
	<link>http://heldermagalhaes.com/blog</link>
	<description>Half-baked stuff for an imperfect World</description>
	<lastBuildDate>Thu, 23 Jun 2011 01:30:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Using HTML for SVG intra-navigation</title>
		<link>http://heldermagalhaes.com/blog/2009/10/html-for-svg-navigation/</link>
		<comments>http://heldermagalhaes.com/blog/2009/10/html-for-svg-navigation/#comments</comments>
		<pubDate>Sun, 04 Oct 2009 10:37:41 +0000</pubDate>
		<dc:creator>Helder</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[SVG]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://heldermagalhaes.com/blog/?p=42</guid>
		<description><![CDATA[I&#8217;ve just finished a demo which tries to fill a long caveat among SVG implementations: a consistent front-end for internal document navigation (zoom, pan, etc.). It took me a while to workaround and document a few subtle bugs in several &#8230; <a href="http://heldermagalhaes.com/blog/2009/10/html-for-svg-navigation/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_43" class="wp-caption alignleft" style="width: 310px"><img src="http://heldermagalhaes.com/blog/wp-content/uploads/2009/10/UsingHTMLforSVGNavigation-300x225.png" alt="Screenshot of SVG image after rotation, zoom and pan" title="HTML for SVG Navigation" width="300" height="225" class="size-medium wp-image-43" /><p class="wp-caption-text">Screenshot of SVG image after rotation, zoom and pan</p></div>
<p>I&#8217;ve just finished a <a href="/stuff/svg/demos/SVGObject-HTMLCanvasInteractors/">demo</a> which tries to fill a long caveat among SVG implementations: a consistent front-end for internal document navigation (zoom, pan, etc.). It took me a while to workaround and document a few subtle bugs in several implementations, as well as recently integrating <a href="http://code.google.com/p/svgweb/">SVG Web</a>, which has it&#8217;s own set of limitations, but it&#8217;s ready (at last!). <img src='http://heldermagalhaes.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>What are you waiting for? Go ahead and <a href="/stuff/svg/demos/SVGObject-HTMLCanvasInteractors/">try it</a>! <img src='http://heldermagalhaes.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://heldermagalhaes.com/blog/2009/10/html-for-svg-navigation/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Emacs triggers bugs in SVG implementations</title>
		<link>http://heldermagalhaes.com/blog/2009/08/emacs-triggers-svg-bugs/</link>
		<comments>http://heldermagalhaes.com/blog/2009/08/emacs-triggers-svg-bugs/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 14:05:31 +0000</pubDate>
		<dc:creator>Helder</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[SVG]]></category>

		<guid isPermaLink="false">http://heldermagalhaes.com/blog/?p=50</guid>
		<description><![CDATA[OK, I better start by stating this post&#8217;s title is actually a pun: as far as I know, Emacs doesn&#8217;t cause any interoperability issues with SVG implementations, but I thought like a sensationalist headline from time to time won&#8217;t hurt&#8230; &#8230; <a href="http://heldermagalhaes.com/blog/2009/08/emacs-triggers-svg-bugs/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_96" class="wp-caption alignleft" style="width: 310px"><a href="http://heldermagalhaes.com/blog/wp-content/uploads/2009/08/EmacsForOsX-FirefoxScreenshot.png"><img class="size-medium wp-image-96" title="Firefox Screenshot" src="http://heldermagalhaes.com/blog/wp-content/uploads/2009/08/EmacsForOsX-FirefoxScreenshot-300x235.png" alt="Firefox screenshot after rendering the page" width="300" height="235" /></a><p class="wp-caption-text">Firefox screenshot after rendering the page</p></div>
<p>OK, I better start by stating this post&#8217;s title is actually a pun: as far as I know, Emacs doesn&#8217;t cause any interoperability issues with SVG implementations, but I thought like a sensationalist headline from time to time won&#8217;t hurt&#8230; <img src='http://heldermagalhaes.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p>Today I stumbled across <a href="http://emacsformacosx.com/">emacsformacosx.com</a>, a nice HTML+SVG use-case: HTML for the actual text content and SVG for visual improvements, which would degrade whenever no support is available (Internet Explorer, essentially). Unfortunately, the site seems to have triggered a few bugs in several implementations&#8230; <img src='http://heldermagalhaes.com/blog/wp-includes/images/smilies/icon_neutral.gif' alt=':-|' class='wp-smiley' /> </p>
<p><span id="more-50"></span></p>
<div id="attachment_60" class="wp-caption alignright" style="width: 124px"><img class="size-full wp-image-60" title="Firefox rendering issue" src="http://heldermagalhaes.com/blog/wp-content/uploads/2009/08/EmacsTriggersSVGBugs-Firefox.png" alt="Firefox rendering issue in pen clip" width="114" height="109" /><p class="wp-caption-text">Firefox rendering issue in pen clip</p></div>
<p>In a Firefox <abbr title="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2a2pre) Gecko/20090830 Namoroka/3.6a2pre (.NET CLR 3.5.30729)">3.6a nightly build</abbr>:</p>
<ul>
<li>The pen clip sometimes hides during mouse drags (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=541883">see bug 541883</a>)</li>
</ul>
<p>In a Firefox <abbr title="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.13) Gecko/2009073022 Firefox/3.0.13 (.NET CLR 3.5.30729)">3.0.x previous release</abbr>:</p>
<ul>
<li>The pen clip only shows up when triggering the context menu over the &#8220;Download&#8221; button (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=541883">see bug 541883</a>)</li>
</ul>
<div id="attachment_61" class="wp-caption alignright" style="width: 157px"><img class="size-full wp-image-61" title="Opera rendering issue" src="http://heldermagalhaes.com/blog/wp-content/uploads/2009/08/EmacsTriggersSVGBugs-Opera.png" alt="Opera rendering issue in text selection" width="147" height="142" /><p class="wp-caption-text">Opera rendering issue in text selection</p></div>
<p>In an Opera <abbr title="Opera/9.80 (Windows NT 5.1; U; en) Presto/2.2.15 Version/10.10">10.10b weekly build</abbr>:</p>
<ul>
<li>The whole drawing doesn&#8217;t even show up initially, usually only after forcing a page reload</li>
<li>Bringing up the context menu on the broken loaded image (only with the vertical gradient visible) and selecting &#8220;Original size&#8221; (to force a redraw) only displays the graphics: text portions are not (re)drawn</li>
<li>Selecting the text within the star from a line up to the line above shows text selection redraw issues</li>
</ul>
<p>In Opera <abbr title="Opera/9.64 (Windows NT 5.1; U; en) Presto/2.1.1">9.64 release</abbr>:</p>
<ul>
<li>The whole drawing doesn&#8217;t even show up initially, usually only after forcing a page reload</li>
<li>Selecting the text within the star from a line up to the line above shows text selection redraw issues</li>
</ul>
<p>(Behavior is similar to version 10.10, with the exception that using &#8220;Original size&#8221; to force a redraw actually works.)</p>
<div id="attachment_68" class="wp-caption alignright" style="width: 310px"><a href="http://heldermagalhaes.com/blog/wp-content/uploads/2009/08/EmacsTriggersSVGBugs-IEplusASV.png"><img class="size-medium wp-image-68" title="IE8+ASV6 rendering issue" src="http://heldermagalhaes.com/blog/wp-content/uploads/2009/08/EmacsTriggersSVGBugs-IEplusASV-300x233.png" alt="IE8+ASV3 rendering issue in inline SVG" width="300" height="233" /></a><p class="wp-caption-text">IE8+ASV6 rendering issue in inline SVG</p></div>
<p>Using Internet Explorer <abbr title="8.0.6001.1872">8 RTM</abbr> + ASV <abbr title="6.0 Developer Release 1">6</abbr> (SVG viewer plug-in):</p>
<ul>
<li>HTML+SVG integration on page breaks pretty bad</li>
</ul>
<p>Note that, by default, IE8 doesn&#8217;t allow in-line SVG in HTML: this result was obtained using tweaked settings. An untouched IE installation will properly display the text-only version of the website.</p>
<p>At least WebKit behaved (surprisingly?) well! <img src='http://heldermagalhaes.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Given that the site is for a Mac OS application download, I imagine the author was using Safari (which is built upon WebKit) and therefore might not have realized these small issues&#8230; <img src='http://heldermagalhaes.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />   (By the way, I&#8217;m contacting the author as soon as this post goes on-line.)</p>
<p><em>Update 2009-11-22</em>: Added screenshot of the page rendering for posterity.<br />
<em>Update 2010-01-31</em>: Added link to Firefox bug report; Fixed WebKit word case.</p>
]]></content:encoded>
			<wfw:commentRss>http://heldermagalhaes.com/blog/2009/08/emacs-triggers-svg-bugs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Introducing&#8221; Adobe SVG Viewer 8</title>
		<link>http://heldermagalhaes.com/blog/2009/04/introducing-asv8/</link>
		<comments>http://heldermagalhaes.com/blog/2009/04/introducing-asv8/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 14:05:54 +0000</pubDate>
		<dc:creator>Helder</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[SVG]]></category>

		<guid isPermaLink="false">http://heldermagalhaes.com/blog/?p=105</guid>
		<description><![CDATA[A common belief is that ASV 6 Developer Release 1 was the last version of the famous Adobe SVG Viewer software (ASV 3.03 being the last stable release). Well, apparently not&#8230; Distributed with Adobe Reader 8, one can take a &#8230; <a href="http://heldermagalhaes.com/blog/2009/04/introducing-asv8/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_106" class="wp-caption alignleft" style="width: 229px"><a href="http://heldermagalhaes.com/blog/wp-content/uploads/2009/11/ASV-Version8ShippedWithAdobeReader8.png"><img src="http://heldermagalhaes.com/blog/wp-content/uploads/2009/11/ASV-Version8ShippedWithAdobeReader8-219x300.png" alt="Properties screenshot of a file shipped with Adobe Reader 8" title="ASV8 - Version Shipped with Adobe Reader 8" width="219" height="300" class="size-medium wp-image-106" /></a><p class="wp-caption-text">Properties screenshot of a file shipped with Adobe Reader 8</p></div>
<p>A common belief is that <a href="http://www.adobe.com/svg/viewer/install/beta.html"><acronym title="Adobe SVG Viewer">ASV</acronym> 6 Developer Release 1</a> was the last version of the famous Adobe SVG Viewer software (<a href="http://www.adobe.com/svg/viewer/install/main.html"><acronym title="Adobe SVG Viewer">ASV</acronym> 3.03</a> being the last stable release). Well, apparently not&#8230; <img src='http://heldermagalhaes.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Distributed with Adobe Reader 8, one can take a peek at the <code>ImageViewer.API</code> file, placed within the <code>plug_ins</code> directory (full path will typically be <code>%ProgramFiles%\Adobe\Reader\plug_ins\ImageViewer.API</code>. The original filename, <code>NPSVG8.dll</code> (see screenshot), is probably familiar to whoever has played with previous <acronym title="Adobe SVG Viewer">ASV</acronym> versions: <code>NPSVGX.dll</code> stands for Netscape Plugin, where X is the major version number; the file was used for deploying the plug-in in browsers, such as Firefox (<a href="http://en.wikipedia.org/wiki/Gecko_%28layout_engine%29">Gecko</a>) and Safari (<a href="http://en.wikipedia.org/wiki/WebKit">WebKit</a>), who didn&#8217;t natively support SVG by then. As of today, at least <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=133567">Firefox is no longer compatible with the plug-in</a> (and <a href="https://bugs.webkit.org/show_bug.cgi?id=25154">Safari will likely follow</a>) but they don&#8217;t need to anyway: a <a href="http://www.codedread.com/svg-support.php">good level of native SVG support</a> is available in modern browsers. <img src='http://heldermagalhaes.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><span id="more-105"></span></p>
<p>When first I noticed about this file, there was an obvious question bouncing in my mind: <em>Would it be possible to turn <code>NPSVG8.dll</code> into an updated SVG Viewer?</em> That is, to integrate the DLL in order to produce a fixed version of ASV6 (which, while being superior to ASV3 in terms of features, is also more unstable and has a couple of nasty regressions). Crawling through the web brought up <a href="http://support.adobe.com/devsup/devsup.nsf/docs/51119.htm">a link containing some leads</a>, but in any case, the Adobe Reader license blocks it (in case someone is still wondering):</p>
<blockquote><p>Plug-in Restrictions. You will not integrate or use Adobe Reader with any plug-in software not developed in accordance with the Adobe Integration Key License Agreement.</p></blockquote>
<p>I wonder if Adobe would issue an integration agreement for doing that&#8230;? <img src='http://heldermagalhaes.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p>A quick search through Adobe Reader 9 shows that the plug-in seems to have been removed for good. Chances are that functionality might have been reworked into <code>Multimedia.api</code>; also, some features were probably moved to the <a href="http://labs.adobe.com/technologies/mars/">Adobe Mars</a> (<code>PDFXML.api</code>) plug-in. Well, this turned out to be nice material to write about, anyway&#8230; <img src='http://heldermagalhaes.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><em>Notice 2009-11-30</em>: This post wasn&#8217;t actually published when written: the post contents were mostly ready but, unfortunately, got lost in my &#8220;to do&#8221; stack (see the <a href="/blog/2009/09/first-things-first/">first blog entry</a> for more on this).</p>
]]></content:encoded>
			<wfw:commentRss>http://heldermagalhaes.com/blog/2009/04/introducing-asv8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://stats.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://stats.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Analytics Code -->

