23.11.2012 Views

2 Visual Components Manuals

2 Visual Components Manuals

2 Visual Components Manuals

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Introduction to <strong>Visual</strong> <strong>Components</strong> 2.3<br />

All fonts available on the system are displayed in the listbox. A specific font size can be selected with 'Size'. The<br />

'Pixel Size' line specifies the font size in pixels. This pixel size is very important for the use of fonts in a <strong>Visual</strong><br />

<strong>Components</strong> application.<br />

The font can also be shown in bold or italic type. 'Char set' defines the character set for the font to be used.<br />

Text entered in the 'Sample String' box is also shown in the preview window. In this way, the appearance of the<br />

text can be checked.<br />

The 'Character Optimizing' option only transfers characters (from that font) which are used in the text. This<br />

saves memory on certain target systems. This option is not currently supported. The storage requirements of<br />

a character set can be improved when UNICODE character sets are used later.<br />

4.3.10.3 Changing Fonts<br />

Double−clicking on a font opens its selection and configuration dialog box. All settings can be changed as<br />

described in the Inserting Fonts section.<br />

Note:<br />

Your project is affected if fonts are changed which are already used in your pictures. The apperance changes.<br />

Texts can overlap or the length of a text can exceed the display size. In this case, an error message appears.<br />

The font will not be changed.<br />

The new size should not exceed the old. This prevents any potential display problems.<br />

4.3.10.4 Deleting Fonts<br />

Basic rule: All fonts which are not used can be deleted.<br />

Fonts which are used cannot be deleted. The respective text must first be set to another font. Then the font can<br />

be deleted.<br />

4.3.10.5 B&R, Standard Fonts, and Windows...<br />

B&R supplies separate fonts for individual panels. These fonts are adapted to the respective panel hardware.<br />

Some of these fonts are also stored in the panel hardware (Flash or ROM memory).<br />

The characters from 0 to 127 in these fonts correspond to the ASCII standard. Characters above 127 are not the<br />

same on all panels.<br />

Windows fonts also have different characters on the positions larger than 127. Only UNICODE character sets<br />

are subject to an exact world wide standard.<br />

The special characters of a certain font can be viewed and selected using the CharBox.<br />

The entire character set of a font is displayed in the CharBox. The number in the dialog box corresponds to the<br />

character offset in the character set.<br />

Due to the fact that characters over 127 do not correspond to a uniform standard, sometimes display problems<br />

occur in the editor when using particular fonts. On the target system, the correct character from the<br />

corresponding character set should always be seen.<br />

These display problems result from the fact that Windows controls are used in the editor. These are operated<br />

with the character font defined in the Windows system configuration.<br />

By changing the system font, the editor can be specialized to a certain character set.<br />

4.3.10.6 More Information About Fonts<br />

4.3.10.6.1 Freeware Fonts<br />

Many freeware fonts can be found on the Internet. Before using such fonts, check whether commercial use is<br />

really free of costs and obligations.<br />

Here are a few links to freeware font sites.<br />

4.3.10.3 Changing Fonts 295

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!