IfcTextStyleWithBoxCharacteristics

Definition from IAI: The text style with box characteristics allows the presentation of annotated text by specifying the characteristics of the character boxes of the text and the spacing between the character boxes.

> NOTE The IfcTextStyleWithBoxCharacteristics is an entity that had been adopted from ISO 10303, Industrial automation systems and integration—Product data representation and exchange, Part 46: Integrated generic resources: Visual presentation.

The IfcTextStyleWithBoxCharacteristics is mainly used to provide some compatibility with ISO10303. Its usage is restricted to monospace text fonts (having uniform character boxes) and simple vector based text fonts. For true text fonts however the use of IfcTextStyleTextModel is required.

Illustration from ISO 10303-46, page 91 | Illustration from IAI

> NOTE Corresponding STEP name: text_style_with_box_characteristics. Please refer to ISO/IS 10303-46:1994, p. 123 for the final definition of the formal standard. The four optional attributes BoxHeight, BoxWidth, BoxSlantAngle, BoxRotateAngle are included directly at the entity, and are not handled through the box_characteristic_select selecting box_height, box_width, box_slant_angle, box_rotate_angle, each being defined types. The CharacterSpacing attribute has been added from ISO/IS 10303-46:1994 entity text_style_with_spacing.

> HISTORY New entity in Release IFC2x Edition 2.
> IFC2x Edition 3 CHANGE The attribute item CharacterSpacing has been added.

EXPRESS specification:

ENTITY IfcTextStyleWithBoxCharacteristics;
BoxHeight | : | OPTIONAL IfcPositiveLengthMeasure;
BoxWidth | : | OPTIONAL IfcPositiveLengthMeasure;
BoxSlantAngle | : | OPTIONAL IfcPlaneAngleMeasure;
BoxRotateAngle | : | OPTIONAL IfcPlaneAngleMeasure;
CharacterSpacing | : | OPTIONAL IfcSizeSelect;
END_ENTITY;

Attribute definitions:

BoxHeight | : | It is the height scaling factor in the definition of a character glyph.
BoxWidth | : | It is the width scaling factor in the definition of a character glyph.
BoxSlantAngle | : | It indicated that the box of a character glyph shall be represented as a parallelogram, with the angle being between the character up line and an axis perpendicular to the character base line.
BoxRotateAngle | : | It indicated that the box of a character glyph shall be presented at an angle to the base line of a text string within which the glyph occurs, the angle being that between the base line of the glyph and an axis perpendicular to the baseline of the text string.
CharacterSpacing | : | The distance between the character boxes of adjacent characters.

Inheritance graph

ENTITY IfcTextStyleWithBoxCharacteristics;
ENTITY IfcTextStyleWithBoxCharacteristics;
BoxHeight | : | OPTIONAL IfcPositiveLengthMeasure;
BoxWidth | : | OPTIONAL IfcPositiveLengthMeasure;
BoxSlantAngle | : | OPTIONAL IfcPlaneAngleMeasure;
BoxRotateAngle | : | OPTIONAL IfcPlaneAngleMeasure;
CharacterSpacing | : | OPTIONAL IfcSizeSelect;
END_ENTITY;