}
i->pass++;
- gfxresult_record_replay(r, dev);
+ gfxresult_record_replay(r, dev, 0);
r->destroy(r);
return twopass_finish(dev);
*colon = 0;
char*newcmd = 0;
char param = 0;
-
+
/* fixme: change this from a dict_t to gfxparams_t? */
if(eq && eq < colon) { // parameter
*eq = 0;
if(!param || lastitem) {
if(!cmd && lastitem)
cmd = newcmd;
+ assert(cmd);
gfxfilterbase_t*f = 0;
if(!strcmp(cmd, "maketransparent")) {
char*alphastr = dict_lookup(params, "alpha");
} else if(!strcmp(cmd, "remove_font_transforms")) {
f = malloc(sizeof(gfxtwopassfilter_t));
gfxtwopassfilter_remove_font_transforms_init((gfxtwopassfilter_t*)f);
+ } else if(!strcmp(cmd, "vectors_to_glyphs")) {
+ f = malloc(sizeof(gfxtwopassfilter_t));
+ gfxtwopassfilter_vectors_to_glyphs_init((gfxtwopassfilter_t*)f);
} else if(!strcmp(cmd, "one_big_font")) {
f = malloc(sizeof(gfxtwopassfilter_t));
gfxtwopassfilter_one_big_font_init((gfxtwopassfilter_t*)f);