A computer system and method for outputting printer commands to a printer in response to a print request from an application program are presented. The printer includes a device font whose characters are addressed for printing via a single, double, or n-byte code. The text data, however, utilizes the Unicode Standard to identify its characters. The system, therefore, includes a graphics device interface, which is compatible to read the Unicode data, to invoke the printer driver functions for controlling the outputting of the text data to the printer. A printer OEM supplied minidriver contains a characterization of the printer, including information identifying the device font resident in the printer and the code used to identify the individual characters of the font. A printer driver uses this information to translate the text data to be printed from the Unicode Standard to a code capable of selecting a device font provided character.
CROSS REFERENCE TO RELATED APPLICATIONS
This application is a continuation of and claims priority to U.S. patent application Ser. No. 10/262,831 filed on Oct. 02, 2002, now U.S. Pat. No. 6,919,966 which, in turn, is a continuation of U.S. application Ser. No. 09/157,917, filed on Sep. 21, 1998 now U.S. Pat. No. 6,490,051, the disclosures of which are incorporated by reference herein.
A method and apparatus for generating a display list, for use in rendering a plurality of glyphs, is disclosed. The method creates a display list for storing representations of the glyphs and stores at least a first one of the glyphs in the display list as a bitmap representation depending on one or more predetermined criteria. The at least first one of the glyphs may alternatively be stored in the display list as a vector representation.
A method and system for providing a printer for printing an encoded data stream. The stream includes a section of complex text data. The code is preferably Unicode, and the complex text data is preferably Unicode complex text. The printer includes a font, a text parser, and a layout engine. The font includes a plurality of glyphs. The text parser parses the data stream to determine the section of complex text data in the data stream. The layout engine is coupled to the text parser and with the font. The layout engine receives the section of complex text data from the text parser and determines at least one of the plurality of glyphs and glyph positions corresponding to the section of complex text data.