Fonts
In templates for personalized customer communications you can use the fonts that are provided with the Designer, as well as imported fonts.
Applying a font
To apply a particular font to a piece of text, you can:
- Select some text, or an element that contains text (see: Selecting an element) and select a font from the Fonts drop-down on the toolbar.
- Use the name of the font in a CSS rule, for example:
body { font-family: Verdana, Arial, sans-serif; }
Instead of the body tag, any element that can have the CSS property ‘font-family’ can be used. Make sure that the rule is applied to the text that you wanted to apply the font to; see Styling with CSS. Note: The reason for specifying more than one fonts in a style sheet for web pages is that the font might not be available on the device on which the web page is viewed. Order the font names by preference. The last one should be generic font family (either serif or sans-serif).
Importing a font
To import a font into a template:
- Drag the appropriate font files into the Fonts folder on the Resources pane.
When text is displayed in an imported font, the Designer can mimic the bold and italic versions of that font. If you have separate files for the bold, italic and possibly other versions of a font, you can make the Designer use the appropriate files to style text. To do this:
- Import the files for the bold, italic and/other versions of the font into the Fonts folder.
- On the Edit menu, click Fonts, to open the Font Manager.
- Select the normal version of the imported font and duplicate it using the Duplicate button, once for each version of the font.
- For each of the duplicates, combine a font effect with a file:
- Click a duplicate and click the button Edit. Note: don’t change the duplicate’s name!
- Select the appropriate font effect (font-weight and/or font-style).
- Check the file or files the Designer should use for that effect. Per file type, one file can be checked.
- Close the Font Manager.
The Designer currently supports 4 font types: TTF, OTF, WOFF, EOT and SVG.
When you are creating a Web template, keep in mind that the different font types are not supported by all clients; for instance, EOT and SVG are used only by Explorer and Safari, respectively.
If you're creating an Email template, it's better to import several types of the same font, in order for any client to see the appropriate fonts.
In the case of a Print you do not need to provide alternative fonts, because the output is not displayed using a font from the device on which the output is read.
Font software may have specific restrictions for copying and redistribution. Please consult the license agreement for each font vendor before using it in a template. It is your responsibility to comply with the requirements of third-party agreements.
Applying an imported font
Once a font is imported, it is automatically added to the Fonts drop-down on the toolbar.
It can also be used in the style sheets, even in combination with other fonts, for example: body { font-family: 'MyWebFont', Arial, sans-serif; }
|
|