<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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">
	<channel>
		<title>Support Forum - Topic: @font-face kits available?</title>
		<link>http://www.kriesi.at/support/topic/font-face-kits-available</link>
		<description>Support Forum - Topic: @font-face kits available?</description>
		<language>en-US</language>
		<pubDate>Sat, 25 May 2013 12:12:13 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/font-face-kits-available" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "@font-face kits available?"</title>
			<link>http://www.kriesi.at/support/topic/font-face-kits-available#post-23396</link>
			<pubDate>Mon, 25 Jul 2011 05:24:04 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">23396@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Thanks for the code snippets :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>davestewart on "@font-face kits available?"</title>
			<link>http://www.kriesi.at/support/topic/font-face-kits-available#post-23386</link>
			<pubDate>Sun, 24 Jul 2011 11:51:54 +0000</pubDate>
			<dc:creator>davestewart</dc:creator>
			<guid isPermaLink="false">23386@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;OK, this was really simple to implement, thanks Dude.&#60;/p&#62;
&#60;p&#62;1. Download the @font-face kits from Google, and store them in &#34;broadscope/framework/fonts/&#34;. The folder name will need to be the same as the key used by the PHP cufon code. In the case of Droid Sans, it was &#34;droidsans&#34;&#60;/p&#62;
&#60;p&#62;2. Update your &#34;broadscope/framework/php/class-style-generator.php&#34; file:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;function cufon($rule)
{
	$this-&#38;gt;extra_output .= &#38;quot;\n&#38;lt;!-- @font-face stylesheets --&#38;gt;\n&#38;quot;;
	$this-&#38;gt;extra_output .= &#38;quot;&#38;lt;link href=&#38;#39;&#38;quot; .AVIA_FW_URL. &#38;quot;fonts/&#38;quot; .$rule[&#38;#39;value&#38;#39;]. &#38;quot;/stylesheet.css&#38;#39; rel=&#38;#39;stylesheet&#38;#39; type=&#38;#39;text/css&#38;#39; /&#38;gt;\n&#38;quot;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;3. Edit your &#34;custom.css&#34; file:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;.content h1, .content h2, .content h3, .content h4, .content h5, .content h6{
	font-family:DroidSansRegular;
	font-weight:normal;
	}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;As it happens, I actually prefer the Cufon rendering (I'm on Windows) but I prefer the flexibility of native @font-face fonts.&#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
Dave
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "@font-face kits available?"</title>
			<link>http://www.kriesi.at/support/topic/font-face-kits-available#post-23384</link>
			<pubDate>Sun, 24 Jul 2011 11:26:37 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">23384@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hope you'll find a solution :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>davestewart on "@font-face kits available?"</title>
			<link>http://www.kriesi.at/support/topic/font-face-kits-available#post-23381</link>
			<pubDate>Sun, 24 Jul 2011 10:58:31 +0000</pubDate>
			<dc:creator>davestewart</dc:creator>
			<guid isPermaLink="false">23381@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;OK, thanks for the info; I'll check it out :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "@font-face kits available?"</title>
			<link>http://www.kriesi.at/support/topic/font-face-kits-available#post-23373</link>
			<pubDate>Sun, 24 Jul 2011 08:25:02 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">23373@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;br /&#62;
at the moment Kriesis themes do not support the google font api or font face out of the box. If you just want to implement one font I'd deactivate cufon and paste the necessary css font face code in css/custom.css. If you want to implement more fonts you need to rewrite broadscope\framework\php\class-style-generator.php a bit. You can also use font face and cufon in combination. If the browser doesn't support font face cufon will be loaded and used instead. It works great for me and I used: &#60;a href=&#34;http://www.modernizr.com/&#34; rel=&#34;nofollow&#34;&#62;http://www.modernizr.com/&#60;/a&#62; for it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>davestewart on "@font-face kits available?"</title>
			<link>http://www.kriesi.at/support/topic/font-face-kits-available#post-23370</link>
			<pubDate>Sun, 24 Jul 2011 08:06:58 +0000</pubDate>
			<dc:creator>davestewart</dc:creator>
			<guid isPermaLink="false">23370@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;It turns out one of my users is getting anti-aliasing issues with Cufon (he has his browser scaled to 135%, and it makes Cufon go surprisingly jaggy) so I'm going to switch my theme to @font-face which offers other advantages as well, like real links.&#60;/p&#62;
&#60;p&#62;Anyway, it shouldn't be too much of an effort for just one font, but for all the fonts might take an hour or so.&#60;/p&#62;
&#60;p&#62;So, I wonder, have you already done this, or is there a patch available for the theme?&#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
Dave
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
