[fpc-pascal] Text IDE under Linux FrameBuffer

Giuliano Colla giuliano.colla at fastwebnet.it
Sun Sep 13 23:53:56 CEST 2009


Graeme Geldenhuys ha scritto:
> 2009/9/13 Nikolay Nikolov <nickysn at users.sourceforge.net>:
>   
>> Could you provide some more information? Which distro are you using? What's
>> your locale (i.e. the value of the LANG environment variable)? And which
>>     
>
> I'm using Ubuntu 8.04 and Ubuntu 9.04 on x86 hardware. If I run the
> Text IDE inside gnome-terminal, everything looks perfect. All window
> borders are drawn correctly. This is with the Gnome desktop
> environment.
>
> But if I disable the X Window System - linux booting to console mode
> only with the fbdev framebuffer enabled, then the Text IDE doesn't
> look right. How do I find out what font is being used in framebuffer
> mode? I simply added "vga=791" to my grub menu.lst file which
> contained the kernel line I am booting.
>
> I did manage to compile and run a sample C program I got from
> wikipedia, which outputs the resolution my framebuffer is using:
> 1024x768  16bpp
>
>
>   
Framebuffer fonts are kernel stuff. You may find useful information here:

http://www.mjmwired.net/kernel/Documentation/fb/fbcon.txt

or perhaps here:

http://howto.wikia.com/wiki/Howto_configure_the_Linux_kernel/drivers/video/console

A Google search on "Linux kernel font" may shed further light.
Hope that it helps.

Regards,

Giuliano






More information about the fpc-pascal mailing list