0

I have a graphic application under development but I am unable to change the font in that. If anyone knows about any page or link explaining the method to change fonts in framebuffer on linux, it will be very helpful.

Nitish Sahay
  • 306
  • 5
  • 14

1 Answers1

2

Linux frame buffer is a memory location which is mapped to your display area. What ever you write in to this memory area that reflects on the display. Coming to your question, For frame buffer there is nothing like font. every thing is a binary data. For making your own font, first you need to get hexadecimal values corresponding to your characters then write that data into frame buffer at required location. Or you can use some api like X11, MiniGUI or Qt, which provides simple way to write data into frame buffer devices.

Chinna
  • 3,930
  • 4
  • 25
  • 55