octave-maintainers
[Top][All Lists]
Advanced

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

Re: GUI font and cursor location


From: Michael Goffioul
Subject: Re: GUI font and cursor location
Date: Tue, 31 Jul 2012 17:01:51 +0100

On Tue, Jul 31, 2012 at 2:33 AM, Doug Stewart <address@hidden> wrote:
Why should we not use the non integer font widths?
They were implemented for a reason, and now you want to go back??
The floating point method works for both methods so why lock ourselves to the past?
Why not embrace the future?

The point here is to have something that works and your current patch does not fix the issue completely. As stated in the KDE bug/review report, one has to adapt the whole rendering/positioning code to use floating-point computation from beginning to end; this means using qreal values, QFontMetricsF, QRectF, qreal-based QPainter methods... You should never have to use qRound. Your patch is a step in the right direction, but it needs further work.

 
If KTerminal had used double from the start then they would not have had problems and
would now by using the newer font methods instead of locking themselves into the past.

That's a complain/suggestion you should send to the KDE developers.

Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]