Lines Matching defs:su

272 a2width(const char *p, struct roffsu *su)
275 if (a2roffsu(p, su, SCALE_MAX) < 2) {
276 su->unit = SCALE_EN;
277 su->scale = html_strlen(p);
278 } else if (su->scale < 0.0)
279 su->scale = 0.0;
634 struct roffsu su;
665 SCALE_HS_INIT(&su, len);
667 bufcat_su(h, "width", &su);
802 struct roffsu su;
833 SCALE_VS_INIT(&su, ! bl->norm->Bl.comp);
834 bufcat_su(h, "margin-top", &su);
854 SCALE_VS_INIT(&su, ! bl->norm->Bl.comp);
855 bufcat_su(h, "margin-top", &su);
868 a2width(bl->norm->Bl.width, &su);
869 bufcat_su(h, "margin-left", &su);
874 SCALE_VS_INIT(&su, ! bl->norm->Bl.comp);
875 bufcat_su(h, "margin-top", &su);
900 struct roffsu su;
922 a2width(n->norm->Bl.cols[i], &su);
924 bufcat_su(h, "width", &su);
926 bufcat_su(h, "min-width", &su);
934 SCALE_VS_INIT(&su, 0);
936 bufcat_su(h, "margin-top", &su);
937 bufcat_su(h, "margin-bottom", &su);
948 a2width(n->norm->Bl.offs, &su);
949 bufcat_su(h, "margin-left", &su);
1035 struct roffsu su;
1040 SCALE_VS_INIT(&su, 0);
1042 bufcat_su(h, "margin-top", &su);
1043 bufcat_su(h, "margin-bottom", &su);
1088 struct roffsu su;
1112 SCALE_HS_INIT(&su, 0);
1114 SCALE_HS_INIT(&su, INDENT);
1116 SCALE_HS_INIT(&su, INDENT * 2);
1118 a2width(n->norm->Bd.offs, &su);
1121 bufcat_su(h, "margin-left", &su);
1516 struct roffsu su;
1519 SCALE_VS_INIT(&su, 1);
1523 if ( ! a2roffsu(n->string, &su, SCALE_VS))
1524 su.scale = 1.0;
1525 else if (su.scale < 0.0)
1526 su.scale = 0.0;
1529 su.scale = 0.0;
1532 bufcat_su(h, "height", &su);
1774 struct roffsu su;
1796 SCALE_HS_INIT(&su, 1);
1798 bufcat_su(h, "margin-left", &su);