Feature request #3481
Enhancement: Options to stretch labels
Status: | In Progress | ||
---|---|---|---|
Priority: | Low | ||
Assignee: | - | ||
Category: | Labelling | ||
Pull Request or Patch supplied: | No | Resolution: | fixed/implemented |
Easy fix?: | No | Copied to github as #: | 13541 |
Description
It would be very nice to be able to stretch the length of labels:
- either along a line, or inside a polygon
- either by increasing the space between words, or between letters
- either by specifying the spacing distance, or by automatically spacing to "fill" the length of the polygon or polyline.
e.g. see the labels on most of the rivers in this map http://en.wikipedia.org/wiki/File:National-atlas-north-dakota.PNG
e.g. see some of the labels in the attached map (China, Tibet, Arabian Sea, etc)
History
#1 Updated by bderstine - almost 14 years ago
I agree, also called letter spacing. This should definitely be an option.
#2 Updated by Giovanni Manghi almost 13 years ago
- Target version changed from Version 1.7.0 to Version 1.7.4
#3 Updated by Giovanni Manghi over 12 years ago
- Target version changed from Version 1.7.4 to Version 2.0.0
#4 Updated by Alister Hood over 12 years ago
- Pull Request or Patch supplied set to No
- Status info deleted (
0) - Assignee deleted (
nobody -) - Category changed from Symbology to Labelling
#5 Updated by Pirmin Kalberer about 12 years ago
- Target version changed from Version 2.0.0 to Future Release - Nice to have
#6 Updated by Alister Hood over 10 years ago
- either by specifying the spacing distance, or by automatically spacing to "fill" the length of the polygon or polyline.
I guess it would be even better if you instead of just filling the full length of the object you could specify a length to "fill" to, e.g. 50% of the length.
#7 Updated by Médéric RIBREUX about 9 years ago
- Status changed from Open to In Progress
- % Done changed from 0 to 30
- Resolution set to fixed/implemented
Hello, bug triage...
in QGIS 2.13 master (and probably in previous versions), there are two spacing options:
- letter which specifies the distance between the letters.
- words which specifies the distance between two words.
- both options can be defined by data (field or expression) so you can have some labels stretched and some other that are regular.
- the units are the same than the font (Map Unit or Points).
The only things that don't exist for the moment are:
- automatically spacing to "fill" the length of the polygon or polyline.
- stretch along a line, or inside a polygon.
#8 Updated by Giovanni Manghi over 7 years ago
- Easy fix? set to No