Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Win32 simulator text bugs
From: Magnus Holmgren (lear_at_algonet.se)
Date: 2003-07-30


On Sun, 27 Jul 2003, Björn Stenberg wrote:

> Since Hardeep fixed our automated win32 sim builds, the bleeding edge
> builds now work and I've tested it for the first time.
>
> I found some small graphic bugs that make the win32 sim look worse
> than the x11 sim and the real firmware. I put some notes here:
> http://rockbox.haxx.se/test/uifontbug.html
>
> On the player simulator, the differences are even more noticable.

This makes me suspect it is a scaling issue. I.e., by default, the size
isn't 100% of the "normal" LCD size. To reduce that problem, I made the
Win32 simulator look like the X11 one (i.e., by removing the bitmap).
However, that part of a patch of mine wasn't included. I didn't look
that much on the real problem at the time though (my main concern was
getting the simulator to build on Win32 again :).

The player version gets worse because of differences in the default size
or zoom (remember the added options for zoom on player and recorder, that
were added when the rocklatin developers did a simulator overhaul, IIRC).
The zoom needs to be something like 500% for the player simulator to look
good. That was another reason to remove the bitmap, btw.

> Since I don't have a debugger for win32, it's quite difficult for me
> to debug this problem. I would appreciate help with this from win32
> developers.

Some printf:s at suitable locations relating to the size could be
enough...

> Also, since the win32 simulator uses a scanned graphics of the
> recorder it would be good to use a player image for the player
> simulator. Otherwise the button assignments become very confusing...

Or just remove the image completely, as mentioned above...

> I'm leaving for another week's holiday later today so I won't respond
> (much) to mails for a while.

And I won't have access to a development environment for a while either...
Next week perhaps.

--
Magnus Holmgren



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa