[MonoDevelop] [PATCH] Source Editor

David Anes david.anes at gmail.com
Fri Apr 27 05:16:52 EDT 2007


Hi Michael.

To solve the Cairo antialiasing, I suggest to apply a translation
transformation of (+0.5,+0.5) to the Cairo context before drawing, and set
the thinkness to 1.

Regards,
David.

2007/4/26, David Makovský (Yakeen) <yakeen at sannyas-on.net>:
>
> Hi Michael,
>
> Michael Hutchinson píše v Čt 26. 04. 2007 v 17:40 +0100:
> > On 4/24/07, David Makovský (Yakeen) <yakeen at sannyas-on.net> wrote:
> > > Hi,
> > >
> > > I solved the fixed color for drawing, now it uses text colors from
> > > widget style. It should be enough.
> >
> > Nice work!
> >
> > There are a couple of possible issues I noticed.
> > * I don't like the antialiasing on the lines -- they look very fuzzy.
> > Would it be possible to snap them to pixels like font renders do?
>
> Maybe, this is my first cairo experiment, so cannot say anything
> exaction this. I just tried to experiment with line thickness between
> 0.2 and 0.8 and 0.3 looks best for me even with antialiasing, but more
> people more opinions. Anyway I'll try to experiment on this area.
>
> > * Would it be possible to make the control chars a different, more
> > subtle colour?
>
> That is what I wanted to have but I haven't found way how to achieve it.
> The way how is it dome now is that we rely on theme text colors - normal
> and selected. Do you know an algorithm how to do it to be safely
> readable?
>
> > * You have a typo: "contol" instead of "control" all over the place,
> > including the UI...
> >
> Aaah, I'll fix it tomorrow, thanks for pointing out.
>
> Regards,
> --
> David Makovský (Yakeen) <yakeen at sannyas-on.net>
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20070427/87afc18b/attachment.html 


More information about the Monodevelop-list mailing list