View | Details | Raw Unified
Collapse All | Expand All

(-) tetex-src-3.0/texk/dvipsk/hps.c (-21 / +39 lines)
 Lines 441-459   int href_name_match P2C(char *, h, char Link Here 
void stamp_hps P1C(Hps_link *, pl)
void stamp_hps P1C(Hps_link *, pl)
{
{
  char tmpbuf[200] ;
  char * tmpbuf;
  if (pl == NULL) {
  if (pl == NULL) {
    error("Null pointer, oh no!") ;
    error("stamp_hps: null pl pointer, oh no!") ;
    return ;
    return ;
  } else {
  } 
    /* print out the proper pdfm with local page info only 
  if(pl->title == NULL) {
     *  target info will be in the target dictionary */
    error("stamp_hps: null pl->title pointer, oh no!") ;
    (void)sprintf(tmpbuf, 
    return ;
		  " (%s) [[%.0f %.0f %.0f %.0f] [%i %i %i [%i %i]] [%.0f %.0f %.0f]] pdfm ", pl->title, pl->rect.llx, pl->rect.lly, pl->rect.urx, pl->rect.ury,
  } 
		  pl->border[0], pl->border[1], pl->border[2], pl->border[3],pl->border[4],
		  pl->color[0], pl->color[1], pl->color[2]) ;
  tmpbuf = (char *) xmalloc(strlen(pl->title)+200);
    cmdout(tmpbuf) ; 
  }
  /* print out the proper pdfm with local page info only 
   *  target info will be in the target dictionary */
  (void)sprintf(tmpbuf, 
		" (%s) [[%.0f %.0f %.0f %.0f] [%i %i %i [%i %i]] [%.0f %.0f %.0f]] pdfm ", 
		pl->title, pl->rect.llx, pl->rect.lly, pl->rect.urx, pl->rect.ury,
		pl->border[0], pl->border[1], pl->border[2], pl->border[3],pl->border[4],
		pl->color[0], pl->color[1], pl->color[2]) ;
  cmdout(tmpbuf) ; 
  free(tmpbuf);
  
  
  
}
}
 Lines 462-479   void stamp_hps P1C(Hps_link *, pl) Link Here 
 */
 */
void stamp_external P2C(char *, s, Hps_link *, pl) 
void stamp_external P2C(char *, s, Hps_link *, pl) 
{
{
  char tmpbuf[200];
  char *tmpbuf;
  if (pl == NULL) {
  if (pl == NULL) {
    error("Null pointer, oh no!") ;
    error("stamp_external: null pl pointer, oh no!") ;
    return ;
    return ;
  } else {
  } 
    /* print out the proper pdfm with local page info only 
     *  target info will be in the target dictionary */
  if (s == NULL) {
    (void)sprintf(tmpbuf," [[%.0f %.0f %.0f %.0f] [%i %i %i [%i %i]] [%.0f %.0f %.0f]] (%s) pdfm ", pl->rect.llx, pl->rect.lly, pl->rect.urx, pl->rect.ury,
    error("stamp_external: null s pointer, oh no!") ;
		  pl->border[0], pl->border[1], pl->border[2], pl->border[3],pl->border[4],
    return ;
		  pl->color[0], pl->color[1], pl->color[2], s) ;
  } 
    cmdout(tmpbuf) ;
  }
  tmpbuf = (char *) xmalloc(strlen(s) + 200);
  /* print out the proper pdfm with local page info only 
   *  target info will be in the target dictionary */
  (void)sprintf(tmpbuf," [[%.0f %.0f %.0f %.0f] [%i %i %i [%i %i]] [%.0f %.0f %.0f]] (%s) pdfm ",
		pl->rect.llx, pl->rect.lly, pl->rect.urx, pl->rect.ury,
		pl->border[0], pl->border[1], pl->border[2], pl->border[3],pl->border[4],
		pl->color[0], pl->color[1], pl->color[2], s) ;
  cmdout(tmpbuf) ;
  free(tmpbuf);
}
}
void finish_hps P1H(void) {
void finish_hps P1H(void) {