diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2022-05-01 19:14:50 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-05-02 15:06:26 +0200 |
commit | 8e6ab6502278702499e7468404d1010069176578 (patch) | |
tree | 678b55b91894c5b57728f84ba3da9794fd7f8b43 /officecfg | |
parent | bc7ea0a75911a782c0008be64508cbf3e0d74cc3 (diff) |
better cache size limit for SalLayoutGlyphsCache
With just limit on the number of cached SalLayoutGlyphs instances
the actual memory used could vary wildly depending on how long
the text is.
Change-Id: Ibcf6918e562e81276d21876c532838996e275bd6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133673
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'officecfg')
-rw-r--r-- | officecfg/registry/schema/org/openoffice/Office/Common.xcs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs b/officecfg/registry/schema/org/openoffice/Office/Common.xcs index f839f5778316..67fa3478b8fe 100644 --- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs @@ -1591,6 +1591,20 @@ <value>64000000</value> </prop> </group> + <group oor:name="Font"> + <info> + <desc>Specifies the cache related options for fonts.</desc> + </info> + <prop oor:name="GlyphsCacheSize" oor:type="xs:long" oor:nillable="false"> + <info> + <desc>Specifies the maximum cache size in bytes for all glyphs used + when laying out text. Larger size may improve text drawing performance + in large documents.</desc> + <label>Glyphs Cache Size</label> + </info> + <value>20000000</value> + </prop> + </group> </group> <group oor:name="Path"> <!-- UIHints: Tools - Options - General - Paths --> |