TrueType Font Implementation in Windows 3.11
This article explores how Microsoft Windows 3.11 implemented TrueType font technology to render scalable, high-quality typography for on-screen document display. It examines the shift from static bitmap fonts to vector-based outlines, the role of the Graphics Device Interface (GDI), the execution of font hinting for low-resolution displays, and how the operating system unified screen and print output to deliver true What You See Is What You Get (WYSIWYG) performance.
Before TrueType, Windows relied primarily on fixed-size bitmap fonts
(.FON) for screen display and simple vector stroke fonts
for plotters. Displaying a document at an unsupported point size
resulted in jagged, poorly scaled text. Users seeking professional
typography had to purchase third-party utilities such as Adobe Type
Manager (ATM) to scale PostScript Type 1 fonts. With the Windows 3.1
release and its continuation into Windows 3.11, Microsoft natively
integrated the TrueType rasterization engine directly into the core
operating system, eliminating the need for third-party add-ons.
At the center of this implementation was the Graphics Device
Interface (GDI.EXE). Windows 3.11 stored TrueType fonts as
mathematical definitions using quadratic Bézier curves inside
.TTF files. When an application requested text rendering
via API calls such as CreateFont and TextOut,
the GDI passed the requested typeface, size, and style to the integrated
TrueType rasterizer.
Because computer monitors in the early 1990s typically ran at low resolutions (such as 640x480 or 800x600 with pixel densities around 72 to 96 DPI), simply converting mathematical curves directly to a pixel grid produced distorted, illegible characters. Windows 3.11 solved this through TrueType’s built-in hinting mechanism. Each TrueType font contained an embedded virtual machine instruction set (bytecode). During rasterization, the GDI executed these instructions to align character stems, crossbars, and serifs to the exact pixel grid of the target display device, maintaining character proportions and legibility without the modern use of subpixel anti-aliasing.
To maintain system performance on typical 16-bit 80386 and 80486 processors, Windows 3.11 avoided rasterizing characters repeatedly. Once the GDI rasterizer converted a glyph outline into a grid-fitted bitmap for a specific point size and resolution, it stored the resulting bitmap in an internal font cache. Subsequent requests for the same character were drawn directly from memory to the display driver, significantly reducing CPU overhead during document scrolling and text editing.
Finally, the TrueType subsystem established true WYSIWYG document formatting. The GDI used the same mathematical font metrics (such as character widths, ascenders, and descenders) for both the display driver and the printer driver. By ensuring that line breaks, character spacing, and page layouts calculated on screen matched the physical output of desktop printers, Windows 3.11 standardized document presentation across the PC platform.