From 79fb708b3ceb2c54baf061f4081e2fa2d87d7244 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 2 Jun 2007 05:52:09 +0000 Subject: Increased segmentation parameters to more reasonable values. --- src/PositionCache.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/PositionCache.h b/src/PositionCache.h index fc261fbbc..b69956d2b 100644 --- a/src/PositionCache.h +++ b/src/PositionCache.h @@ -112,9 +112,9 @@ public: class BreakFinder { // If a whole run is longer than lengthStartSubdivision then subdivide // into smaller runs at spaces or punctuation. - enum { lengthStartSubdivision = 10 }; + enum { lengthStartSubdivision = 300 }; // Try to make each subdivided run lengthEachSubdivision or shorter. - enum { lengthEachSubdivision = 5 }; + enum { lengthEachSubdivision = 100 }; LineLayout *ll; int lineStart; int lineEnd; -- cgit v1.2.3