From 0634b3ea8e3c8905477fe492967ba16905ceec3a Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Wed, 24 Jan 2024 16:51:18 -0800 Subject: [PATCH] Switch PDF rendering with poppler on by default. --- CMakeLists.txt | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 05c2d61..29529a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ option(WITH_VIDEO_DEVICE "Enables reading videos from devices e.g. v4l2 (require option(WITH_GRAPHICSMAGICK "Enable general image loading with Graphicsmagick. You typically want this." ON) option(WITH_TURBOJPEG "Optimized JPEG loading. You typically want this." ON) option(WITH_RSVG "Use librsvg to open SVG images." ON) -option(WITH_POPPLER "Use poppler to render PDFs" OFF) +option(WITH_POPPLER "Use poppler to render PDFs" ON) option(WITH_STB_IMAGE "Use STB image, a self-contained albeit limited image loading and lower quality. Use if WITH_GRAPHICSMAGICK is not possible and want to limit dependencies. Default on to be used as fallback." ON) option(WITH_QOI_IMAGE "QOI image format" ON) diff --git a/README.md b/README.md index b67d51e..31de328 100644 --- a/README.md +++ b/README.md @@ -564,7 +564,7 @@ compile-time choices: * **`WITH_POPPLER`** High-quality and faster PDF renderer. Needs poppler and cairo. If not compiled-in, will fallback to GraphicsMagick, but that typically - results in lower quality renderings. Currently **OFF** by default. + results in lower quality renderings. Typically want this **ON** (default). * **`WITH_RSVG`** High-quality SVG renderer. Needs librsvg and cairo. If not compiled-in, will fallback to GraphicsMagick, but that typically results in lower quality renderings. Typically want this **ON** (default).