diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2007-01-14 10:38:00 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-08-21 15:06:21 -0700 |
commit | c316aaf0aab06951db9dc5c9c1148bfea835d885 (patch) | |
tree | 807148fb7993cf0eb3261d21276c1ab82d869bbe /man | |
parent | ca5d9a625ea0965853fa9e74a448b8c29c78ec95 (diff) |
Bug #9650: Bad markup in XLoadFont.3x manual page
X.Org Bugzilla #9650 <https://bugs.freedesktop.org/show_bug.cgi?id=9650>
Diffstat (limited to 'man')
-rw-r--r-- | man/XLoadFont.man | 47 |
1 files changed, 23 insertions, 24 deletions
diff --git a/man/XLoadFont.man b/man/XLoadFont.man index ab7e8906..906f20eb 100644 --- a/man/XLoadFont.man +++ b/man/XLoadFont.man @@ -141,6 +141,16 @@ .el .sp 10p .. .ny0 +.de EX +.sp +.nf +.ft CW +.. +.de EE +.ft R +.fi +.sp +.. .TH XLoadFont __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS" .SH NAME XLoadFont, XQueryFont, XLoadQueryFont, XFreeFont, XGetFontProperty, XUnloadFont, XCharStruct, XFontProp, XChar2b, XFontStruct \- load or unload fonts and font metric structures @@ -309,9 +319,7 @@ and structures contain: .LP .IN "XCharStruct" "" "@DEF@" -.Ds 0 -.TA .5i 3i -.ta .5i 3i +.EX typedef struct { short lbearing; /\(** origin to left edge of raster */ short rbearing; /\(** origin to right edge of raster */ @@ -320,32 +328,26 @@ typedef struct { short descent; /\(** baseline to bottom edge of raster */ unsigned short attributes; /\(** per char flags (not predefined) */ } XCharStruct; -.De +.EE .LP .IN "XFontProp" "" "@DEF@" -.Ds 0 -.TA .5i 1i 3i -.ta .5i 1i 3i +.EX typedef struct { Atom name; unsigned long card32; } XFontProp; -.De +.EE .LP .IN "XChar2b" "" "@DEF@" -.Ds 0 -.TA .5i 3i -.ta .5i 3i +.EX typedef struct { /\(** normal 16 bit characters are two bytes */ unsigned char byte1; unsigned char byte2; } XChar2b; -.De +.EE .LP .IN "XFontStruct" "" "@DEF@" -.Ds 0 -.TA .5i 3i -.ta .5i 3i +.EX typedef struct { XExtData *ext_data; /\(** hook for extension to hang data */ Font fid; /\(** Font id for this font */ @@ -364,7 +366,7 @@ typedef struct { int ascent; /\(** logical extent above baseline for spacing */ int descent; /\(** logical decent below baseline for spacing */ } XFontStruct; -.De +.EE .LP X supports single byte/character, two bytes/character matrix, and 16-bit character text operations. @@ -416,19 +418,16 @@ min_char_or_byte2 and max_char_or_byte2 are less than 256, and the 2-byte character index values corresponding to the per_char array element N (counting from 0) are: .IP -.nf +.EX byte1 = N/D + min_byte1 -.br byte2 = N\\D + min_char_or_byte2 -.IP -.fi +.EE where: -.IP -.nf +.EX D = max_char_or_byte2 \- min_char_or_byte2 + 1 / = integer division - \\ = integer modulus -.fi + \e\e = integer modulus +.EE .IP \(bu 5 If the per_char pointer is NULL, all glyphs between the first and last character indexes |