]>
Commit | Line | Data |
---|---|---|
edda3628 JB |
1 | --- evas_generic_loaders-1.10.0/src/bin/pdf/main.cpp.orig 2013-12-11 14:56:58.000000000 +0100 |
2 | +++ evas_generic_loaders-1.10.0/src/bin/pdf/main.cpp 2015-10-18 20:21:56.289112059 +0200 | |
3 | @@ -62,11 +62,6 @@ | |
4 | if (!eina_init()) | |
5 | goto del_global_param; | |
6 | ||
7 | - if (globalParams->getAntialias()) | |
8 | - globalParams->setAntialias((char *)"yes"); | |
9 | - if (globalParams->getVectorAntialias()) | |
10 | - globalParams->setVectorAntialias((char *)"yes"); | |
11 | - | |
12 | pdfdoc = new PDFDoc(new GooString(file), NULL); | |
13 | if (!pdfdoc) | |
14 | goto del_global_param; | |
15 | @@ -161,6 +156,11 @@ | |
16 | if (!output_dev) | |
17 | return; | |
18 | ||
19 | + if (output_dev->getFontAntialias()) | |
20 | + output_dev->setFontAntialias(true); | |
21 | + if (output_dev->getVectorAntialias()) | |
22 | + output_dev->setVectorAntialias(true); | |
23 | + | |
24 | #ifdef HAVE_POPPLER_020 | |
25 | output_dev->startDoc(pdfdoc); | |
26 | #else |