Skip to content
Permalink
Browse files
Fix label rendering from mapscript with labelcache disabled (#5239)
  • Loading branch information
tbonfort committed Feb 13, 2016
1 parent 6c13c20 commit 2f3e195eaac04ccd494bec97ac84dc00618346c9
Showing 1 changed file with 5 additions and 0 deletions.
@@ -2056,6 +2056,11 @@ int msDrawPoint(mapObj *map, layerObj *layer, pointObj *point, imageObj *image,
return(MS_FAILURE);
}
} else {
if(UNLIKELY(MS_FAILURE == msComputeTextPath(map,ts))) {
freeTextSymbol(ts);
free(ts);
return MS_FAILURE;
}
ret = msDrawTextSymbol(map,image,*point,ts);
freeTextSymbol(ts);
free(ts);

0 comments on commit 2f3e195

Please sign in to comment.