tl.fontname = fname_;
tl.fontsize = fsize_;
tl.xshow = ti->xshow;
+ tl.postscript_alias = ti->postscript_alias;
tl.layout = ti->layout;
tl.width = paras[i].size;
tl.height = paras[i].lfsize;
ftxt->paras[i].items[j].str = lp.str;
ftxt->paras[i].items[j].size = sz.x;
ftxt->paras[i].items[j].xshow = lp.xshow;
+ ftxt->paras[i].items[j].postscript_alias = lp.postscript_alias;
ftxt->paras[i].items[j].layout = lp.layout;
ftxt->paras[i].items[j].free_layout = lp.free_layout;
width += w;
typedef struct {
char *str;
char *xshow;
+ PostscriptAlias *postscript_alias;
void *layout;
void (*free_layout) (void *layout);
htmlfont_t *font;
void gvrender_begin_context(GVJ_t * job)
{
#ifdef WITH_CODEGENS
+ gvrender_engine_t *gvre = job->render.engine;
codegen_t *cg = job->codegen;
- if (cg && cg->begin_context)
+ if (!gvre && cg && cg->begin_context)
cg->begin_context();
#endif
}
void gvrender_end_context(GVJ_t * job)
{
#ifdef WITH_CODEGENS
+ gvrender_engine_t *gvre = job->render.engine;
codegen_t *cg = job->codegen;
- if (cg && cg->end_context)
+ if (!gvre && cg && cg->end_context)
cg->end_context();
#endif
}