Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hello All,

Justified text changes the kerning (space between letters) of words on
a line.  The cursor positioning in writer seems to assume, falsely,
that all of the adjustment happens in the spaces between words.  So
the cursor ends up in the middle of, or on the wrong side of, letters.
 This matters to me because I write texts for a university which
requires justified paragraphs

Test case:
  - start a writer document
    - default font: Times New Roman 12
    - default paper size: A4
  - click "Justified" in the tool-bar
  - type "12345678990 1234567890"
  - type "i" repeatedly until it wraps across the line
  - press return
  - up-arrow to the start of the first line
  - right-arrow slowly, while watching the cursor
    - after nine presses, it is in the middle of the left seven
    - after the eleventh press, it is in the middle of the right four

Expected result:
  - the cursor should get to the right edge of the left 0, and then
move to the left edge of the right 1

Questions:
  - is anybody currently working on this?  (If so, they should
continue, and I should work on something else.)

  - does anybody have hints, for where I should start reading the code?
    (I suspect pango, in which case I may end up trying to push
changes to them; are they receptive?)

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

My configuration:
 - MacOS 10.6.8
 - Macbook 8.1 (Intel)
 - libreoffice-3-5 branch, as of sometime yesterday
 - plus some changes to cause buildability

Regards,
James.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.