The SEDRIS Data Representation Model
APPENDIX C - Types
SE_Text_Font
/*
 * STRUCT: SE_Text_Font
 *
 *   This data type encapsulates the information needed to determine the
 *   appearance of displayed textual information.
 */
typedef struct
{
SE_String font_family; (notes)
SE_Font_Style font_style; (notes)
SE_Float font_size; (notes)
SE_Underline_Style underline_style; (notes)
} SE_Text_Font;


Field Notes


font_family

 The font family is the name given to a set of fonts by a
 font designer. The font family can identify generic names
 (such as SANSERIF and SERIF) or proprietary names (such as
 Clarendon or Lucida). The font family may have subfamilies.
 If so, the subfamily is identified as part of the name
 (for example, Lucida Blackletter). The font family is
 specified by an SE_String field. The maximum length of a
 font family name is 32 characters.

font_style

 The font style specifies the appearance variation allowed
 within the font family.

font_size

 The font size specifies how big the text is to be presented.
 Size is specified in points. It is assumed that an implementation
 will provide a rational means of mapping points to the size of
 text in a presentation. Default size is 11 points. Since this
 element is specified as a float, the size specified may not be
 mappable to the sizes available for a particular font family. In
 that case, the size available that is nearest to the requested
 size shall be used.

underline_style

 The underline style specifies how text is underlined.
 The default style is NONE. If a style is specified that is not
 recognized by an implementation, SINGLE shall be used. The
 width of the line used to implement the underlining shall be
 appropriate to the font size and font style specified.



Prev: SE_Symbol_Format. Next: SE_Time_Configuration.


Return to: Top of this Page, Type Index

Last updated: July 16, 2004 Copyright © 2004 SEDRIS