Группа :: Система/Настройка/Печать
Пакет: printer-driver-brlaser
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: printer-driver-brlaser-max_lines_per_block_.patch
Скачать
Скачать
From 31327c414eb9ec8b6d89edaf232a9a114aed5099 Mon Sep 17 00:00:00 2001
From: Lenar Shakirov <snejok@altlinux.org>
Date: Wed, 15 Jan 2020 11:36:09 +0300
Subject: [PATCH] block.h: max_lines_per_block_ = 32 and jpeg files printing
- Thanks to @al3x-huang for resolution in
https://github.com/pdewacht/brlaser/issues/52
---
src/block.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/block.h b/src/block.h
index e5dbd8d..bb11a3d 100644
--- a/src/block.h
+++ b/src/block.h
@@ -59,7 +59,7 @@ class block {
private:
static const unsigned max_block_size_ = 16350;
- static const unsigned max_lines_per_block_ = 64;
+ static const unsigned max_lines_per_block_ = 32;
std::vector<std::vector<uint8_t>> lines_;
int line_bytes_;
--
2.10.2