System and method for using character set matching to enhance print quality
AssigneeInternational Business Machines Corporation
InventorDavid D. Taieb
Life of this patent
Estimating the term…
Abstract
A system and method of using character set matching to identify the matching or best-matching font to print text of indeterminate language are presented. Today's operating systems do not provide the native tools and functions to easily display text of unknown language or multiple languages. The complexity of any underlying code that handles a multilingual display is sharply increased due to the text being segmented into multiple text runs. The invention employs character set engine that provides necessary character set guessing functionality, as well as an enumerator module to build a linked list of suitable output fonts to display text from an arbitrary language, and multilingual text. Output on a laser, inkjet or other printing apparatus can be granted by traversing that list.
Claims20
A method of selecting a font to output a message represented by at least one unknown language, comprising the steps of:
- creating a linked list of structures including at least one category of information associated with available system fonts;
- parsing characters of the message and comparing each character of the message against all entries in a character table bank during an initial search, wherein the entries in the character table bank comprise a plurality of character sets and wherein the plurality of character sets includes all available character sets;
- identifying the character sets of the character table bank that support the characters of the message;
- traversing the linked list of structures to compare the at least one category of information associated with available system fonts against the identified character sets;
- and
- selecting at least one of the available system fonts to output the message based on the comparison results between the at least one category of information associated with available system fonts and the identified character sets.
A system for selecting a font to output a message represented by at least one unknown language, comprising:
- an enumeration module adapted to create a linked list of structures including at least one category of information that is associated with available system fonts;
- a character evaluation module that is adapted to parse characters of the message and compare each character of the message against all characters of a character table bank during an initial evaluation, wherein the entries in the character table bank comprise a plurality of character sets and wherein the plurality of character sets includes all available character sets;
- a character set identification module that is adapted to identify the character sets of the character table bank that support the characters of the message;
- an association module that is adapted to traverse the linked list of structures to compare the at least one category of information associated with available system fonts against the identified character sets;
- a selection module that is adapted to select at least one of the available system fonts to output the message based on the comparison results between the at least one category of information associated with available system fonts and the identified character sets;
- and
- an interface module that is adapted to output the characters of the message.
A system for selecting a font to output a message represented by at least one unknown language, comprising:
- enumerating means for creating a linked list of structures including at least one category of information that is associated with available system fonts;
- character evaluating means for parsing characters of the message and comparing each character of the message against all characters of a character table bank during an initial evaluation, wherein the entries in the character table bank comprise a plurality of character sets and wherein the plurality of character sets includes all available character sets;
- character set identifying means for identifying the character sets of the character table bank that support the characters of the message;
- association means for traversing the linked list of structures to compare the at least one category of information associated with available system fonts against the identified character sets;
- selecting means for selecting at least one of the available system fonts to output the message based on the comparison results between the at least one category of information associated with available system fonts and the identified character sets;
- and
- interfacing means for outputting the characters of the message.
A storage medium for storing machine readable code, the machine readable code being executable to select a font to output a message represented by at least one unknown language, the machine readable code comprising instructions for:
- creating a linked list of structures including at least one category of information associated with available system fonts;
- parsing characters of the message and comparing each character of the message against all entries in a character table bank during an initial search, wherein the entries in the character table bank comprise a plurality of character sets and wherein the plurality of character sets includes all available character sets;
- identifying the character sets of the character table bank that support the characters of the message;
- traversing the linked list of structures to compare the at least one category of information associated with available system fonts against the identified character sets;
- and
- selecting at least one of the available system fonts to output the message based on the comparison results between the at least one category of information associated with available system fonts and the identified character sets.
Dependencies are inferred from the claim text.