1976507 - [genesys 600dpi only] Canon LiDE 120 produces zoomed-in image which doesn't fit into A4 size
This commit is contained in:
parent
d5ad1eb673
commit
235268085b
13
genesys-600dpi-cropped.patch
Normal file
13
genesys-600dpi-cropped.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/backend/genesys/tables_motor.cpp b/backend/genesys/tables_motor.cpp
|
||||
index e8e89c5..fa75bae 100644
|
||||
--- a/backend/genesys/tables_motor.cpp
|
||||
+++ b/backend/genesys/tables_motor.cpp
|
||||
@@ -472,7 +472,7 @@ void genesys_init_motor_tables()
|
||||
motor.base_ydpi = 4800;
|
||||
motor.profiles.push_back({MotorSlope::create_from_steps(62496, 864, 127),
|
||||
StepType::FULL, 4608});
|
||||
- motor.profiles.push_back({MotorSlope::create_from_steps(62496, 2010, 63),
|
||||
+ motor.profiles.push_back({MotorSlope::create_from_steps(62496, 1338, 63),
|
||||
StepType::HALF, 5360});
|
||||
motor.profiles.push_back({MotorSlope::create_from_steps(62464, 2632, 3),
|
||||
StepType::QUARTER, 10528});
|
@ -14,7 +14,7 @@
|
||||
Summary: Scanner access software
|
||||
Name: sane-backends
|
||||
Version: 1.0.32
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
# lib/ is LGPLv2+, backends are GPLv2+ with exceptions
|
||||
# Tools are GPLv2+, docs are public domain
|
||||
# see LICENSE for details
|
||||
@ -37,6 +37,8 @@ Patch1: sane-backends-1.0.23-soname.patch
|
||||
Patch2: sane-backends-1.0.23-sane-config-multilib.patch
|
||||
# 1934308 - Several Epson devices cannot scan because they fail to set focus
|
||||
Patch3: sane-epson2-disable-focus.patch
|
||||
# 1976507 - [genesys 600dpi only] Canon LiDE 120 produces zoomed-in image which doesn't fit into A4 size
|
||||
Patch4: genesys-600dpi-cropped.patch
|
||||
|
||||
URL: http://www.sane-project.org
|
||||
|
||||
@ -158,6 +160,7 @@ access image acquisition devices available on the local host.
|
||||
%patch1 -p1 -b .soname
|
||||
%patch2 -p1 -b .sane-config-multilib
|
||||
%patch3 -p1 -b .disable-focus
|
||||
%patch4 -p1 -b .genesys-600dpi-cropped
|
||||
|
||||
%build
|
||||
CFLAGS="%optflags -fno-strict-aliasing"
|
||||
@ -431,6 +434,9 @@ exit 0
|
||||
%{_unitdir}/saned@.service
|
||||
|
||||
%changelog
|
||||
* Mon Jul 26 2021 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.32-5
|
||||
- 1976507 - [genesys 600dpi only] Canon LiDE 120 produces zoomed-in image which doesn't fit into A4 size
|
||||
|
||||
* Tue Mar 09 2021 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.32-4
|
||||
- 1934308 - Several Epson devices cannot scan because they fail to set focus
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user