• Jehan's avatar
    Fix setting antialiasing by editing Cairo context. · e7364e67
    Jehan authored
    Commit 853e9499 added setAntialias() to CairoOutputDev, in particular
    to allow setting up antialiasing on the pdftocairo utils through a CLI
    option (-antialias).
    Unfortunately this broke applications which used the glib API and used
    to simply set the antialiasing through the Cairo context, and now always
    get the default antialiasing (even if we added a new API, it would break
    API behavior and simplicity).
    
    Instead only use the `antialias` member if it is set to non-default,
    which means it has been changed explicitly by some means. Keep the cairo
    context as-is otherwise.
    e7364e67
Name
Last commit
Last update
cmake/modules Loading commit data...
cpp Loading commit data...
fofi Loading commit data...
glib Loading commit data...
goo Loading commit data...
poppler Loading commit data...
qt5 Loading commit data...
regtest Loading commit data...
splash Loading commit data...
test Loading commit data...
utils Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
AUTHORS Loading commit data...
CMakeLists.txt Loading commit data...
COPYING Loading commit data...
COPYING3 Loading commit data...
ConfigureChecks.cmake Loading commit data...
INSTALL Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README-XPDF Loading commit data...
README.contributors Loading commit data...
config.h.cmake Loading commit data...
gtkdoc.py Loading commit data...
make-glib-api-docs Loading commit data...
poppler-cairo.pc.cmake Loading commit data...
poppler-cpp.pc.cmake Loading commit data...
poppler-glib.pc.cmake Loading commit data...
poppler-qt5.pc.cmake Loading commit data...
poppler-splash.pc.cmake Loading commit data...
poppler.pc.cmake Loading commit data...