Promotic

Font in the PROMOTIC system

The way of entering and description of working with font in the PROMOTIC system.

Font in the CSS format

Font is entered as a text string in the format: "font-style font-variant font-weight font-size font-family" (e.g. "normal normal 400 13px 'Times New Roman'"). Required entries are font-family and font-size, other entries may be omitted. Items in the string can be omitted from the left. It is not possible to omit inside or from the right.
 
The meaning of individual items:
font-style - Specifies the font style.
normal (default) - normal font
italic - italic
oblique - tilted letters
font-variant - Specifies the font variant.
normal (default) - normal font
small-caps - capitals (capital letters reduced to the lower case height)
font-weight - Specifies the font boldness.
100
200
300
400 (default) - normal font
500
600
700 - bold font
800
900
font-size - Specifies the font size (in pixels).
font-family - Specifies the font family (e.g. Arial, Verdana). If there is a space in the font name, then the name must be enclosed in single quotes ('Times New Roman').
 
Font in this format can be set/read from properties of e.g. these objects:
PmForm.TitleFont
PmForm.BodyFont
PmfObject.TitleFont
PmfObject.BodyFont
PmfTableArea.Font
PmfTableColumn.Font
PmfTableRow.Font
PmfTableCell.Font
CanvasCtx.font
 
In the development environment PROMOTIC the identifier of the font can be entered e.g. into the following configurators:
Font for displaying (PmgAlarmHistoryViewer > Appearance)
Font for displaying (PmgAlarmStateViewer > Appearance)
Font for displaying (PmgEventViewer > Appearance)
Font (PmgTrendViewer > Trends)
Font (PmgTrendViewer > Appearance > Table mode)
Font: (PmgTrendViewer > Appearance > Time scale)
Font: (PmgTrendViewer > Appearance > Value scale)
Font (PmgWTable > Table)

FontId - identifier of the font

Font is entered as identifier of the font in the list of fonts of the application (For example: PmMiddle, PmSmall, PmBig). Each identifier corresponds to one font registered in the "Registered font manager of the application" window.
 
Identifier of the font can be set/read from properties of e.g. these objects:
PmgString.FontId
PmgNumber.FontId
 
In the development environment PROMOTIC the identifier of the font can be entered e.g. into the following configurators:
Font (PmgString > Text)
Font (PmgNumber > Number)
Font (PmgButton > Button)
Font (PmgButtonState > State)
Font (PmgRadioButton > Button)
Font (PmgWCheck > Checkbox)
Font (PmgWCombo > Combo)
Font (PmgWEdit > Edit)
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
Navigation:
 
 
- Font in the PROMOTIC system
 
 
- SVG
© MICROSYS, spol. s r.o.