summaryrefslogtreecommitdiff
path: root/officecfg/registry/schema
diff options
context:
space:
mode:
authorKhaled Hosny <khaled@aliftype.com>2022-12-10 20:44:03 +0200
committerخالد حسني <khaled@aliftype.com>2022-12-10 21:22:32 +0000
commit840904c05f4799986d78033f05b4d38f58a59994 (patch)
treea915b1324c07463c62dad3cc9e5b6ce2cb190e2e /officecfg/registry/schema
parent7a3ecdd0ab66d516bd8934a7cd32654b85fef312 (diff)
tdf#152267: Strike out changed to underline in small zoom
The font has bogus value in the regular style. Add configuration support for ignoring metrics of such fonts, similar to what we do with line metrics. Change-Id: Ia7cfb44400601e89b8425c9a1144f630f67569f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143648 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@aliftype.com>
Diffstat (limited to 'officecfg/registry/schema')
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/Common.xcs12
1 files changed, 12 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
index 4214307173da..e85864df367d 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
@@ -5443,6 +5443,18 @@
<it>DIN Light,1509,-503,1509,-483,1997,483</it>
</value>
</prop>
+ <prop oor:name="FontsDontUseUnderlineMetrics" oor:type="oor:string-list" oor:nillable="false">
+ <info>
+ <desc>
+ Fonts where the underline or striketout metrics need to be ignored in order to draw the underline or strikeout correctly.
+ Fonts are identified by their name and the underline metrics (see fontmetric.cxx:ShouldNotUseUnderlineMetrics).
+ </desc>
+ </info>
+ <value>
+ <!-- tdf#152267 -->
+ <it>Liberation Serif,100,-123,100,420</it>
+ </value>
+ </prop>
<prop oor:name="PluginsEnabled" oor:type="xs:boolean" oor:nillable="false">
<!-- UIHints: Tools Options Browser Other Plug-Ins Enable -->
<info>