<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1045980" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1045980</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Okay. I fixed the &quot;flash of</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/font-face-vs-sifr#comment-1247399</link>
    <description> &lt;p&gt;Okay. I fixed the &quot;flash of default font&quot; issue. Here&#039;s how I did it for setting the &quot;Home&quot; link from my &lt;code&gt;&amp;lt;div class=&amp;quot;sitename&amp;quot;&amp;gt;&lt;/code&gt; of my pages:&lt;/p&gt;
&lt;p&gt;CSS&lt;br /&gt;
----&lt;/p&gt;
&lt;pre&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;/* if scripting is enabled, hide the site name before Cufon kicks in */&lt;br /&gt;html.js&amp;nbsp; .sitename { visibility: hidden; }&lt;/code&gt;&lt;/div&gt;&lt;/pre&gt;&lt;p&gt;
HTML - in the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;pre&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;nbsp; &amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt; // add class=&amp;quot;js&amp;quot; to the html element &lt;br /&gt;&amp;nbsp; document.documentElement.className=&amp;#039;js&amp;#039;;&lt;br /&gt;&amp;nbsp; &amp;lt;/script&amp;gt;&lt;/code&gt;&lt;/div&gt;&lt;/pre&gt;&lt;p&gt;
HTML - just before the closing &lt;code&gt;&amp;lt;/body&amp;gt;&lt;/code&gt; tag -&lt;/p&gt;
&lt;pre&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;nbsp; &amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp; Cufon.DOM.ready(function() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!$.fontAvailable(&amp;#039;Monotype Corsiva&amp;#039;)) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cufon.replace(&amp;#039;#banner div.sitename a&amp;#039;, {hover:true, textShadow:&amp;#039;1px 2px rgba(0,0,0,.25)&amp;#039;});&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(&amp;#039;#banner .sitename&amp;#039;).css(&amp;#039;visibility&amp;#039;, &amp;#039;visible&amp;#039;);&lt;br /&gt;&amp;nbsp; });&lt;br /&gt;&amp;nbsp; Cufon.now();&lt;br /&gt;&amp;nbsp; &amp;lt;/script&amp;gt;&lt;/code&gt;&lt;/div&gt;&lt;/pre&gt;&lt;p&gt;
If JavaScript is enabled, the &lt;code&gt;&amp;lt;html&amp;gt;&lt;/code&gt; element gets a class of &#039;js&#039;.&lt;br /&gt;
The CSS then turns off visibility of the sitename, even before the entire page is loaded.&lt;br /&gt;
Finally, after any font replacement with Cufon, visibility is turned back on.&lt;/p&gt;
&lt;p&gt;No JavaScript - no turning off visibility, and the normal font stack substitution takes place.&lt;/p&gt;
&lt;p&gt;Hope this helps someone.&lt;/p&gt;
 </description>
     <pubDate>Thu, 25 Feb 2010 21:15:01 +0000</pubDate>
 <dc:creator>webwiz</dc:creator>
 <guid isPermaLink="false">comment 1247399 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>I was wrong about Typekit. It</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/font-face-vs-sifr#comment-1247261</link>
    <description> &lt;p&gt;I was wrong about Typekit. It uses JavaScript for Digital Rights Management. You are correct about the disturbing flash of default font, too.&lt;/p&gt;
&lt;p&gt;Here&#039;s a rundown of &lt;a href=&quot;http://www.sitepoint.com/newsletter/viewissue.php?id=5&amp;amp;issue=68&quot;&gt;Typekit and some alternatives&lt;/a&gt; in the latest Sitepoint newsletter that just came out.&lt;/p&gt;
 </description>
     <pubDate>Wed, 17 Feb 2010 23:00:10 +0000</pubDate>
 <dc:creator>webwiz</dc:creator>
 <guid isPermaLink="false">comment 1247261 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Oh, right, it&#039;s hosted. Which</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/font-face-vs-sifr#comment-1247206</link>
    <description> &lt;p&gt;Oh, right, it&#039;s hosted. Which is a bit messy too because you&#039;re relying on their site being available and not slowing down the loading of your site. I think I read that there might also be a flash of the default font before the hosted font loads.&lt;/p&gt;
 </description>
     <pubDate>Sun, 14 Feb 2010 16:07:42 +0000</pubDate>
 <dc:creator>Megan</dc:creator>
 <guid isPermaLink="false">comment 1247206 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>No, Megan. No JavaScript for</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/font-face-vs-sifr#comment-1247203</link>
    <description> &lt;p&gt;No, Megan. No JavaScript for Typekit. It is a hosted font library that allows you to embed any of their fonts via the CSS @font-face rule. Basically you rent a font from them, customize the glyphs you need to reduce the download time, and then simply include the font name in a normal CSS font stack. User agents that don&#039;t support @font-face - most do - get one of the fonts lower in the stack.&lt;/p&gt;
&lt;p&gt;You can try it out for free (limit 2 fonts at one site). You can rent the entire library for $50 a year. Seems like a bargain to me. (If you need a special font, that is...)&lt;/p&gt;
&lt;p&gt;A regular image is a good solution, but can be costly if it&#039;s a specialty font with a commercial license fee. Flash is usually better quality, but is by no means universally available. SVG would be nice if only Microsoft would support it...&lt;/p&gt;
&lt;p&gt;OTOH - Cufon that I mentioned is indeed a JavaScript solution.&lt;/p&gt;
 </description>
     <pubDate>Sun, 14 Feb 2010 04:38:11 +0000</pubDate>
 <dc:creator>webwiz</dc:creator>
 <guid isPermaLink="false">comment 1247203 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>That&#039;s one of the sites I was</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/font-face-vs-sifr#comment-1247180</link>
    <description> &lt;p&gt;That&#039;s one of the sites I was thinking of, serpico. I think  there are others too (try searching).&lt;/p&gt;
&lt;p&gt;I think with you&#039;re problem you need to either search for something about Adobe fonts available for embedding or contact them directly. &lt;/p&gt;
&lt;p&gt;Oh, and some of these services (Typekit might do this, and there are others) rely on JavaScript or other weird tricks to embed the fonts. Or you have to link to a separate stylesheet on their domain. Still a bit messy.&lt;/p&gt;
 </description>
     <pubDate>Fri, 12 Feb 2010 15:14:00 +0000</pubDate>
 <dc:creator>Megan</dc:creator>
 <guid isPermaLink="false">comment 1247180 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Thanks for the tips.
I&#039;ve</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/font-face-vs-sifr#comment-1247178</link>
    <description> &lt;p&gt;Thanks for the tips.&lt;/p&gt;
&lt;p&gt;I&#039;ve found &lt;a href=&quot;http://www.fontsquirrel.com/fontface&quot;&gt;Font Squirrel&lt;/a&gt; has lots of free to use font packages for embedding.&lt;/p&gt;
&lt;p&gt;I think I would much rather go down the CSS route. It just seems much cleaner, but the issues of lisencing are there to be debated. I can&#039;t find any difinitive guide to lisencing fonts for embedding. My client wants to use Avant Garde and Lubalin Graph, which I think are Adobe fonts.&lt;/p&gt;
&lt;p&gt;Stuck!&lt;/p&gt;
 </description>
     <pubDate>Fri, 12 Feb 2010 09:04:18 +0000</pubDate>
 <dc:creator>serpico</dc:creator>
 <guid isPermaLink="false">comment 1247178 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>todd has suggested possibly</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/font-face-vs-sifr#comment-1247137</link>
    <description> &lt;p&gt;todd has suggested possibly the best solution - typekit is adding new faces all the time, at prices far lower than foundries usually charge. Another suggestion I have is to use &lt;a href=&quot;http://cameronmoll.com/archives/2009/03/cufon_font_embedding/&quot;&gt;Cufon - a sIFR replacement&lt;/a&gt;. You&#039;ll still need to have the font on your computer in order to create the code for the script-generated glyphs, just as you would to create an image or Flash file, but there are several advantages as the image behaves more like regular text.&lt;/p&gt;
 </description>
     <pubDate>Wed, 10 Feb 2010 04:31:38 +0000</pubDate>
 <dc:creator>webwiz</dc:creator>
 <guid isPermaLink="false">comment 1247137 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>I have a customer who is</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/font-face-vs-sifr#comment-1247051</link>
    <description> &lt;p&gt;I have a customer who is wanting the same thing... I found &lt;a href=&quot;http://www.typekit.com/&quot; title=&quot;http://www.typekit.com/&quot;&gt;http://www.typekit.com/&lt;/a&gt; and now the customer is whining about costs. I&#039;m sure there is more out there, but maybe you can find a match there.&lt;/p&gt;
 </description>
     <pubDate>Fri, 05 Feb 2010 02:31:41 +0000</pubDate>
 <dc:creator>toddgoolsby</dc:creator>
 <guid isPermaLink="false">comment 1247051 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>With sIFR you don&#039;t have to</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/font-face-vs-sifr#comment-1246989</link>
    <description> &lt;p&gt;With sIFR you don&#039;t have to worry about the lisence on the fonts. Because they&#039;re protected in the flash you can use any fonts you already have. The problem is that you have to hook them up using javascript which is messy, and they replace the normal text content which could be a usability problem with lots of text. Only good for headings really.&lt;/p&gt;
&lt;p&gt;With @font-face you don&#039;t have to worry about messy scripts or usability problems (other than the readability of the font you choose) but you do have to worry about the lisence on the font. You can only use fonts available for @font-face embedding. There are a few sites that list them but I don&#039;t know what they are off hand.&lt;/p&gt;
 </description>
     <pubDate>Mon, 01 Feb 2010 16:52:58 +0000</pubDate>
 <dc:creator>Megan</dc:creator>
 <guid isPermaLink="false">comment 1246989 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
