<?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: Custom Fonts</title>
	<atom:link href="http://www.alexcurylo.com/blog/2009/05/29/custom-fonts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alexcurylo.com/blog/2009/05/29/custom-fonts/</link>
	<description>Alex Curylo, iPhone Programmer</description>
	<lastBuildDate>Tue, 07 Feb 2012 06:22:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Font Notes &#171; Under The Bridge</title>
		<link>http://www.alexcurylo.com/blog/2009/05/29/custom-fonts/comment-page-1/#comment-7503</link>
		<dc:creator>Font Notes &#171; Under The Bridge</dc:creator>
		<pubDate>Sun, 13 Nov 2011 16:57:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexcurylo.com/blog/?p=878#comment-7503</guid>
		<description>[...] be bothered with paying for quality, might be worth a reminder that the sources of free fonts we mentioned way back when embedding custom fonts was, like, hard, are still all pretty much up and running; the big novelty [...]</description>
		<content:encoded><![CDATA[<p>[...] be bothered with paying for quality, might be worth a reminder that the sources of free fonts we mentioned way back when embedding custom fonts was, like, hard, are still all pretty much up and running; the big novelty [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stamps</title>
		<link>http://www.alexcurylo.com/blog/2009/05/29/custom-fonts/comment-page-1/#comment-2823</link>
		<dc:creator>Stamps</dc:creator>
		<pubDate>Mon, 25 Jan 2010 20:20:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexcurylo.com/blog/?p=878#comment-2823</guid>
		<description>Nice list you got there. Great job! Especially Larabie Fonts is good!</description>
		<content:encoded><![CDATA[<p>Nice list you got there. Great job! Especially Larabie Fonts is good!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pc.de free fonts</title>
		<link>http://www.alexcurylo.com/blog/2009/05/29/custom-fonts/comment-page-1/#comment-2811</link>
		<dc:creator>pc.de free fonts</dc:creator>
		<pubDate>Wed, 13 Jan 2010 14:54:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexcurylo.com/blog/?p=878#comment-2811</guid>
		<description>Thanks for taking the time to write it .Nice collection of fonts.I am always looking for new fonts to spice up my designs.Huge thanks.</description>
		<content:encoded><![CDATA[<p>Thanks for taking the time to write it .Nice collection of fonts.I am always looking for new fonts to spice up my designs.Huge thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iSigns at Under The Bridge</title>
		<link>http://www.alexcurylo.com/blog/2009/05/29/custom-fonts/comment-page-1/#comment-2291</link>
		<dc:creator>iSigns at Under The Bridge</dc:creator>
		<pubDate>Mon, 07 Sep 2009 03:22:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexcurylo.com/blog/?p=878#comment-2291</guid>
		<description>[...] indeed. You may recall our post about custom fonts? Yes, that was when we were putting together the scoreboard view. Harder than you&#8217;d think it [...]</description>
		<content:encoded><![CDATA[<p>[...] indeed. You may recall our post about custom fonts? Yes, that was when we were putting together the scoreboard view. Harder than you&#8217;d think it [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mauricio Giraldo</title>
		<link>http://www.alexcurylo.com/blog/2009/05/29/custom-fonts/comment-page-1/#comment-2213</link>
		<dc:creator>Mauricio Giraldo</dc:creator>
		<pubDate>Sat, 22 Aug 2009 19:21:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexcurylo.com/blog/?p=878#comment-2213</guid>
		<description>Ok I finally made it work with subviewing the FontLabel inside a UIButton.</description>
		<content:encoded><![CDATA[<p>Ok I finally made it work with subviewing the FontLabel inside a UIButton.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mauricio Giraldo</title>
		<link>http://www.alexcurylo.com/blog/2009/05/29/custom-fonts/comment-page-1/#comment-2207</link>
		<dc:creator>Mauricio Giraldo</dc:creator>
		<pubDate>Thu, 20 Aug 2009 20:39:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexcurylo.com/blog/?p=878#comment-2207</guid>
		<description>Yes. I guess 3) would be the better, more future-proof option. I will look into those classes and see how extensible they are. FWIW, this is the code I am using (just a big button with a fontlabel inside):

[code]
- (void)viewDidLoad {
	[super viewDidLoad];
	FontLabel *btn = [[FontLabel alloc] initWithFrame:CGRectMake(0, 0, 320,480) fontName:@&quot;Stonehenge&quot; pointSize:28.0];
	btn.textColor = [UIColor whiteColor];
	btn.text = @&quot;click me&quot;;
	[btn sizeToFit];
	btn.backgroundColor = [UIColor blackColor];
	btn.opaque = YES;
	UIButton *theButton = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 320, 480)];
	theButton.opaque = YES;
	[theButton addTarget:self action:@selector(goPlay) forControlEvents:UIControlEventTouchUpInside];
	[theButton addSubview:btn];
	[self.view addSubview:theButton];
	[btn release];
	[theButton release];
}
- (void)goPlay {
	NSLog(@&quot;hello&quot;);
}
[/code]

I get an EXC_BAD_ACCESS error.</description>
		<content:encoded><![CDATA[<p>Yes. I guess 3) would be the better, more future-proof option. I will look into those classes and see how extensible they are. FWIW, this is the code I am using (just a big button with a fontlabel inside):</p>
<pre class="brush: plain; title: ; notranslate">
- (void)viewDidLoad {
	[super viewDidLoad];
	FontLabel *btn = [[FontLabel alloc] initWithFrame:CGRectMake(0, 0, 320,480) fontName:@"Stonehenge" pointSize:28.0];
	btn.textColor = [UIColor whiteColor];
	btn.text = @"click me";
	[btn sizeToFit];
	btn.backgroundColor = [UIColor blackColor];
	btn.opaque = YES;
	UIButton *theButton = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 320, 480)];
	theButton.opaque = YES;
	[theButton addTarget:self action:@selector(goPlay) forControlEvents:UIControlEventTouchUpInside];
	[theButton addSubview:btn];
	[self.view addSubview:theButton];
	[btn release];
	[theButton release];
}
- (void)goPlay {
	NSLog(@"hello");
}
</pre>
<p>I get an EXC_BAD_ACCESS error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.alexcurylo.com/blog/2009/05/29/custom-fonts/comment-page-1/#comment-2203</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Thu, 20 Aug 2009 13:28:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexcurylo.com/blog/?p=878#comment-2203</guid>
		<description>Well, the FontLabel class is simply a strangely drawing UILabel, so you&#039;ve got a couple options:

1) Add tap handling and fake buttonish drawing to UILabel

2) Add a FontLabel as a subview (or grouped with) a blank titled UIButton.

Whichever is more expeditious for exactly how you want your semi-custom interface to look. I suspect if I was using custom fonts for anything other than the big &quot;scoreboard&quot; display this was for, I&#039;d probably have custom button state images as well, so I&#039;d draw them myself in my FontButton subclass of FontLabel and add tap handling/state tracking. If for some reason that was impractical, then on to 2), figuring out some view nesting arrangement that works.</description>
		<content:encoded><![CDATA[<p>Well, the FontLabel class is simply a strangely drawing UILabel, so you&#8217;ve got a couple options:</p>
<p>1) Add tap handling and fake buttonish drawing to UILabel</p>
<p>2) Add a FontLabel as a subview (or grouped with) a blank titled UIButton.</p>
<p>Whichever is more expeditious for exactly how you want your semi-custom interface to look. I suspect if I was using custom fonts for anything other than the big &#8220;scoreboard&#8221; display this was for, I&#8217;d probably have custom button state images as well, so I&#8217;d draw them myself in my FontButton subclass of FontLabel and add tap handling/state tracking. If for some reason that was impractical, then on to 2), figuring out some view nesting arrangement that works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mauricio Giraldo</title>
		<link>http://www.alexcurylo.com/blog/2009/05/29/custom-fonts/comment-page-1/#comment-2202</link>
		<dc:creator>Mauricio Giraldo</dc:creator>
		<pubDate>Thu, 20 Aug 2009 09:55:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexcurylo.com/blog/?p=878#comment-2202</guid>
		<description>How would you make the text clickable? Tried with subviewing a fontlabel into a uibutton to with no success.</description>
		<content:encoded><![CDATA[<p>How would you make the text clickable? Tried with subviewing a fontlabel into a uibutton to with no success.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mauricio Giraldo</title>
		<link>http://www.alexcurylo.com/blog/2009/05/29/custom-fonts/comment-page-1/#comment-2200</link>
		<dc:creator>Mauricio Giraldo</dc:creator>
		<pubDate>Thu, 20 Aug 2009 04:33:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexcurylo.com/blog/?p=878#comment-2200</guid>
		<description>Dude VERY nice link. Thanks a lot! Worked like a charm.</description>
		<content:encoded><![CDATA[<p>Dude VERY nice link. Thanks a lot! Worked like a charm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benjamin</title>
		<link>http://www.alexcurylo.com/blog/2009/05/29/custom-fonts/comment-page-1/#comment-2174</link>
		<dc:creator>Benjamin</dc:creator>
		<pubDate>Tue, 11 Aug 2009 07:07:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexcurylo.com/blog/?p=878#comment-2174</guid>
		<description>Hey, thanks for writing this up! This will help me out a lot. Love your writing style and the blog was easy on my eyes. Cheers!</description>
		<content:encoded><![CDATA[<p>Hey, thanks for writing this up! This will help me out a lot. Love your writing style and the blog was easy on my eyes. Cheers!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

