Re: Font smoothing



Hello List,

I am trying to smooth text rendering using anti aliasing.
But its not anti aliased.

See the picture http://tinypic.com/r/2h7dy1i/4
First line is a png image created using pango and cairo.
Second line is just an html <span> tag. Its in firefox, Ubuntu with Gnome DE.
The difference can be better understood if you compare "W" and "v"
between two lines.

The code responsible to draw text can be found on http://pastie.org/1073683
Font options are set on line 17 and 20.

Could anyone please tell me how can I make those two lines look same?


Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]