Class Ifc4x2::IfcFontVariant

Nested Relationships

This class is a nested type of Struct Ifc4x2.

Inheritance Relationships

Base Type

Class Documentation

class Ifc4x2::IfcFontVariant : public IfcUtil::IfcBaseType

Definition from CSS1 (W3C Recommendation): The font-style property selects between normal and small-caps within a font family. Values are:

normal small-caps

Another type of variation within a font family is the small-caps. In a small-caps font the lower case letters look similar to the uppercase ones, but in a smaller size and with slightly different proportions. The ‘font-variant’ property selects that font.

A value of ‘normal’ selects a font that is not a small-caps font, ‘small-caps’ selects a small-caps font. It is acceptable (but not required) in CSS1 if the small-caps font is a created by taking a normal font and replacing the lower case letters by scaled uppercase characters. As a last resort, uppercase letters will be used as replacement for a small-caps font.

NOTE Corresponding CSS1 definitions is font-variant.

HISTORY New type in IFC2x3.

Public Functions

const IfcParse::type_declaration &declaration() const
IfcFontVariant(IfcEntityInstanceData *e)
IfcFontVariant(std::string v)
operator std::string() const

Public Static Functions

const IfcParse::type_declaration &Class()