#367 closed defect (invalid)
Label outlines suck...
Reported by: | sdlime | Owned by: | sdlime |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | MapServer C Library | Version: | 4.1 |
Severity: | normal | Keywords: | |
Cc: |
Description
Outlines around labels often appear incomplete. It's epecially noticeable with bitmap fonts. See attached image. One solution may be to render in a small image and use a filter or some specialized algorithm to create the halo. It may be that we don't draw the text offset correctly. Anyway, it sucks. Steve
Attachments (1)
Change History (5)
by , 21 years ago
comment:1 by , 21 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I changed the way outlines are produced, offsetting N,S,E,W instead of NE, NW, SE, SW. The results look much better although I'm not sure this will work for all cases. Steve
comment:2 by , 21 years ago
Cc: | added |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
I was wrong, doesn't handle all cases. The only way to fix this is to offset in all 8 directions, so that is what has been done in CVS. This is spendy though (drawing every friggin piece of text 9 times). Ideally I'd like to modify GD to do this more efficiently. For example, it would be nice to be able to use a brush to draw the text. That way you could lay down the outline using a 3x3 brush and then draw the text. I'm gonna leave this one open...
comment:3 by , 19 years ago
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
The halo effect is correct now, but slow. DM has a fix for that too so this is way out of date. Marking as invalid... Steve
Note:
See TracTickets
for help on using tickets.
A sample image showing bad outlines.