diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2023-10-12 22:21:33 +0000 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2023-10-12 22:21:33 +0000 |
commit | 760242166a8dacff674b2039ba27d823f0c27bac (patch) | |
tree | 8c69481fca6dad9d16c957c92629d8b50f52bd66 | |
parent | b4052d02b44e8e412316a8dca1a99f9714e5aa8e (diff) |
pdftocairo: EPS output should not contain %%PageOrientation
-rw-r--r-- | utils/pdftocairo.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/pdftocairo.cc b/utils/pdftocairo.cc index f16f03e4..a9d05878 100644 --- a/utils/pdftocairo.cc +++ b/utils/pdftocairo.cc @@ -635,7 +635,7 @@ static void beginDocument(GooString *inputFileName, GooString *outputFileName, d static void beginPage(double *w, double *h) { if (printing) { - if (ps || eps) { + if (ps) { #ifdef CAIRO_HAS_PS_SURFACE if (*w > *h) { cairo_ps_surface_dsc_comment(surface, "%%PageOrientation: Landscape"); |