Ticket #2403 (closed defect: fixed)
entity encoding fails with angle follow text
| Reported by: | tbonfort | Owned by: | tbonfort |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.2 release |
| Component: | MapServer C Library | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: | dmorissette, sdlime |
Description (last modified by tbonfort) (diff)
GD text rendering by default supports entity encoded text (eg: { é ...)
there's a problem with how these strings are split up glyph by glyph for angle follow text, as for text containing these encodings, msGetLabelSizeEx returns the size of gd rendered glyphs (i.e. é counts for one glyph) whereas the string is split into individual chars when computing the label points.
there's potential for segfaults here as in that case we're fetching label point values outside of what was returned by gd (mapserv segfaults for me, but not shp2img)
example with angle follow vs. angle auto:
Change History
Note: See
TracTickets for help on using
tickets.

