|
- 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 will be available when printing with the 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. - 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) | iRoman | Roman font (exotic font) | iSwiss | Swiss font (quality font) | iDefault | Any font ("Don't care") |
- the size (of the characters)
- the attributes (bold, italic, underlined)
Constants for the attributes:
| | iNormal (default value) | Standard font, without attributes | iBold | Bold font | iUnderlined | Underlined font | iItalic | Italic font | iStrikeOut | Strikeout font | iCondensed | Condensed characters | iExtended | Extended characters | iLarge | Large characters |
- 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, all you have to do is use iFont.
This page is also available for…
|
|
|
| |
| Click [Add] to post a comment |
|
| |
|
| |
| |
| |
| |
| |
| |
| | |
| |