C.10.5.1.3.12 Text Style Sequence

Text Style Sequence (0070,0231) contains the text style for each text object. This attribute gives recommendations on how the annotation text should be rendered at the display.

Table C.10-6 specifies the attributes that describe Text Style Sequence Macro.

Table C.10-6 TEXT STYLE SEQUENCE MACRO ATTRIBUTES

Attribute Name Tag Type Attribute Description
Text Style Sequence (0070,0231) 3 Sequence that describes the text style. Only a single item shall be included in this sequence.
>Font Name (0070,0227) 3 Font name in a standard type.
>Font Name Type (0070,0228) 1C Defined term: ISO_32000 Required if Font Name (0070,0227) is present. Note: This is the font naming system used by Adobe PDF and defined in ISO/IEC 14496-22.
>CSS Font Name (0070,0229) 1 Generic font name as defined within CSS (Cascading Style Sheets). Default fontname, if the font specified in Font Name (0070,0227) is not present or can not be rendered.
>Text Color CIELab Value (0070,0241) 1 A default color triplet value used to specify the text color in which it is recommended that the text be rendered on a color display. The units are specified in PCS-Values, and the value is encoded as CIELab. See C.10.7.1.1. This value shall override the Graphic Layer Recommended Display CIELab Value (0070,0401).
>Horizontal Alignment (0070,0242) 3 Specifies the horizontal position of the text relative to the vertical edges of the bounding box. Horizontal Alignment shall override the Bounding Box Text Horizontal Justification (0070,0012) of the Text Object Sequence Item. See C.10.5.1.3.12.1 Enumerated Values: LEFT CENTER RIGHT Required if Bounding Box Top Left Hand Corner (0070,0010) is present.
>Vertical Alignment (0070,0243) 3 Specifies the vertical position of the text relative to the horizontal edges of the bounding box. See C.10.5.1.3.12.1 Enumerated Values: TOP CENTER BOTTOM Required if Bounding Box Top Left Hand Corner (0070,0010) is present.
>Shadow Style (0070,0244) 1 The shadow style of the text to be displayed. Enumerated Values: NORMAL the shadow is drawn on 1 side of the contour of the text object OUTLINED the shadow is drawn around the contour of the text object OFF no shadow See C.10.5.1.3.13.1
>Shadow Offset X (0070,0245) 1 Floating point value that defines the shadow offset in X direction in Anchor Point Annotation Units (0070,0004) if used in Text Object Sequence Item or in Graphic Annotation Units (0070,0005) if used in Graphic Object Sequence Item. See C.10.5.1.3.13.1
>Shadow Offset Y (0070,0246) 1 Floating point value that defines the shadow offset in Y direction in Anchor Point Annotation Units (0070,0004) if used in Text Object Sequence Item or in Graphic Annotation Units (0070,0005) if used in Graphic Object Sequence Item. See C.10.5.1.3.13.1
>Shadow Color CIELab Value (0070,0247) 1 A color triplet value used to encode the Shadow Color. The units are specified in PCS-Values, and the value is encoded as CIELab. See C.10.7.1.1.
>Shadow Opacity (0070,0258) 1 Encodes the shadow opacity. The value is encoded as floating point alpha value (0.0-1.0).
>Underlined (0070,0248) 1 Specifies whether or not the text shall be rendered underlined. Enumerated Values: Y = yes N = no
>Bold (0070,0249) 1 Specifies whether or not the text shall be rendered in bold. Enumerated Values: Y = yes N = no
>Italic (0070,0250) 1 Specifies whether or not the text shall be rendered italicized. Enumerated Values: Y = yes N = no

C.10.5.1.3.12.1 Text Alignment

The Horizontal Alignment (0070,0242) and the Vertical Alignment (0070,0243) define the position of the text relative to the bounding box of the text object (see Figure C.10.5-10).

[pic]

Figure C.10.5-10 Example of horizontal and vertical CENTER alignment