version 1.230, 2018/05/28 14:13:36 |
version 1.232, 2018/06/10 16:47:15 |
Line 694 print_otag(struct html *h, enum htmltag tag, const cha |
|
Line 694 print_otag(struct html *h, enum htmltag tag, const cha |
|
su = &mysu; |
su = &mysu; |
a2width(arg2, su); |
a2width(arg2, su); |
} |
} |
if (*fmt == '*') { |
|
if (su != NULL && su->unit == SCALE_EN && |
|
su->scale > 5.9 && su->scale < 6.1) |
|
su = NULL; |
|
fmt++; |
|
} |
|
if (*fmt == '+') { |
if (*fmt == '+') { |
if (su != NULL) { |
if (su != NULL) { |
/* Make even bold text fit. */ |
/* Make even bold text fit. */ |
Line 709 print_otag(struct html *h, enum htmltag tag, const cha |
|
Line 703 print_otag(struct html *h, enum htmltag tag, const cha |
|
} |
} |
fmt++; |
fmt++; |
} |
} |
if (*fmt == '-') { |
|
if (su != NULL) |
|
su->scale *= -1.0; |
|
fmt++; |
|
} |
|
break; |
break; |
default: |
default: |
abort(); |
abort(); |
Line 722 print_otag(struct html *h, enum htmltag tag, const cha |
|
Line 711 print_otag(struct html *h, enum htmltag tag, const cha |
|
/* Second letter: style name. */ |
/* Second letter: style name. */ |
|
|
switch (*fmt++) { |
switch (*fmt++) { |
case 'h': |
|
attr = "height"; |
|
break; |
|
case 'i': |
case 'i': |
attr = "text-indent"; |
attr = "text-indent"; |
break; |
break; |