[Libreoffice] [MacOS] Horizontal cursor positioning in justified text

Christian Lohmaier lohmaier+libreoffice at googlemail.com
Thu Dec 22 04:06:32 PST 2011

Hi James, *,

On Thu, Dec 22, 2011 at 8:56 AM, James C
<james.from.wellington at gmail.com> wrote:
> [Caret movement in justified text on Mac]
> Questions:
>  - is anybody currently working on this?  (If so, they should
> continue, and I should work on something else.)

This is specific to the Mac, where ATSUI is used for the text
rendering, and indeed there is a difference between the spacing
applied by Mac OSX and what LO internally uses. (basically LO only
expands spaces, ATSUI also between letters)

Apparently it was onced fixed/approximated better, but the problem did
come up again later (already in OOo times, prior to the creation of

>  - does anybody have hints, for where I should start reading the code?


Too bad EIS is gone, otherwise one could have looked up the ooo301gsl1 cws.

But opengrok does the trick for the code-pointers:

So look around vcl/aqua/source/gdi/salatslayout.cxx

>  - if I start working on this, should I record a bug?

No - not really necessary, but of course nice to have to be able to
point to a bugreport in a commit message, this makes it easier for
people to write nicer releasenotes and stuff.
(but there is an old OOo bug, thus that is covered)


More information about the LibreOffice mailing list