Opened 14 years ago
Last modified 13 years ago
#2113 new bug
curved labels: only a few are drawn
Reported by: | pcav | Owned by: | wonder |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.7.0 |
Component: | Symbology | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | Debian |
Platform Version: | Awaiting user input: | no |
Description
With the new labelling engine, I always get far too few labels when selection the "curved" option. See attached screenshot an sample file.
Attachments (5)
Change History (9)
by , 14 years ago
Attachment: | labels.png added |
---|
comment:1 by , 14 years ago
The problem is that either the shapes are too short (the label wouldn't fit on the line) or the shapes are too complex and creation of labels candidates fails because the succesive characters would be otherwise rotated "too much", resulting in unreadable labels.
I don't know what should be a correct solution for this. The engine could try to detect such complex shapes and try to simplify on-the-fly them before creating candidates...
comment:2 by , 14 years ago
Milestone: | Version 1.5.0 → Version 1.6.0 |
---|
by , 14 years ago
Attachment: | labels2-composer.png added |
---|
Example 2: labels in the composer window (still ok)
comment:3 by , 14 years ago
Even on simpler lines, as streets, the curvature threshold seems too low. I can imagine much more curved labels would be still good-looking. Anyway, even if it's acceptable on display, on printouts (or exported files; no matter rasterized or not) it is definitely not. See screenshots label2-* (also wrong scaling and #2796 are visible).
by , 13 years ago
Attachment: | P1080123_cropped_1.jpg added |
---|
Check out the labelling on the roads. Sorry about the poor lighting :(
comment:4 by , 13 years ago
(sorry, I was meant to post this before attaching)
I agree with this:
Even on simpler lines, as streets, the curvature threshold seems too low.
But I also think that this is necessary:
The engine could try to detect such complex shapes and try to simplify on-the-fly them before creating candidates...
See the labelling on the roads in P1080123_cropped_1.jpg for an example.
example of missing labels