Opened 13 years ago

Closed 13 years ago

#3767 closed defect (fixed)

KML: coordinates transformed to int when drwing symbols with text

Reported by: assefa Owned by: assefa
Priority: normal Milestone: 6.0 release
Component: Output-KML Version: unspecified
Severity: normal Keywords:
Cc: msmitherdc, tbonfort

Description

when drawing point layers with a text, the coordinates are transformed to int before calling the rendering renderGlyphs functions. That affects how the kml renders the coordinates.

Attachments (1)

bug3767.patch (720 bytes ) - added by assefa 13 years ago.

Download all attachments as: .zip

Change History (4)

by assefa, 13 years ago

Attachment: bug3767.patch added

comment:1 by assefa, 13 years ago

Cc: msmitherdc tbonfort added

Thomas,

Is there any problem if I apply the patch?

comment:2 by tbonfort, 13 years ago

Assefa, no it is not ok to apply, as we want to round to closest pixel in some cases to avoid blurred labels.

what you want is to modify the test to

if(rotation==0 && !MS_RENDERER_KML(image->format))

comment:3 by assefa, 13 years ago

Resolution: fixed
Status: newclosed

Thanks. committed in r11303.

Note: See TracTickets for help on using tickets.