<p>I'll try to be a bit more specific :) Below I've posted my layers as they look in the mapfile.<br/>
I'm drawing the PDF with C# MapScript in a webapplication. When debugging, I can see that it fails when calling draw() on my mapObj. It doesn't fail everytime, but most of the time.</p>
<p>In my logfile it stop with this line: <code>[Wed Apr 18 12:39:37 2012].327000 msDrawMap(): Drawing Label Cache, 0.000s</code></p>
<p>My layers: </p>
<pre><code>LAYER # Streetnames
CONNECTION "C:\proj\Grundkort\VEJMIDTE_syddjurs.tab"
CONNECTIONTYPE ogr
FILTER ("[vejnavn]" != "UDEN NAVN")
GROUP "Oversigtskort"
LABELITEM "vejnavn"
MAXSCALEDENOM 60000
NAME "Vejnavne"
STATUS on
TYPE line
METADATA
"ows_group_title" "Oversigtskort"
"ows_title" "Oversigtskort - Vejnavne"
END
CLASS
LABEL
ANGLE follow
ALIGN center
COLOR 0 0 0
FONT "Arial"
MINDISTANCE 150
OUTLINECOLOR 255 255 255
OUTLINEWIDTH 1
POSITION cc
SIZE 10
TYPE truetype
END
END
END
LAYER # Housenumbers
CONNECTION "C:\proj\Grundkort\Husnr.tab"
CONNECTIONTYPE ogr
GROUP "Oversigtskort"
LABELITEM "husnummer"
MAXSCALEDENOM 2000
NAME "Husnumre"
STATUS on
TYPE annotation
METADATA
"ows_group_title" "Grundkort"
"ows_title" "Grundkort - Husnumre"
END
CLASS
LABEL
ANGLE [rotation]
ALIGN center
COLOR 0 0 0
FONT "Arial"
OUTLINECOLOR 255 255 255
OUTLINEWIDTH 1
POSITION cc
SIZE 10
TYPE truetype
END
END
END</code></pre>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/Possible-bug-Cairo-PDF-output-labels-tp4894039p4897513.html">RE: Possible bug: Cairo/PDF output labels</a><br/>
Sent from the <a href="http://osgeo-org.1560.n6.nabble.com/Mapserver-User-f4226646.html">Mapserver - User mailing list archive</a> at Nabble.com.<br/>