<div dir="ltr">Hi,<div><br></div><div>I have found a number of issues with the DefaultGlyphService and DefaultLegendService to render symbolizers. <div><br></div><div>1) For PointSymbolizer referring to external image GraphicSymbol, the image is clipped whether I set the dimension or not.<br><div><div><br></div><div><pre style="color:rgb(0,0,0);font-family:"Courier New";font-size:9pt"><span style="color:rgb(0,0,128);font-weight:bold">final </span>Dimension preferredSize = DefaultGlyphService.<span style="font-style:italic">glyphPreferredSize</span>(symbolizer, dimension, <span style="color:rgb(0,0,128);font-weight:bold">null</span>);<br><span style="color:rgb(128,128,128);font-style:italic">// Create glyph image.<br></span>DefaultGlyphService.<span style="font-style:italic">create</span>(symbolizer, preferredSize, <span style="color:rgb(0,0,128);font-weight:bold">null</span>);</pre>For example for the following icon: <a href="http://ows.usersmarts.com/ems/icons/tier1/Base/ems.incident.civil.emergency.png">http://ows.usersmarts.com/ems/icons/tier1/Base/ems.incident.civil.emergency.png</a><br><br>It renders like this picture:</div><div><br></div><div><img src="cid:ii_15f79e4fcebfd701" alt="Inline image 1" width="104" height="104" style="margin-right: 0px;">  <br></div><div><br></div><div>How should I configure the DefaultGlyphService and DefaultLegendService to render the whole image within the dimension I specify.</div><div><br></div><div>2) The rendering of glyph /legend for PolygonSymbolizer does not render marks (such circle. square), but does on the layer.</div><div><br></div><div>What the default set up to create a legend the render the symbolizer as specified. Is there any work around to solve this problem?</div><div><br></div><div>3) The line symbolizer does not seem to take in account linecap, linejoin parameter on the legend/glyph.</div><div><br></div><div>I have an internal demo Friday for OGC to demonstrate a semantic portrayal service based on Gtk portrayal engine. I would appreciate if you can give me some solutions for these issues. </div><div><br></div><div>Thanks in advance.</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-family:arial;font-size:small">Stephane Fellah<br></div><div style="font-family:arial;font-size:small">Chief  Knowledge Scientist</div><div style="font-family:arial;font-size:small">Image Matters LLC</div><div style="font-family:arial;font-size:small">Office: +(703) 669 5510</div><div style="font-family:arial;font-size:small">Cell: 703 431 9420</div></div></div></div></div>
</div></div></div></div>