#10 [Encoder] Negative height value in Initializeprinting

开启中
suhrke3 年前创建 · 1 条评论
suhrke 评论于 3 年前

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 添加了标签
bug
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 删除了标签
bug
3 年前
suhrke 添加了标签
enhancement
3 年前
登陆 并参与到对话中。
未选择里程碑
未指派成员
1 名参与者
到期时间

未设置到期时间。

依赖工单

此工单当前没有任何依赖。

正在加载...
取消
保存
这个人很懒,什么都没留下。