Click here to Skip to main content
15,889,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
ASCII, OEM, ANSI, and Unicode tables exist. Right me, if I am mistaken: as I understand, these tables live "on the paper" only, i.e. this are agreements which shall be implemented in the fonts later.

When the computer loads, it writes some text on the display. Also it writes the text in the BIOS menu. How it occurs? Is the computer has some "default" fonts in the hardware? What draw the chars of the font on the display: the special program of OS kernel, or the hardware directly?

Thank you.
Posted
Comments
[no name] 1-Sep-14 10:33am    
The answer to your question is in the BIOS

According to this page[^], at lest on system having the Windows NT architecture, fonts are handled by the GDI, in the kernel.
 
Share this answer
 
Comments
Andrey Bushman 1-Sep-14 11:37am    
But what about BIOS? It works before the OS and displays the text too. BIOS knows nothing about the GDI, as I understand. And... How GDI does it?
Sergey Alexandrovich Kryukov 1-Sep-14 15:40pm    
Please see Solution 2.
—SA
Sergey Alexandrovich Kryukov 1-Sep-14 15:40pm    
My 5. And I tried to answer the follow-up question above.
—SA
Andrey Bushman asked:
But what about BIOS? It works before the OS and displays the text too. BIOS knows nothing about the GDI, as I understand. And... How GDI does it?
BIOS has its own fonts. More exactly, the portion of the BIOS stored in each graphics card. The fonts can be modified by filling in the BIOS tables dedicated to this information and BIOS calls. The cards has the text mode where these fonts are used.

None of that is used in the modern OS based on graphics, but those fonts are used when the OS is only running some of its bootstrap phases, or in some OS configured for uses as service host. This is the case for server's configurations of Linux. But who needs fonts in such service applications? Most people mostly remember those text modes from DOS times…

I, for example, know how to work with all those graphics card modes, but, at this moment, don't know where the documentation can be found on the Web. (I don't think you are asking about it, anyway.) The application could change the fonts on the fly, very quickly. Such tricks were used, for example, to simulate pixel-accuracy mouse, by changing the fonts of the characters where the mouse is located (4 or less at a time).

Also remember that modern OS use Unicode. BIOS does not. The text modes of graphic cards are pretty much obsolete, only used for very basic functionality.

And note that the concept of BIOS itself may become obsolete, being eventually superseded by EFI. Please see:
http://en.wikipedia.org/wiki/BIOS[^],
http://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface[^].

—SA
 
Share this answer
 
v2
Comments
CPallini 1-Sep-14 16:04pm    
5.
Sergey Alexandrovich Kryukov 1-Sep-14 16:06pm    
Thank you, Carlo.
—SA
Andrey Bushman 2-Sep-14 4:13am    
5. Thank you, Sergey Alexandrovich.
Sergey Alexandrovich Kryukov 2-Sep-14 11:27am    
You are very welcome.
Good luck, call again.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900