Just use Scalable Screen Font. With your current skills and understanding I would recommend to pick an easy to use library instead of writing your own.PavelCheckov wrote:So, that code would work in GOP even thought it was meant for VESA? And truecolor?
From the wiki:
An example code where SSFN is printed on GOP framebuffer without the library can be found here (note: it does not depend on POSIX-UEFI, you can use it with EDK2 as well as with GNU-EFI).The SSFN package comes with a single ANSI C/C++ header file, which has two renderers. The header contains everything, no shared library nor static linking needed. They are compatible with both VESA and GOP framebuffers.
An example using the SSFN single header library and GOP is here. In both case you need the function
Code: Select all
printString
bzt