Commit 210ab543 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

Small fixes in Scribo.

	* demo/viewer/icons/olena_smaller.jpg,
	* demo/viewer/viewer.qrc: Change icon location.

	* scribo/text/paragraphs_closing.hh: Avoid a warning.

	* src/content_in_doc.cc: Fix a parameter description.

	* src/debug/show_lines_boldness.cc,
	* src/debug/show_text_lines.cc,
	* src/debug/show_text_lines_wo_seps.cc: Remove useless includes.

	* src/scribo-cli.in: Pass arguments correctly.
parent 563d81e0
2011-09-12 Guillaume Lazzara <z@lrde.epita.fr>
Small fixes in Scribo.
* demo/viewer/icons/olena_smaller.jpg,
* demo/viewer/viewer.qrc: Change icon location.
* scribo/text/paragraphs_closing.hh: Avoid a warning.
* src/content_in_doc.cc: Fix a parameter description.
* src/debug/show_lines_boldness.cc,
* src/debug/show_text_lines.cc,
* src/debug/show_text_lines_wo_seps.cc: Remove useless includes.
* src/scribo-cli.in: Pass arguments correctly.
2011-09-12 Guillaume Lazzara <z@lrde.epita.fr>
More fixes in Scribo build system.
......
<RCC>
<qresource prefix="icons">
<file>../shared/icons/olena_smaller.jpg</file>
<file>icons/olena_smaller.jpg</file>
</qresource>
</RCC>
......@@ -83,7 +83,7 @@ namespace scribo
if (last_pixel_value)
{
unsigned k = j + 1;
for (; !(input.at_(i, k)) && (k < ncols); ++k);
for ( ; !(input.at_(i, k)) && (k < ncols); ++k);
count = k - j;
const int threshold = deltas(last_pixel_value);
......@@ -133,7 +133,7 @@ namespace scribo
if (last_pixel_value)
{
unsigned k = i + 1;
for (; !(input.at_(k, j)) && (k < nrows); ++k);
for ( ; !(input.at_(k, j)) && (k < nrows); ++k);
count = k - i;
const int threshold = deltas(last_pixel_value);
......
......@@ -80,7 +80,7 @@ static const scribo::debug::opt_data opt_desc[] =
{ "debug-prefix", "Enable debug image outputs. Prefix image name with that "
"given prefix.", "<prefix>", 0, 1, 0 },
{ "ocr-lang", "Set the language to be recognized by the OCR (Tesseract). "
"According to your system, you can choose between eng (default), "
"Depending on your system, you can choose between eng (default), "
"fra, deu, ita, nld, por, spa, vie",
"<lang>", scribo::debug::check_ocr_lang, 1, "eng" },
{ "verbose", "Enable verbose mode", 0, 0, 0, 0 },
......
......@@ -34,11 +34,8 @@
#include <mln/data/convert.hh>
#include <mln/literal/colors.hh>
#include <scribo/text/recognition.hh>
#include <scribo/debug/usage.hh>
#include <scribo/core/document.hh>
#include <scribo/core/component_set.hh>
#include <scribo/core/object_links.hh>
#include <scribo/core/object_groups.hh>
......
......@@ -34,8 +34,6 @@
#include <mln/data/convert.hh>
#include <mln/literal/colors.hh>
#include <scribo/text/recognition.hh>
#include <scribo/debug/usage.hh>
#include <scribo/core/document.hh>
......
......@@ -34,8 +34,6 @@
#include <mln/data/convert.hh>
#include <mln/literal/colors.hh>
#include <scribo/text/recognition.hh>
#include <scribo/debug/usage.hh>
#include <scribo/core/document.hh>
......
......@@ -171,7 +171,7 @@ case $1 in
;;
*)
run_cmd $1
run_cmd $@
;;
esac
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment