Patent ID: 8576233
Filing Date: 2013-11-05
Classification: G06F

Abstract:
1. A program generation device that generates a control program for controlling content displayed on a display screen of a display device that stores font data for generating character image data representing an image of a character indicated by character information in accordance with a font identity indicated by font information, the program generation device comprising: an acquisition unit that acquires one or more font identities supported by the font data stored in the display device; a designation unit that designates characters for constituting the displayed content, font identities for the characters, and display positions of the characters; an arrangement-designating information generation unit that generates arrangement-designating information including character information that indicates the characters designated by the designation unit, font information that indicates the font identities for the characters, and position information that indicates the display positions of the characters; an image data generation unit that, based on an item of character information in the arrangement-designating information that indicates a character associated with a font identity other than the one or more font identities acquired by the acquisition unit, and an item of font information that indicates the font identity for the character, generates an item of image data representing an image that depicts the character according to its font identity; a display-designating information generation unit that generates display-designating information by replacing the item of character information and the item of font information in the arrangement-designating information that relate to the character and the font identity used in the generation of the item of image data by the image data generation unit with image-specifying information that specifies the item of image data, such that the display-designating information includes the image-specifying information and position information indicating a display position of the image relating to the image-specifying information as well as items of character information, items of font information, and items of position information in the arrangement-designating information that relate to characters for which the replacement is not performed; a program generation unit that generates a control program for causing the display device to implement a function of causing the display screen of the display device to display an image representing a character indicated by each item of character information in the display-designating information according to the font identity indicated by the related item of font information and an image represented by the item of image data specified by the image-specifying information, at respective display positions in accordance with the display-designating information; and an alteration unit that, with regard to a character associated with a font identity that is different from and is in a predetermined relationship with one of the one or more font identities acquired by the acquisition unit, performs alteration by replacing an item of font information in the arrangement-designating information that indicates the font identity of the character with an item of font information indicating the one of the one or more acquired font identities, wherein the image data generation unit generates, based on an item of character information in the altered arrangement-designating information that indicates a character associated with a font identity other than the one or more font identities acquired by the acquisition unit, and an item of font information that indicates the font identity for the character, generates an item of image data representing an image that depicts the character according to the font identity, and wherein the alteration unit performs the alteration of an item of font information in a case where, if the control program is generated by the program generation unit and the item of image data is generated by the image data generation unit, an amount of data of the control program and the item of image data would exceed a predetermined amount of data.