IfcFontStyle

BACnet MVD

#### IfcFontStyle

Natural language names

| Schriftstil
| Font Style
| Style de police

Change log

Item | SPF | XML | Change | Description
--- | --- | --- | --- | ---
IFC2x3 to IFC4
IfcFontStyle |  |  | MOVED | Schema changed from IFCPRESENTATIONRESOURCE to IFCPRESENTATIONAPPEARANCERESOURCE.

##### Semantic definitions at the type

Type definition

The IfcFontStyle type defines whether the normal, the italic or the oblique faces within a font family shall be used. Values are:

- normal
- italic
- oblique

> NOTE Definition according to Cascading Style Sheets, level 1
> A value of 'normal' selects a font that is classified as 'normal' in the user agents font database, while 'oblique' selects a font that is labeled 'oblique'. A value of 'italic' selects a font that is labeled 'italic', or, if that is not available, one labeled 'oblique'. The font that is labeled 'oblique' in the user agents font database may actually have been generated by electronically slanting a normal font. Fonts with Oblique, Slanted or Incline in their names will typically be labeled 'oblique' in the user agents font database. Fonts with Italic, Cursive or Kursiv in their names will typically be labeled 'italic'.

> NOTE Type adopted from font-style defined in CSS-1.

> HISTORY New type in IFC2x3.

Formal Propositions

Rule | Description
--- | ---
WR1 | Allowable values for font style.

##### Formal representations

XML Specification
`<xs:simpleType name="IfcFontStyle">
<xs:restriction base="xs:normalizedString"/>
</xs:simpleType>
`
EXPRESS Specification
`TYPE IfcFontStyle = STRING;
WHERE
WR1 : SELF IN ['normal','italic','oblique']
END_TYPE;

EXPRESS-G diagram

`

References: IfcTextStyleFontModel

Link to this page