Native landscape PDF is scaled down into portrait page instead of rotated (no print-scaling set)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Reproduce the issue with a native landscape A4 PDF using lp -d PRINTER landscape.pdf and inspect the cfFilterUniversal -> pdftopdf -> cfFilterGhostscript chain from the CUPS debug log. Compare the behavior with print-scaling=fit or fill and verify that the default path rotates the landscape page to fill the portrait A4 sheet without requiring orientation-requested.
索引モデルが issue の本文から書いたものです。
説明
Distribution: Manjaro KDE
Versions: cups 2:2.4.19, cups-filters 2.0.1, libcupsfilters 2.2.1, libppd 2.1.1, ghostscript 10.07.1
Printers: Canon PIXMA G3430 (driverless IPP / Canon driver) and HP Deskjet 1515 (hplip), same behaviour on both
Steps to reproduce:
- Create a PDF with a native landscape A4 page (842x595)
- lp -d PRINTER landscape.pdf (no options)
Expected: page is rotated to fit the portrait A4 sheet, filling it.
Actual: the page is scaled down and printed in the top third of the portrait sheet.
Notes:
- Printing from LibreOffice behaves the same. The job options contain only
PageSize=A4 sides=one-sided ...; no orientation-requested is sent. - lp -o landscape on a portrait PDF works.
- lp -o print-scaling=fit and -o print-scaling=fill on the landscape PDF
rotate the page correctly. - Filter chain from the CUPS debug log: cfFilterUniversal -> pdftopdf ->
cfFilterGhostscript (gs with DEVICEWIDTHPOINTS=595 DEVICEHEIGHTPOINTS=842).
- 主要言語
- C
- スター
- 20
- フォーク
- 89
- 平均マージ
- 13時間 37分
- マージ済み PR(30日)
- 50
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OpenPrinting/libcupsfilters のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
OpenPrinting/libcupsfilters#257 · コメント 22 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
OpenPrinting/libcupsfilters#222 · コメント 3 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
OpenPrinting/libcupsfilters#174 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
OpenPrinting/libcupsfilters#355 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
OpenPrinting/libcupsfilters#339 · コメント 3 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
OpenPrinting/libcupsfilters の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ChupathingyCE/chupathingyce#1550 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
redis/redis#16302 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
slice
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
Life-Framework/Life-Framework#3878 ·
メンテナーはふだん 1 日以内に返信
-
`sha256()` returns a wrong hash when libsql-ffi is built with gcc 11 or later対応中かも @colinhacks が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
tursodatabase/libsql#2333 ·
メンテナーはふだん 11 日以内に返信