summaryrefslogtreecommitdiff
path: root/officecfg/registry/schema/org/openoffice/Office
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-12-21 14:15:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-12-22 10:12:01 +0100
commit39a57fa8c047227060915534e64c4e90affa4b1a (patch)
treef022a7168e65674f2930b14787e8cabe964162c4 /officecfg/registry/schema/org/openoffice/Office
parenta3bc9dc51104d01ec203b8e2d5767dd055a42b58 (diff)
tdf#144862 explore alternatives to writer's on-screen glyph positioning
writer does glyph position adjusting to try and split the difference of the "printing" positions and "screen" positions. it seems to have been there from the initial import commit 84a3db80b4fd66c6854b3135b5f69b61fd828e62 Date: Mon Sep 18 23:08:29 2000 +0000 initial import we seem to sync with the printing positions after each whitespace so each initial glyph after whitespace is a stable position and is the 'printing' position while each following glyph is in a position which is somewhere between the 'printing' position and 'screen' position. Which leads to noticeably unstable positions of text during editing at various zoom levels and without a clear rationale for the heuristic. GlyphPositioningMode::Classic, the original mode which remains the default. GlyphPositioningMode::PreferLayout, takes the vcl provided print positions and just uses those unmodified for screen layout like editeng does. GlyphPositioningMode::ClassicInspired, which is similar to GlyphPositioningMode::Classic in using 'printing' positions for the start of runs, but using 'screen' positions for run content. GlyphPositioningMode::PreferReadability, replace the 'printing' positions with the screen-optimized positions for all content. use tools, options, writer, view, glyph positioning to change Change-Id: I6677af973268bc586d825c7fbf0b483aaf651ca0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127089 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'officecfg/registry/schema/org/openoffice/Office')
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/Writer.xcs8
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/WriterWeb.xcs8
2 files changed, 16 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Writer.xcs b/officecfg/registry/schema/org/openoffice/Office/Writer.xcs
index 1fe57e99cd72..af944c23c03f 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Writer.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Writer.xcs
@@ -1459,6 +1459,14 @@
</info>
<value>false</value>
</prop>
+ <prop oor:name="GlyphPositioningMode" oor:type="xs:int" oor:nillable="false">
+ <!-- UIHints: Tools - Option - Text document - Layout - [Section] Window -->
+ <info>
+ <desc>Specifies the Glyph Positioning Mode.</desc>
+ <label>Glyph Positioning Mode</label>
+ </info>
+ <value>0</value>
+ </prop>
</group>
<group oor:name="Other">
<info>
diff --git a/officecfg/registry/schema/org/openoffice/Office/WriterWeb.xcs b/officecfg/registry/schema/org/openoffice/Office/WriterWeb.xcs
index 8d633caae4f0..12ffb09a2755 100644
--- a/officecfg/registry/schema/org/openoffice/Office/WriterWeb.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/WriterWeb.xcs
@@ -340,6 +340,14 @@
</info>
<value>false</value>
</prop>
+ <prop oor:name="GlyphPositioningMode" oor:type="xs:int" oor:nillable="false">
+ <!-- UIHints: Tools - Option - HTML-Document - Layout - [Section] Window -->
+ <info>
+ <desc>Specifies the Glyph Positioning Mode.</desc>
+ <label>Glyph Positioning Mode</label>
+ </info>
+ <value>0</value>
+ </prop>
</group>
<group oor:name="Other">
<info>