|
|
|
|
|
- Overview
- Print font
- Dynamic font
- Printer font
Step 2: Creating print fonts
This step allows you to define and choose the different fonts that will be used in the printed document. You can choose and define: - specific print fonts: these fonts can only be used when printing with WLanguage functions.
- dynamic fonts, that can be used on the screen (in windows, drawings) as well as when printing in WLanguage.
This step is optional. The default font is used if no font is specified for the print job. - Font: Don't care,
- Font 0,
- size: 12 pica,
- normal style,
- color: black.
Caution: You can only print by using the printer fonts. If the font used is not available, the closest font will be used.
The print fonts are created by iCreateFont. This function allows you to choose: - the typeface (name and family)
Constants for the typeface:
| | iCourier | Courier font (fixed character width) | iDefault | Any font ("Don't care") | iRoman | Roman font (exotic font) | iSwiss | Swiss font (quality font) |
- the size (of the characters)
- the attributes (bold, italic, underlined)
Constants for the attributes:
| | iBold | Bold font | iCondensed | Condensed characters | iExtended | Extended characters | iItalic | Italic font | iLarge | Large characters | iNormal (default value) | Standard font, without attributes | iStrikeOut | Strikethrough font | iUnderlined | Underlined font |
- the color (see the preset constants)
The different parameters of the font are defined via several constants. Each font is associated with a number. To choose the print font, simply use iFont.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|