Opened 17 years ago

Closed 17 years ago

#2239 closed defect (fixed)

Support for encoding in legend and SVG output

Reported by: dmorissette Owned by: dmorissette
Priority: normal Milestone: 5.0 release
Component: MapServer C Library Version: svn-trunk (development)
Severity: normal Keywords:
Cc:

Description

-------- Original Message --------
Subject: 2 patches in ENCODING paramater of MapServer5.0B4
Date: Fri, 17 Aug 2007 15:04:09 +0900
From: (Orkney) Toru Mori
To: Daniel Morissette

Hi Daniel,

Thanks for the great work in developing MapServer 5.0!

Our chief engineer, Makoto Niwa, found 2 problems in handling ENCODING 
parameter in the latest version of MS5.0. He made patches for these two 
each as attaced.

** ENCODING parameter in LEGEND is neglected
Fixed >> maplegend.diff

** Characters are garbled in SVG rendering
Fixed >> mapsvg.diff


I hope they are useful for the MapServer 5.0 development team.

Cheers,

Toru Mori
Orkney, Inc.

Attachments (2)

mapsvg.diff (625 bytes ) - added by dmorissette 17 years ago.
maplegend.diff (680 bytes ) - added by dmorissette 17 years ago.

Download all attachments as: .zip

Change History (6)

by dmorissette, 17 years ago

Attachment: mapsvg.diff added

by dmorissette, 17 years ago

Attachment: maplegend.diff added

comment:1 by dmorissette, 17 years ago

Status: newassigned
Summary: Support for encoding in legend and scalebarSupport for encoding in legend and SVG output

comment:2 by dmorissette, 17 years ago

I have committed a slightly modified version of the maplegend.c patch in r6613

comment:3 by dmorissette, 17 years ago

The mapsvg patch (in r6614) removes the call to msGetEncodedString in msDrawTextSVG (called by msDrawLabelCacheSVG) since the 5.0 source code has been changed so that the text has already been converted to UTF-8 before being added to the label cache.

comment:4 by dmorissette, 17 years ago

Resolution: fixed
Status: assignedclosed

Fixed with a final patch to fix the retrun value of msDrawLegend() in r6615.

Note: See TracTickets for help on using tickets.