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

Diff for /mandoc/term_ps.c between version 1.74 and 1.75

version 1.74, 2015/04/04 17:47:18 version 1.75, 2015/10/06 18:32:20
Line 516  pdf_alloc(const struct mchars *mchars, const struct ma
Line 516  pdf_alloc(const struct mchars *mchars, const struct ma
         if (NULL != (p = pspdf_alloc(mchars, outopts)))          if (NULL != (p = pspdf_alloc(mchars, outopts)))
                 p->type = TERMTYPE_PDF;                  p->type = TERMTYPE_PDF;
   
         return(p);          return p;
 }  }
   
 void *  void *
Line 527  ps_alloc(const struct mchars *mchars, const struct man
Line 527  ps_alloc(const struct mchars *mchars, const struct man
         if (NULL != (p = pspdf_alloc(mchars, outopts)))          if (NULL != (p = pspdf_alloc(mchars, outopts)))
                 p->type = TERMTYPE_PS;                  p->type = TERMTYPE_PS;
   
         return(p);          return p;
 }  }
   
 static struct termp *  static struct termp *
Line 616  pspdf_alloc(const struct mchars *mchars, const struct 
Line 616  pspdf_alloc(const struct mchars *mchars, const struct 
         p->ps->lineheight = lineheight;          p->ps->lineheight = lineheight;
   
         p->defrmargin = pagex - (marginx * 2);          p->defrmargin = pagex - (marginx * 2);
         return(p);          return p;
 }  }
   
 static void  static void
Line 1270  ps_width(const struct termp *p, int c)
Line 1270  ps_width(const struct termp *p, int c)
         else          else
                 c -= 32;                  c -= 32;
   
         return((size_t)fonts[(int)TERMFONT_NONE].gly[c].wx);          return (size_t)fonts[(int)TERMFONT_NONE].gly[c].wx;
 }  }
   
 static int  static int
Line 1325  ps_hspan(const struct termp *p, const struct roffsu *s
Line 1325  ps_hspan(const struct termp *p, const struct roffsu *s
                 break;                  break;
         }          }
   
         return(r * 24.0);          return r * 24.0;
 }  }
   
 static void  static void

Legend:
Removed from v.1.74  
changed lines
  Added in v.1.75

CVSweb