version 1.10, 2009/10/13 10:57:25 |
version 1.11, 2009/10/18 19:03:36 |
Line 222 a2width(const struct man_node *n, struct roffsu *su) |
|
Line 222 a2width(const struct man_node *n, struct roffsu *su) |
|
|
|
if (MAN_TEXT != n->type) |
if (MAN_TEXT != n->type) |
return(0); |
return(0); |
if (a2roffsu(n->string, su)) |
if (a2roffsu(n->string, su, SCALE_BU)) |
return(1); |
return(1); |
|
|
return(0); |
return(0); |
Line 325 man_br_pre(MAN_ARGS) |
|
Line 325 man_br_pre(MAN_ARGS) |
|
|
|
SCALE_VS_INIT(&su, 1); |
SCALE_VS_INIT(&su, 1); |
|
|
if (MAN_sp == n->tok) { |
if (MAN_sp == n->tok && n->child) |
su.scale = 1; |
a2roffsu(n->child->string, &su, SCALE_VS); |
if (n->child) |
else if (MAN_br == n->tok) |
a2roffsu(n->child->string, &su); |
|
} else if (MAN_br == n->tok) |
|
su.scale = 0; |
su.scale = 0; |
|
|
bufcat_su(h, "height", &su); |
bufcat_su(h, "height", &su); |