Learn how to use free and web-safe Edge Web Fonts in Dreamweaver. Edge Web Fonts are a collection of fonts drawn from Adobe's Typekit and Google Fonts.

You can add Adobe Edge Web Fonts to the Font list in Dreamweaver. In the Font list, Dreamweaver supported font stacks are listed first ahead of Web fonts and Edge Web Fonts.

Add Adobe Edge Web Fonts to the Font list

You can use Adobe Edge Web Fonts in your web pages. When an Edge font is used in a page, an additional script tag is added to reference a JavaScript file. This file downloads the font from the Creative Cloud server directly to the browser’s cache.

When displaying the page, fonts are downloaded from the Creative Cloud server even if the font is available on the user's computer.

For example, a Script tag that uses only the font "Abel" has the format:

<!--The following script tag downloads a font from the Adobe Edge Web Fonts server for use within the web page. We recommend that you do not modify it.-->

<script>var adobewebfontsappname ="dreamweaver"</script>

<script src="http://use.edgefonts.net/abel:n4:default.js" type="text/javascript"></script>

  1. Select Modify > Manage Fonts.

  2. The Adobe Edge Fonts tab displays all the Adobe Edge Web Fonts that you can add to the Font list.

  3. To find and add fonts from this list to the Font list, do the following:

    • Click the font that you would like to add to the font list.
    • To deselect a font, click the font again.
    • Use filters to shortlist preferred fonts. For example, to shortlist fonts of the Serif type, click .
    • You can use multiple filters. For example, to shortlist filters of Serif type that can be used for paragraphs, click and .
    • To search a font by its name, enter its name in the search box.
  4. Click to filter the fonts that you have selected.

  5. Click Done.

  6. Open the Font list from any location. For example, you could use the Font list in the CSS section of the Properties panel.

    In the Font list, the Dreamweaver font stacks are listed ahead of the web fonts. Scroll down the list to locate your selected fonts.

Add local web fonts to the Font list

You can add web fonts from your computer to the Font list in Dreamweaver. The added fonts are reflected in all Font menus in Dreamweaver. Fonts of the type EOT, WOFF, TTF, and SVG are supported.

  1. Select Modify > Manage Fonts.

  2. In the dialog that appears, click the Local Web Fonts tab.

  3. Click the Browse button corresponding to the font type that you wish to add. For example, if your font is in the EOT format, click the Browse button corresponding to EOT Font.

  4. Navigate to the location on your compuer containing the font. Select the file and open it. If other formats for the font exist in that location, they are automatically added to the dilaog. The Font Name is also automatically picked from the name of the font.

  5. Select the option that asks you to confirm that you have licensed the font for website use.

  6. Click Done. The list of fonts is displayed in Current List of Local Fonts.

    Bemærk:

    To remove a web font from the font list, select the font in Current List of Local Fonts, and click Remove.

Create custom font stacks

A font stack is a list of fonts in a CSS font-family declaration. Using the Custom Font Stacks tab of the Manage Fonts dialog, you can do the following:

  • Add new font stacks using the “+” button.
  • To edit existing font stacks, select the font stack from the Font List. Use the “>>” and "<<" buttons to update the list of Chosen Fonts.
  • Delete existing font stacks using the “-“ button.
  • Reorder stacks using the arrow buttons.

Preview inserted fonts

You cannot preview Edge and Web fonts in the Design view. Switch to Live view or preview the page in a browser to preview them.

Update web font script tag across files

When you update the font in a CSS file that is linked to multiple HTML files, you are prompted to update the script tag in the related HTML files. When you click Update, the script tags in all the affected HTML files is updated.

Update web font script tag on a page

Select Commands > Clean Up Web Fonts Script Tag (Current Page) to update any web fonts on the web page that are not reflected in the script tag.

Dette arbejde har licens under en Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Opslag på Twitter™ og Facebook er ikke omfattet af vilkårene for Creative Commons.

Juridiske meddelelser   |   Politik for beskyttelse af personlige oplysninger online