Re: Antialiasing render hint für QPainter

2007-03-29 Thread Uwe Stöhr
> Could someone please commit this patch? I've done this: http://www.lyx.org/trac/changeset/17639 Now the math fonts look much better, what is still missing are good looking parentheses, see the attached screenshot of how it looks now and see bug 3330 http://bugzilla.lyx.org/show_bug.cgi?id=33

Re: Antialiasing render hint für QPainter

2007-03-29 Thread Abdelrazak Younes
Stefan Schimanski wrote: Hi! Here is the correct patch now. The dots appear as before. This patch is good Stephan, thanks for the refinement. Could someone please commit this patch? By the way Stephan, could you please send an email to the list stating that you agree to license all your Ly

Re: Antialiasing render hint für QPainter

2007-03-29 Thread Stefan Schimanski
Hi! Here is the correct patch now. The dots appear as before. If you wonder why the dots are looking strange: that's because integers are passed to the Painter class as coordinates. And there is a problem with rounding: decorations are defined in a 1.0x1.0 coordinate system and scaled to t

Re: Antialiasing render hint für QPainter

2007-03-29 Thread Martin Vermeer
On Thu, 29 Mar 2007 10:53:00 +0200 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote: > > "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > Abdelrazak> Jean-Marc Lasgouttes wrote: > >>> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: > >> > Abdelrazak> I like th

Re: Antialiasing render hint für QPainter

2007-03-29 Thread Jean-Marc Lasgouttes
> "Stefan" == Stefan Schimanski <[EMAIL PROTECTED]> writes: Stefan> Now lines and polylines which are vertical or horizontal are Stefan> drawn without antialiasing. I think it really looks nice now, Stefan> especially the \underbraces don't hurt the eyes anymore. This looks pretty good, altho

Re: Antialiasing render hint für QPainter

2007-03-29 Thread Stefan Schimanski
Ok, will check the coding style... In the last patch the check in the line function is wrong. But fixing it still gives ugly results for the dots because the middle dot is drawn smaller. Will look into that in an hour... Schimmi Stefan Schimanski wrote: Now lines and polylines which are v

Re: Antialiasing render hint für QPainter

2007-03-29 Thread Abdelrazak Younes
Stefan Schimanski wrote: Now lines and polylines which are vertical or horizontal are drawn without antialiasing. I think it really looks nice now, especially the \underbraces don't hurt the eyes anymore. Yep, looks very nice! Could you please send the patch inline (as opposed to attached). T

Re: Antialiasing render hint für QPainter

2007-03-29 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Jean-Marc Lasgouttes wrote: >>> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> Abdelrazak> I like the effect on parenthesis personally but not on the Abdelrazak> straight lines. It should be possi

Re: Antialiasing render hint für QPainter

2007-03-29 Thread Stefan Schimanski
Just the \dots are broken. Are those built up from lines?! Schimmi Now lines and polylines which are vertical or horizontal are drawn without antialiasing. I think it really looks nice now, especially the \underbraces don't hurt the eyes anymore. Schimmi PGP.sig Description: Signier

Re: Antialiasing render hint für QPainter

2007-03-29 Thread Stefan Schimanski
Now lines and polylines which are vertical or horizontal are drawn without antialiasing. I think it really looks nice now, especially the \underbraces don't hurt the eyes anymore. Schimmi Bild 3.png Description: application/applefile antialiasing.patch Description: Binary data PGP.si

Re: Antialiasing render hint für QPainter

2007-03-29 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> I like the effect on parenthesis personally but not on the Abdelrazak> straight lines. It should be possible to disable the Abdelrazak> effect for horizontal and vertical lines and also for Abd

Re: Antialiasing render hint für QPainter

2007-03-29 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> I like the effect on parenthesis personally but not on the Abdelrazak> straight lines. It should be possible to disable the Abdelrazak> effect for horizontal and vertical lines and also for Abdelrazak> rectangles. Coul

Re: Antialiasing render hint für QPainter

2007-03-29 Thread Abdelrazak Younes
Stefan Schimanski wrote: Hi! Maybe that was discussed before... I was wondering about those ugly parenthesis in LyX formulas. While text is nicely antialiased nowadays all hand drawn math objects are not. Qt has a "renderhint" for antialiasing (see http://doc.trolltech.com/4.2/qpainter.html#

Antialiasing render hint für QPainter

2007-03-28 Thread Stefan Schimanski
Hi! Maybe that was discussed before... I was wondering about those ugly parenthesis in LyX formulas. While text is nicely antialiased nowadays all hand drawn math objects are not. Qt has a "renderhint" for antialiasing (see http://doc.trolltech.com/4.2/ qpainter.html#RenderHint-enum). Turn