[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] TeXmacs on retina screens
From: |
Joris van der Hoeven |
Subject: |
Re: [Texmacs-dev] TeXmacs on retina screens |
Date: |
Tue, 4 Dec 2012 23:09:31 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Tue, Dec 04, 2012 at 04:18:54PM +0100, Joris van der Hoeven wrote:
> On Tue, Dec 04, 2012 at 12:56:52PM +0100, Joris van der Hoeven wrote:
> > P.S.: I am also working on the support of non integer shrinking factors at
> > the moment,
> > which will allow us to tackle the fully general case, if you manage to get
> > the above
> > idea working.
>
> I managed to get this working.
There is still a small problem with the Qt version: invalidation of regions
does not always work with zooming factors > 1. Curiously, things work fine
under X11, but the same artifacts as in the Qt version appear if I replace
void
edit_interface_rep::invalidate (SI x1, SI y1, SI x2, SI y2) {
send_invalidate (this, (SI) floor (x1*magf), (SI) floor (y1*magf),
(SI) ceil (x2*magf), (SI) ceil (y2*magf));
}
by
void
edit_interface_rep::invalidate (SI x1, SI y1, SI x2, SI y2) {
send_invalidate (this, (SI) floor (x1*magf) - pixel, (SI) floor (y1*magf) -
pixel,
(SI) ceil (x2*magf) + pixel, (SI) ceil (y2*magf) +
pixel);
}
Anyone has an idea on how to remove the artefacts?
Best, --Joris
- [Texmacs-dev] TeXmacs on retina screens, Joris van der Hoeven, 2012/12/03
- Re: [Texmacs-dev] TeXmacs on retina screens, Ingolf Schäfer, 2012/12/03
- Re: [Texmacs-dev] TeXmacs on retina screens, Gubinelli Massimiliano, 2012/12/03
- Re: [Texmacs-dev] TeXmacs on retina screens, Joris van der Hoeven, 2012/12/04
- Re: [Texmacs-dev] TeXmacs on retina screens, Gubinelli Massimiliano, 2012/12/04
- Re: [Texmacs-dev] TeXmacs on retina screens, Joris van der Hoeven, 2012/12/04
- Re: [Texmacs-dev] TeXmacs on retina screens, Joris van der Hoeven, 2012/12/04
- Re: [Texmacs-dev] TeXmacs on retina screens,
Joris van der Hoeven <=
- Re: [Texmacs-dev] TeXmacs on retina screens, Joris van der Hoeven, 2012/12/05
- Re: [Texmacs-dev] TeXmacs on retina screens, Joris van der Hoeven, 2012/12/05
- Re: [Texmacs-dev] TeXmacs on retina screens, Joris van der Hoeven, 2012/12/05
- Re: [Texmacs-dev] TeXmacs on retina screens, Joris van der Hoeven, 2012/12/05
- Re: [Texmacs-dev] TeXmacs on retina screens, Alvaro Tejero Cantero, 2012/12/05
- Re: [Texmacs-dev] TeXmacs on retina screens, Joris van der Hoeven, 2012/12/05
- Re: [Texmacs-dev] TeXmacs on retina screens, Joris van der Hoeven, 2012/12/10
- Re: [Texmacs-dev] TeXmacs on retina screens, Massimiliano Gubinelli, 2012/12/10
- Re: [Texmacs-dev] TeXmacs on retina screens, Joris van der Hoeven, 2012/12/10
- Re: [Texmacs-dev] TeXmacs on retina screens, Joris van der Hoeven, 2012/12/04