<?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: TTF/Ruby, first release!</title>
	<atom:link href="http://www.mblondel.org/journal/2006/11/09/ttfruby-first-release/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mblondel.org/journal/2006/11/09/ttfruby-first-release/</link>
	<description>Machine Learning, Data Mining, Natural Language Processing…</description>
	<lastBuildDate>Mon, 02 Jan 2012 10:53:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Mathieu</title>
		<link>http://www.mblondel.org/journal/2006/11/09/ttfruby-first-release/#comment-179266</link>
		<dc:creator>Mathieu</dc:creator>
		<pubDate>Sat, 24 Jan 2009 17:27:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.mblondel.org/journal/2006/11/09/ttfruby-first-release/#comment-179266</guid>
		<description>@Jeremy: The project has a page on Rubyforge (http://rubyforge.org/projects/ttf-ruby/) but I haven&#039;t done anything for the project since 2006.

Regarding your problem, I may have an idea. In the file datatypes.rb, I define helper methods directly in built-in classes such as IO, String and Array. Most of them are new method names, so there&#039;s no conflict. However, you need to check if some of them are not conflicting.

One I saw is IO#read. Redefining this method was a terrible idea! To fix this, you need to rename it to say _read() and then you need to replace places in the library that use read(). This includes all the read_ methods in datatypes.rb (read_ushort, read_ulong etc).

If you&#039;re able to fix the bug, I can give you access to the Rubyforge project so that you can commit the fix in SVN if you like.</description>
		<content:encoded><![CDATA[<p>@Jeremy: The project has a page on Rubyforge (<a href="http://rubyforge.org/projects/ttf-ruby/" rel="nofollow">http://rubyforge.org/projects/ttf-ruby/</a>) but I haven&#8217;t done anything for the project since 2006.</p>
<p>Regarding your problem, I may have an idea. In the file datatypes.rb, I define helper methods directly in built-in classes such as IO, String and Array. Most of them are new method names, so there&#8217;s no conflict. However, you need to check if some of them are not conflicting.</p>
<p>One I saw is IO#read. Redefining this method was a terrible idea! To fix this, you need to rename it to say _read() and then you need to replace places in the library that use read(). This includes all the read_ methods in datatypes.rb (read_ushort, read_ulong etc).</p>
<p>If you&#8217;re able to fix the bug, I can give you access to the Rubyforge project so that you can commit the fix in SVN if you like.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Green</title>
		<link>http://www.mblondel.org/journal/2006/11/09/ttfruby-first-release/#comment-179112</link>
		<dc:creator>Jeremy Green</dc:creator>
		<pubDate>Tue, 20 Jan 2009 17:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.mblondel.org/journal/2006/11/09/ttfruby-first-release/#comment-179112</guid>
		<description>I&#039;ve gotten this working to read some basic info from ttf files and it works great.  Just what I needed.  

However, I&#039;m now starting to see a strange error in my application that goes away if I comment out my require &#039;ttf&#039; line.  Here&#039;s the error:

IOError (Couldn&#039;t load the unicode tables for UTF8Handler (wrong number of arguments (0 for 1)), handler is unusable):

From the stack trace I get I can&#039;t find anywhere that it goes through your code, but there&#039;s definitely something strange going on.  Do you have any ideas what that could be?

Thanks again,
Jeremy</description>
		<content:encoded><![CDATA[<p>I&#8217;ve gotten this working to read some basic info from ttf files and it works great.  Just what I needed.  </p>
<p>However, I&#8217;m now starting to see a strange error in my application that goes away if I comment out my require &#8216;ttf&#8217; line.  Here&#8217;s the error:</p>
<p>IOError (Couldn&#8217;t load the unicode tables for UTF8Handler (wrong number of arguments (0 for 1)), handler is unusable):</p>
<p>From the stack trace I get I can&#8217;t find anywhere that it goes through your code, but there&#8217;s definitely something strange going on.  Do you have any ideas what that could be?</p>
<p>Thanks again,<br />
Jeremy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Green</title>
		<link>http://www.mblondel.org/journal/2006/11/09/ttfruby-first-release/#comment-179094</link>
		<dc:creator>Jeremy Green</dc:creator>
		<pubDate>Tue, 20 Jan 2009 04:24:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.mblondel.org/journal/2006/11/09/ttfruby-first-release/#comment-179094</guid>
		<description>This looks great.  I&#039;ve been looking for something to be able to read some of the info embedded in a ttf file.  I just downloaded your code and I&#039;m hoping it will do the trick.  Is there any newer update of this?  A git/svn repository perhaps?

Thanks for sharing.</description>
		<content:encoded><![CDATA[<p>This looks great.  I&#8217;ve been looking for something to be able to read some of the info embedded in a ttf file.  I just downloaded your code and I&#8217;m hoping it will do the trick.  Is there any newer update of this?  A git/svn repository perhaps?</p>
<p>Thanks for sharing.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

