Feature request #11153

add a "follow placement" alignment for multiline labels

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

Status:Closed
Priority:Normal
Assignee:Larry Shaffer
Category:Labelling
Pull Request or Patch supplied:No Resolution:
Easy fix?:No

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 44f7930e
Added by Nyall Dawson over 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

#1 Updated by Nyall Dawson over 2 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF