Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272453 - Terminus 12 fonts as consolefont gives error: * Setting user font ... > putfont: KDFONTOP
Summary: Terminus 12 fonts as consolefont gives error: * Setting user font ... > pu...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High minor with 1 vote (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2009-06-03 16:22 UTC by Burak
Modified: 2020-09-08 18:56 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Burak 2009-06-03 16:22:27 UTC
I can change the consolefont from /etc/conf.d/consolefont with other terminus fonts but changing to any 12 like 
ter-c12n.psf.gz
ter-v12n.psf.gz
gives error given below

   * Setting user font ...
  putfont: KDFONTOP: Invalid argument
  putfont: KDFONTOP: Invalid argument
  putfont: KDFONTOP: Invalid argument
  putfont: KDFONTOP: Invalid argument
  putfont: KDFONTOP: Invalid argument
  putfont: KDFONTOP: Invalid argument
  putfont: KDFONTOP: Invalid argument
  putfont: KDFONTOP: Invalid argument
  putfont: KDFONTOP: Invalid argument
  putfont: KDFONTOP: Invalid argument
  putfont: KDFONTOP: Invalid argument
   * Failed to set user font   

I don't know if this is a bug or what but I want to fix the situation and use small fonts.
THank you

Reproducible: Always

Steps to Reproduce:
1.nano /etc/conf.d/consolefont
2.change to any terminus font with 12 
3.

Actual Results:  
>   * Setting user font ...
>  putfont: KDFONTOP: Invalid argument
>  putfont: KDFONTOP: Invalid argument
>  putfont: KDFONTOP: Invalid argument
>  putfont: KDFONTOP: Invalid argument
>  putfont: KDFONTOP: Invalid argument
>  putfont: KDFONTOP: Invalid argument
>  putfont: KDFONTOP: Invalid argument
>  putfont: KDFONTOP: Invalid argument
>  putfont: KDFONTOP: Invalid argument
>  putfont: KDFONTOP: Invalid argument
>  putfont: KDFONTOP: Invalid argument
>   * Failed to set user font   

Expected Results:  
Change font on cosole
Comment 1 Víctor Ostorga (RETIRED) gentoo-dev 2009-06-07 22:07:17 UTC
# CONSOLEFONT specifies the default font that you'd like Linux to use on the
# console.  You can find a good selection of fonts in /usr/share/consolefonts;
# you shouldn't specify the trailing ".psf.gz", just the font name below.

Are you specifying in the CONSOLEFONT variable the trailing .psf.gz? If so, follow the previous indications.

Also, put the contents of the /etc/conf.d/consolefont file.
Comment 2 Burak 2009-06-07 22:10:01 UTC
I commented the line that I use for terminus 12 which gives error

# consolefont specifies the default font that you'd like Linux to use on the
# console.  You can find a good selection of fonts in /usr/share/consolefonts;
# you shouldn't specify the trailing ".psf.gz", just the font name below.
# To use the default console font, comment out the CONSOLEFONT setting below.
# This setting is used by the /etc/init.d/consolefont script (NOTE: if you do
# not want to use it, run "rc-update del consolefont" as root).
consolefont="default8x16"

#consolefont="ter-112n"

# consoletranslation is the charset map file to use.  Leave commented to use
# the default one.  Have a look in /usr/share/consoletrans for a selection of
# map files you can use.
#consoletranslation="8859-1_to_uni"

# unicodemap is the unicode map file to use. Leave commented to use the
# default one. Have a look in /usr/share/unimaps for a selection of map files
# you can use.
#unicodemap="iso01"


(In reply to comment #1)
> # CONSOLEFONT specifies the default font that you'd like Linux to use on the
> # console.  You can find a good selection of fonts in /usr/share/consolefonts;
> # you shouldn't specify the trailing ".psf.gz", just the font name below.
> 
> Are you specifying in the CONSOLEFONT variable the trailing .psf.gz? If so,
> follow the previous indications.
> 
> Also, put the contents of the /etc/conf.d/consolefont file.
> 

Comment 3 Maciej Mrozowski gentoo-dev 2010-02-14 01:14:40 UTC
I remember having this problem, could you try to enable this font for framebuffer console? I fear setting framebuffer to use smaller terminus fonts may be necessary (also not sure whether it's bug or just requirement).
Comment 4 Mark (voidzero) 2010-05-04 10:11:44 UTC
I had this problem on my archlinux system. Turns out that the setfont binary in busybox is different from kbd's. I have submitted an archlinux patch at http://bugs.archlinux.org/task/19109 - use it to your benefit.
Mark