2013/1/28 Michael Van Canneyt <mich...@freepascal.org> > On Mon, 28 Jan 2013, silvioprog wrote: > >> Hello, >> TFPCanvasDrawer provides anti-alias support? >> > > Not for lines.
Sniff. :'( I'm trying to generate charts in my CGI apps: http://silvioprog.com.br/cgi-bin/cgi1 And PDF with PowerPDF (I'll send a patch soon to remove some LCL dependences): http://silvioprog.com.br/cgi-bin/cgi2 (Clique "aqui" = Click "here") > For texts, it should be able to add it. > Yes: procedure TFPCanvasDrawer.EnsureFont; begin {$IFDEF USE_FTFONT} if FFont <> nil then exit; FFont := TFreeTypeFont.Create; FFont.Resolution := 72; FFont.AntiAliased := False; <<<< I'll set it for True. It would be interesting if there was a property to handle it.:) FCanvas.Font := FFont; {$ENDIF} end; Thanks for the fast reply man! :) 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. -- Silvio Clécio My public projects - github.com/silvioprog
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal