<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Hi,<br><br>When i try to do a print preview, the image doesn't show.<br><br>Chameleon: 2.5<br>Mapserver: 5.0.2<br>ms4w 2.2.7<br><br>I know that the problem is when i put the legend in the image. The problem is related to fontfile.<br><br><b>Warning</b>: imagettfbbox() [<a rel="nofollow">function.imagettfbbox</a>]: Invalid font filename 
in 
<b>C:\ms4w\apps\chameleon\htdocs\widgets\PrintProduction\production_draw_legend.php</b> 
on line <b>288</b><br><br><b>Warning</b>: imagettfbbox() [<a rel="nofollow">function.imagettfbbox</a>]: Invalid font filename 
in 
<b>C:\ms4w\apps\chameleon\htdocs\widgets\PrintProduction\production_draw_legend.php</b> 
on line <b>319</b><br><br>I saw the next: <br>1-When
the mapproduction page show, the font dir is ok:
(C:\ms4w\apps\fedegan2\etc), and font file is ok
(C:\ms4w\apps\fedegan2\etc\fedegan.fnt)<br><br>2-When i do the download the $sz_font variable is bad: (C:\ms4w\a<span style="color: rgb(255, 0, 0);">pps edega</span>n2\etc/arial.ttf), the correct is: (C:\ms4w\a<span style="color: rgb(0, 0, 0);">pps\fedega</span>n2\etc/arial.ttf)<br>In
preview.php is call the function getLegendImage of the file
production_draw_legend.php. The $sz_font is one argumet of that
variable. I try to force or change, but doesn't work<br>When i put my .map in other application (basic sample application of chameleon), the print production work fine. I think that there are something in my chameleon template, but the system doesn't show other errors.<br><br>Someone have some ideas for correct this error.<br><br><br>Thanks <br><br>Alexys H<br><br></div></div></div><br>
      <hr size=1><br><font face="Verdana" size="-2">Enviado desde Correo Yahoo!<br><a href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52432/*http://es.docs.yahoo.com/mail/overview/index.html">El buzón de correo sin límite de almacenamiento.</a>.<br></font>  </body></html>