linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* resizing results.
@ 2004-03-15 17:38 James Simmons
  2004-03-15 19:34 ` Chad A Daelhousen
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: James Simmons @ 2004-03-15 17:38 UTC (permalink / raw)
  To: Linux Fbdev development list


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: resizing results.
  2004-03-15 17:38 resizing results James Simmons
@ 2004-03-15 19:34 ` Chad A Daelhousen
  2004-03-15 21:48 ` Geert Uytterhoeven
  2004-03-16  0:10 ` Benjamin Herrenschmidt
  2 siblings, 0 replies; 5+ messages in thread
From: Chad A Daelhousen @ 2004-03-15 19:34 UTC (permalink / raw)
  To: James Simmons; +Cc: Linux Fbdev development list

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: resizing results.
  2004-03-15 17:38 resizing results James Simmons
  2004-03-15 19:34 ` Chad A Daelhousen
@ 2004-03-15 21:48 ` Geert Uytterhoeven
  2004-03-16  0:10 ` Benjamin Herrenschmidt
  2 siblings, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2004-03-15 21:48 UTC (permalink / raw)
  To: James Simmons; +Cc: Linux Fbdev development list

On Mon, 15 Mar 2004, James Simmons wrote:
>    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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: resizing results.
  2004-03-15 17:38 resizing results James Simmons
  2004-03-15 19:34 ` Chad A Daelhousen
  2004-03-15 21:48 ` Geert Uytterhoeven
@ 2004-03-16  0:10 ` Benjamin Herrenschmidt
  2004-03-16  0:52   ` James Simmons
  2 siblings, 1 reply; 5+ messages in thread
From: Benjamin Herrenschmidt @ 2004-03-16  0:10 UTC (permalink / raw)
  To: James Simmons; +Cc: Linux Fbdev development list

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: resizing results.
  2004-03-16  0:10 ` Benjamin Herrenschmidt
@ 2004-03-16  0:52   ` James Simmons
  0 siblings, 0 replies; 5+ messages in thread
From: James Simmons @ 2004-03-16  0:52 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: Linux Fbdev development list


> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-03-16  0:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-15 17:38 resizing results James Simmons
2004-03-15 19:34 ` Chad A Daelhousen
2004-03-15 21:48 ` Geert Uytterhoeven
2004-03-16  0:10 ` Benjamin Herrenschmidt
2004-03-16  0:52   ` James Simmons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).