diff options
author | Martin Hosken <martin_hosken@sil.org> | 2012-07-05 23:10:23 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-07-05 23:13:07 +0200 |
commit | b25385a671ed43580a360570981ac1d52446a615 (patch) | |
tree | 2ced0876584aeeafd2f7926c1bd68f0c0d9ebe36 /vcl | |
parent | 6ee44323ce7f6bcb583872019314915cf73103ca (diff) |
fdo#49486: fix graphite2 hyphenation regression
Change-Id: I6d5901f28b66c8edc0c16e7ec04d574a5d59dedc
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/glyphs/graphite_layout.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/glyphs/graphite_layout.cxx b/vcl/source/glyphs/graphite_layout.cxx index e3bd926492ed..b9977ed4c44b 100644 --- a/vcl/source/glyphs/graphite_layout.cxx +++ b/vcl/source/glyphs/graphite_layout.cxx @@ -715,8 +715,8 @@ int GraphiteLayout::GetTextBreak(long maxmnWidth, long char_extra, int factor) c if (mvChar2BaseGlyph[i] != -1) { if ( - (mvCharBreaks[i] > -25 || (mvCharBreaks[i-1] > 0 && mvCharBreaks[i-1] < 25)) && - (mvCharBreaks[i-1] < 25 || (mvCharBreaks[i] < 0 && mvCharBreaks[i] > -25)) + (mvCharBreaks[i] > -35 || (mvCharBreaks[i-1] > 0 && mvCharBreaks[i-1] < 35)) && + (mvCharBreaks[i-1] < 35 || (mvCharBreaks[i] < 0 && mvCharBreaks[i] > -35)) ) { nLastBreak = static_cast<int>(i); |