diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-03-23 14:41:01 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-05-30 14:02:28 +0200 |
commit | d71eb1e4476d7abfe25306338527a359cd22ba09 (patch) | |
tree | eb1740380e4e2373d1510f869924b7538a096743 /officecfg | |
parent | e42f6174d30c9f2211bdaffdefb011eeb9ead1fc (diff) |
tdf#116498 Use win metrics for 'DIN Light' font
This adds a special treatment for fonts which rely on the win metrics
for correct line spacing calculation.
At the moment, only 'DIN Light' is known to need that treatment.
Change-Id: Idd9fd6f63083ab7a706e0cbcd33a947d4949d4e9
Reviewed-on: https://gerrit.libreoffice.org/53962
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
(cherry picked from commit 2f529db909f99a2a503ca0347a9d70742b7f05ba)
Reviewed-on: https://gerrit.libreoffice.org/55047
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'officecfg')
-rw-r--r-- | officecfg/registry/schema/org/openoffice/Office/Common.xcs | 12 |
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 88b6f3b07f1b..3d73cc94deb2 100644 --- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs @@ -5295,6 +5295,18 @@ </info> <value>EmojiOne Color</value> </prop> + <prop oor:name="FontsUseWinMetrics" oor:type="oor:string-list" oor:nillable="false"> + <info> + <desc> + Fonts where the win metrics need to be considered in order to display the font correctly + Fonts are identified by their name and the font metrics (see fontmetric.cxx:ShouldUseWinMetrics). + </desc> + </info> + <value> + <!-- DIN Light (ttf version) has odd metrics. The otf version works fine. --> + <it>DIN Light,1509,-503,1509,-483,1997,483</it> + </value> + </prop> <prop oor:name="PluginsEnabled" oor:type="xs:boolean" oor:nillable="false"> <!-- OldPath: ? --> <!-- OldLocation: soffice.ini --> |