[BACK]Return to html.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/html.c between version 1.211 and 1.213

version 1.211, 2017/05/12 17:58:21 version 1.213, 2017/06/08 12:54:58
Line 615  print_otag(struct html *h, enum htmltag tag, const cha
Line 615  print_otag(struct html *h, enum htmltag tag, const cha
                         a2width(arg2, su);                          a2width(arg2, su);
                         if (*fmt == '+') {                          if (*fmt == '+') {
                                 /* Increase to make even bold text fit. */                                  /* Increase to make even bold text fit. */
                                 su->scale *= 1.15;                                  su->scale *= 1.2;
                                 /* Add padding. */                                  /* Add padding. */
                                 su->scale += 3.0;                                  su->scale += 3.0;
                                 fmt++;                                  fmt++;
Line 950  print_word(struct html *h, const char *cp)
Line 950  print_word(struct html *h, const char *cp)
 static void  static void
 a2width(const char *p, struct roffsu *su)  a2width(const char *p, struct roffsu *su)
 {  {
         if (a2roffsu(p, su, SCALE_MAX) < 2) {          const char      *end;
   
           end = a2roffsu(p, su, SCALE_MAX);
           if (end == NULL || *end != '\0') {
                 su->unit = SCALE_EN;                  su->unit = SCALE_EN;
                 su->scale = html_strlen(p);                  su->scale = html_strlen(p);
         } else if (su->scale < 0.0)          } else if (su->scale < 0.0)

Legend:
Removed from v.1.211  
changed lines
  Added in v.1.213

CVSweb