[lfs-support] Can I set "Linux text console" to use font DejaVuSansMono.ttf.

xinglp xinglp at gmail.com
Wed Apr 18 09:21:07 PDT 2012

在 2012年4月15日 上午3:38,Ken Moffat <zarniwhoop at ntlworld.com> 写道:
> On Sun, Apr 15, 2012 at 02:38:05AM +0800, xinglp wrote:
>> I've installed the fontconfig, and put DejaVuSansMono.ttf in
>> /usr/share/fonts, and use fc-scan DejaVuSansMono.ttf.
>> And tried to set FONT="/usr/share/fonts/DejaVuSansMono.ttf" to
>> /etc/sysconfig/console , and turn on framebuffer, but it did not work.
>  The fonts usable in the console work very differently from those
> available in xorg.  The console is limited to 256 characters, or 512
> if you do without the 'bright' set of colours, and each character is
> just a set of pixels forming a cell of the desired size (8x8, 8x14,
> 8x16, or whatever (up to 12x22)).
>  Also, the fonts are in .psf or .psfu (u for unicode) format, often
> (but not necessarily) gzipped, and stored (for LFS) in
> /lib/kbd/consolefonts.  man 8 setfont.  You can display a
> representation of the contents of console fonts (using -' and '#')
> if you build psftools, and you can even edit them, but they are very
> different from the scalable fonts.
> ĸen
> --
> das eine Mal als Tragödie, das andere Mal als Farce
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page

got it, thanks

More information about the lfs-support mailing list