<?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>Craig Marshall</title>
	<atom:link href="http://www.craigmarshall.org/feed" rel="self" type="application/rss+xml" />
	<link>http://www.craigmarshall.org</link>
	<description></description>
	<lastBuildDate>Sat, 02 Oct 2010 13:51:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>It has an MOT! (And I have some news)</title>
		<link>http://www.craigmarshall.org/archives/117</link>
		<comments>http://www.craigmarshall.org/archives/117#comments</comments>
		<pubDate>Sat, 02 Oct 2010 13:49:35 +0000</pubDate>
		<dc:creator>craig</dc:creator>
				<category><![CDATA[Scooter Project]]></category>

		<guid isPermaLink="false">http://www.craigmarshall.org/?p=117</guid>
		<description><![CDATA[Well &#8211; just a quick update for now. I have mot&#8217;d the scooter and it passed, it needed a new front tyre (it was on the limit), and all is good! I am now insured on it and can ride it legally. I still have a few jobs to do on the scooter, and I [...]]]></description>
			<content:encoded><![CDATA[<p>Well &#8211; just a quick update for now. I have mot&#8217;d the scooter and it passed, it needed a new front tyre (it was on the limit), and all is good! I am now insured on it and can ride it legally.</p>
<p>I still have a few jobs to do on the scooter, and I plan to update the blog with more details (and some pictures) in the next few days.</p>
<p>I have some more news, I have a new project! I bought a Suzuki GN250, 4 stroke single chopper style bike. I bought it as a pile of parts and it easily went in the car like that. Literally every part was separated (the engine was in one lump, but the carb, exhaust and so on were not attached, and the frame was so light with nothing attached that you could pick it up with one hand easily). I will write about and show photos of this very soon too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craigmarshall.org/archives/117/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scooter update</title>
		<link>http://www.craigmarshall.org/archives/118</link>
		<comments>http://www.craigmarshall.org/archives/118#comments</comments>
		<pubDate>Thu, 09 Sep 2010 10:21:23 +0000</pubDate>
		<dc:creator>craig</dc:creator>
				<category><![CDATA[Scooter Project]]></category>

		<guid isPermaLink="false">http://www.craigmarshall.org/?p=118</guid>
		<description><![CDATA[The back wheel is now on and sorted, I had a problem refitting it the first time. As I didn&#8217;t have a new valve, I fitted an innertube with an angled valve inside the newly painted wheel, but the tyre was so difficult to get on that I scuffed all the new paint (should have [...]]]></description>
			<content:encoded><![CDATA[<p>The back wheel is now on and sorted, I had a problem refitting it the first time. As I didn&#8217;t have a new valve, I fitted an innertube with an angled valve inside the newly painted wheel, but the tyre was so difficult to get on that I scuffed all the new paint (should have waited 48 hours), and I also pinched the inner tube. So my dad came over to help me out, I then patched the tube, and we got the tyre on together and it&#8217;s held its pressure for over 12 hours, so I think it will be fine. I&#8217;ll just have to touch up the paintwork.</p>
<p>I have taken the handlebars, instruments and panels all off the front end in preparation for cleaning and repacking the steering head bearings with grease, when I noticed that in the accident this bike had, the steering must have forcefully been jammed from neutral (straight ahead) to the right hand side, because the collar that sets the steering limits had been bashed and had flared out causing the grinding and squeaking, I filed this to the correct shape, applied rust remedy and it is now perfect.</p>
<p>I have also tried to rejuvenate the rear brake cable with the funnel of blu-tack and thin oil trick. This is underway at the moment, and may work fine, but I also noticed a while ago that a section of the rear brake cable had been caught in between the back wheel and the transmission<br />
casing. I have inspected this further today and noticed that it&#8217;s ripped the outer sheath off and has mangled and rusted the steel coil inside slightyl. I am about to research prices for new cables, but I still have hope for this one. It&#8217;s a shame, the inner seems fine, just a little rust-stained.</p>
<p>My new transmission rollers arrived a couple of days ago, so I am almost ready to fit those, after these couple of jobs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craigmarshall.org/archives/118/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The rear tyre problem</title>
		<link>http://www.craigmarshall.org/archives/108</link>
		<comments>http://www.craigmarshall.org/archives/108#comments</comments>
		<pubDate>Tue, 07 Sep 2010 15:55:31 +0000</pubDate>
		<dc:creator>craig</dc:creator>
				<category><![CDATA[Scooter Project]]></category>

		<guid isPermaLink="false">http://www.craigmarshall.org/?p=108</guid>
		<description><![CDATA[When removing the tyre from the scooter, I realised that the paint was bubbling up and coming away from the alloy wheel, due to corrosion, which makes me think the tyre bead or the valve might not be sealing due to corrosion too I decided to brush off the bits of corrosion that I could [...]]]></description>
			<content:encoded><![CDATA[<p>When removing the tyre from the scooter, I realised that the paint was bubbling up and coming away from the alloy wheel, due to corrosion, which makes me think the tyre bead or the valve might not be sealing due to corrosion too</p>
<p>I decided to brush off the bits of corrosion that I could see, then take the wheel to the bike shop, then get them to check the tyre for punctures to be sure. They suggested putting an inner tube in the wheel if the tyre was okay, which was an idea I liked, but I didn&#8217;t like the idea that the wheel was still corroded and half-painted. I decided to buy the inner tube, and to take it home to do myself. This gave me a chance to strip and repaint the wheel properly inside and out.</p>
<p>Here is the wheel before stripping. You can see corrosion inside and out of the rim, and also around the valve. Not to mention the rusty glazed brake drum. No wonder that back brake was sticking on.</p>
<p><a href="http://www.craigmarshall.org/wp-content/uploads/2010/09/1-Before-e1284178961876.jpg"><img class="alignnone size-medium wp-image-109" title="1 Before" src="http://www.craigmarshall.org/wp-content/uploads/2010/09/1-Before-300x199.jpg" alt="" width="300" height="199" /></a></p>
<p>Here is the other side of the wheel after stripping the paint off. I used normal paint stripper from a tin, a screwdriver and a wire brush to do this, and it took about 90 minutes to do it thoroughly. And I didn&#8217;t burn myself once!</p>
<p><a href="http://www.craigmarshall.org/wp-content/uploads/2010/09/2-During.jpg"><img class="alignnone size-medium wp-image-110" title="2 During" src="http://www.craigmarshall.org/wp-content/uploads/2010/09/2-During-300x214.jpg" alt="" width="300" height="214" /></a></p>
<p>Here is the same wheel after two brushed-on coats of &#8220;Hammerite Special Metals Primer&#8221;, which is a water based etch primer for non-ferrous metals, aluminium, brass, etc:</p>
<p><a href="http://www.craigmarshall.org/wp-content/uploads/2010/09/3-During.jpg"><img class="alignnone size-medium wp-image-111" title="3 During" src="http://www.craigmarshall.org/wp-content/uploads/2010/09/3-During-300x243.jpg" alt="" width="300" height="243" /></a></p>
<p>And finally after 3-4 coats of satin black  (acrylic from a spray can):</p>
<p><a href="http://www.craigmarshall.org/wp-content/uploads/2010/09/4-During.jpg"><img class="alignnone size-medium wp-image-113" title="4 During" src="http://www.craigmarshall.org/wp-content/uploads/2010/09/4-During-284x300.jpg" alt="" width="284" height="300" /></a></p>
<p>Just waiting for the paint to harden fully before I manhandle the tyre and tube back on. I know it will probably work without a tube now the corrosion is taken care of, but I didn&#8217;t buy a replacement valve, so I&#8217;ll stick to the idea of using a tube. When the tyre is eventually replaced, it can be replaced normally, of course.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craigmarshall.org/archives/108/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pictures of the scooter</title>
		<link>http://www.craigmarshall.org/archives/96</link>
		<comments>http://www.craigmarshall.org/archives/96#comments</comments>
		<pubDate>Tue, 07 Sep 2010 15:39:29 +0000</pubDate>
		<dc:creator>craig</dc:creator>
				<category><![CDATA[Scooter Project]]></category>

		<guid isPermaLink="false">http://www.craigmarshall.org/?p=96</guid>
		<description><![CDATA[Well &#8211; the speedfight starts and runs now. I&#8217;ve spent another day or day and a half on the bike, and here is what I&#8217;ve been up to: Clean and refit carb Replace reed valve block (including adjusting length of reeds, they wouldn&#8217;t open.. Weld up a new exhaust mounting bracket, and fit exhaust Disassemble [...]]]></description>
			<content:encoded><![CDATA[<p>Well &#8211; the speedfight starts and runs now. I&#8217;ve spent another day or day and a half on the bike, and here is what I&#8217;ve been up to:</p>
<ul>
<li>Clean and refit carb</li>
<li>Replace reed valve block (including adjusting length of reeds, they wouldn&#8217;t open..</li>
<li>Weld up a new exhaust mounting bracket, and fit exhaust</li>
<li>Disassemble transmission, clean cones, check belt, check rollers</li>
<li>Rollers were heavily worn, so ordered replacment rollers</li>
<li>Replace oil filler cap</li>
<li>Determined that the rear tyre needed repairing/replacing, it kept leaking air every time I pumped it up</li>
</ul>
<p>Here are some pictures, you&#8217;ll notice the rear wheel is off at the moment, as the tyre needs looking at. You can also see the new/old exhaust now. From the side:</p>
<p><a href="http://www.craigmarshall.org/wp-content/uploads/2010/09/1-Right-Side.jpg"><img class="alignnone size-medium wp-image-97" title="1 Right Side" src="http://www.craigmarshall.org/wp-content/uploads/2010/09/1-Right-Side-300x234.jpg" alt="" width="300" height="234" /></a></p>
<p>And here is the bike from the front:</p>
<p><a href="http://www.craigmarshall.org/wp-content/uploads/2010/09/2-Front.jpg"><img class="alignnone size-medium wp-image-98" title="2 Front" src="http://www.craigmarshall.org/wp-content/uploads/2010/09/2-Front-217x300.jpg" alt="" width="217" height="300" /></a></p>
<p>And finally, the bracket I made for the exhaust, the original lugs had snapped off, so I filed a flat on the casing, tapped a couple of metric holes, and welded up a steel bracket to hold the exhaust:</p>
<p><a href="http://www.craigmarshall.org/wp-content/uploads/2010/09/4-Exhaust-Bracket.jpg"><img class="alignnone size-medium wp-image-100" title="4 Exhaust Bracket" src="http://www.craigmarshall.org/wp-content/uploads/2010/09/4-Exhaust-Bracket-300x199.jpg" alt="" width="300" height="199" /></a></p>
<p>As I said, the bike starts nicely now, with the kickstarter only at the moment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craigmarshall.org/archives/96/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Peugeot Speedfight 2</title>
		<link>http://www.craigmarshall.org/archives/75</link>
		<comments>http://www.craigmarshall.org/archives/75#comments</comments>
		<pubDate>Wed, 25 Aug 2010 10:02:05 +0000</pubDate>
		<dc:creator>craig</dc:creator>
				<category><![CDATA[Scooter Project]]></category>

		<guid isPermaLink="false">http://www.craigmarshall.org/?p=75</guid>
		<description><![CDATA[I have just bought a 2002 Peugeot Speedfight 2 air-cooled 50cc 2 stroke moped. It&#8217;s currently a non-runner and it was being sold for spares, so I got it for a very low price: £30. I plan to bring the bike back to a roadworthy standard and write about it as I go along. I [...]]]></description>
			<content:encoded><![CDATA[<p>I have just bought a 2002 Peugeot Speedfight 2 air-cooled 50cc 2 stroke moped. It&#8217;s currently a non-runner and it was being sold for spares, so I got it for a very low price: £30. I plan to bring the bike back to a roadworthy standard and write about it as I go along. I will record all work that I do on it and all money that I spend on it. If it doesn&#8217;t go well for any reason, then perhaps it will dissuade others from trying this kind of thing.</p>
<p>The bike was easy to collect, because it was bought from a chap who only lives about 1 mile away from me, and because I&#8217;m looking after my dad&#8217;s trailer for now, which came in handy. I took ownership of the bike at about 8pm on Monday 23rd August 2010. It didn&#8217;t look too pretty, the transmission cover was off, most of the panels were off, the petrol tank was loose, the carb was hanging by it&#8217;s fuel and throttle lines, the steering creaked, the entire exhaust and mounting points for it were missing, etc. The rear brake cable had also been jammed between the transmission and the rear wheel, so it had to be carried onto the trailer. This bike has been off road for around 3 years, so there is a reasonable  amount of rust on the single front fork and the underneath around the  frame and centre stand. I think all of it is minor though, and it&#8217;s  coming off quite readily just brushing it off by hand.</p>
<p>The bike had been owned by a young chap that presumably didn&#8217;t know a lot about looking after mechanical things, he&#8217;d tried taking this one to bits to fix something (who knows what?), presumably not been able to fix it and then left it disassembled. Although, I saw that he&#8217;d got himself a new moped that was almost the same, which is a good sign, apparently even if one goes wrong, it&#8217;s worth getting another one!</p>
<p>I managed to turn the engine over by hand, which shows that the engine wasn&#8217;t seized, and luckily there was reasonable compression for a 50cc bike. This is the main factor for me, I really don&#8217;t want to have to get barrels reworked, or buy new piston/bore kits if I don&#8217;t have to. The goal here is not for this to be a money sink, it&#8217;s to learn a bit more about the practical side of mechanics, and to get a broken bike recycled and made into a working bike as cheaply as possible. I paid £30 for this bike, and I have seen decent bikes of the same age sell for £500 or so.</p>
<p>I spent about 3/4 of a day on it yesterday (24th Aug 2010), and got the following done:</p>
<ul>
<li>Remove cable from between rear wheel and transmission, loosen back  brake, find cable is seriously gummed or rusted up, but salvageable.</li>
<li>Clean, re-grease and reassemble kickstart and electric start mechanisms</li>
<li>Bang dust out of centrifugal clutch, while it was exposed</li>
<li>Check battery electrolyte levels, clean terminals and charge (it had 1V of power to start with)</li>
<li>Check operation of vacuum petrol tap, condition of vacuum hose (good)</li>
<li>Quick clean of carburettor jets and reattach carb (pilot jet was blocked, float boal full of grit and grime)</li>
<li>Drain fuel from tank and float bowl, and replace with fresh 95 RON unleaded (correct for this bike).</li>
<li>Remove broken exhaust flange (noticed 1 stud missing, and a tiny part of the exhaust mounting surround is broken away, but it should still make a good seal with a new gasket and replacing the missing stud).</li>
<li>Remove remaining rear end bodywork (cracked and scuffed and will need fibreglass repair)</li>
<li>Pump up flat rear tyre (this will determine if there&#8217;s a puncture or not)</li>
<li>Clean and set gap on spark plug</li>
<li>Apply WD-40 to the lock mechanisms until they work</li>
<li>Test operation of the starter motor circuit including starter button, ignition, starter relay (works)</li>
<li>Test operation of the starter motor (doesn&#8217;t work -but it&#8217;s dismantleable, and there&#8217;s a kickstart for now, anyway).</li>
<li>Tested operation of immobiliser aerial/unit</li>
<li>Tested other electrical items all the following worked: starter switch and relay, ignition switch, immobiliser, immobiliser aerial, and warning LED, fuel level sender and gauge, horn + horn switch, turn signal relay, front turn signals, oil level LED</li>
<li>Tested headlights (didn&#8217;t work, but they may only work when the engine is running).</li>
<li>Check condition of reed valves (reeds didn&#8217;t lie flat, even when turned over, because the block facing isn&#8217;t flat, I&#8217;ve ordered a new one: £10.98 including delivery)</li>
</ul>
<p>Luckily, I found a manual online showing the wiring diagram for the bike (I couldn&#8217;t get a spark to start with, which prompted the electrical testing), I&#8217;ve been cleaning connections and battery terminals as I look at them, and after doing this for a while, I managed to get a reliable, strong spark.</p>
<p>The importing testing went as follows:</p>
<ul>
<li>Tested compression (8.5 bar or 120 PSI roughly, no major problems there).</li>
<li>Tested spark: Strong, reliable spark</li>
<li>Tested  starting: No luck. I couldn&#8217;t tell to begin with whether it was a mix  of 2-stroke oil and fuel getting on the plug, but now I think it&#8217;s just  oil. There are a few other reasons that the bike would be hard to start and run: No back  pressure exists from exhaust, also not a great seal from the poor reed valve block. The main reason though is that there is probably no fuel coming through the carb.</li>
</ul>
<p>Clearly next job is a proper clean of the carb. Also, I need to replace the exhaust and reed valve block. The exhaust is ordered now too: £33.99 including delivery, but it will be a week or more before I get it.</p>
<p>Here is a final list for this post, it shows current costs so far. I&#8217;m recording everything here apart from ordinary consumables (just fuel and oil so far). All prices include delivery.</p>
<ul>
<li>Bike £30</li>
<li>Manual £7.49</li>
<li>2nd hand exhaust £33.99</li>
<li>Reed valve block £10.98</li>
</ul>
<p>Total spend: £82.46</p>
<p>Pics and more to follow in the next day or two.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craigmarshall.org/archives/75/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Replace Font difficulties</title>
		<link>http://www.craigmarshall.org/archives/37</link>
		<comments>http://www.craigmarshall.org/archives/37#comments</comments>
		<pubDate>Wed, 25 Aug 2010 08:29:01 +0000</pubDate>
		<dc:creator>craig</dc:creator>
				<category><![CDATA[Inkscape Development]]></category>

		<guid isPermaLink="false">http://www.craigmarshall.org/?p=37</guid>
		<description><![CDATA[The Replace Font extension was updated a few days ago. The main new feature is an improved interface. There are three tabs now, and whichever one is open determines the action to be performed, so I&#8217;m both using the notebook control a visual tool, and abusing it as a fake optiongroup. The three modes now [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://code.google.com/p/inkscape-replace-font/downloads/list">Replace Font extension</a> was updated a few days ago. The main new feature is an improved interface. There are three tabs now, and whichever one is open determines the action to be performed, so I&#8217;m both using the notebook control a visual tool, and abusing it as a fake optiongroup. The three modes now offered are: Find and Replace font, Replace font and List all fonts. There is also now a dropdown option below offering to work on the entire drawing or just the selected items only. The code has been made much cleaner, and is now commented too.</p>
<p>Back to the difficulties I&#8217;m having though though; replacing fonts is a slightly  more complicated task than I&#8217;d realised. The nesting of various text elements  (e.g. text and tspan elements), and the two different ways of  applying styles to these text-ish elements makes it difficult to know how  many replacements are being made. Of course it&#8217;s easy to just count all replacements, but the number of text styles that needed to be replaced will be possibly more than twice the number of actual elements affected. Here&#8217;s a  concrete example, because I don&#8217;t quite believe in the explanation I just wrote:</p>
<ol>
<li>Open inkscape 0.47 on Ubuntu 10.10 Alpha 3</li>
<li>Click anywhere with the text tool and type in: Hello&lt;press return&gt;World.</li>
<li>Press Ctrl-A, change the font to Bitstream Charter.</li>
</ol>
<p>If you do this simple sequence of steps, you will probably (and understandably) think that you have made a single text element. If you are  the skeptical kind (like me), you might even think that you had  made two text elements. You&#8217;ve actually made three. There are two tspan  elements nested inside a text element.</p>
<p>So, you may now  thinking, well, just count the one parent element then and style the two inner elements. But all three are  style-able. And all three are style-able in two different ways. I haven&#8217;t found any documentation to explain  inheritance or precedence of styles between the different elements, or  between the two (potentially) conflicting style attributes themselves, one of which is unique to inkscape, and doesn&#8217;t appear anywhere in the SVG spec. The two style attributes are &#8221; font-family&#8221; and &#8220;-inkscape-font-specification&#8221;, and they can both apply to parents and children.</p>
<p>We now have potentially six font styles to replace for two lines of text from one click of the text tool. It just so happens (for me) that inkscape  sets the font styles in the following ways: The text element has just a  font-family, and the tspans have both the -inkscape-font-specification  and the font-family. So there are five to deal with, but of course it&#8217;s the potential number that matters to my code. I believe that my tool does  replace all five (or six) correctly, but you can see it&#8217;s quite difficult to usefully send a message to the user such as  &#8220;Replaced that font in X places&#8221;, for now, users will have to live with &#8220;Replaced all instances of that font successfully&#8221; or similar.</p>
<p>Note: I realise 0.48 has just come out, and there are internal improvements to text handling, but I haven&#8217;t had a chance to look at these yet. Also &#8211; I know I could probably nag the inkscape-devel list and ask for some guidelines about the different style attributes, and rules about applying them to the elements, but again haven&#8217;t yet had a chance.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craigmarshall.org/archives/37/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>News about my my inkscape extensions</title>
		<link>http://www.craigmarshall.org/archives/34</link>
		<comments>http://www.craigmarshall.org/archives/34#comments</comments>
		<pubDate>Wed, 25 Aug 2010 07:58:18 +0000</pubDate>
		<dc:creator>craig</dc:creator>
				<category><![CDATA[Inkscape Development]]></category>

		<guid isPermaLink="false">http://www.craigmarshall.org/?p=34</guid>
		<description><![CDATA[Both extensions I&#8217;m developing have been given their own google code page: Guillotine and Replace Font. I will use those as a place to keep the code and downloads organised, and I will continue to use this blog as a way of verbally introducing the new features/updates. The second big piece of news (big for [...]]]></description>
			<content:encoded><![CDATA[<p>Both extensions I&#8217;m developing have been given their own google code page: <a href="http://code.google.com/p/inkscape-guillotine/">Guillotine</a> and <a href="http://code.google.com/p/inkscape-replace-font/">Replace Font</a>. I will use those as a place to keep the code and downloads organised, and I will continue to use this blog as a way of verbally introducing the new features/updates. The second big piece of news (big for me), is that the guillotine extension has been accepted into the inkscape trunk, so next time there&#8217;s an Inkscape release, you&#8217;ll be running a tiny bit of my code!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craigmarshall.org/archives/34/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Replace Font inkscape extension</title>
		<link>http://www.craigmarshall.org/archives/19</link>
		<comments>http://www.craigmarshall.org/archives/19#comments</comments>
		<pubDate>Tue, 17 Aug 2010 12:56:27 +0000</pubDate>
		<dc:creator>craig</dc:creator>
				<category><![CDATA[Inkscape Development]]></category>

		<guid isPermaLink="false">http://www.craigmarshall.org/?p=19</guid>
		<description><![CDATA[Here&#8217;s another simple inkscape extension quickly following the previous one. It was inspired by someone on #inkscape wanting a way to replace fonts drawing-wide without it affecting the other styling on the text elements, such as boldface and italics. It&#8217;s probably very rough and ready at the moment, but it should be useful.  I plan [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s another simple inkscape extension quickly following the previous one. It was inspired by someone on #inkscape wanting a way to replace fonts drawing-wide without it affecting the other styling on the text elements, such as boldface and italics.</p>
<p>It&#8217;s probably very rough and ready at the moment, but it should be useful.  I plan to change the way the actual font is replaced, because it&#8217;s conceivable that it could break as is, but I haven&#8217;t had it do so.</p>
<p>Leave me some feedback if you have any problems. Once it&#8217;s had a fair bit of testing, I might try to get this one entered into the inkscape repository too.</p>
<p>So &#8211; here&#8217;s how you use it:</p>
<ol>
<li>Download the <a href="http://code.google.com/p/inkscape-replace-font/downloads/list">latest replace_font version</a> and unzip it into your inkscape extensions directory</li>
<li>Open your drawing in inkscape, preferably one that has some text elements, of course.</li>
<li>Select Text-&gt;Replace Font from the Extensions menu</li>
<li>Enter the font name that you want to find, e.g. Calibri or Times New Roman</li>
<li>Enter the font name that you&#8217;d like to replace it with, e.g. Sans or Helvetica</li>
<li>Press Apply</li>
</ol>
<p>Enjoy!</p>
<p>Edit:</p>
<p>There were a few bug in this extension, <a href="https://bugs.launchpad.net/inkscape/+bug/171007">as pointed out by su-v</a> from #inkscape:</p>
<ol>
<li>Not all fonts were being replaced, because sometimes the font styling was attached to a text element, not a tspan.</li>
<li>tspan elements without style attributes were causing the extension to crash</li>
<li>Some fonts (such as Arial Narrow) were being incorrectly (partially) replaced by searches such as &#8220;Arial&#8221;.</li>
<li>Fonts in flowed text regions weren&#8217;t being replaced at all.</li>
</ol>
<p>The link above in the original instructions has been updated to point to a new zip file including a fixed version of the extension, along with a couple of new features. Please let me know if you run into any other bugs!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craigmarshall.org/archives/19/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Guillotine inkscape extension</title>
		<link>http://www.craigmarshall.org/archives/8</link>
		<comments>http://www.craigmarshall.org/archives/8#comments</comments>
		<pubDate>Mon, 16 Aug 2010 09:45:43 +0000</pubDate>
		<dc:creator>craig</dc:creator>
				<category><![CDATA[Inkscape Development]]></category>

		<guid isPermaLink="false">http://www.craigmarshall.org/?p=8</guid>
		<description><![CDATA[Well &#8211; this is my first inkscape extension, it&#8217;s a direct copy of the GIMP extension of the same name (under Image-&#62;Transform). It is designed to take an image that has had some guides dragged onto it, then slice it up into the rectangles that are formed by those guides. It should ignore guides that [...]]]></description>
			<content:encoded><![CDATA[<p>Well &#8211; this is my first <a href="http://inkscape.org">inkscape</a> extension, it&#8217;s a direct copy of the GIMP extension of the same name (under Image-&gt;Transform). It is designed to take an image that has had some guides dragged onto it, then slice it up into the rectangles that are formed by those guides. It should ignore guides that lie outside the canvas area, and it should ignore angled guides.</p>
<p>I&#8217;m sure it will need more work if and when more people start testing it, but it should be usable as is. Please give it a try and feel free to leave any feedback.</p>
<p>It would be nice to one day see it as part of inkscape proper, but I don&#8217;t know the process involved (or if there&#8217;s even any demand for this extension &#8211; there are similar but slightly different extensions floating around).</p>
<p>So &#8211; here&#8217;s how you use it:</p>
<ol>
<li>Download the <a href="http://code.google.com/p/inkscape-guillotine/downloads/list">latest guillotine version</a>, and unzip it into your inkscape extensions directory</li>
<li>Open your drawing in inkscape.</li>
<li>Drag some vertical and horizontal guides onto your drawing</li>
<li>Select Export-&gt;Guillotine from the Inkscape menu</li>
<li>Enter a directory name and image base name for output (e.g. output will become output1.png, output2.png, etc.)</li>
<li>(optional) If you&#8217;ve previously exported the drawing, you can tick the box to use export hints as the output values.</li>
<li>Press Apply</li>
</ol>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craigmarshall.org/archives/8/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

