From: James Simmons <hidden> Date: 2004-03-15 17:38:53
Hi folks.
I have been doing some work on cleaning up and debugging the resize
issue of fbcon. The first think I discovered where I never paid attention
to before was that the number of columns and rows change you you run
setfont. Isn't this wrong. The number of rows and columns should remain
the same. Only the font size chaneg which causes a console resolution
change.
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
From: Chad A Daelhousen <hidden> Date: 2004-03-15 19:34:28
At Mon, Mar 15, 2004 at 05:38:46PM +0000, James Simmons wrote:
Hi folks.
I have been doing some work on cleaning up and debugging the resize
issue of fbcon. The first think I discovered where I never paid attention
to before was that the number of columns and rows change you you run
setfont. Isn't this wrong. The number of rows and columns should remain
the same. Only the font size chaneg which causes a console resolution
change.
Say, if one replaces an 8x16 font with an 8x8 one on 1280x1024,
shouldn't the number of rows double (64 to 128), and the vertical size
remain the same? Trying to go to 1280x512 doesn't make much sense to me.
Or is that not what you meant? I'm rather confused.
--
Chad Daelhousen
My opinions are my own, unless UB purchases my soul.
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
I have been doing some work on cleaning up and debugging the resize
issue of fbcon. The first think I discovered where I never paid attention
to before was that the number of columns and rows change you you run
setfont. Isn't this wrong. The number of rows and columns should remain
the same. Only the font size chaneg which causes a console resolution
change.
It depends: from a text console point of view, changing the font doesn't change
the number of columns and rows.
However, from a graphics point of view, changing the font can change the number
of columns and rows, since the display resolution is constant.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
From: Benjamin Herrenschmidt <benh@kernel.crashing.org> Date: 2004-03-16 00:16:31
On Tue, 2004-03-16 at 04:38, James Simmons wrote:
Hi folks.
I have been doing some work on cleaning up and debugging the resize
issue of fbcon. The first think I discovered where I never paid attention
to before was that the number of columns and rows change you you run
setfont. Isn't this wrong. The number of rows and columns should remain
the same. Only the font size chaneg which causes a console resolution
change.
I don't agree. As a user, if I change the font, I expect a row/col
change rather than a resolution change...
Note that the resolution change code doesn't work properly anyway,
not until we have proper code to look for a matching mode along with
monitor detection in drivers, which we don't have.
Ben.
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
From: James Simmons <hidden> Date: 2004-03-16 00:52:56
I don't agree. As a user, if I change the font, I expect a row/col
change rather than a resolution change...
I wanted to test out what the user wanted.
Note that the resolution change code doesn't work properly anyway,
not until we have proper code to look for a matching mode along with
monitor detection in drivers, which we don't have.
I'm working on those bugs right now.
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click