move the default text breaking algorithm impl from HarfBuzz to Qt
authorKonstantin Ritt <ritt.ks@gmail.com>
Thu, 10 May 2012 07:31:16 +0000 (10:31 +0300)
committerQt by Nokia <qt-info@nokia.com>
Thu, 10 May 2012 09:34:25 +0000 (11:34 +0200)
commitcbfdec66033d14020d3e8a49bacc0d12d2b6798e
tree02e94eaad62c85f1556623b17412607102f067cb
parent8c0048a377568b646b3b87be0b02322fce68b780
move the default text breaking algorithm impl from HarfBuzz to Qt

there are several reasons to do this:
* text breaking is not a shaper's job;
* since the text breaking rules are bound to a specific Unicode version,
  updating Qt's internal unicode data would require updating the data in HB as well;
* makes porting to HurfBuzz-NG some easier

Change-Id: I0bbf8e8a343bc074696f4ddf2ae4e7fa32a61629
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
17 files changed:
src/3rdparty/harfbuzz/src/harfbuzz-external.h
src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp
src/3rdparty/harfbuzz/src/harfbuzz-shaper.h
src/3rdparty/harfbuzz/tests/Makefile.am
src/3rdparty/harfbuzz/tests/linebreaking/.gitignore [deleted file]
src/3rdparty/harfbuzz/tests/linebreaking/Makefile.am [deleted file]
src/3rdparty/harfbuzz/tests/linebreaking/main.cpp [deleted file]
src/3rdparty/harfbuzz/tests/shaping/Makefile.am
src/3rdparty/harfbuzz/tests/shaping/harfbuzz-qt.cpp [moved from src/3rdparty/harfbuzz/tests/linebreaking/harfbuzz-qt.cpp with 65% similarity]
src/corelib/tools/qharfbuzz.cpp
src/corelib/tools/qharfbuzz_p.h
src/corelib/tools/qtextboundaryfinder.cpp
src/corelib/tools/qunicodetools.cpp [new file with mode: 0644]
src/corelib/tools/qunicodetools_p.h [new file with mode: 0644]
src/corelib/tools/tools.pri
src/gui/text/qtextengine.cpp
tests/auto/corelib/tools/qtextboundaryfinder/tst_qtextboundaryfinder.cpp