Opened 19 years ago

Closed 19 years ago

#1481 closed defect (fixed)

mapObj.save does not save labelObj.font correcly

Reported by: szekerest Owned by: sdlime
Priority: normal Milestone:
Component: MapServer C Library Version: 4.6
Severity: major Keywords:
Cc:

Description

When saving a map with TRUETYPE fonts the labelObj.font will written to the 
file without double quotes. This causes parsing error on load.

To fix this mapfile.c line 1417 should be set to:

fprintf(stream, "  %sFONT \"%s\"\n", tab, label->font);

Tamas Szekeres

Change History (2)

comment:1 by sgillies@…, 19 years ago

Component: MapScript-SWIGMapServer C Library
Owner: changed from sgillies@… to sdlime
Not a mapscript bug, I'm reassigning to the core lib component.

comment:2 by sdlime, 19 years ago

Resolution: fixed
Status: newclosed
Fixed in CVS HEAD...

Steve
Note: See TracTickets for help on using tickets.