[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(mgp-users 00215) Re: rendering
- To: mgp-users@mew.org
- Subject: (mgp-users 00215) Re: rendering
- From: Simon Budig <Simon.Budig@unix-ag.org>
- Date: Fri, 19 Nov 1999 19:14:48 +0900
- In-reply-to: <>; from Jun-ichiro itojun Hagino on Fri, Nov 19, 1999 at 04:34:08PM +0900
- Posted: Fri, 19 Nov 1999 11:14:42 +0100
- References: <> <>
- Reply-to: mgp-users@mew.org
Jun-ichiro itojun Hagino (itojun@itojun.org) wrote:
> >BTW: What is the current status concerning the rendering on different
> >resolutions? The linebreaks are different sometimes for e.g.
> >1024x768 and 800x600. This is a little bit annoying. Is there a chance
> >to work around this?
>
> Length metric in presentation file is relative to screen size, so
> we have a good chance for screen-size independent presentation file.
> When we render those letters, we respect length given from rendering
> engine. Therefore, if rendering engine returns different result due
> to float-> int conversion, it may appear differently.
>
> Example: Rendering engine returned "this letter should be 8 pixels"
> when we are on 800x600 screen. The rendering engine should return
> 10.24 pixels when we are on 1024x768 screen, however, as we can't
> render 0.24 pixels onto screen, we end up with 10 pixels or 11 pixels.
>
> I think we can't do much about it.
But this is a major problem of magicpoint. I recently did a presentation
on a fair and expected the resolution of the beamer to be 1024x768.
It could only handle 800x600 and I had to heavily adjust my slides...
I admit, I did never look in the mgp code, but if this is just a
off by one error (IMHO it happens too frequently for that...) -
what about scaling/cropping the text-bitmap before you put it
on screen?
Bye,
Simon
--
Simon.Budig@unix-ag.org http://www.home.unix-ag.org/simon/