version 1.39, 2015/04/04 17:46:58 |
version 1.40, 2015/10/06 18:30:44 |
|
|
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 * |
|
|
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 * |
|
|
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 |
|
|
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 |
|
|
break; |
break; |
} |
} |
|
|
return(r * 24.0); |
return r * 24.0; |
} |
} |
|
|
static void |
static void |