<div dir="ltr">2013/1/28 Michael Van Canneyt <span dir="ltr"><<a href="mailto:michael@freepascal.org" target="_blank">michael@freepascal.org</a>></span><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div class="im">
On Mon, 28 Jan 2013, silvioprog wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hello,<br>
TFPCanvasDrawer provides  anti-alias support?<br>
</blockquote>
<br></div>
Not for lines.</blockquote><div><br></div><div style><div>Sniff. :'(</div><div><br></div><div>I'm trying to generate charts in my CGI apps:</div><div><br></div><div><a href="http://silvioprog.com.br/cgi-bin/cgi1">http://silvioprog.com.br/cgi-bin/cgi1</a></div>

<div><br></div><div>And PDF with PowerPDF (I'll send a patch soon to remove some LCL dependences):</div><div><br></div><div><a href="http://silvioprog.com.br/cgi-bin/cgi2">http://silvioprog.com.br/cgi-bin/cgi2</a> (Clique "aqui" = Click "here")</div>

</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> For texts, it should be able to add it.<br>

<span class=""><font color="#888888"></font></span></blockquote></div><br>Yes:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">procedure TFPCanvasDrawer.EnsureFont;</div><div class="gmail_extra">

begin</div><div class="gmail_extra">  {$IFDEF USE_FTFONT}</div><div class="gmail_extra">  if FFont <> nil then exit;</div><div class="gmail_extra">  FFont := TFreeTypeFont.Create;</div><div class="gmail_extra">  FFont.Resolution := 72;</div>

<div class="gmail_extra">  FFont.AntiAliased := False; <<<< I'll set it for True. It would be interesting if there was a property to handle it.:)</div><div class="gmail_extra">  FCanvas.Font := FFont;</div>

<div class="gmail_extra">  {$ENDIF}</div><div class="gmail_extra">end;</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks for the fast reply man! :)<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">

ps. I'm very, very happy with the Free Pascal. Now, I'm creating fine my PDFs and charts. I will make one layer to facilitate the use of some classes of PowerPDF and TAChart.<br></div><div><br></div>-- <br>Silvio Clécio<br>

My public projects - <a href="http://github.com/silvioprog" target="_blank">github.com/silvioprog</a>
</div></div>