character - Who Teaches the CPU 'A..B..C'? -



character - Who Teaches the CPU 'A..B..C'? -

excuse idiotic question, can't seem find 1 satisfying reply internet. mean can see character 'x' displayed on screen right pc's start screen. how computer know bit patterns translated 'x'? gives such definitions? bios, os, cpu or display driver or apps?

it depends @ moment, , operating system, , on hardware. linux on current x86 pc desktop:

at boot time, uses vga driver (and bios has limited display functions). iirc, original vga cards had rom containing fixed width font, , still used (in compatibility mode).

iirc, graphics cards have rom bios , initial vga font. used @ bios time or during boot process.

but of time, linux desktop uses x11 server xorg. server manages fonts, , display them using graphics video card (which has gpu), copying appropriate bitmaps. x11 protocol knows fonts, today applications utilize client side xft.

the future wayland architecture have fonts on client side.

you might on osdev, has several related pages.

low-level graphics libraries libsdl or opengl (or xlib) have functions draw text in arbitrary font, e.g. xdrawtext originally, or xftdrawstring xft.

high-level graphical user interface toolkits qt or gtk provide widgets text display, around event loop.

in gory details, things complex , hardware specific (and sadly, graphics cards manufacturers -e.g. nvidia- don't publish specification of hardware - needs reverse engineered). why utilize operating scheme provide abstraction code on.

character ascii utf

Comments

Popular posts from this blog

c# - ASP.NET MVC Sequence contains no matching element -

java - Parsing XML, skip certain tags -

rest - How to invalidate user session on inactivity in a stateless server? -