4 * Author: Teemu Rantanen <tvr@cs.hut.fi>
5 * Copyright (c) 1992 Teemu Rantanen
8 * Created: Thu Mar 5 00:32:52 1992 tvr
9 * Last modified: Tue May 12 21:49:52 1992 tvr
14 * Flags needed for text formatting are on XlFormatText.h
18 * This structure contains *all* information needed to format text
21 typedef struct XlStyle {
25 XFontStruct *fontinfo;
28 * Name of the font used to display this style. When we setup resources,
29 * identify whether we should or should not free original string.
32 int must_free_fontname;
35 * Name of the font on configure -data
41 * Tags. This way no enumeration is needed
46 * Width of a character 'm'.
51 * Stylespecific object positioning
56 * How much to indent first line of a paragraph
61 * left and righ limits
67 * Spaces on linespaces, stylechanges and paragraphchanges
71 int space_style_before;
78 extern XlStyle_t XlStyles[];
79 extern int xl_lineheightandgap();
80 extern int xl_wordgap();
81 extern int xl_object_style();
85 #define MIDDLE_L_HACK 25
86 #define MIDDLE_R_HACK 30