Ray Smith
c773eb5784
Fixed rendering of Thai and units of char spacing
2017-09-08 10:29:03 +01:00
Ray Smith
3f7735492f
Removed unnecessary using statements and cleaned up google/non-google distinction
2017-07-19 16:42:48 -07:00
Ray Smith
da03e4e910
Fixes from pull of cleanups: clang tidied, reviewed, fixed new bugs, undeleted needed code. Probably breaks the build, due to some inclusion of changes in utf8/32 conversion
2017-07-14 09:30:14 -07:00
Raf Schietekat
2981c6c585
StringRenderer::pen_color_: int[3]->double[3]
2017-06-02 09:58:26 +02:00
Raf Schietekat
7f382df5ec
Fewer g++ -Wsign-compare warnings (cont.)
2017-05-11 23:14:52 +02:00
Ray Smith
500bfaf315
Added std:: to some stl types
2017-04-27 17:15:35 -07:00
Ray Smith
f566a45b30
clang-tidy changes from sync
2017-01-25 16:20:19 -08:00
Stefan Weil
cb6e9e0071
training: Replace NULL by nullptr
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-12-14 21:08:36 +01:00
Ray Smith
a987e6d87c
Major bug fixes to pango renderer and resolved issue of hash_map vs unordered_map
2016-11-07 11:35:45 -08:00
Ray Smith
2c837dffc3
Result of clang tidy on recent merge
2016-11-07 10:46:33 -08:00
jm
941e1c4c84
fixes #388 by using raw bytes utf8 encoding
2016-08-15 18:11:01 +02:00
Nick White
76ed9decb3
Only enable extra ligatures with recent Pango versions
...
Pango's opentype feature selection functions are only available
from version 1.38+, which is still quite new, so ensure it's just
ignored if using an older version.
2016-03-21 13:03:03 +00:00
Nick White
9100adcbde
Enable all ligatures available in a font for text2image rendering
...
This enables all OpenType ligatures for a specific font, where
available. Specifically, it explicitly enables the OpenType
features liga (standard ligatures), hlig (historical ligatures),
clig (contextual ligatures), and dlig (discretionary ligatures).
This feature requires Pango 1.38 or newer.
2016-03-21 11:41:36 +00:00
Ray Smith
a303ab9d00
Misc fixes, mostly clang formatting, but some bug fixes in matrix, werd, and tesstrain_utils. Also updates unicharset to match traineddata files.
2015-07-09 14:28:20 -07:00
Zdenko Podobný
6a998ec5d0
fix redefinition in stringrenderer.cpp (stringrenderer.h)
2015-06-14 17:29:27 +02:00
Ray Smith
0ee178d79b
Clang fixes to earlier changes and build compatability with Google environment part 2
2015-06-12 11:17:47 -07:00
Ray Smith
6be25156f7
Major updates to training system as a result of extensive testing on 100 languages
2015-05-12 18:04:31 -07:00
Ray Smith
164897210a
Improved newlines and spaces in a box file so it works better with RTL languages.
2015-05-12 17:51:03 -07:00
theraysmith@gmail.com
9f4d6fd668
Added ability to just list available fonts for text, and to underline words for training
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1142 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-08-11 23:19:06 +00:00
theraysmith@gmail.com
84e0f6470f
Fixed issue 1132
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1081 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-04-24 21:46:57 +00:00
theraysmith@gmail.com
cc47429587
Ugraded pango version
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1062 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-04-23 22:54:25 +00:00
theraysmith@gmail.com
f244ab3fc6
New training tool text2image
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@965 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-01-09 18:04:20 +00:00