Feature request #11153

add a "follow placement" alignment for multiline labels

Added by Mathieu Pellerin - nIRV over 2 years ago. Updated about 2 years ago.

Status:Closed Start Date:09/06/2014
Priority:Normal Due date:
Assigned to:Larry Shaffer % Done:

0%

Category:Labelling
Target version:-
Platform: Resolution:
Platform version: Pull Request or Patch supplied:No
Status info: Tag:

Description

When label's placement is set to "around point" / "around cendroid", the visual quickly degrades for multiline labels that are left or right justified.

For e.g., while the following looks ok when placed to the left:

(*) Line one is a long line that will follow a
____Short one

It's terrible when placed to the right:

Line one is a long line that will follow a (*)
Short one

If another point is nearby the left end that label, people will tent to associate it with the wrong nearby point.

Could we have an alignment setting that is based on the placement position? In details, it'd go like this:
- top right, right, bottom right: left alignment
- top left, left, bottom left: right alignment
- over, below: center alignment

This way, we make sure that the straight edge of the alignment is always the closest to its associated point. The center alignment also gives a clue that the point will be below or above.

Associated revisions

Revision 44f7930ecf93216cc1648c58919154210ed31ffc
Added by Nyall Dawson about 2 years ago

[FEATURE] Add follow point alignment for multiline labels

When set to this mode, text alignment for labels will be dependant
on the final placement of the label relative to the point. Eg, if
the label is placed to the left of the point then the label will
be right aligned, and if it is placed to the right of the point
then the label will be left aligned.
(fix #11153)

History

Updated by Nyall Dawson about 2 years ago

  • Status changed from Open to Closed

Also available in: Atom