<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.4" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Ruby pdf-writer 1.1.3 and embedding fonts</title>
	<link>http://www.markvera.net/blog/2006/10/17/ruby-pdf-writer-113-and-embedding-fonts/</link>
	<description>Musician and programmer, do they match?</description>
	<pubDate>Thu, 20 Nov 2008 10:48:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>

	<item>
		<title>by: Neil</title>
		<link>http://www.markvera.net/blog/2006/10/17/ruby-pdf-writer-113-and-embedding-fonts/#comment-7864</link>
		<pubDate>Sun, 30 Mar 2008 17:45:16 +0000</pubDate>
		<guid>http://www.markvera.net/blog/2006/10/17/ruby-pdf-writer-113-and-embedding-fonts/#comment-7864</guid>
					<description>@Mark re: BA

Any chance of getting that Kerning fix? I have the same issue.

Thanks for the great info!</description>
		<content:encoded><![CDATA[<p>@Mark re: BA</p>
<p>Any chance of getting that Kerning fix? I have the same issue.</p>
<p>Thanks for the great info!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: BA</title>
		<link>http://www.markvera.net/blog/2006/10/17/ruby-pdf-writer-113-and-embedding-fonts/#comment-7503</link>
		<pubDate>Tue, 18 Mar 2008 15:08:08 +0000</pubDate>
		<guid>http://www.markvera.net/blog/2006/10/17/ruby-pdf-writer-113-and-embedding-fonts/#comment-7503</guid>
					<description>How can I proceed so? :-)</description>
		<content:encoded><![CDATA[<p>How can I proceed so? <img src='http://www.markvera.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Mark Vera</title>
		<link>http://www.markvera.net/blog/2006/10/17/ruby-pdf-writer-113-and-embedding-fonts/#comment-7502</link>
		<pubDate>Tue, 18 Mar 2008 12:07:39 +0000</pubDate>
		<guid>http://www.markvera.net/blog/2006/10/17/ruby-pdf-writer-113-and-embedding-fonts/#comment-7502</guid>
					<description>You probably need the kerning changes so that the characters aren't too close  (or too far)  each other. Also those changes added the character spacing for the text method in pdf writer.</description>
		<content:encoded><![CDATA[<p>You probably need the kerning changes so that the characters aren&#8217;t too close  (or too far)  each other. Also those changes added the character spacing for the text method in pdf writer.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: BA</title>
		<link>http://www.markvera.net/blog/2006/10/17/ruby-pdf-writer-113-and-embedding-fonts/#comment-7501</link>
		<pubDate>Tue, 18 Mar 2008 11:01:00 +0000</pubDate>
		<guid>http://www.markvera.net/blog/2006/10/17/ruby-pdf-writer-113-and-embedding-fonts/#comment-7501</guid>
					<description>Hello
Thanks for the explanations.
I tried to do this, the font was embedded without errors but characters are two close to each others.
is there a solution?
Thanks</description>
		<content:encoded><![CDATA[<p>Hello<br />
Thanks for the explanations.<br />
I tried to do this, the font was embedded without errors but characters are two close to each others.<br />
is there a solution?<br />
Thanks
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Gregory Brown</title>
		<link>http://www.markvera.net/blog/2006/10/17/ruby-pdf-writer-113-and-embedding-fonts/#comment-7182</link>
		<pubDate>Mon, 03 Mar 2008 15:33:14 +0000</pubDate>
		<guid>http://www.markvera.net/blog/2006/10/17/ruby-pdf-writer-113-and-embedding-fonts/#comment-7182</guid>
					<description>@der_flo

We shoehorned this patch into branches/1.1 on subversion just now.  Expect to see it in PDF::Writer 1.1.8+, but please help us try it out via:

http://stonecode.svnrepository.com/svn/ruby_pdf/pdf-writer/branches/1.1/

If you run into trouble, report the problem on the mailing list:
http://groups.google.com/group/pdf-writer

Thanks,
-greg</description>
		<content:encoded><![CDATA[<p>@der_flo</p>
<p>We shoehorned this patch into branches/1.1 on subversion just now.  Expect to see it in PDF::Writer 1.1.8+, but please help us try it out via:</p>
<p><a href="http://stonecode.svnrepository.com/svn/ruby_pdf/pdf-writer/branches/1.1/" title="http://stonecode.svnrepository.com/svn/ruby_pdf/pdf-writer/branches/1.1/" target="_blank">stonecode.svnrepository.com/svn/ruby_pdf/pdf-writer/branches/1.1/</a></p>
<p>If you run into trouble, report the problem on the mailing list:<br />
<a href="http://groups.google.com/group/pdf-writer" title="http://groups.google.com/group/pdf-writer" target="_blank">groups.google.com/group/pdf-writer</a></p>
<p>Thanks,<br />
-greg
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: der_flo</title>
		<link>http://www.markvera.net/blog/2006/10/17/ruby-pdf-writer-113-and-embedding-fonts/#comment-5777</link>
		<pubDate>Wed, 09 Jan 2008 08:49:07 +0000</pubDate>
		<guid>http://www.markvera.net/blog/2006/10/17/ruby-pdf-writer-113-and-embedding-fonts/#comment-5777</guid>
					<description>does anybody know a solution for pdf::writer 1.1.7 ?
the patch cannot be applied ...
acrobat reader throws bbox errors!

ideas?</description>
		<content:encoded><![CDATA[<p>does anybody know a solution for pdf::writer 1.1.7 ?<br />
the patch cannot be applied &#8230;<br />
acrobat reader throws bbox errors!</p>
<p>ideas?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: mace</title>
		<link>http://www.markvera.net/blog/2006/10/17/ruby-pdf-writer-113-and-embedding-fonts/#comment-1691</link>
		<pubDate>Sun, 09 Sep 2007 11:42:09 +0000</pubDate>
		<guid>http://www.markvera.net/blog/2006/10/17/ruby-pdf-writer-113-and-embedding-fonts/#comment-1691</guid>
					<description>good work! thanks a lot!!!</description>
		<content:encoded><![CDATA[<p>good work! thanks a lot!!!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Tomasz Tomczyk</title>
		<link>http://www.markvera.net/blog/2006/10/17/ruby-pdf-writer-113-and-embedding-fonts/#comment-1651</link>
		<pubDate>Thu, 06 Sep 2007 20:33:51 +0000</pubDate>
		<guid>http://www.markvera.net/blog/2006/10/17/ruby-pdf-writer-113-and-embedding-fonts/#comment-1651</guid>
					<description>Great job, Mark.

Thanks for your explanations, that opened up my eyes for "PDF inside" fonts related stuff.

I also found some bugs when embedding fonts with differences (I needed to make polish chracters in the PDF). These bugs don't apply to your fix but to orig version. Anyway I post it here maybe someone find it useful.
So, in writer.rb file:
- line 859: I commented it out, cause it made my special chars zero width
- line 861: firstchar should be first_char
- line 861: font.c[cname]['WX'] is incorrect - I suppose it should look like metrics.c[cname]['WX']

And finally a tip for having TTF font embedded instead of Type 1: don't copy PFB file, only AFM and TTF into directory. As you mentioned - PDF Writer prefers PFB, so having both will cause that Type 1 (PFB) will be embedded.

Rgrds,
TT</description>
		<content:encoded><![CDATA[<p>Great job, Mark.</p>
<p>Thanks for your explanations, that opened up my eyes for &#8220;PDF inside&#8221; fonts related stuff.</p>
<p>I also found some bugs when embedding fonts with differences (I needed to make polish chracters in the PDF). These bugs don&#8217;t apply to your fix but to orig version. Anyway I post it here maybe someone find it useful.<br />
So, in writer.rb file:<br />
- line 859: I commented it out, cause it made my special chars zero width<br />
- line 861: firstchar should be first_char<br />
- line 861: font.c[cname][&#8217;WX&#8217;] is incorrect - I suppose it should look like metrics.c[cname][&#8217;WX&#8217;]</p>
<p>And finally a tip for having TTF font embedded instead of Type 1: don&#8217;t copy PFB file, only AFM and TTF into directory. As you mentioned - PDF Writer prefers PFB, so having both will cause that Type 1 (PFB) will be embedded.</p>
<p>Rgrds,<br />
TT
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Munez</title>
		<link>http://www.markvera.net/blog/2006/10/17/ruby-pdf-writer-113-and-embedding-fonts/#comment-1584</link>
		<pubDate>Mon, 03 Sep 2007 02:58:04 +0000</pubDate>
		<guid>http://www.markvera.net/blog/2006/10/17/ruby-pdf-writer-113-and-embedding-fonts/#comment-1584</guid>
					<description>I need the PDF::Reader to extract the text from the PDF file that I created using PDF::Writer.

Hop someone can come out with this...I need it to complete my work done.Thanks alot!</description>
		<content:encoded><![CDATA[<p>I need the PDF::Reader to extract the text from the PDF file that I created using PDF::Writer.</p>
<p>Hop someone can come out with this&#8230;I need it to complete my work done.Thanks alot!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Munez</title>
		<link>http://www.markvera.net/blog/2006/10/17/ruby-pdf-writer-113-and-embedding-fonts/#comment-1583</link>
		<pubDate>Mon, 03 Sep 2007 02:54:56 +0000</pubDate>
		<guid>http://www.markvera.net/blog/2006/10/17/ruby-pdf-writer-113-and-embedding-fonts/#comment-1583</guid>
					<description>Does anyone have PDF::Reader.......I have download and use PDF::Writer and thanks alot for the embedded patch.</description>
		<content:encoded><![CDATA[<p>Does anyone have PDF::Reader&#8230;&#8230;.I have download and use PDF::Writer and thanks alot for the embedded patch.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
