Rockbox mail archiveSubject: Re: run-time bitmap rotating?
Re: run-time bitmap rotating?
From: Greg Haerr <greg_at_censoft.com>
Date: Thu, 12 Sep 2002 08:45:03 -0600
: > Certainly we can remove the runtime rotation during the font conversion
: > process, but it gets a bit tricky
: Why is that tricky?
Because I wanted to have the font glyph data printed
out in text as well to make sure the characters were converted
properly for strange fonts, and because when font widths
move across an unsigned short boundary (bdf standard)
to unsigned char boundarys (rb standard) the algorithms
are prone to off-by-one row/column errors...
: > IMHO, as Rockbox gets more graphical, it's to our advantage not to have to
: > rewrite all image formats to a non-standard format
: But the .fnt format is Rockbox-unique isn't it?
: > With only 112x64 bits on the screen, it's not that much computation time.
: No, it just seems unnecessary.
: If we for whatever reason decide to have the .fnt bitmaps rotated as they are
: now, then I would instead suggest that we do the rotation on load-time. To
: me, it seems silly to rotate them every time we want to show them on screen.
That's a very good idea. Would you like me to implement
that? The memory usage might become a bit greater unless
I can guarantee that the rotated data can fit in the original
Received on 2002-09-12