Opened 16 years ago

Closed 13 years ago

#2812 closed defect (fixed)

Fractured Arabic words using ANGLE FOLLOW

Reported by: jackeycheung Owned by: tbonfort
Priority: normal Milestone: 6.0 release
Component: AGG Version: unspecified
Severity: normal Keywords:
Cc: tchaddad, woodbri

Description

If a layer uses ANGLE FOLLOW to render labels that are in Arabic, the rendered labels have tiny gaps between each joined characters.

-- Stephen Woodbridge wrotes --

OK, this is great. I think I learned something new then. With ANGLE AUTO you can ask GD to draw the whole string at the specified angle. But there is not equivalent function in GD for ANGLE FOLLOW. The only way we can do that is one character at a time, changing the insertion point and angle of each character.

I know Thomas has put a lot of effort into make the AGG render well integrated with mapserver. It would probably be a good idea to document this issue and the fact that the outlinecolor is what is causing in a bug. http://trac.osgeo.org/mapserver/ If you do not have an OSGeo userid, follow the link to get one first.

Thank you for your patience and Thank you, Tanya, for your excellent observations on this issue.

-- end of quote --

Attachments (3)

angle_auto.jpg (11.5 KB ) - added by jackeycheung 16 years ago.
Lables generated with ANGLE AUTO
angle_follow.jpg (4.4 KB ) - added by jackeycheung 16 years ago.
Lables generated with ANGLE FOLLOW
no_outline.jpg (2.8 KB ) - added by jackeycheung 16 years ago.
Lables generated with ANGLE FOLLOW without OUTLINE

Download all attachments as: .zip

Change History (8)

by jackeycheung, 16 years ago

Attachment: angle_auto.jpg added

Lables generated with ANGLE AUTO

by jackeycheung, 16 years ago

Attachment: angle_follow.jpg added

Lables generated with ANGLE FOLLOW

by jackeycheung, 16 years ago

Attachment: no_outline.jpg added

Lables generated with ANGLE FOLLOW without OUTLINE

comment:1 by tchaddad, 16 years ago

Cc: tchaddad added

comment:2 by woodbri, 16 years ago

Cc: woodbri added

comment:3 by tbonfort, 15 years ago

applied a two-pass rendering on angle follow labels in r9432:

  • first pass draws all outlines and shadows
  • second pass draws the actual text

this should correct the fractured text that was occuring, and also helps readability on labels with high curvature

this is an AGG only fix (for now?)

comment:4 by tbonfort, 15 years ago

Milestone: 6.0 release

pushing off to 6.0 when applied to all renderers

comment:5 by tbonfort, 13 years ago

Resolution: fixed
Status: newclosed

the two-pass rendering is done at a higher level, so this should be fixed for all renderers. performance-wise this is not optimal, see #3611 for a possible workaround.

Note: See TracTickets for help on using tickets.