forked from Lainports/freebsd-ports
This is a port of the Seiko/Epson Epsonscan2 scanner engine and GUI[1].
It provides a complete alternative to sane/xsane with its own scanner engine and GUI.
It also provides a sane back-end library (libsane-epsonscan2.so) so that it works with the sane package.
There are two parts to this port:
- graphics/epsonscan2 - the main scanner engine and GUI that
works with (most) USB scanners
- graphics/epsonscan2-non-free-plugin - support for Epson's
Linux binary that adds network access to scanners and
usb access to some particular scanners
Please read the file %%PREFIX%%/lib/epsonscan2/Read_me.FreeBSD for notes on how to set this up and use it.
[1] https://download.ebz.epson.net/man/linux/epsonscan2_e.html
PR: 261891
Reviewed by: (partly) Tatsuki Makino <tatsuki_makino@hotmail.com>, diizzy@
23 lines
1.1 KiB
C++
23 lines
1.1 KiB
C++
--- src/Standalone/documentsize.cpp.orig 2021-11-25 00:56:55 UTC
|
|
+++ src/Standalone/documentsize.cpp
|
|
@@ -333,9 +333,9 @@ void Document_Size::CreateComboBoxToolTip(DocumentSize
|
|
message = "";
|
|
}else if(current_item == Auto_Detect_long){
|
|
message = "";
|
|
- }else if(current_item == OPTIONS){
|
|
+ }else if(current_item == (DocumentSize)OPTIONS){
|
|
message = "";
|
|
- }else if(current_item == USER_DEFINE){
|
|
+ }else if(current_item == (DocumentSize)USER_DEFINE){
|
|
create_custom_size(&message);
|
|
}else if(current_item == Maximum_Size){
|
|
create_maximum_size(&message, scan_area_para);
|
|
@@ -774,7 +774,7 @@ void Document_Size::StandardSizeToPixel()
|
|
}else if(current_item == Maximum_Size){
|
|
current_pixel_x = max_pixel_x / 100 * this->base_resolution;
|
|
current_pixel_y = max_pixel_y / 100 * this->base_resolution;
|
|
- }else if(current_item == USER_DEFINE){
|
|
+ }else if(current_item == (DocumentSize)USER_DEFINE){
|
|
Configuration& config = Configuration::GetConfiguration();
|
|
Units units = config.config_para.units;
|
|
if(units == unit_inchi){
|