mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Revert "Fixup 572b06d6
: reduce cache size for breakString"
10MB cache is not so large after all, and it can be helpful with
Scott's perverse examples.
This reverts commit 2abe771407
.
Fixes part of bug #12598.
This commit is contained in:
parent
ec151de2cc
commit
a99f76477d
@ -94,7 +94,7 @@ namespace {
|
||||
int const strwidth_cache_max_cost = 1024 * 1024;
|
||||
// Limit breakstr_cache_ total cost to 10MB of string data.
|
||||
// This is useful for documents with very large insets.
|
||||
int const breakstr_cache_max_cost = 1024 * 1024;
|
||||
int const breakstr_cache_max_cost = 10 * 1024 * 1024;
|
||||
// Qt 5.x already has its own caching of QTextLayout objects
|
||||
// but it does not seem to work well on MacOS X.
|
||||
#if (QT_VERSION < 0x050000) || defined(Q_OS_MAC)
|
||||
|
Loading…
Reference in New Issue
Block a user