<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DWcourse: Adobe Dreamweaver Blog &#187; fonts</title>
	<atom:link href="http://www.dwcourse.com/dreamweaver/tag/fonts/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dwcourse.com</link>
	<description>Tutorials, Tips &#38; Help Adobe Creative Suite CS3 through CS6</description>
	<lastBuildDate>Thu, 02 Feb 2012 21:34:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Using Google Fonts with Dreamweaver</title>
		<link>http://www.dwcourse.com/dreamweaver/using-google-fonts-with-dreamweaver.php</link>
		<comments>http://www.dwcourse.com/dreamweaver/using-google-fonts-with-dreamweaver.php#comments</comments>
		<pubDate>Thu, 02 Feb 2012 18:53:42 +0000</pubDate>
		<dc:creator>dwcourse</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.dwcourse.com/?p=2533</guid>
		<description><![CDATA[Since the dawn of the web, designers have been frustrated by the lack of font choices. There were work-arounds, such as using images rather than html text or font replacement scripts such as sIFR or Cufón for display fonts. But they weren’t very satisfactory. Today, a number of solutions exist including Google Fonts, Typekit (recently [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><img class="alignright size-full wp-image-2544" title="google-fonts" src="http://www.dwcourse.com/wp-content/uploads/2012/02/google-fonts.jpg" alt="Google Fonts Logo" width="100" height="100" />Since the dawn of the web, designers have been frustrated by the lack of font choices. There were work-arounds, such as using images rather than html text or font replacement scripts such as sIFR or Cufón for display fonts. But they weren’t very satisfactory.</p>
<p>Today, a number of solutions exist including Google Fonts, Typekit (recently acquired by Adobe) and the CSS @font-face property.  In this article I’ll explain how you can use Google Fonts (which actually implements @font-face for you) in your Dreamweaver page.<span id="more-2533"></span></p>
<h2> Adding Google Fonts to Your Site</h2>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-2535" title="Google Fonts Listings" src="http://www.dwcourse.com/wp-content/uploads/2012/02/Screen-Shot-2012-02-02-at-12.10.30-PM-21.png" alt="Google Fonts Listings" width="600" height="375" /> <em>Figure 1: Google Fonts listings page</em></p>
<p>Visit the Google Font listings (fig. 1.) at <a href="http://www.google.com/webfonts#ChoosePlace:select">http://www.google.com/webfonts#ChoosePlace:select</a> and choose the font(s) you wish to use on your page. <em></em></p>
<p><em>For this example we will use the font Asap.</em></p>
<p>You can narrow you font search by using the search function or the various filters in the left sidebar.</p>
<p>Many of the fonts have multiple styles (bold, italic, etc) associated with them. You can show or hide the styles by toggling the <strong>See all styles/Hide all styles</strong> button to the right of the font listings.</p>
<p>When you find a font you want to use, select the Quick-use button. You will be taken to a new page verify your settings and copy the code needed to load the font into your page.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-2536" title="Google Fonts verify and copy code" src="http://www.dwcourse.com/wp-content/uploads/2012/02/Screen-Shot-2012-02-02-at-12.14.19-PM-2.png" alt="Google Fonts verify and copy code" width="600" height="375" /><em>Figure 2: Verify your setting and copy the code</em></p>
<ol>
<li><strong>Choose the styles you want:</strong> If there is more than one style (Asap has four) associated with your font, make sure only the styles you wish to use are selected. <em>For our font, Asap, we’ll choose Normal 400 and Bold 700.<br />
</em><strong>Note:</strong> As with any other resource (such as images), fonts take time to download so it’s best not to include any styles you won’t be using on the page and to use all downloadable fonts with discretion. Google’s Page Load Indicator will give you an indication of the impact your font choices will have on your page load time.</li>
<li><strong>Choose the character sets you want:</strong> In some cases additional character sets (foreign language or extended character sets) will be available. Again, choose only the character sets you will actually use. <em>For Asap both Latin and Latin Extended are available. We’ll only use Latin.</em></li>
<li><strong>Add the code to your website</strong>(choose one of the two options below)</li>
<ol type="A">
<li><strong>To embed the font in a single HTML page</strong><em><br />
Google offers three ways for you to add fonts to your website. The default choice is the Standard method, which we’ll use here.</em></li>
<ol>
<li>With the <strong>Standard</strong> tab selected, copy the code from the “Add this code to your website:” box to your clipboard.</li>
</ol>
</ol>
</ol>
<pre> &lt;link href='http://fonts.googleapis.com/css?family=Asap:400,700' rel='stylesheet' type='text/css'&gt;</pre>
<ol>
<ol>
<ol start="2">
<li> In Dreamweaver open the HTML document where you wish to use the font.</li>
<li>Paste the code from your clipboard into the &lt;head&gt; of the HTML document. The location within the &lt;head&gt; is not critical but for consistency, I prefer to paste the code directly below the &lt;title&gt; tag.</li>
</ol>
</ol>
</ol>
<ol>
<ol type="A" start="2">
<li><strong>To embed the font in a style sheet<br />
</strong><em>This will allow the font to be accessed by multiple pages.</em></li>
<ol>
<li>On the Google Fonts Quick-use page under “Add this code to your website:” select the @import tab.</li>
<li>Copy the code from the “Add this code to your website:” box to your clipboardA</li>
</ol>
</ol>
</ol>
<pre>@import url(http://fonts.googleapis.com/css?family=Asap:400,700);</pre>
<ol>
<ol>
<ol start="3">
<li>In Dreamweaver open the CSS document where you wish to add the font.</li>
<li>Paste the code from your clipboard into the top of the page directly below the “@charset "UTF-8";” declaration.</li>
</ol>
</ol>
</ol>
<h2><strong>Using the fonts in your CSS:</strong></h2>
<p><strong></strong>You can now use the font in your CSS style rules as you would any other font.  The simplest method is to copy and paste the code provided directly into your CSS.</p>
<pre>font-family: Asap, sans-serif;</pre>
<h3><strong>Notes:</strong></h3>
<ul>
<li>Google fonts <strong>will not</strong> display in Dreamweaver’s Design View but will display in Live View or when previewed in the Browser.</li>
<li>Some font names (those with spaces or special characters in the name – such as ‘Times New Roman’) must be surrounded by single or double quotes.</li>
<li>It is important to provide a fall-back font option (we used sans-serif above) in case the Google font fails to load.</li>
<li>Dreamweaver does not automatically add your Google Fonts to its font selection menus (although they can be added using the <strong>Edit Font List</strong> option in the font selection menu). So, wherever you specify Google Fonts, you’ll need to type in the name.</li>
<li>If you do not specify a font-weight, the default (regular) weight will be used. You can specify the font weight using words or numbers as below.</li>
</ul>
<pre>font-family: Asap, sans-serif; font-weight: regular;
font-family: Asap, sans-serif; font-weight: 400;
font-family: Asap, sans-serif; font-weight: bold;
font-family: Asap, sans-serif; font-weight: 700;</pre>
<h3><strong>Google Fonts tip</strong></h3>
<ul>
<li>You can save a collection of fonts for future review by clicking the <strong>Add to Collection</strong> button to the right of the font display.</li>
<li>To review your collection, click the <strong>Review</strong> button at the bottom right of the page.</li>
<li>To save you collection for future reference click the <strong>Bookmark your Collection</strong> link at the upper-right of the font-listing page. Then copy the link and save it so that you can use it to access your collection in the future.</li>
</ul>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Using+Google+Fonts+with+Dreamweaver+http%3A%2F%2Fbit.ly%2FArtBSG" title="Post to Twitter"><img class="nothumb" src="http://www.dwcourse.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.dwcourse.com/dreamweaver/using-google-fonts-with-dreamweaver.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using the font tag in Dreamweaver CS4</title>
		<link>http://www.dwcourse.com/dreamweaver/font-tag-dreamweaver-cs4.php</link>
		<comments>http://www.dwcourse.com/dreamweaver/font-tag-dreamweaver-cs4.php#comments</comments>
		<pubDate>Mon, 03 Aug 2009 23:26:48 +0000</pubDate>
		<dc:creator>dwcourse</dc:creator>
				<category><![CDATA[Dreamweaver Tips]]></category>
		<category><![CDATA[CS4]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://dwcourse.com/?p=390</guid>
		<description><![CDATA[A lot of folks are whining and moaning because Dreamweaver CS4 now enforces the use of CSS styles rather than HTML attributes for formatting. One of the things this means is no more font tag (and its related attributes). That's a good thing in my book. No more code like this: &#60;p&#62;&#60;font color="#003399" size="5" face="Tahoma, [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>A lot of folks are whining and moaning because Dreamweaver CS4 now enforces the use of CSS styles rather than HTML attributes for formatting. One of the things this means is no more font tag (and its related attributes).</p>
<p>That's a good thing in my book. No more code like this:</p>
<p>&lt;p&gt;&lt;font color="#003399" size="5" face="Tahoma, Geneva, sans-serif"&gt;paragraph 1…&lt;/font&gt;&lt;/p&gt;</p>
<p>&lt;p&gt;&lt;font color="#003399" size="5" face="Tahoma, Geneva, sans-serif"&gt;paragraph 2…&lt;/font&gt;&lt;/p&gt;</p>
<p>&lt;p&gt;&lt;font color="#003399" size="5" face="Tahoma, Geneva, sans-serif"&gt;paragraph 3…&lt;/font&gt;&lt;/p&gt;</p>
<p>Well you get the idea!</p>
<p>But CS4 has a dirty little secret and , against my better judgement, I'm going to reveal it:</p>
<p><strong> IT'S STILL POSSIBLE TO USE THE DREADED FONT TAG!<span id="more-390"></span></strong></p>
<p>The secret is CS4's Wrap Tag… and Edit Tag… commands, both of which are accessed from a pop-up menu that appears when you right+click on a selection in the Design window. Here's how it works:</p>
<ol>
<li>In the Design window select some text.</li>
<li>Right+click on your selection and select Wrap Tag… from the pop-up menu.</li>
<li>In the Tag Editor dialog type in &lt;font&gt; (or choose it from the tag list) and press the Enter key twice (once to "set" th tag and once to dismiss the dialog). The text will remain  selected.</li>
<li> Right+click once again on your selection and select Edit Tag &lt;font&gt;… from the pop-up menu</li>
<li>In the Tag Editor - font dialog, make your selections for Face, Size and Color and click OK.</li>
</ol>
<p>If you look at your code you'll see something like this (shudder):</p>
<p>&lt;font color="#FF0000" size="+2" face="Tahoma, Geneva, sans-serif"&gt;content&lt;/font&gt;</p>
<p>That's all there is to it.</p>
<p>To edit an existing font (or some other HTML) tag:</p>
<ol>
<li>Select the entire tag by clicking within the tag in the Design window AND then selecting the tag from the tag listing in the status bar at the bottom of the Document window..</li>
<li>Right+click on your selection and select Edit Tag &lt;selected tag&gt;… from the pop-up menu.</li>
<li>Edit the tag attributes in the Tag Editor dialog and click OK.</li>
</ol>
<p>Just don't tell anyone I told you how to do it.</p>
<p><em>As always, feel free to comment here or <a href="mailto:%20jcook@DWcourse.com">email me</a> with your questions, comments and suggestions. And please follow me on Twitter (<a href="http://twitter.com/dwcourse">DWcourse</a>) for additional Dreamweaver news and tips.</em></p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Using+the+font+tag+in+Dreamweaver+CS4+http%3A%2F%2Fbit.ly%2Fve1sFs" title="Post to Twitter"><img class="nothumb" src="http://www.dwcourse.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.dwcourse.com/dreamweaver/font-tag-dreamweaver-cs4.php/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>FireFox and the Webdings font</title>
		<link>http://www.dwcourse.com/dreamweaver/firefox-webdings.php</link>
		<comments>http://www.dwcourse.com/dreamweaver/firefox-webdings.php#comments</comments>
		<pubDate>Mon, 13 Jul 2009 14:50:53 +0000</pubDate>
		<dc:creator>dwcourse</dc:creator>
				<category><![CDATA[Tip of the Day]]></category>
		<category><![CDATA[FireFox]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[Webdings]]></category>

		<guid isPermaLink="false">http://dwcourse.com/?p=339</guid>
		<description><![CDATA[I recently receved this question from John via email: You stated that Webdings were part of the Microsoft Core set of fonts that are pretty safe to use for web design….Pat had been saying for awhile that her hearts were not working on her website … and I would go and check and they were [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I recently receved this question from John via email:</p>
<blockquote><p>You stated that Webdings were part of the Microsoft Core set of fonts that are pretty safe to use for web design….Pat had been saying for awhile that her hearts were not working on her website … and I would go and check and they were fine. When you mentioned the other day about viewing sites in different browsers,  I opened in FireFox and there was the problem. It turns her webding hearts into Y’s…</p>
<p>I am going to have to remove them … would you agree?</p></blockquote>
<p>John, thanks for pointing this issue out. Since I don't normally use Webdings, I hadn't been aware of it.</p>
<p>Beginning with version 3, FireFox has made changes to the way it displays font characters that essentially break the Webdings font. There are valid reasons for doing this but so far, those reasons haven't convinced any of the other major browser makers (where Webdings continues to work).</p>
<p>The bottom line is this. Webdings is a dozen years old and encoded in a way that doesn't play well with emerging web standards. Given that fact it's unlikely that FireFox will change its ways and return to supporting WebDings. It's also likely that other browsers will also eventually "break" Webdings. So, if you've been using the font in your web pages, it's probably time to come up with another solution.</p>
<p>Since Webdings is essentially a graphic font the simplest solution is - as John suggests - to instances where you've used the font with images (and don't forget to include a descriptive alt tag).</p>
<p>It's just another case of evolving web technologies and standards rendering our "old" ways of doing things obsolete (think replacing HTML attributes with CSS styles and tables with divs) and it won't be the last!</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=FireFox+and+the+Webdings+font+http%3A%2F%2Fbit.ly%2FvBtOpI" title="Post to Twitter"><img class="nothumb" src="http://www.dwcourse.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.dwcourse.com/dreamweaver/firefox-webdings.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

