|
|
|
|
|
- Overview
- How to?
- Managing fonts
- Creating a font set
- Importing a font
Font set (WEBDEV website)
Browsers support the most common fonts by default: Arial, Verdana, etc. WEBDEV gives you the ability to use custom fonts that differ from the ones proposed by default. Managing fonts When creating or modifying a style, you have the ability to select a font among the standard fonts. You also have the ability to select new fonts. These fonts can come from: - the development computer (these fonts have been installed on your computer in Windows).
- a download operation (downloaded Google fonts for example).
Importing a font To import a new font: - In the window for managing font sets, click "New".
- In the wizard that starts, select "Downloadable font". Proceed to the next step of the wizard.
- In the window that appears, click "Import a font".
- The font import wizard opens.
- Select the mode for importing the font:
- Import a Google Web Fonts font:
- The wizard proposes the list of Google fonts to import.
- Select the requested fonts. You have the ability to view a sample of the font by double-clicking its name.
- Validate. The fonts are downloaded and installed on the current computer.
- Import a font from files: The wizard allows you to select the files corresponding to the different font formats:
- TrueType file
- Embedded Open Type file
- Web Open Format file
- Scalable Vector Graphics file
- Validate. The selected fonts are installed.
Remarks: - Make sure that the font files you use are royalty-free, or that you have a license to distribute them.
- If you import a font and create a font set, the files corresponding to this font are copied into the "<Project_name>_WEB\Styles\fonts" subdirectory. Therefore, they will be automatically taken into account when installing the site.
Warning: Font set containing imported fonts: Before using a downloaded font, it must be integrated into a set of similar fonts. If the font set contains only the downloadable font, the following case can be observed: if the font is not present on the browser: - the Times font is displayed by default while the requested font is downloaded.
- if the font cannot be downloaded, the Times font is still displayed.
To avoid displaying an unwanted font, it is advisable to create a font set containing the following elements: - the fonts to download,
- one or more substitution fonts corresponding to the fonts of main systems,
- one or more fonts corresponding to the most common fonts,
- the associated type of font families. The list of types of font families is as follows:
- "cursive": handwritten style,
- "fantasy": like Impact,
- "monospace" like Courier,
- "sans-serif" like Arial,
- "serif" like Times.
If the first font is not found, the first one found in the list and on the computer will be used. Example: The following font set is defined: "Open Sans, Segoe UI, Arial, Helvetica, sans-serif".. If the "Open Sans" font is not found, the "Segoe UI" font will be used, otherwise the Arial or Helvetica font will be used. These fonts are well-know fonts to have correct alternatives. If these two fonts are not found, the first available font without serif will be used.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|