Files
libreoffice/editeng
Justin Luth 0f29d36aa9 tdf#80194 autoEsc: use fontmetrics in calculation
This replaces the previous 7.0 patch in
commit 2940d1905b
where the following is still true:
    THIS WILL CHANGE THE POSITION OF EDITENG SUBSCRIPTS
    AND SUPERSCRIPTS IN EXISTING DOCUMENTS!
    That is because they were very poorly placed
    before - using a formula that is very different
    from how Writer does it. Everyone in the bug reports
    indicates that Writer does it good, but Impress
    does it really bad. (tdf#89849, tdf#63083).

Instead of using the previous patch's 80%/20%
generalization, copy Writer's use of the actual
ascent and descent of the font to determine
the best position for the subscript or superscript.

Change-Id: I0f10f6174b0709f3bc3b9acdc54b7b1fd59c5ee2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90489
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Justin Luth <justin_luth@sil.org>
2020-04-03 10:04:56 +02:00
..
2020-03-03 12:27:18 +01:00
2020-02-21 14:50:28 +01:00
2020-03-03 10:42:09 +01:00

Edit engine.

In OO.o build DEV300m72 this module was split off from svx but it
has no dependencies on [[svx]] (nor on [[sfx2]]) while in turn svx depends on editeng
Read more in the mailing list post:
[http://www.mail-archive.com/dev@openoffice.org/msg13237.html]