[Libreoffice] Bringing some sanity to interline spacing

Eike Rathke ooo at erack.de
Fri Sep 9 09:39:52 PDT 2011


Hi Khaled,

On Friday, 2011-09-02 18:21:50 +0200, Khaled Hosny wrote:

> > > MSWord is not known for its sane handling of font metrics, and I have
> > > been told recent (2007-) broke it even further.
> > 
> > Hum, ending up with .docs, .docxs, .rtfs that layout even further from
> > their original how-they-layout-in-word, while pre-existing .odts and so
> > forth also change layout sounds somewhat worrying :-). We may have to
> > cook up a "use-old-school-metrics" compatibility flag or something like
> > that along the lines of some similar flags we already have. I might try
> > and play around the area.
> 
> This would even be better. With my font developer hat on I'd prefer
> enforcing standard compliance (old behaviour is against OpenType
> recommendation), but as long as there is a way to get the correct
> behaviour I'm fine.

With
http://cgit.freedesktop.org/libreoffice/core/commit/?id=052f181dad89ad34d90513bc9dcd3e3239727933
the new spacing is used only if SAL_USE_NEW_LINEHEIGHT=1 is set in the
environment, else the old metrics are used.

>  Khaled (who is suffering right now from this very same issue with MS Word)

Which indicates even more that we can't switch just like that to the new
metrics.

  Eike

-- 
 PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication.
 Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110909/76f79fab/attachment.pgp>


More information about the LibreOffice mailing list