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