Creating a TypeServer instance is quite simple. Declare a pointer to a TypeServer class object, and then "new" a TypeServer instance.
Typically a single application needs to only create and use a single TypeServer instance. A single TypeServer can render multiple different TrueType fonts, in numerous sizes, to different bitmaps at varying resolutions. For example, a single TypeServer could scale and render multiple TrueType fonts for both a display bitmap at one resolution, and a printer bitmap at a different resolution. In operating system uses, a separate server might be created for each independent task. Since TypeServer contains no static variables, each server instance maintains its own state information. Using this design, a single TypeServer DLL is fully reenterant and can support multiple server instances in a thread safe manner. Home | Products | Order | Register | Support | Company | Contact | Feedback Copyright © 1999-2001 - Metagraphics Software Corporation. |