#10 [Encoder] Negative height value in Initializeprinting

開啟中
suhrke3 年之前建立 · 1 條評論

Results in “Printable area is too small, reduce borders or block size”. Since information available through MS printer functions has been removed, possibly due to unreasonable defaults. Should be made to print a bitmap using the dimensions of an A4 sheet of paper by default.

Results in "Printable area is too small, reduce borders or block size". Since information available through MS printer functions has been removed, possibly due to unreasonable defaults. Should be made to print a bitmap using the dimensions of an A4 sheet of paper by default.
suhrke added the
bug
label 3 年之前
suhrke 評論 3 年之前
發佈者

Although this is a bug, negative height is not an invalid value. A negative value indicates the DIB is a top-down DIB, and a positive, a bottom-up DIB. Code may need to be modified to accept byte data in reverse order.

https://msdn.microsoft.com/en-us/library/windows/desktop/dd407212

Although this is a bug, negative height is not an invalid value. A negative value indicates the DIB is a top-down DIB, and a positive, a bottom-up DIB. Code may need to be modified to accept byte data in reverse order. https://msdn.microsoft.com/en-us/library/windows/desktop/dd407212
suhrke removed the
bug
label 3 年之前
suhrke added the
enhancement
label 3 年之前
登入 才能加入這對話。
未選擇里程碑
No Assignees
1 參與者
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
取消
儲存
尚未有任何內容