diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/pdfdraw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/pdfdraw.c b/apps/pdfdraw.c index fd7cc57f..69fae0ba 100644 --- a/apps/pdfdraw.c +++ b/apps/pdfdraw.c @@ -351,8 +351,6 @@ int main(int argc, char **argv) } } - fz_set_aa_level(alphabits); - if (fz_optind == argc) usage(); @@ -372,6 +370,8 @@ int main(int argc, char **argv) exit(1); } + fz_set_aa_level(ctx, alphabits); + glyphcache = fz_new_glyph_cache(ctx); colorspace = fz_device_rgb; |