INFORMATION PROCESSING APPARATUS AND CONTROL METHOD THEREOF, AND PROGRAM

Information

  • Patent Application
  • 20070195349
  • Publication Number
    20070195349
  • Date Filed
    February 06, 2007
    17 years ago
  • Date Published
    August 23, 2007
    16 years ago
Abstract
This invention can provide an information processing apparatus and control method thereof, and a program, which can efficiently execute processing associated with font settings. To accomplish this, font information of a first character and font information of a second character, which are located before and after the position of an input character are acquired. When the acquired font information of the first character and the acquired font information of the second character include the same font type, the font type is set as font type information used for the input character. When the acquired font information of the first character and the acquired font information of the second character include different font types, parsing is executed for the character string including the input character, and font type information used for the input character is set based on the parsing result.
Description

BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a diagram showing the overall arrangement of a printing system according to one embodiment of the present invention;



FIG. 2 is a block diagram showing the basic hardware arrangement of a terminal according to the embodiment of the present invention;



FIG. 3 shows an example of the memory map of a RAM according to the embodiment of the present invention;



FIG. 4 an example of the memory map of a storage medium according to the embodiment of the present invention;



FIG. 5A is a flowchart showing character edit processing in the printing system according to the embodiment of the present invention;



FIG. 5B is a flowchart showing character edit processing in the printing system according to the embodiment of the present invention;



FIG. 5C is a flowchart showing character edit processing in the printing system according to the embodiment of the present invention;



FIG. 5D is a flowchart showing character edit processing in the printing system according to the embodiment of the present invention;



FIG. 5E is a flowchart showing character edit processing in the printing system according to the embodiment of the present invention;



FIGS. 6A to 6L are views for explaining character edit examples according to the embodiment of the present invention;



FIG. 7 shows an example of an input character information table according to the embodiment of the present invention;



FIG. 8 shows an example of a processing setting dialog according to the embodiment of the present invention;



FIG. 9 is a diagram showing the functional arrangement of the system according to the embodiment of the present invention;



FIG. 10 shows an example of a file attribute table according to the embodiment of the present invention;



FIG. 11 is a diagram showing the functional arrangement of the system according to the embodiment of the present invention;



FIG. 12 shows an example of a printing device information table according to the embodiment of the present invention;



FIG. 13 shows an example of a printer selection dialog according to the embodiment of the present invention;



FIG. 14 is a diagram showing the functional arrangement of the system according to the embodiment of the present invention;



FIG. 15 shows an example of a similar font table according to the embodiment of the present invention;



FIG. 16 shows an example of an input character substitute font table according to the embodiment of the present invention;



FIG. 17 shows an example of a font substitution setting dialog according to the embodiment of the present invention;



FIGS. 18A to 18F are views for character edit examples according to the embodiment of the present invention;



FIGS. 19A to 19D are views for character edit examples according to the embodiment of the present invention;



FIGS. 20A to 20D are views for character edit examples according to the embodiment of the present invention;



FIGS. 21A and 21B are views for explaining the concept of the processing contents according to the embodiment of the present invention;



FIGS. 22A and 22B are views for explaining the concept of the processing contents according to the embodiment of the present invention;



FIGS. 23A to 23F are views for explaining character edit examples;



FIGS. 24A to 24F are views for explaining character edit examples;



FIG. 25 shows an example of a dialog associated with character edit processing; and



FIGS. 26A to 26F are views for explaining character edit examples.


Claims
  • 1. An information processing apparatus which sets font information used for an input character when the character is newly input in a character string in which font information is set for each character, comprising: acquisition means for acquiring font information of a first character and font information of a second character, which are located before and after a position of the input character;first setting means for, when the font information of the first character and the font information of the second character acquired by said acquisition means include the same font type, setting the font type as font type information used for the input character; andsecond setting means for, when the font information of the first character and the font information of the second character acquired by said acquisition means include different font types, executing parsing for the character string including the input character, and setting font type information used for the input character based on the parsing result.
  • 2. The apparatus according to claim 1, further comprising: determination means for determining a status of a flag indicating the presence/absence of embedded font settings, which is included in each of the font information of the first character and the font information of the second character acquired by said acquisition means; andexecution means for setting the flag for the input character to be ON or OFF based on the determination result of said determination means, and executing one of said first setting means and said second setting means.
  • 3. The apparatus according to claim 2, wherein when the state of the flag included in at least one of the font information of the first character and the font information of the second character acquired by said acquisition means is ON based on the determination result of said determination means, said execution means sets the flag for the input character to ON.
  • 4. The apparatus according to claim 2, further comprising: processing setting means for setting processing contents of font setting processing executed when the flag for the input character is set to ON; andstorage means for storing processing setting information set by said processing setting means in a storage medium, andin that said processing setting means has, as setting items:a first setting item used to search for font information including font type information set for the input character;a second setting item used to search for a printing device which is pre-installed with font information including font type information set for the input character;a third setting item used to search for substitute font information having substitute font type information to the font type information; anda fourth setting item used to execute one of the first to third setting items or a setting item as an arbitrary combination of the first to third setting items.
  • 5. The apparatus according to claim 4, further comprising: font setting processing means for, when the flag for the input character is set to ON, executing the font setting processing based on the processing setting information stored in said storage means.
  • 6. The apparatus according to claim 5, wherein when the first setting item is set in the processing setting information, said font setting processing means executes, based on the setting contents, at least one of: first search processing for searching for font information including font type information set in the input character from identical page data including the character string;second search processing for searching for font information including font type information set in the input character from identical file data including the character string; andthird search processing for searching for font information including font type information set in the input character from file data having the same attribute as that of file data including the character string, andsaid font setting processing means sets the font information acquired by the executed search processing as font information for the input character.
  • 7. The apparatus according to claim 5, wherein when the second setting item is set in the processing setting information, said font setting processing means executes, based on the setting contents: printing device acquisition processing for acquiring printing device information of a printing device which is usable by said information processing apparatus;determination processing for determining whether or not the printing device information acquired by said printing device acquisition processing has printing device information having font information including font type information set for the input character; andprinting device setting processing for setting a printing device used to print the input character based on the determination result of the determination processing.
  • 8. The apparatus according to claim 5, wherein when the third setting item is set in the processing setting information, said font setting processing means executes, based on the setting contents: reference processing for referring to a font table, which manages substitute font information including a font type and a substitute font type as a substitute for the font type, based on the font information of the first character and the font information of the second character, which are located before and after the position of the input character;selection processing for selecting the substitute font information from the substitute font information referred to by the reference processing; andspecifying processing for specifying a character that uses the substitute font information selected by said selection processing, andsaid font setting processing means settles the substitute font information selected by the selection processing as font information of the character specified by the specifying processing.
  • 9. The apparatus according to claim 8, further comprising: substitute setting means for, when said font setting processing means searches for the substitute font information, setting a character that uses the retrieved substitute font information.
  • 10. A method of controlling an information processing apparatus, which sets font information used for an input character when the character is newly input in a character string in which font information is set for each character, comprising: an acquisition step of acquiring font information of a first character and font information of a second character, which are located before and after a position of the input character;a first setting step of setting, when the font information of the first character and the font information of the second character acquired in the acquisition step include the same font type, the font type as font type information used for the input character; anda second setting step of executing, when the font information of the first character and the font information of the second character acquired in the acquisition step include different font types, parsing the character string including the input character, and setting font type information used for the input character based on the parsing result.
  • 11. A computer program which is stored in a computer-readable medium and makes a computer control an information processing apparatus, which sets font information used for an input character when the character is newly input in a character string in which font information is set for each character, said program characterized by making the computer execute: an acquisition step of acquiring font information of a first character and font information of a second character, which are located before and after a position of the input character;a first setting step of setting, when the font information of the first character and the font information of the second character acquired in the acquisition step include the same font type, the font type as font type information used for the input character; anda second setting step of executing, when the font information of the first character and the font information of the second character acquired in the acquisition step include different font types, parsing the character string including the input character, and setting font type information used for the input character based on the parsing result.
  • 12. A character processing apparatus comprising: selection means for, when a character is to be inserted into a character string and a font of a character which neighbors the character to be inserted is not available, selecting a font similar to the font of the neighboring character; andsetting means for setting the font of the character to be inserted and the font of the neighboring character to the font selected by said selection means.
  • 13. The apparatus according to claim 12, wherein when a character is to be inserted into a character string and a font of a character which neighbors the character to be inserted is available, said setting means sets the font of the neighboring character to the font of the character to be inserted.
  • 14. A character processing method comprising: a selection step of selecting, when a character is to be inserted into a character string and a font of a character which neighbors the character to be inserted is not available, a font similar to the font of the neighboring character; anda setting step of setting the font of the character to be inserted and the font of the neighboring character to the font selected in the selection step.
  • 15. The method according to claim 14, wherein the setting step includes a step of setting, when a character is to be inserted into a character string and a font of a character which neighbors the character to be inserted is available, the font of the neighboring character to the font of the character to be inserted.
  • 16. A computer program, which is stored in a computer-readable medium and makes a computer execute character processing, said program characterized by making the computer execute: a selection step of selecting, when a character is to be inserted into a character string and a font of a character which neighbors the character to be inserted is not available, a font similar to the font of the neighboring character; anda setting step of setting the font of the character to be inserted and the font of the neighboring character to the font selected in the selection step.
  • 17. The program according to claim 16, wherein the setting step includes a step of setting, when a character is to be inserted into a character string and a font of a character which neighbors the character to be inserted is available, the font of the neighboring character to the font of the character to be inserted.
Priority Claims (1)
Number Date Country Kind
2006-043161 Feb 2006 JP national