Display program, data structure and display device

Information

  • Patent Application
  • 20070216688
  • Publication Number
    20070216688
  • Date Filed
    February 13, 2007
    18 years ago
  • Date Published
    September 20, 2007
    18 years ago
Abstract
A display program for displaying a character by acquiring an instruction for rendering each element composing the character and rendering the element based on the instruction, the program being executed on a computer includes a setting function of setting a method of handling an argument associated with the later acquired instruction in accordance with a rendering mode corresponding to a mode setting instruction if the mode setting instruction for setting the rendering mode is acquired, and a display function of displaying the character by handling the argument in accordance with the setting result by the setting function.
Description

BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a block diagram showing the internal configuration of a display device according to one embodiment of the present invention;



FIG. 2 is an explanatory view for explaining the mode setting mnemonics;



FIG. 3 is an explanatory view for explaining the handling of the element correspondent mnemonics after acquiring ChangeRelInt;



FIG. 4 is an explanatory view for explaining the handling of the element correspondent mnemonics after acquiring ChangeAbsInt;



FIG. 5 is an explanatory view for explaining the handling of the element correspondent mnemonics after acquiring ChangeRelFix;



FIG. 6 is an explanatory view for explaining the handling of the element correspondent mnemonics after acquiring ChangeAbsFix;



FIG. 7 is a flowchart showing the flow of a character rendering process;



FIG. 8 is a flowchart showing the flow of a bit map generation process;



FIG. 9 is a flowchart showing the flow of a contour data generation process;



FIG. 10 is an explanatory view for explaining the operation of this embodiment;



FIG. 11 is an explanatory view for explaining the operation of this embodiment;



FIG. 12 is a flowchart showing the flow of a RelInt rendering instruction generation process;



FIG. 13 is a flowchart showing the flow of a RelInt instruction store process;



FIG. 14 is a flowchart showing the flow of an AbsInt rendering instruction generation process; and



FIG. 15 is a flowchart showing the flow of an AbsInt instruction store process.


Claims
  • 1. A display program for displaying a character by acquiring an instruction for rendering each element composing the character and rendering the element based on the instruction, the program being executed on a computer, characterized by comprising a setting function of setting a method of handling an argument associated with the later acquired instruction in accordance with a rendering mode corresponding to a mode setting instruction if the mode setting instruction for setting the rendering mode is acquired, and a display function of displaying the character by handling the argument in accordance with the setting result by the setting function.
  • 2. The display program according to claim 1, characterized in that the argument is a coordinate value, and the rendering modes include a mode of handling the newly acquired coordinate value as represented in relative coordinate with the coordinate value at an end point of the immediately previous rendered element and a mode of handling the newly acquired coordinate value as represented in absolute coordinate, wherein the setting function involves setting the handling method to handle the coordinate value associated with the later acquired instruction as represented in any one form of the relative coordinate and the absolute coordinate.
  • 3. The display program according to claim 1, characterized in that the argument is the coordinate value, and the rendering modes include a mode of handling the newly acquired coordinate value as represented in the integral part alone, and a mode of handling the newly acquired coordinate value as represented in a set of integral part and decimal part, wherein the setting function involves setting the handling method to handle the coordinate value associated with the later acquired instruction as represented in any one form of the integral part alone and the set of integral part and decimal part.
  • 4. The display program according to claim 3, characterized in that the setting function involves setting the handling method to handle the coordinate value associated with the later acquired instruction to be allocated more bit width when it is handled as represented in the set of integral part and decimal part than when it is handled as represented in the integral part alone.
  • 5. The display program according to claim 1, characterized in that the argument is the coordinate value, and the rendering modes include a mode of handling the newly acquired coordinate value as represented in a low compression coordinate designation, and a mode of handling the newly acquired coordinate value as represented in a high compression coordinate designation, wherein the setting function involves setting the handling method to handle the coordinate value associated with the later acquired instruction as represented in any one form of the low compression coordinate designation and the high compression coordinate designation.
  • 6. A data structure for use in a display program for displaying a character by acquiring an instruction for rendering each element composing the character and rendering the element based on the instruction, characterized in that a mode setting instruction for setting a rendering mode is arranged before the instruction for handling an argument in accordance with the rendering mode.
  • 7. A display device for displaying a character by acquiring an instruction for rendering each element composing the character and rendering the element based on the instruction, characterized by comprising a setting section for setting a method of handling an argument associated with the later acquired instruction in accordance with a rendering mode corresponding to a mode setting instruction if the mode setting instruction for setting the rendering mode is acquired, and a display section of displaying the character by handling the argument in accordance with the setting result by the setting section.
Priority Claims (1)
Number Date Country Kind
2006-073088 Mar 2006 JP national