<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: CF8 and Batik (for SVG)</title>
	<atom:link href="http://www.barneyb.com/barneyblog/2007/09/05/cf8-and-batik-for-svg/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.barneyb.com/barneyblog/2007/09/05/cf8-and-batik-for-svg/</link>
	<description>Thoughts, rants, and even some code from the mind of Barney Boisvert.</description>
	<lastBuildDate>Thu, 11 Sep 2014 09:58:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/05/cf8-and-batik-for-svg/comment-page-1/#comment-265349</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Fri, 15 Jul 2011 15:01:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/05/cf8-and-batik-for-svg/#comment-265349</guid>
		<description>Zane,

I haven&#039;t tried with CF9.  I use Google Charts (http://code.google.com/apis/chart/) pretty much exclusively these days, and ported almost all of my old Batik-based stuff over (before CF9 released).  The one app I haven&#039;t moved still runs on CF7 and probably will for the remainder of it&#039;s life.</description>
		<content:encoded><![CDATA[<p>Zane,</p>
<p>I haven't tried with CF9.  I use Google Charts (<a href="http://code.google.com/apis/chart/" rel="nofollow">http://code.google.com/apis/chart/</a>) pretty much exclusively these days, and ported almost all of my old Batik-based stuff over (before CF9 released).  The one app I haven't moved still runs on CF7 and probably will for the remainder of it's life.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zane Taylor</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/05/cf8-and-batik-for-svg/comment-page-1/#comment-264208</link>
		<dc:creator>Zane Taylor</dc:creator>
		<pubDate>Wed, 06 Jul 2011 23:46:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/05/cf8-and-batik-for-svg/#comment-264208</guid>
		<description>Having no luck getting this code (including the CF8 example in the comments) to render on CF9, either with the built-in Batik libraries or ones that I install myself. The best I can get it to do is output an empty or unreadable PNG. Any thoughts? Anyone gotten Batik to behave on CF9?</description>
		<content:encoded><![CDATA[<p>Having no luck getting this code (including the CF8 example in the comments) to render on CF9, either with the built-in Batik libraries or ones that I install myself. The best I can get it to do is output an empty or unreadable PNG. Any thoughts? Anyone gotten Batik to behave on CF9?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Jarrard</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/05/cf8-and-batik-for-svg/comment-page-1/#comment-165318</link>
		<dc:creator>John Jarrard</dc:creator>
		<pubDate>Wed, 04 Mar 2009 16:14:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/05/cf8-and-batik-for-svg/#comment-165318</guid>
		<description>Hi Barney - the way I got the image to work was to use a full URI:  file:///c:/inetpub/wwwroot/blah.jpg

I&#039;m still trying to figure out why the font render so ugly.  If I render it huge (500%) - it seems to make it antialiased, but if I got 100% it look jagged and hideous.</description>
		<content:encoded><![CDATA[<p>Hi Barney &#8211; the way I got the image to work was to use a full URI:  file:///c:/inetpub/wwwroot/blah.jpg</p>
<p>I'm still trying to figure out why the font render so ugly.  If I render it huge (500%) &#8211; it seems to make it antialiased, but if I got 100% it look jagged and hideous.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/05/cf8-and-batik-for-svg/comment-page-1/#comment-165232</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Wed, 04 Mar 2009 00:26:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/05/cf8-and-batik-for-svg/#comment-165232</guid>
		<description>I&#039;ve not tried to embed images into the SVG before running it through Batik, so I don&#039;t know.  I&#039;d wager that you need a fully-qualified URL in there, because Batik is going to be executing in an isolated context, and thus unable to resolve relative paths.  That&#039;s just a guess though.</description>
		<content:encoded><![CDATA[<p>I've not tried to embed images into the SVG before running it through Batik, so I don't know.  I'd wager that you need a fully-qualified URL in there, because Batik is going to be executing in an isolated context, and thus unable to resolve relative paths.  That's just a guess though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Jarrard</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/05/cf8-and-batik-for-svg/comment-page-1/#comment-165228</link>
		<dc:creator>John Jarrard</dc:creator>
		<pubDate>Wed, 04 Mar 2009 00:08:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/05/cf8-and-batik-for-svg/#comment-165228</guid>
		<description>&lt;image y=&quot;87.727219&quot; x=&quot;1&quot;  height=&quot;189&quot; width=&quot;300&quot; xlink:href=&quot;{imgName}&quot; /&gt;</description>
		<content:encoded><![CDATA[<p>&lt;image y="87.727219&#8243; x="1&#8243;  height="189&#8243; width="300&#8243; xlink:href="{imgName}" /&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Jarrard</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/05/cf8-and-batik-for-svg/comment-page-1/#comment-165227</link>
		<dc:creator>John Jarrard</dc:creator>
		<pubDate>Wed, 04 Mar 2009 00:07:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/05/cf8-and-batik-for-svg/#comment-165227</guid>
		<description>Well I guess I thought I had it too soon... Is there some trick to linking in image files

This code causes the renderer to return a blank white screen:



Do i need to use a complete path?</description>
		<content:encoded><![CDATA[<p>Well I guess I thought I had it too soon&#8230; Is there some trick to linking in image files</p>
<p>This code causes the renderer to return a blank white screen:</p>
<p>Do i need to use a complete path?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Jarrard</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/05/cf8-and-batik-for-svg/comment-page-1/#comment-165216</link>
		<dc:creator>John Jarrard</dc:creator>
		<pubDate>Tue, 03 Mar 2009 23:22:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/05/cf8-and-batik-for-svg/#comment-165216</guid>
		<description>Thanks so much Barney- its working like a charm now!</description>
		<content:encoded><![CDATA[<p>Thanks so much Barney- its working like a charm now!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/05/cf8-and-batik-for-svg/comment-page-1/#comment-165213</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Tue, 03 Mar 2009 23:01:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/05/cf8-and-batik-for-svg/#comment-165213</guid>
		<description>That code is a couple years old, so it might not work with modern CF.  Here&#039;s one that runs on my CF8 box: http://barneyb.com/r/svg_demo.cfm</description>
		<content:encoded><![CDATA[<p>That code is a couple years old, so it might not work with modern CF.  Here's one that runs on my CF8 box: <a href="http://barneyb.com/r/svg_demo.cfm" rel="nofollow">http://barneyb.com/r/svg_demo.cfm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Jarrard</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/05/cf8-and-batik-for-svg/comment-page-1/#comment-165212</link>
		<dc:creator>John Jarrard</dc:creator>
		<pubDate>Tue, 03 Mar 2009 22:56:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/05/cf8-and-batik-for-svg/#comment-165212</guid>
		<description>@Barney - I found the problem.  I was putting stuff in the CFFORMS folder inadvertently.</description>
		<content:encoded><![CDATA[<p>@Barney &#8211; I found the problem.  I was putting stuff in the CFFORMS folder inadvertently.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Jarrard</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/05/cf8-and-batik-for-svg/comment-page-1/#comment-165209</link>
		<dc:creator>John Jarrard</dc:creator>
		<pubDate>Tue, 03 Mar 2009 22:48:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/05/cf8-and-batik-for-svg/#comment-165209</guid>
		<description>Thanks Barney -  I ran your example code and I&#039;m getting a java error...  

Object Instantiation Exception.

An exception occurred when instantiating a Java object. The class must not be an interface or an abstract class. Error: org/apache/batik/dom/util/DocumentFactory.

If you want to see the full error, here is a link:

http://www.sterling-staging.com/svg.cfm

I&#039;m sorry to bug you, but you&#039;re the only help I have found online.</description>
		<content:encoded><![CDATA[<p>Thanks Barney &#8211;  I ran your example code and I'm getting a java error&#8230;  </p>
<p>Object Instantiation Exception.</p>
<p>An exception occurred when instantiating a Java object. The class must not be an interface or an abstract class. Error: org/apache/batik/dom/util/DocumentFactory.</p>
<p>If you want to see the full error, here is a link:</p>
<p><a href="http://www.sterling-staging.com/svg.cfm" rel="nofollow">http://www.sterling-staging.com/svg.cfm</a></p>
<p>I'm sorry to bug you, but you're the only help I have found online.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
