Bug#595696: Bug#594817: console-setup should configure the width of the console

2024-04-27 Thread Samuel Thibault
Samuel Thibault, le mar. 01 sept. 2015 19:40:30 +0200, a ecrit:
> Anton Zinoviev, le Tue 01 Sep 2015 20:31:33 +0300, a écrit :
> > On Tue, Aug 25, 2015 at 10:20:46PM +0200, Samuel Thibault wrote:
> > > Samuel Thibault, le Sun 29 Aug 2010 21:08:05 +0200, a écrit :
> > > >   We could even imagine to
> > > >   rasterize a vector font on the fly for very big sizes.
> > > 
> > > otf2bdf and bdf2psf could be used for that, for instance if the user
> > > specifies the width (which will be the most probable use, people usually
> > 
> > I am afraid of such automatic conversion.  There are too many 
> > combinations which can easily lead to many undiscovered bugs... I'd 
> > prefer if we use otf2bdf and bdf2psf manually in order to add a few new 
> > fonts in the source package of console-setup.
> 
> Right, that can be enough, indeed. We can add more as screen get more
> dpi (and make it simple to change in the package build for users to
> build them easily if they need)

I just did that :)

Up to 64b width, the maximum width that will be allowed by linux 6.9.

Samuel



Bug#595696: Bug#594817: console-setup should configure the width of the console

2015-09-01 Thread Anton Zinoviev
On Tue, Aug 25, 2015 at 10:20:46PM +0200, Samuel Thibault wrote:
> Samuel Thibault, le Sun 29 Aug 2010 21:08:05 +0200, a écrit :
> >   We could even imagine to
> >   rasterize a vector font on the fly for very big sizes.
> 
> otf2bdf and bdf2psf could be used for that, for instance if the user
> specifies the width (which will be the most probable use, people usually

I am afraid of such automatic conversion.  There are too many 
combinations which can easily lead to many undiscovered bugs... I'd 
prefer if we use otf2bdf and bdf2psf manually in order to add a few new 
fonts in the source package of console-setup.

BTW, the number of symbols per line is not enough in order to chose the 
proper font.  For example on a wide screen I prefer to use somewhat 
smaller font (say size 22 or 24) and to limit the number of characters 
using 'stty cols 80' (that is SCREEN_WIDTH=80 in /etc/default/c-s).  
Otherwise, there are too few rows on the screen.

I am considering a Debconf question about the screen width.  In my 
opinion only the following options are useful:

40 cols: for braile displays (is there a way to autodetect these?)
80 cols: I use this most of the time
max: for reading log files

Anton Zinoviev



Bug#595696: Bug#594817: console-setup should configure the width of the console

2015-09-01 Thread Samuel Thibault
Anton Zinoviev, le Tue 01 Sep 2015 20:31:33 +0300, a écrit :
> On Tue, Aug 25, 2015 at 10:20:46PM +0200, Samuel Thibault wrote:
> > Samuel Thibault, le Sun 29 Aug 2010 21:08:05 +0200, a écrit :
> > >   We could even imagine to
> > >   rasterize a vector font on the fly for very big sizes.
> > 
> > otf2bdf and bdf2psf could be used for that, for instance if the user
> > specifies the width (which will be the most probable use, people usually
> 
> I am afraid of such automatic conversion.  There are too many 
> combinations which can easily lead to many undiscovered bugs... I'd 
> prefer if we use otf2bdf and bdf2psf manually in order to add a few new 
> fonts in the source package of console-setup.

Right, that can be enough, indeed. We can add more as screen get more
dpi (and make it simple to change in the package build for users to
build them easily if they need)

Samuel



Bug#595696: Bug#594817: console-setup should configure the width of the console

2015-09-01 Thread Samuel Thibault
Anton Zinoviev, le Tue 01 Sep 2015 20:31:33 +0300, a écrit :
> 40 cols: for braile displays (is there a way to autodetect these?)

There is no simple way to autodetect this.  Some devices have only 20,
while others have 80. 40 is just the most common. People are used to use
80 actually. Some people have 12, and would thus perhaps like 60, 72,
etc. There is no simple heuristic, it's better to just ask the user a
number.

Samuel