WO2006059513A1 - 表示装置、表示装置の制御方法及び情報記憶媒体 - Google Patents

表示装置、表示装置の制御方法及び情報記憶媒体 Download PDF

Info

Publication number
WO2006059513A1
WO2006059513A1 PCT/JP2005/021477 JP2005021477W WO2006059513A1 WO 2006059513 A1 WO2006059513 A1 WO 2006059513A1 JP 2005021477 W JP2005021477 W JP 2005021477W WO 2006059513 A1 WO2006059513 A1 WO 2006059513A1
Authority
WO
WIPO (PCT)
Prior art keywords
character
line feed
character string
font
information
Prior art date
Application number
PCT/JP2005/021477
Other languages
English (en)
French (fr)
Inventor
Tadashi Nakamura
Hiroshi Ueno
Original Assignee
Sony Computer Entertainment Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Computer Entertainment Inc. filed Critical Sony Computer Entertainment Inc.
Priority to EP05809277A priority Critical patent/EP1835415A1/en
Priority to CN2005800344041A priority patent/CN101036137B/zh
Priority to US11/575,553 priority patent/US7629976B2/en
Publication of WO2006059513A1 publication Critical patent/WO2006059513A1/ja
Priority to US12/552,578 priority patent/US7773089B2/en

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/22Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/191Automatic line break hyphenation

Definitions

  • Display device display device control method, and information storage medium
  • the present invention relates to a display device, a display device control method, and an information storage medium.
  • Display devices such as portable game machines, home game devices, and personal digital assistants (PDAs) that display character strings are known.
  • PDAs personal digital assistants
  • a character that is not preferable to be the head of the line may be the head of the line. It is known to perform a process (prohibition process) that suppresses the ⁇ character that is preferably to be the end of a line. For example, it is known that a character code of a character that is not preferable to be displayed at the beginning or end of a line is held, and the character identified by the character code is controlled so that it does not become the beginning or end of the line.
  • a related image related to the character is generated in real time based on font data of the character to be displayed, and the related image is displayed related to the character. It has been known. For example, it is known to generate a shadow of a character in real time and display the shadowed character by attaching the shadow to the character.
  • a display device as described above, there is known a device that assists a user to suitably specify a part of a character string displayed on a screen. More specifically, the user should specify by analyzing the character string based on the position in the character string display area specified by the user and the character code of each character constituting the character string. It is known to estimate the part and distinguish the part.
  • a display device that displays related images as described above in association with characters generates a related image to be displayed in association with characters in real time, and thus the processing load is light. There wasn't.
  • the display device that supports the designation of a part of the character string as described above may be restricted by the character code system in order to analyze the character string based on the character code.
  • the present invention has been made in view of the above problems, and a first object of the present invention is to provide a display device that can suitably perform prohibition processing while suppressing restrictions imposed by the character code system. Another object is to provide a display device control method and an information storage medium.
  • a second object is to provide a display device, a display device control method, and an information storage medium that can display related images related to characters while reducing the processing load. is there.
  • a third object is to provide a display device, a display device control method, and an information storage medium that allow a user to suitably specify a part of a character string while suppressing restrictions imposed by a character code system. It is to provide.
  • a display device includes font information for displaying a character, line feed control information for controlling a line break before and after the character, or Z, Font data storage means for storing font data including a plurality of font records each including a character string; and character string display means for displaying a character string based on font information relating to all or part of the plurality of font records; A line feed control means for determining a line feed position in the display of the character string by the character string display means based on the line feed control information relating to the character included in the character string. .
  • the display device control method includes font information for displaying a character and line feed control information for controlling a line feed before and after the character or Z or after the character.
  • Font data storage means configured to store font data including a plurality of font records included therein
  • the font data reading step for reading the font data and the font data read by the font data reading step A character string display step for displaying a character string on the character string display means based on font information relating to all or part of the plurality of font records to be read, and a line feed in the display of the character string by the character string display means
  • the program according to the present invention includes a plurality of font records each including font information for displaying a character and line feed control information for controlling a line feed before, Z, or after the character.
  • a character string display means for displaying a character string based on font information relating to all or part of the plurality of font records included in the font data, and the character by the character string display means
  • As a line feed control means for determining a line feed position in the display of a row based on the line feed control information relating to the character included in the character string, a portable game machine, a home game machine, a commercial game machine, a mobile phone, a mobile phone
  • PDAs information terminals
  • the font data according to the present invention includes a plurality of pieces of font information for displaying characters and line feed control information for controlling line breaks before, Z, or after the characters. Font data including font records.
  • An information storage medium is a computer-readable information storage medium in which at least one of the program and the font data is recorded.
  • font data including a plurality of font records each including font information for displaying a character and line feed control information for controlling a line feed before, Z, or after the character.
  • a character string is displayed based on font information related to all or a part of the plurality of font records.
  • the line feed position in the display of the character string is determined based on the line feed control information related to the characters included in the character string.
  • the line feed control information for controlling the line feed before and after the character or Z or after is included in the font data, and is determined based on the line feed control information of the line feed position force when displaying the character string. Therefore, it becomes possible to perform prohibition processing while suppressing restrictions imposed by the character code system.
  • characters include, for example, kanji, hiragana, katakana, and numbers. It is a waste.
  • alphabets Cyrillic characters, Korean characters, Thai characters, traditional characters, simplified characters, and the like corresponding to languages other than Japanese are included.
  • punctuation marks such as "(" and ")", and blanks.
  • the line feed control information includes first line feed control information for controlling a line feed before the character and second line feed for controlling a line feed after the character.
  • the line feed control means includes, for at least some of the adjacent characters in the character string, the second line feed control information related to a preceding character of the adjacent characters and the adjacent characters.
  • a predetermined process may be executed based on the first line feed control information relating to the subsequent character, and the line feed position may be determined based on the execution result.
  • the first and second line feed control information are both numerical information
  • the line feed control means is configured to use the adjacent character for at least some of the adjacent characters in the character string.
  • a predetermined calculation is performed based on the second line feed control information of the character before the first character and the first line feed control information of the character after the adjacent character, and based on the calculation result. You may decide to determine the line feed position.
  • the font record further includes type information indicating a character type
  • the line feed control unit includes the type information relating to the character included in the character string with the line feed position. Let's make a decision based on further.
  • the display device includes a plurality of pieces of font information for displaying characters and related image information for displaying related images related to the characters in association with the characters.
  • Font data storage means for storing font data including a font record, and displaying characters based on the font information, and associating the related images with the characters based on the related image information corresponding to the font information Display means for displaying.
  • the control method of the display device includes: font information for displaying a character; and related image information for displaying a related image related to the character in association with the character.
  • Font data storage means for storing font data including a plurality of font records including font data reading for reading the font data And displaying the character on the display means based on the font information included in the font data read by the font data reading step and the related image based on the related image information corresponding to the font information. And a display step of displaying in association with the character.
  • the program according to the present invention includes a plurality of fonts each including font information for displaying a character and related image information for displaying a related image related to the character in association with the character.
  • computers such as portable game machines, home game machines, arcade game machines, mobile phones, personal digital assistants (PDAs), and personal computers to function.
  • the font data according to the present invention includes a plurality of pieces of font information each including font information for displaying a character and related image information for displaying a related image related to the character in association with the character. Font data including font records.
  • An information storage medium is a computer-readable information storage medium in which at least one of the program and the font data is recorded.
  • font data including a plurality of font records each including font information for displaying a character and related image information for displaying a related image related to the character in association with the character.
  • characters are displayed based on the font information, and the related images are displayed in association with the characters based on the related image information corresponding to the font information.
  • the related image information for displaying the related image related to the character in association with the character is included in the font data, and the related image related to the character is based on the related image information! / Since it is possible to display, related images related to characters can be displayed while reducing the processing load.
  • the font data includes a plurality of related image data representing the related images, and at least some of the related image information includes the plurality of related images.
  • Related image data specifying information for specifying any of the data, wherein the display means displays characters based on the font information, and the related image information corresponding to the font information is the related information.
  • image data specifying information the related image represented by the related image data specified by the related image data specifying information may be displayed in association with the character.
  • the related image information other than the at least some of the related image information may be the related image data itself.
  • the related image may be a shadow image of the character.
  • the display device stores font data including font data for displaying a character and font data including a plurality of font records each including type information indicating the type of the character.
  • Storage means character string display means for displaying a character string based on font information relating to all or part of the plurality of font records; and a display area of the character string displayed on the character string display means
  • Selecting means for selecting a part of the character string; and process executing means for executing processing based on a part of the character string selected by the selecting means.
  • the display device control method stores font data including a plurality of font records each including font information for displaying a character and type information indicating the type of the character. Based on font information relating to all or part of a plurality of font records included in the font data read out by the font data reading step and the font data reading step for reading the font data.
  • a character string display step for displaying a character string on a character string display means; a selection reference position specifying step for specifying a position in a display area of the character string displayed on the character string display means as a selection reference position;
  • the selection reference position specified by the selection reference position specifying step and the character string A selection step of selecting a part of the character string based on the type information of the characters included in the character, and a process execution of executing a process based on the part of the character string selected by the selection step And a step.
  • the program according to the present invention includes the plurality of font data included in font data including a plurality of font records each including font information for displaying a character and type information indicating the type of the character.
  • the character string display means for displaying the character string, and the position in the character string display area displayed on the character string display means is designated as the selection reference position
  • a portable game machine a home game machine, as a process execution means for executing a process based on a part of the character string selected by the selection means and the selection means, Tsutomu for Gate beam machine, a portable phone, a program for causing a Combi Yuta such as a portable digital assistant (PDA) or a personal computer.
  • PDA portable digital assistant
  • the font data according to the present invention is font data including a plurality of font records each including font information for displaying a character and type information indicating the type of the character.
  • An information storage medium is a computer-readable information storage medium recording at least one of the program and the font data.
  • font data including a plurality of font records each including font information for displaying a character and type information indicating the type of the character is stored.
  • a character string is displayed based on font information related to all or part of the plurality of font records.
  • the position of the character string in the display area is designated as the selection reference position
  • a part of the character string is selected based on the selection reference position and the character type information included in the character string.
  • a process for example, a process of distinguishing and displaying a part thereof
  • the type information indicating the character type is included in the font data, and a part of the character string is selected based on the type information. Therefore, the character string that is not restricted by the character code system is selected. It is possible to make it possible for the user to suitably perform some designations.
  • the selection means includes the selection group in the character string.
  • Starting point character selecting means for selecting a starting point character from characters existing before the quasi-position based on the type information, and an end point character among characters existing after the selected reference position in the character string in the type End point character selecting means for selecting based on information, and selecting a part of the character string based on the start character and the end character.
  • the start character selection means includes, for two adjacent characters before the selection reference position in the character string, the type information related to the two adjacent characters. It may be determined whether or not a predetermined start point character condition is satisfied, and the start point character may be selected according to the determination result.
  • the end point character selection means includes, for two adjacent characters after the selection reference position in the character string, the type information related to the two adjacent characters. It may be determined whether or not a predetermined end character condition is satisfied, and the end character is selected according to the determination result.
  • FIG. 1 is a diagram showing a hardware configuration of a portable electronic device according to the present embodiment.
  • FIG. 2 is a functional block diagram of a portable electronic device according to the present embodiment.
  • FIG. 3 is a diagram showing the configuration of font data.
  • FIG. 4 is a diagram showing a configuration of a header block.
  • FIG. 5 is a diagram showing a configuration of a glyph data block.
  • FIG. 6 is a diagram showing the structure of glyph data.
  • FIG. 7 is a diagram showing a configuration of a shadow glyph image owner map block.
  • FIG. 8 is a diagram showing the structure of a glyph header.
  • FIG. 9 is a diagram showing first line feed control information.
  • FIG. 10 is a diagram showing second line feed control information.
  • FIG. 11 is a diagram showing a line feed control information numeric key table.
  • FIG. 12 is a diagram showing character type information.
  • FIG. 13 is a flowchart showing processing executed in the portable electronic device.
  • FIG. 14 is a flowchart showing processing executed in the portable electronic device.
  • FIG. 15 is a flowchart showing processing executed in the portable electronic device.
  • FIG. 16 is a flowchart showing processing executed in the portable electronic device.
  • FIG. 17 is a diagram showing an example of a character string displayed on the liquid crystal display of the portable electronic device.
  • the display device according to the embodiment of the present invention is realized by a portable electronic device functioning as a portable game machine, a portable music player, or a personal digital assistant (PDA) will be described as an example.
  • a portable electronic device functioning as a portable game machine, a portable music player, or a personal digital assistant (PDA)
  • PDA personal digital assistant
  • FIG. 1 is a diagram showing a hardware configuration of a portable electronic device 10 used as a display device according to an embodiment of the present invention.
  • the portable electronic device 10 includes a central processing unit (CPU) 14, a random access memory (RAM) 16, a read only memory (ROM) 18, interfaces (iZF) 20, 24, 28, audio
  • the processing unit 32 and the image processing unit 36 are connected to each other via the bus 12 so that data communication is possible.
  • An operation unit 22 is connected to the interface 20, and a disk drive 26 is connected to the interface 24.
  • a communication unit 30 is connected to the interface 28.
  • a speaker 34 is connected to the audio processing unit 32
  • a liquid crystal display (LCD) 38 is connected to the image processing unit 36.
  • the CPU 14 controls each part of the portable electronic device 10 based on an operating system (OS) stored in the ROM 18 and a program read from the disk 27.
  • the bus 12 is used for exchanging addresses and data between each part of the portable electronic device 10.
  • the program read from the disk 27 is written into the RAM 16 as necessary.
  • the RAM 16 is also used for the work of the CPU 14.
  • the sound processing unit 32 reproduces various sound data such as game music, game sound effects and messages read from the disk 27 and outputs them from the speaker 34.
  • the image processing unit 36 processes the image data supplied by the CPU 14 and causes the LCD 38 to display and output it.
  • the interfaces 20, 24, and 28 are the CPU 14, the operation unit 22, the disk drive 26, and the communication unit. Relay data communication between 30 and 30 respectively.
  • the operation unit 22 is an input means for the user to perform various operations.
  • the disk drive 26 reads programs and data stored in the disk 27 in accordance with instructions from the CPU 14.
  • the communication unit 30 performs data communication with another computer (information processing apparatus) via a communication network.
  • the program is supplied to the portable electronic device 10 via the disk 27, which is an information storage medium.
  • the remote geopower is also portable electronic via a communication network such as the Internet.
  • the program may be supplied to the device 10, or the program may be supplied to the portable electronic device 10 using various data communications such as infrared communication.
  • FIG. 2 is a functional block diagram showing mainly the functions related to the present invention among the functions realized in the portable electronic device 10.
  • the portable electronic device 10 has a font data storage unit 50, a line feed control unit 52, a character string display unit 54, a selection reference position specification unit 56, a selection unit 58, and a process execution unit 60. Is done. These functions are realized by the CPU 14 executing a program supplied via the disk 27.
  • the font data storage unit 50 includes, for example, a ROM 18 and a disk 27.
  • the font data storage unit 50 stores font data.
  • FIG. 3 shows a configuration of font data stored in the font data storage unit 50.
  • the font data 100 includes a header block 102, a metrics block 104, a glyph image owner map block 106, a first character map block 108, a second character map block 110, and a glyph data block 112. Composed.
  • FIG. 4 shows the configuration of the header block 102.
  • the header block 102 includes version information 114, line feed control information numeric key table 116, character type information.
  • the digitization table 118 is held.
  • the version information 114 is information indicating the version of the font data.
  • the line feed control information numerical value table 116 is information for digitizing the line feed control information described later (see FIG. 11).
  • the character type information digitization table 118 is information for digitizing character type information described later (see FIG. 12).
  • Various other information is stored in the header block 102.
  • Metric block 104 holds metric information (information related to the layout of character fonts) such as character rectangle information (width and height).
  • metric information information related to the layout of character fonts
  • character rectangle information width and height
  • the shadow glyph image owner map block 106 will be described later (see FIG. 7).
  • the first character map block 108 holds a list of character codes.
  • character numbers are associated with only some character codes. More specifically, a character number is associated with only the font data that holds font information. Note that the character number is information for uniquely identifying a character word image (glyph data) described later.
  • the second character map block 110 holds a list of character numbers.
  • each character number is associated with information for specifying an area where glyph data (font record) of the character is held. As will be described later, the glyph data of each character is held in the glyph data block 112.
  • FIG. 5 shows the configuration of the glyph data block 112. As shown in the figure, a plurality of glyph data 120a, 120b, 120c,... Are held in the glyph data block 112.
  • FIG. 6 shows the configuration of one glyph data 120 (font record).
  • the glyph data 120 includes a glyph header 122, metrics information 124, a character glyph image 126 (font information), and a shadow glyph image 128 (related image data).
  • the glyph header 122 will be described later (see FIG. 8).
  • the metrics information 124 is information such as character rectangle information (width and height). Metrics information may be stored in the metrics block 104, or it may be stored in the glyph data 120 for each character.
  • the character glyph image 126 is information representing the design (shape) of the character.
  • the shadow glyph image 128 is information indicating the design (shape) of a shadow added when the character (character represented by the character glyph image) is displayed as a shaded character.
  • the shadow glyph image 128 is included only in a part of glyph data 120 that is not included in all glyph data 120. Specifically, for characters that can be shaded using the shadow glyph image 128 included in the glyph data 120 of other characters, do not include the shadow glyph image 128 in the glyph data 120 of that character. It has become. In this embodiment, the data size of the font data 100 is thus reduced! /.
  • the shadow glyph image owner map block 106 holds a list of character numbers related to the glyph data 120 including the shadow glyph image 128, as shown in FIG.
  • FIG. 8 shows the configuration of the glyph header 122.
  • the glyph header 122 includes metrics reference information 130, shadow specifying information 132 (related image data specifying information), first line feed control information 134, second line feed control information 136, character type information 138 (type information ) Is included.
  • the glyph header 122 may hold various other information related to the glyph data 120.
  • the metric reference information 130 is information indicating whether the metric information information block 104 or the glyph data 120 of the character is stored.
  • the metrics reference information 130 includes information for specifying a storage area (in order to specify a reference destination in the metrics block 104). Information).
  • the shadow specifying information 132 is information for specifying the shadow glyph image 128 to be used when a shadow is added to the “characters represented by the character glyph image 126 included in the glyph data 120”. Specifically, the shadow identification information 132 is information for identifying one of a plurality of “character numbers related to a shadow glyph image” held in the shadow glyph image owner map block 106. .
  • the first line feed control information 134 is information for controlling (restricting) a line feed before "characters represented by the character glyph image 126 included in the glyph data 120".
  • the first line feed control information 134 is information indicating the strength of connection with the previous character. For example, one of “weak”, “medium”, and “strong” is held as the first line feed control information 134.
  • the first line feed control information for each character is set. In the example in the figure, the first line feed control information is set uniformly for each character type, except for punctuation, but different first line feed control information is set for each character.
  • the first line feed control information is set uniformly for each character type, except for punctuation, but different first line feed control information is set for each character.
  • the second line feed control information 136 is information for controlling (restricting) a line feed after “characters represented by the character glyph image 126 included in the glyph data 120”.
  • the second line feed control information 136 is information indicating the strength of the connection with the subsequent character.
  • the first line feed control information 134 for example, “weak”, “medium”, “ One of “strong” is held as the second line feed control information 136.
  • the second line feed control information for each character is set. In the example in the figure, except for punctuation, uniform second line feed control information is set for each character type, but different second line feed control information is set for each character. It may be.
  • the header block 102 holds the line feed control information numerical value table 116 for converting the first line feed control information and the second line feed control information into numerical values.
  • the line feed control information numerical key table 116 holds information as shown in FIG. 11, for example.
  • the first line feed control information 134 and the second line feed control information 136 (abstract information) held in the glyph header 122 are executed. ) Is not used directly, but the value obtained by digitizing the line feed control information digitizing table 116 is used.
  • the line break control information numerical value table 11 6 without changing the contents of each glyph header 122. It is possible to respond by changing only the contents of.
  • numerical information should be held as the first line feed control information 134 and the second line feed control information 136.
  • the character type information 138 is information indicating the type of “characters represented by the character glyph image 126 included in the glyph data 120”. In this embodiment, any one of “Kanji”, “Hiragana”, “Katakana”, “Alphabet”, “Numerics”, “Approximate”, “Blank and others” is the character type. It is to be held as other information 138. Note that the character types (classifications) of languages other than Japanese such as “Cyrillic”, “Hangul”, “Thai”, “Traditional” and “Simplified” are not limited to the above. ) May be held as the character type information 138.
  • information indicating the language in which the character is used is character type information. May be retained. Further, for example, information indicating “full-width characters” or “half-width characters” may be held as the character type information 138. Further, the character type information associated with one character may indicate one character type, or may indicate a combination of a plurality of character types. For example, “double-byte alphabetic characters” may be associated with character type information indicating a combination of “alphabet” and “double-byte”. In other words, information indicating “alphabet” and information indicating “full-width” may be associated as character type information.
  • the header block 102 holds the character type information numerical value table 118 for converting the character type information into numerical values.
  • the character type digitizing table 118 holds information as shown in FIG. 12, for example.
  • character type information 138 abtract information held in the glyph header 122 is not directly used.
  • the numerical value is used. For this reason, even if it is necessary to change the setting of the character type information, it can be handled by changing only the content of the character type information numerical value table 118 without changing the content of each glyph header 122. It ’s like that.
  • numerical information may be held as the character type information 138.
  • the character string display unit 54 is mainly composed of the image processing unit 36 and the LCD 38.
  • the character string display unit 54 displays a character string in accordance with an instruction from the CPU 14.
  • the character string display unit 54 displays the character string based on the font data stored in the font data storage unit 50. Specifically, the character string display unit 54 reads the font data of each character included in the character string to be displayed. And the read character glyph image Therefore, each character included in the character string is displayed.
  • the character string display unit 54 (display means) can display the character string designated by the CPU 14 with shaded characters.
  • the character string display unit 54 reads out the shadow glyph image associated with each character included in the character string to be displayed from the font data. Then, each character included in the character string is shaded according to the shadow glyph image corresponding to that character. That is, a shadow represented by the shadow glyph image read for the character is attached to each character included in the character string.
  • the character string display unit 54 may change the size of at least one of the character represented by the character glyph image and the shadow represented by the shadow glyph image. Further, the character string display unit 54 may display only the shadow represented by the shadow glyph image.
  • the line feed control unit 52 determines the line feed position in the display of the character string by the character string display unit 54 based on the first line feed control information and the second line feed control information related to the characters included in the character string.
  • the line feed control unit 52 for at least some of the adjacent characters in the character string, the second line feed control information related to the previous character of the adjacent characters and the first line feed control related to the character after the adjacent characters.
  • a predetermined process is executed based on the information, and the line feed position is determined based on the execution result.
  • the line feed control unit 52 digitizes the second line feed control information of the previous character of the adjacent characters and the adjacent character A predetermined operation is performed based on the numerical value of the first line feed control information of the character after the character, and the line feed position is determined based on the result of the operation.
  • the line feed control unit 52 determines the line feed position in the display of the character string by the character string display unit 54 based on the character type information related to the character included in the character string.
  • FIG. 13 and FIG. 14 are flowcharts showing such processing.
  • the character string display unit 54 acquires the width W of the area for displaying the target character string (S101).
  • the character string display unit 54 acquires the number N of characters of the target character string (S102).
  • the character string display unit 54 initializes the variable ⁇ to 0 (S 103).
  • the character string display unit 54 initializes the variable n to 1 (S104) and initializes the variable ws to 0 (S105).
  • the character string display unit 54 performs the processing of S106 to S109 with the ( ⁇ + ⁇ ) -th character as the target character.
  • the character string display unit 54 acquires the width w necessary to display the ( ⁇ + ⁇ ) -th character (S106). Specifically, the character string display unit 54 acquires the character code of the ( ⁇ + ⁇ ) character. Next, the character string display unit 54 refers to the first character map block 108 to obtain a character number corresponding to the character code. Next, the character string display unit 54 refers to the second character map block 110 to acquire information for specifying the area in which the glyph data relating to the character number is held. Next, the character string display unit 54 refers to the metrics reference information 130 held in the glyph header 122. Then, the character string display unit 54 refers to the character rectangle information held in the metrics block 104 or the glyph data 120 in accordance with the metrics reference information 130, and acquires the width w necessary to display the character. .
  • the character string display unit 54 updates the value of the variable ws to ws + w (S107). Since the value of the variable ws is updated in this way, it indicates the total width required to display each character from the (nO + 1) character to the (nO + n) character in the display target string. It will be.
  • the character string display unit 54 determines whether or not the value of the variable ws is equal to or larger than W acquired in S101 (S108). When determining that the value of the variable ws is less than W, the character string display unit 54 determines whether ( ⁇ + ⁇ ) is equal to N acquired in S102 (S109). That is, it is determined whether the ( ⁇ + ⁇ ) -th character is the last character of the display target character string. If the character string display unit 54 determines that ( ⁇ + ⁇ ) is not equal to N, the character string display unit 54 increments the variable n (S 110), and executes the processing of S 106 to S 109 again.
  • full-width characters or half-width characters each have a fixed width
  • the width of the full-width characters is twice the width of the half-width characters
  • the width of the character string display area displays five full-width characters per line.
  • the fourth character of the character string shown in Fig. 4 (a) is a single-byte space.
  • the first to fourth characters of the character string shown in (a) are half-width characters, and the fifth to 20th characters are full-width characters.
  • the character type of the 5th, 9th, 18th, and 19th characters in the character string shown in Fig. 9 (a) is hiragana, and the characters of the 6th, 8th, 13th, and 16th characters are kanji.
  • the line feed control unit 52 determines the line feed position in the displayable character string by executing the processes of S111 to S120. In other words, it is determined how many characters of the displayable character string are output to the character string display unit 54 (character string display area) as the next line.
  • the line feed control unit 52 initializes the variable m to 0 (Sl l l).
  • the line feed control unit 52 acquires a value e2 obtained by numerically inputting the second line feed control information of the (nO + m) -th character (S112).
  • the line feed control unit 52 acquires the character code of the (nO + m) -th character.
  • the second line feed control information 136 is obtained by referring to the glyph header 122 of the glyph data 120 corresponding to the character code.
  • the line feed control unit 52 then numerically enters the acquired second line feed control information 136 based on the line feed control information numeric key table 116 held in the header block 102.
  • the line break control unit 52 sets e2 to 9.
  • the line feed control unit 52 acquires a value el obtained by digitizing the first line feed control information of the (nO + m + 1) -th character (S113). Specifically, the line feed control unit 52 acquires the character code of the (nO + m + 1) -th character. Then, in the same way as in S112, The first line feed control information 134 is obtained by referring to the glyph header 122 of the glyph data 120 corresponding to the mode. Then, the line feed control unit 52 digitizes the acquired first line feed control information 134 based on the line feed control information numerical value table 116 held in the header block 102. When nO + m is N, the line feed control unit 52 sets el to 0.
  • the line feed control unit 52 holds e2 X el in the array E [m] of line feed evaluation values (S114). Thereafter, the line feed control unit 52 determines whether or not the value of the variable m is equal to the value of the variable n (S115). When the line feed control unit 52 determines that the value of the variable m is not equal to the value of the variable n, the line feed control unit 52 increments the value of the variable m (S116) and executes the processes of S112 to S115 again.
  • the line feed control unit 52 determines that the value of the variable m is equal to the value of the variable n (S115)
  • the line feed control unit 52 sets the condition that the value of E [m] is the minimum value.
  • the value of m that satisfies is substituted for the variable mO (S117).
  • the character string display unit 54 causes the LCD 38 to output from the (nO + 1) character to the (nO + mO) character of the display target character string as one line (S118).
  • the first and second line feed control information is set as shown in FIGS. 9 and 10, and the line feed control information numerical value table is set as shown in FIG.
  • the character string shown in Fig. 17 (b) is a displayable character string
  • the line feed control unit 52 sets the value of the variable mO to “4”
  • the character string display unit 54 displays the fourth character (half-width space) and the fifth character.
  • the interval is determined as the line feed position.
  • the portion of the character string shown in Fig. 17 (b) up to the 4th character (“ABC”) is output to the LCD 38 as one line.
  • a line break position is determined as a line break position between the character combinations having the minimum line break evaluation value.
  • a predetermined threshold value it is possible to select the one with the largest number of characters in one line (or the one with the longest width in one line) and determine the line break position between the character combinations. That is, in the process of S117, a value of m that satisfies the condition that the value of E [m] is equal to or less than a predetermined threshold value may be acquired, and the maximum value may be substituted into the variable mO.
  • the character string display unit 54 When displaying from the (nO + 1) character to the (nO + mO) character of the display target character string on the LCD 38, the character string display unit 54 first sets the character glyph image of each character as follows. The get. That is, the character string display unit 54 first acquires the character code of the character to be displayed. Next, by referring to the first character map block 108 and the second character map block 110, the storage area in which the glyph data 120 corresponding to the character code is held is specified. Then, the character glyph image 126 included in the glyph data 120 is acquired.
  • the character string display unit 54 acquires a shadow glyph image of each character as follows. That is, the character string display unit 54 first acquires the character code of the character to be displayed. Next, referring to the first character map block 108 and the second character map block 110, the storage area in which the glyph data 120 corresponding to the character code is held is specified. Then, the shadow specifying information 132 is obtained by referring to the glyph header 122 included in the glyph data 120. Next, the character string display unit 54 refers to the storage area of the shadow glyph image owner map block 106 specified by the shadow specifying information, thereby holding the character number related to the shadow glyph image 128 (the shadow glyph image 128 is held. Character number related to the glyph data 120). Next, the character string display unit 54 refers to the second character map block 110 to identify a storage area in which the duff data 120 corresponding to this character number is held. Then, the shadow glyph image 128 included in the glyph data 120 is acquired.
  • the character string display unit 54 generates a character string layer image based on the character glyph image acquired for each character.
  • the character string display unit 54 generates a shadow layer image based on the shadow glyph image acquired for each character.
  • the character string display unit 54 causes the LCD 38 to display an image in which a shadow layer image is superimposed on a background layer image that is read out separately, and further a character layer image is superimposed thereon.
  • the character string display unit 54 determines whether nO + mO is equal to N or not. (S119). If the character string display unit 54 determines that nO + mO and N are not equal, it determines that display output of the display target character string to LCD38 is not complete, and updates ⁇ to nO + mO. Later (S120), the processing of S104 to S119 is executed again. On the other hand, when the character string display unit 54 determines that nO + mO is equal to N, the character string display unit 54 determines that the display output of the display target character string to the LCD 38 is completed. to decide. In this case, this process ends.
  • the selection reference position designation unit 56 designates the position in the character string display area in the character string display unit 54 as the selection reference position. For example, the selection reference position designation unit 56 designates a position in the character string display area in the character string display unit 54 in accordance with a designation operation using a pointing device or the like by the user. That is, the selection reference position specifying unit 56 determines whether or not an operation for specifying a position in the character string display area in the character string display unit 54 has been performed by the user. Then, when a manipulation operation is performed, the position specified by the user is acquired as the selection reference position.
  • the selection unit 58 uses the character string display unit 54 based on the selection reference position specified by the selection reference position specification unit 56 and the character type information of the characters included in the character string displayed on the character string display unit 54. Select a part of the character string displayed in.
  • the selection unit 58 selects a starting character from characters existing before the selection reference position acquired by the selection reference position specifying unit 56. Select based on the character type information included for each character in the font data. More specifically, the selection unit 58 selects two adjacent characters from the character string displayed on the character string display unit 54 that are adjacent to the selection reference position acquired by the selection reference position specification unit 56. It is determined whether each combination of two characters satisfies a predetermined starting character condition. That is, for each combination, it is determined whether or not the character type information of the character related to the combination satisfies the starting character condition. Then, the starting character is selected according to the determination result.
  • the selection unit 58 selects an end point character from characters existing after the selection reference position acquired by the selection reference position specifying unit 56 in the character string displayed on the character string display unit 54. Select based on the character type information included for each character in the font data. More specifically, the selection unit 58 selects a character string displayed on the character string display unit 54. For the character after the selected reference position acquired by the reference position acquisition unit 56, it is determined whether or not each combination of two adjacent characters satisfies a predetermined end point character condition. That is, for each combination, it is determined whether or not the character type information of the character related to the combination satisfies the end point character condition. Then, an end point character is selected according to the judgment result.
  • the selection unit 58 selects a part of the character string displayed on the character string display unit 54 based on the start point character and the end point character selected as described above. For example, a portion of the character string displayed on the character string display unit 54 up to the start point character power and the end point character is selected.
  • the process execution unit 60 executes the process based on a part of the character string displayed on the character string display unit 54 that is selected by the selection unit 58. For example, the process execution unit 60 displays a part of the character string displayed on the character string display unit 54 selected by the selection unit 58 (highlighted display or reverse display).
  • 15 and 16 are flowcharts showing such processing.
  • the selection reference position specifying unit 56 first acquires a position (selection reference position) designated by the user (S201), and specifies a character corresponding to the position as a selection reference character (S202). . For example, when the selection reference position is included in the display area of a certain character, the selection reference position designating unit 56 identifies the character as the selection reference character. For example, the character closest to the selection reference position is specified as the selection reference character. The selection reference position specifying unit 56 causes the RAM 16 to hold the position of the selection reference character in the target character string. In addition, the selection unit 58 sets the selection reference character as the attention character (S203).
  • the selection unit 58 determines whether or not the attention character is the first character of the target character string (S204). When it is determined that the target character is the first character of the target character string, the target character (first character) is determined as the start character (S210).
  • the selection unit 58 determines that the character of interest is not the first character of the target character string, the selection unit 58 acquires a value nl that is a numerical value of the character type information of the character of interest (S205). Specifically, select The output unit 58 acquires the character code of the character of interest. Next, the selection unit 58 refers to the first character map block 108 to obtain the character number corresponding to the character code of the character of interest. Further, the selection unit 58 refers to the second character map block 110 to obtain information for specifying the storage area in which the glyph data 120 of the character of interest is held.
  • the selection unit 58 refers to the glyph header 122 included in the glyph data 120 of the target character, and acquires the character type information 138 of the target character.
  • the selection unit 58 digitizes the character type information 138 based on the character type information numerical value table 118 (FIG. 10) held in the header block 102.
  • the selection unit 58 obtains a value n2 obtained by numerically inputting the character type information of the character before the character of interest (the character preceding the character of interest). This acquisition of n2 is performed as in S2 05.
  • the selection unit 58 determines whether nl is larger than n2 (S207). If the selection unit 58 determines that nl is n2 or less, the selection unit 58 sets the character before the character of interest as the character of interest (S208), and executes the processes of S204 to S207 again. On the other hand, if the selection unit 58 determines that the nl force is greater than 3 ⁇ 42, the selection unit 58 determines the character of interest as the start character (S209).
  • the selection unit 58 executes a process for determining the end point character. First, the selection unit 58 sets the selection reference character as a target character (S210).
  • the selection unit 58 determines whether or not the character of interest is the last character of the target character string (S211). If the selection unit 58 determines that the target character is the last character of the target character string, the selection unit 58 determines the target character (end character) as the end point character (S216).
  • the selection unit 58 determines that the character of interest is not the last character of the target character string, the selection unit 58 acquires a value nl that is a numerical value of the character type information of the character of interest (S212). In addition, the selection unit 58 obtains a value n2 obtained by numerically inputting the character type information of the character next to the character of interest (the character behind the character of interest). These nl and n2 are acquired in the same manner as in S205.
  • the selection unit 58 determines whether n2 is larger than nl (S214). If the selection unit 58 determines that n2 is nl or less, the selection unit 58 sets the character next to the character of interest as the character of interest (S215), and executes the processes of S211 to S214 again. On the other hand, if the selection unit 58 is greater than n2 force 3 ⁇ 41, If it is determined, the target character is determined as the end point character (S216).
  • the process execution unit 60 displays distinction (highlighted or highlighted) on the character string display unit 54 up to the starting point character power and the end point character selected as described above (S217). Specifically, in the same manner as described in S118, a character string layer image, a shadow layer image, and a background layer image are generated or read, and a distinction display layer image (a part of the character string is displayed in a distinguishable manner). For example), and an image formed by superimposing these in the order of the character string layer image, the distinction display layer image, the shadow layer image, and the background layer image is displayed on the character string display unit 54.
  • the character “C” Is identified as the selection reference character.
  • the character type information and the character type information digitization table are defined as shown in FIG. 12, the values of the character type information of the characters “A”, “B”, and “C” are all expressed as “ 3 ”. In this case, the condition of S207 (starting character condition) is not satisfied, and the character “A” is determined as the starting character because it is the first character.
  • the value that is obtained by entering the numerical value of the character type information of the character after the character “C” (4th character; space) is “0”, and the character type information of the subsequent character (5th character) is the numerical value.
  • the value entered is “5”.
  • the S214 condition end character condition
  • the fourth character half-width space
  • the fourth character half-width space
  • the line feed control information for controlling the line feed before and after the character can be included in the font data, and the character string is displayed.
  • the line feed position is determined based on this line feed control information.
  • the prohibition process can be suitably performed while restricting the restriction due to the character code system.
  • the character that is subject to the prohibition process is specified regardless of the font design of the character. The person who was involved in the design of the data was not able to participate in the prohibition process.
  • the portable electronic device 10 it is possible to include shadow information for making a character a shaded character in the font data, and when the character is displayed as a shaded character, this shadow information Will be used. For this reason, the portable electronic device 10 can display shaded characters while reducing the processing load.
  • the portable electronic device 10 it is possible to include character type information of characters in the font data, so that a part of the target character string is selected based on the character type information. Become. For this reason, according to the portable electronic device 10, the user can preferably designate a part of the character string while suppressing the restriction by the character code system.
  • font data described above does not depend on the font format (character shape representation format) such as dot fonts and vector fonts, and thus various drivers (OS (Operating Systems) System)). Therefore, the data format of the font data described above can replace existing general-purpose font standards such as TrueType (registered trademark) fonts.
  • line feed control information, character type information, and related image information for each character are determined for each font (character font, design). For this reason, if font data is incorporated into a computer as necessary, the characters of the font can be displayed on the computer in an appropriate layout. In addition, even if the character string to be displayed includes characters of different fonts, the character string to be used is appropriate according to the line feed control information associated with the character in the font data for each font. Will be displayed in the layout
  • the font data stored in the font data storage unit 50 includes information (related image information) for displaying other related images related to each character in association with each character.
  • information for adding a shadow to each character (shadow glyph image 128 and shadow specifying information 132)
  • an image that indicates that the character is focused an image that gives a special display effect to the character (for example, an image that displays the character as if it is shining or neon) Etc.) or an image for distinguishing and displaying characters may be included for each character in association with the character.
  • the character string display unit 54 may display the image as described above in association with the character based on the powerful font data (related image information).
  • the present invention is applied to a portable electronic device.
  • the present invention can also be applied to other computer systems such as a home game machine and a personal computer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Document Processing Apparatus (AREA)

Abstract

 文字コード体系による制約を抑止しつつ、禁則処理を好適に行うことができるようになる表示装置を提供する。  フォントデータ記憶部(50)は、文字を表示するためのフォント情報と、当該文字の前及び/又は後における改行を制御するための改行制御情報と、をそれぞれ含む複数のフォントレコードを含むフォントデータを記憶する。文字列表示部(54)は、複数のフォントレコードの全部又は一部に係るフォント情報に基づいて、文字列を表示する。改行制御部(52)は、文字列表示部(54)による文字列の表示における改行位置を、当該文字列に含まれる文字に係る改行制御情報に基づいて決定する。

Description

明 細 書
表示装置、表示装置の制御方法及び情報記憶媒体
技術分野
[0001] 本発明は表示装置、表示装置の制御方法及び情報記憶媒体に関する。
背景技術
[0002] 文字列を表示する携帯ゲーム機、家庭用ゲーム装置、携帯情報端末 (PDA)ゃパ 一ソナルコンピュータなどの表示装置が知られて 、る。
[0003] 上記のような表示装置としては、文字列表示領域の横幅に応じて改行を行う場合に 、行の先頭となることが好ましくない文字が行の先頭となることや、行の末尾となること が好ましくな ヽ文字が行の末尾となることを抑止する処理 (禁則処理)を行うものが知 られている。例えば、行頭又は行末に表示されることが好ましくない文字の文字コー ドを保持しておき、その文字コードで識別される文字が行頭又は行末とならな ヽよう に制御するものが知られて 、る。
[0004] また、上記のような表示装置としては、表示する文字のフォントデータに基づいてそ の文字に関連する関連画像をリアルタイムに生成し、その関連画像を文字に関連づ けて表示するものが知られている。例えば、文字の影をリアルタイムに生成し、その影 を文字に付して影付文字を表示するものなどが知られている。
[0005] さらに、上記のような表示装置としては、画面表示される文字列の一部をユーザが 好適に指定できるように支援するものが知られている。より具体的には、ユーザによつ て指定された文字列表示領域における位置と、文字列を構成する各文字の文字コー ドと、に基づいて文字列を解析することによって、ユーザが指定しょうとする部分を推 定し、その部分を区別表示するものが知られている。
発明の開示
発明が解決しょうとする課題
[0006] 上記のような禁則処理を行う表示装置では、行頭又は行末に表示されないようにす る文字の文字コードをあら力じめ設定しておく必要がある。このため、禁則処理が文 字コード体系による制約を受ける場合があった。例えば、未知の文字コード体系の文 字を表示する場合には禁則処理を行うことができない場合があった。
[0007] また、上記のような関連画像を文字に関連づけて表示する表示装置は、文字に関 連づけて表示する関連画像をリアルタイムに生成するため、その処理負荷は軽いも のとはなっていなかった。
[0008] また、上記のような文字列の一部の指定を支援する表示装置は、文字コードに基づ いて文字列の解析を行うため、文字コード体系による制約を受ける場合があった。
[0009] 本発明は上記課題に鑑みてなされたものであって、その第 1の目的は、文字コード 体系による制約を抑止しつつ、禁則処理を好適に行うことができるようになる表示装 置、表示装置の制御方法及び情報記憶媒体を提供することにある。
[0010] また、第 2の目的は、文字に関連する関連画像を処理負荷を軽減しつつ表示させ ることができるようになる表示装置、表示装置の制御方法及び情報記憶媒体を提供 することにある。
[0011] さらに、第 3の目的は、文字コード体系による制約を抑止しつつ、文字列の一部の 指定をユーザが好適に行えるようになる表示装置、表示装置の制御方法及び情報 記憶媒体を提供することにある。
課題を解決するための手段
[0012] 上記課題を解決するために、本発明に係る表示装置は、文字を表示するためのフ オント情報と、当該文字の前及び Z又は後における改行を制御するための改行制御 情報と、をそれぞれ含む複数のフォントレコードを含むフォントデータを記憶するフォ ントデータ記憶手段と、前記複数のフォントレコードの全部又は一部に係るフォント情 報に基づいて、文字列を表示する文字列表示手段と、前記文字列表示手段による 前記文字列の表示における改行位置を、当該文字列に含まれる文字に係る前記改 行制御情報に基づ 、て決定する改行制御手段と、を含むことを特徴とする。
[0013] また、本発明に係る表示装置の制御方法は、文字を表示するためのフォント情報と 、当該文字の前及び Z又は後における改行を制御するための改行制御情報と、をそ れぞれ含む複数のフォントレコードを含むフォントデータを記憶してなるフォントデー タ記憶手段力 前記フォントデータを読み出すためのフォントデータ読み出しステツ プと、前記フォントデータ読み出しステップによって読み出されるフォントデータに含 まれる複数のフォントレコードの全部又は一部に係るフォント情報に基づいて、文字 列を文字列表示手段に表示させる文字列表示ステップと、前記文字列表示手段によ る前記文字列の表示における改行位置を、当該文字列に含まれる文字に係る前記 改行制御情報に基づ 、て決定する改行制御ステップと、を含むことを特徴とする。
[0014] また、本発明に係るプログラムは、文字を表示するためのフォント情報と、当該文字 の前及び Z又は後における改行を制御するための改行制御情報と、をそれぞれ含 む複数のフォントレコードを含むフォントデータ、に含まれる前記複数のフォントレコ ードの全部又は一部に係るフォント情報に基づ 、て、文字列を表示する文字列表示 手段、及び、前記文字列表示手段による前記文字列の表示における改行位置を、 当該文字列に含まれる文字に係る前記改行制御情報に基づいて決定する改行制御 手段、として、携帯ゲーム機、家庭用ゲーム機、業務用ゲーム機、携帯電話機、携帯 情報端末 (PDA)やパーソナルコンピュータなどのコンピュータを機能させるための プログラムである。
[0015] また、本発明に係るフォントデータは、文字を表示するためのフォント情報と、当該 文字の前及び Z又は後における改行を制御するための改行制御情報と、をそれぞ れ含む複数のフォントレコードを含むフォントデータである。
[0016] また、本発明に係る情報記憶媒体は、上記プログラム及び上記フォントデータのう ちの少なくとも一方を記録したコンピュータ読み取り可能な情報記憶媒体である。
[0017] 本発明では、文字を表示するためのフォント情報と、当該文字の前及び Z又は後 における改行を制御するための改行制御情報と、をそれぞれ含む複数のフォントレコ ードを含むフォントデータが記憶される。また、複数のフォントレコードの全部又は一 部に係るフォント情報に基づいて文字列が表示される。そして、その文字列の表示に おける改行位置が、当該文字列に含まれる文字に係る改行制御情報に基づいて決 定される。本発明によれば、文字の前及び Z又は後における改行を制御するための 改行制御情報がフォントデータに含まれ、文字列を表示する場合における改行位置 力 の改行制御情報に基いて決定されるため、文字コード体系による制約を抑止し つつ、禁則処理を行うことができるようになる。
[0018] なお、本明細書において、文字とは、例えば漢字、平仮名、片仮名、数字などを含 むものである。また例えば、アルファベット、キリル文字、ハングル文字、タイ語文字、 繁体文字ゃ簡体文字などの日本語以外の言語に対応したものを含むものである。さ らに例えば、 "("や") "などの約物(記号)や空白などを含むものである。
[0019] また、本発明の一態様では、前記改行制御情報は、その文字の前における改行を 制御するための第 1改行制御情報と、その文字の後における改行を制御するための 第 2改行制御情報と、を含み、前記改行制御手段は、前記文字列における少なくとも 一部の隣接文字について、当該隣接文字のうちの先の文字に係る前記第 2改行制 御情報と、当該隣接文字のうちの後の文字に係る前記第 1改行制御情報と、に基づ V、て所定の処理を実行し、その実行結果に基づ 、て前記改行位置を決定するように してちよい。
[0020] また、本発明の一態様では、前記第 1及び第 2改行制御情報はともに数値情報で あり、前記改行制御手段は、前記文字列における少なくとも一部の隣接文字につい て、当該隣接文字のうちの先の文字の前記第 2改行制御情報と、当該隣接文字のう ちの後の文字の前記第 1改行制御情報と、に基づいて所定の演算を行い、その演算 結果に基づ ヽて前記改行位置を決定するようにしてもょ ヽ。
[0021] また、本発明の一態様では、前記フォントレコードは、文字の種別を示す種別情報 をさらに含み、前記改行制御手段は、前記改行位置を前記文字列に含まれる文字 に係る前記種別情報にさらに基づ 、て決定するようにしてもょ 、。
[0022] また、本発明に係る表示装置は、文字を表示するためのフォント情報と、当該文字 に関連する関連画像を当該文字に関連づけて表示するための関連画像情報と、を それぞれ含む複数のフォントレコードを含むフォントデータを記憶するフォントデータ 記憶手段と、前記フォント情報に基づいて文字を表示するとともに、当該フォント情報 に対応する前記関連画像情報に基づいて、前記関連画像を当該文字に関連づけて 表示する表示手段と、を含むことを特徴とする。
[0023] また、本発明に係る表示装置の制御方法は、文字を表示するためのフォント情報と 、当該文字に関連する関連画像を当該文字に関連づけて表示するための関連画像 情報と、をそれぞれ含む複数のフォントレコードを含むフォントデータを記憶してなる フォントデータ記憶手段力 前記フォントデータを読み出すためのフォントデータ読 み出しステップと、前記フォントデータ読み出しステップによって読み出されるフォント データに含まれるフォント情報に基づいて文字を表示手段に表示させるとともに、当 該フォント情報に対応する前記関連画像情報に基づいて、前記関連画像を当該文 字に関連づけて表示させる表示ステップと、を含むことを特徴とする。
[0024] また、本発明に係るプログラムは、文字を表示するためのフォント情報と、当該文字 に関連する関連画像を当該文字に関連づけて表示するための関連画像情報と、を それぞれ含む複数のフォントレコードを含むフォントデータ、に含まれる前記フォント 情報に基づいて文字を表示するとともに、当該フォント情報に対応する前記関連画 像情報に基づいて、前記関連画像を当該文字に関連づけて表示する表示手段、と して、携帯用ゲーム機、家庭用ゲーム機、業務用ゲーム機、携帯電話機、携帯情報 端末(PDA)やパーソナルコンピュータなどのコンピュータを機能させるためのプログ ラムである。
[0025] また、本発明に係るフォントデータは、文字を表示するためのフォント情報と、当該 文字に関連する関連画像を当該文字に関連づけて表示するための関連画像情報と 、をそれぞれ含む複数のフォントレコードを含むフォントデータである。
[0026] また、本発明に係る情報記憶媒体は、上記プログラム及び上記フォントデータのう ちの少なくとも一方を記録したコンピュータ読み取り可能な情報記憶媒体である。
[0027] 本発明では、文字を表示するためのフォント情報と、当該文字に関連する関連画像 を当該文字に関連づけて表示するための関連画像情報と、をそれぞれ含む複数の フォントレコードを含むフォントデータが記憶される。そして、フォント情報に基づいて 文字が表示されるとともに、当該フォント情報に対応する前記関連画像情報に基づ いて、前記関連画像が当該文字に関連づけて表示される。本発明によれば、文字に 関連する関連画像を文字に関連づけて表示するための関連画像情報がフォントデ ータに含まれ、文字に関連する関連画像をこの関連画像情報に基づ!/、て表示させる ことが可能になるため、文字に関連する関連画像を処理負荷を軽減しつつ表示させ ることがでさるよう〖こなる。
[0028] また、本発明の一態様では、前記フォントデータは、前記関連画像を表す複数の関 連画像データを含み、少なくとも一部の前記関連画像情報は、前記複数の関連画像 データのうちのいずれかを特定するための関連画像データ特定情報であり、前記表 示手段は、前記フォント情報に基づいて文字を表示するとともに、当該フォント情報 に対応する前記関連画像情報が前記関連画像データ特定情報である場合には、当 該関連画像データ特定情報によって特定される前記関連画像データによって表され る前記関連画像を当該文字に関連づけて表示するようにしてもょ 、。
[0029] また、本発明の一態様では、前記少なくとも一部の関連画像情報以外の関連画像 情報は、前記関連画像データそのものとしてもよい。
[0030] また、本発明の一態様では、前記関連画像は前記文字の影画像としてもょ ヽ。
[0031] また、本発明に係る表示装置は、文字を表示するためのフォント情報と、当該文字 の種別を示す種別情報と、をそれぞれ含む複数のフォントレコードを含むフォントデ ータを記憶するフォントデータ記憶手段と、前記複数のフォントレコードの全部又は 一部に係るフォント情報に基づいて、文字列を表示する文字列表示手段と、前記文 字列表示手段に表示される前記文字列の表示領域内の位置を選出基準位置として 指定する選出基準位置指定手段と、前記選出基準位置指定手段によって指定され る選出基準位置と、前記文字列に含まれる文字の前記種別情報と、に基づいて、前 記文字列の一部を選出する選出手段と、前記選出手段によって選出される前記文 字列の一部に基づいて処理を実行する処理実行手段と、を含むことを特徴とする。
[0032] また、本発明に係る表示装置の制御方法は、文字を表示するためのフォント情報と 、当該文字の種別を示す種別情報と、をそれぞれ含む複数のフォントレコードを含む フォントデータを記憶してなるフォントデータ記憶手段力 前記フォントデータを読み 出すためのフォントデータ読み出しステップと、前記フォントデータ読み出しステップ によって読み出されるフォントデータに含まれる複数のフォントレコードの全部又は一 部に係るフォント情報に基づいて、文字列を文字列表示手段に表示させる文字列表 示ステップと、前記文字列表示手段に表示される前記文字列の表示領域内の位置 を選出基準位置として指定する選出基準位置指定ステップと、前記選出基準位置指 定ステップによって指定される選出基準位置と、前記文字列に含まれる文字の前記 種別情報と、に基づいて、前記文字列の一部を選出する選出ステップと、前記選出 ステップによって選出される前記文字列の一部に基づいて処理を実行する処理実行 ステップと、を含むことを特徴とする。
[0033] また、本発明に係るプログラムは、文字を表示するためのフォント情報と、当該文字 の種別を示す種別情報と、をそれぞれ含む複数のフォントレコードを含むフォントデ ータ、に含まれる前記複数のフォントレコードの全部又は一部に係るフォント情報に 基づいて、文字列を表示する文字列表示手段、前記文字列表示手段に表示される 前記文字列の表示領域内の位置を選出基準位置として指定する選出基準位置指定 手段、前記選出基準位置指定手段によって指定される選出基準位置と、前記文字 列に含まれる文字の前記種別情報と、に基づいて、前記文字列の一部を選出する選 出手段、及び、前記選出手段によって選出される前記文字列の一部に基づいて処 理を実行する処理実行手段、として、携帯用ゲーム機、家庭用ゲーム機、業務用ゲ ーム機、携帯電話機、携帯情報端末 (PDA)やパーソナルコンピュータなどのコンビ ユータを機能させるためのプログラムである。
[0034] また、本発明に係るフォントデータは、文字を表示するためのフォント情報と、当該 文字の種別を示す種別情報と、をそれぞれ含む複数のフォントレコードを含むフォン トデータである。
[0035] また、本発明に係る情報記憶媒体は、上記プログラム及び上記フォントデータのう ちの少なくとも一方を記録したコンピュータ読み取り可能な情報記憶媒体である。
[0036] 本発明では、文字を表示するためのフォント情報と、当該文字の種別を示す種別 情報と、をそれぞれ含む複数のフォントレコードを含むフォントデータが記憶される。 また、当該複数のフォントレコードの全部又は一部に係るフォント情報に基づいて、 文字列が表示される。そして、その文字列の表示領域内の位置が選出基準位置とし て指定されると、その選出基準位置と、文字列に含まれる文字の種別情報とに基づ いて文字列の一部が選出される。そして、その一部に基づいて処理 (例えば、その一 部を区別表示するなどの処理)が実行される。本発明によれば、文字の種別を示す 種別情報がフォントデータに含まれ、この種別情報に基づいて文字列の一部の選出 が行われるため、文字コード体系による制約を受けることなぐ文字列の一部の指定 をユーザが好適に行えるようにすることが可能となる。
[0037] また、本発明の一態様では、前記選出手段は、前記文字列において前記選出基 準位置より前に存在する文字のうちから始点文字を前記種別情報に基づいて選出 する始点文字選出手段と、前記文字列において前記選出基準位置より後に存在す る文字のうちから終点文字を前記種別情報に基づいて選出する終点文字選出手段 と、を含み、前記始点文字と前記終点文字に基づいて、前記文字列の一部を選出す るようにしてちょい。
[0038] また、本発明の一態様では、前記始点文字選出手段は、前記文字列において前 記選出基準位置より前の隣接する 2つの文字について、当該隣接する 2つの文字に 係る前記種別情報が所定の始点文字条件を満足するか否かを判断し、その判断結 果に応じて前記始点文字を選出するようにしてもょ 、。
[0039] また、本発明の一態様では、前記終点文字選出手段は、前記文字列において前 記選出基準位置より後の隣接する 2つの文字について、当該隣接する 2つの文字に 係る前記種別情報が所定の終点文字条件を満足するか否かを判断し、その判断結 果に応じて前記終点文字を選出するようにしてもょ 、。
図面の簡単な説明
[0040] [図 1]本実施の形態に係る携帯型電子装置のハードウェア構成を示す図である。
[図 2]本実施の形態に係る携帯型電子装置の機能ブロック図である。
[図 3]フォントデータの構成を示す図である。
[図 4]ヘッダブロックの構成を示す図である。
[図 5]グリフデータブロックの構成を示す図である。
[図 6]グリフデータの構成を示す図である。
[図 7]影グリフイメージオーナーマップブロックの構成を示す図である。
[図 8]グリフヘッダの構成を示す図である。
[図 9]第 1改行制御情報について示す図である。
[図 10]第 2改行制御情報について示す図である。
[図 11]改行制御情報数値ィ匕テーブルについて示す図である。
[図 12]文字種別情報について示す図である。
[図 13]携帯型電子装置で実行される処理について示すフロー図である。
[図 14]携帯型電子装置で実行される処理について示すフロー図である。 [図 15]携帯型電子装置で実行される処理について示すフロー図である。
[図 16]携帯型電子装置で実行される処理について示すフロー図である。
[図 17]携帯型電子装置の液晶ディスプレイに表示させる文字列の一例を示す図であ る。
発明を実施するための最良の形態
[0041] 以下、本発明の実施形態の一例について図面に基づき詳細に説明する。ここでは 、携帯ゲーム機、携帯音楽プレーヤや携帯情報端末 (PDA)として機能する携帯型 電子装置によって、本発明の実施形態に係る表示装置を実現する場合を例として説 明する。
[0042] 図 1は、本発明の実施形態に係る表示装置として使用される携帯型電子装置 10の ハードウェア構成を示す図である。同図に示すように、携帯型電子装置 10では、 CP U (Central Processing Unit) 14、 RAM (Random Access Memory) 16、 ROM (Read Only Memory) 18、インタフェース(iZF) 20, 24, 28、音声処理部 32、画像処理部 36がバス 12により相互にデータ通信可能に接続されている。インタフェース 20には 操作部 22が接続されており、インタフェース 24にはディスクドライブ 26が接続されて いる。さらに、インタフェース 28には通信部 30が接続されている。また、音声処理部 3 2にはスピーカ 34が接続されており、画像処理部 36には液晶ディスプレイ (LCD) 38 が接続されている。これらは電池とともに携帯型電子装置 10の筐体内に収容されて おり、該電池により駆動され、携帯可能となっている。
[0043] CPU14は、 ROM 18に格納されるオペレーティングシステム(OS)やディスク 27か ら読み出されるプログラムに基づいて、携帯型電子装置 10の各部を制御する。バス 1 2はアドレス及びデータを携帯型電子装置 10の各部でやり取りするためのものである 。また、 RAM16には、ディスク 27から読み取られたプログラムが必要に応じて書き込 まれる。また、 RAM16は CPU14の作業用としても用いられる。音声処理部 32は、 ディスク 27から読み出されたゲーム音楽、ゲーム効果音やメッセージなどの各種音 声データを再生して、スピーカ 34から出力させる。画像処理部 36は、 CPU14力も供 給される画像データを処理して LCD38に表示出力させる。
[0044] インタフェース 20, 24, 28は、 CPU14と、操作部 22、ディスクドライブ 26、通信部 30と、の間のデータ通信をそれぞれ中継する。操作部 22はユーザが各種操作をす るための入力手段である。ディスクドライブ 26は、 CPU14からの指示に従ってデイス ク 27に記憶されたプログラムやデータを読み取る。通信部 30は、通信ネットワークを 介して他のコンピュータ (情報処理装置)との間でデータ通信を行うものである。
[0045] なお、以上では、情報記憶媒体たるディスク 27を介してプログラムが携帯型電子装 置 10に供給されることとして説明した力 インターネットなどの通信ネットワークを介し て遠隔地力もプログラムが携帯型電子装置 10に供給されるようにしてもょ 、し、赤外 線通信などの各種データ通信を利用してプログラムが携帯型電子装置 10に供給さ れるようにしてもよい。
[0046] 次に、以上の構成を備える携帯型電子装置 10を用いて、 1)文字コード体系による 制約を抑止しつつ、禁則処理を行うことができるようになる表示装置、 2)文字に関連 する関連画像を処理負荷を軽減しつつ表示させることができるようになる表示装置、 3)文字コード体系による制約を抑止しつつ、文字列の一部の指定をユーザが好適 に行えるようになる表示装置、を実現する具体的な技術にっ 、て説明する。
[0047] 図 2は、携帯型電子装置 10において実現される機能のうち、本発明に関連するも のを中心として示す機能ブロック図である。同図に示すように、携帯型電子装置 10で は、フォントデータ記憶部 50、改行制御部 52、文字列表示部 54、選出基準位置指 定部 56、選出部 58、処理実行部 60が実現される。これらの機能は、ディスク 27を介 して供給されるプログラムが CPU14によって実行されることによって実現される。
[0048] [1.フォントデータ記憶部]
フォントデータ記憶部 50は、例えば ROM18やディスク 27などによって構成される 。フォントデータ記憶部 50はフォントデータを記憶する。
[0049] 図 3は、フォントデータ記憶部 50に記憶されるフォントデータの構成を示している。
同図に示すように、フォントデータ 100は、ヘッダブロック 102、メトリックスブロック 10 4、景グリフイメージオーナーマップブロック 106、第 1キャラクタマップブロック 108、 第 2キャラクタマップブロック 110、グリフデータブロック 112を含んで構成される。
[0050] 図 4は、ヘッダブロック 102の構成を示している。同図に示すように、ヘッダブロック 102には、バージョン情報 114、改行制御情報数値ィ匕テーブル 116、文字種別情報 数値化テーブル 118が保持される。バージョン情報 114は、このフォントデータのバ 一ジョンを示す情報である。改行制御情報数値ィ匕テーブル 116は、後述する改行制 御情報を数値化するための情報である(図 11参照)。文字種別情報数値化テーブル 118は、後述する文字種別情報を数値化するための情報である(図 12参照)。ヘッダ ブロック 102には、その他の各種情報が記憶される。
[0051] メトリックスブロック 104には、文字矩形情報(幅及び高さ)などのメトリックス情報 (文 字の書体のレイアウトに関する情報)が保持される。影グリフイメージオーナーマップ ブロック 106については後述する(図 7参照)。
[0052] 第 1キャラクタマップブロック 108には、文字コードのリストが保持される。第 1キャラク タマップブロック 108では、一部の文字コードにのみ文字番号が対応づけられている 。より具体的には、このフォントデータにフォント情報が保持されるものについてのみ、 文字番号が対応づけられるようになっている。なお、文字番号は、後述する文字ダリ フイメージ (グリフデータ)を一意に識別するための情報となっている。
[0053] 第 2キャラクタマップブロック 110には、文字番号のリストが保持される。第 2キャラク タマップブロック 110では、各文字番号に、その文字のグリフデータ(フォントレコード )が保持される領域を特定するための情報が対応づけられている。なお、後述するよ うに、各文字のグリフデータはグリフデータブロック 112に保持される。
[0054] 図 5は、グリフデータブロック 112の構成を示している。同図に示すように、グリフデ 一タブロック 112に ίま、複数のグリフデータ 120a, 120b, 120c, · · ·力保持される。
[0055] 図 6は、一のグリフデータ 120 (フォントレコード)の構成を示している。同図に示すよ うに、グリフデータ 120には、グリフヘッダ 122、メトリックス情報 124、文字グリフィメー ジ 126 (フォント情報)、影グリフイメージ 128 (関連画像データ)、が含まれる。グリフ ヘッダ 122については後述する(図 8参照)。メトリックス情報 124は、文字矩形情報( 幅及び高さ)などの情報である。メトリックス情報は、メトリックスブロック 104に保持さ せるようにしてもょ 、し、各文字ごとにグリフデータ 120に保持させるようにしてもょ 、。 文字グリフイメージ 126は、文字のデザイン (形状)を表す情報である。影グリフィメー ジ 128は、その文字 (文字グリフイメージによって表される文字)を影付文字として表 示する場合に付される影のデザイン (形状)を表す情報である。 [0056] 本実施の形態では、影グリフイメージ 128はすべてのグリフデータ 120に含まれて いるわけではなぐ一部のグリフデータ 120にのみ含まれるようになつている。具体的 には、他の文字のグリフデータ 120に含まれる影グリフイメージ 128を用いて影を付 すことが可能な文字については、その文字のグリフデータ 120に影グリフイメージ 12 8を含めないようになつている。本実施の形態では、このようにして、フォントデータ 10 0のデータサイズを抑えるようになって!/、る。
[0057] なお、どのグリフデータ 120に影グリフイメージ 128が含まれているかは、影グリフィ メージオーナーマップブロック 106を参照することによって把握できるようになつてい る。具体的には、影グリフイメージオーナーマップブロック 106には、図 7に示すように 、影グリフイメージ 128を含んでいるグリフデータ 120に係る文字番号のリストが保持 されている。
[0058] 図 8は、グリフヘッダ 122の構成を示している。同図に示すように、グリフヘッダ 122 には、メトリックス参照情報 130、影特定情報 132 (関連画像データ特定情報)、第 1 改行制御情報 134、第 2改行制御情報 136、文字種別情報 138 (種別情報)が含ま れる。なお、グリフヘッダ 122には、グリフデータ 120に関する他の各種情報が保持さ れるようにしてもよい。メトリックス参照情報 130は、その文字のメトリックス情報カ トリ ックスブロック 104又はグリフデータ 120のいずれに保持されているかを示す情報で ある。また、メトリックス参照情報 130には、メトリックス情報力メトリックスブロック 104に 保持されて!、る場合、保持されて!、る記憶領域を特定するための情報 (メトリックスブ ロック 104における参照先を特定するための情報)が含まれる。
[0059] 影特定情報 132は、「グリフデータ 120に含まれる文字グリフイメージ 126によって 表される文字」に影を付す場合に用いるべき影グリフイメージ 128を特定するための 情報である。具体的には、影特定情報 132は、影グリフイメージオーナーマッププロ ック 106に保持される複数の「影グリフイメージに係る文字番号」のうちのいずれかを 特定するための情報となっている。
[0060] 第 1改行制御情報 134は、「グリフデータ 120に含まれる文字グリフイメージ 126に よって表される文字」の前における改行を制御(制限)するための情報である。本実施 の形態では、第 1改行制御情報 134は前の文字との結びつきの強さを示す情報とな つており、例えば「弱」, 「中」, 「強」のいずれかが第 1改行制御情報 134として保持さ れるようになっている。また、本実施の形態では、例えば図 9に示すように、各文字の 第 1改行制御情報が設定される。なお、同図の例では、約物を除いて、文字種別ごと に一律の第 1改行制御情報が設定されることとなっているが、文字ごとに異なる第 1 改行制御情報が設定されるようにしてもょ 、。
[0061] 第 2改行制御情報 136は、「グリフデータ 120に含まれる文字グリフイメージ 126に よって表される文字」の後における改行を制御(制限)するための情報である。本実施 の形態では、第 2改行制御情報 136は後の文字との結びつきの強さを示す情報とな つており、第 1改行制御情報 134と同様に、例えば「弱」, 「中」, 「強」のいずれかが第 2改行制御情報 136として保持されるようになっている。また、本実施の形態では、例 えば図 10に示すように、各文字の第 2改行制御情報が設定される。なお、同図の例 では、約物を除いて、文字種別ごとに一律の第 2改行制御情報が設定されることとな つているが、文字ごとに異なる第 2改行制御情報が設定されるようにしてもよい。
[0062] なお、先述したように、ヘッダブロック 102には、これらの第 1改行制御情報及び第 2 改行制御情報を数値に変換するための改行制御情報数値ィ匕テーブル 116が保持さ れている。改行制御情報数値ィ匕テーブル 116は、例えば図 11に示すような情報を保 持している。本実施の形態では、第 1改行制御情報や第 2改行制御情報に基づく処 理を実行する場合、グリフヘッダ 122に保持される第 1改行制御情報 134や第 2改行 制御情報 136 (抽象的な情報)を直接用いるのではなぐこれらを改行制御情報数値 化テーブル 116によって数値ィ匕したものを用いるようになつている。このため、第 1改 行制御情報や第 2改行制御情報の設定に変更を加える必要が生じた場合であって も、各グリフヘッダ 122の内容を変更することなぐ改行制御情報数値ィ匕テーブル 11 6の内容のみを変更することで対応できるようになつている。なお、グリフヘッダ 122に おいて、第 1改行制御情報 134及び第 2改行制御情報 136として数値情報を保持さ せるようにしてちょい。
[0063] 文字種別情報 138は、「グリフデータ 120に含まれる文字グリフイメージ 126によつ て表される文字」の種別を示す情報である。本実施の形態では、「漢字」, 「平仮名」, 「片仮名」, 「アルファベット」, 「数字」, 「約物」, 「空白その他」のいずれかが文字種 別情報 138として保持されるようになっている。なお、上記のものに限られず、例えば 「キリル文字」, 「ハングル文字」, 「タイ語文字」, 「繁体文字」や「簡体文字」などのよう に、日本語以外の言語の文字種別 (分類)を示す情報が文字種別情報 138として保 持されるようにしてもよい。また例えば、「日本語」, 「英語」, 「ロシア語」, 「ハングル語 」, 「タイ語」, 「中国語」などのように、その文字が用いられる言語を示す情報が文字 種別情報 138として保持されるようにしてもよい。また例えば、「全角文字」又は「半角 文字」を示す情報が文字種別情報 138として保持されるようにしてもよい。また、一の 文字に対応づけられる文字種別情報は、一の文字種別を示すものであってもよ 、し 、複数の文字種別の組合せを示すものであってもよい。例えば「全角のアルファべッ トの文字」には、「アルファベット」及び「全角」の組合せを示す文字種別情報が対応 づけられるようにしてもよい。換言すれば、「アルファベット」を示す情報と「全角」を示 す情報とが文字種別情報として対応づけられるようにしてもょ ヽ。
[0064] なお、先述したように、ヘッダブロック 102には、この文字種別情報を数値に変換す るための文字種別情報数値ィ匕テーブル 118が保持されて 、る。文字種別数値化テ 一ブル 118は、例えば図 12に示すような情報を保持している。本実施の形態では、 文字種別情報に基づく処理を実行する場合、グリフヘッダ 122に保持される文字種 別情報 138 (抽象的な情報)を直接用いるのではなぐこれらを文字種別情報数値ィ匕 テーブル 118によって数値ィ匕したものを用いるようになつている。このため、文字種別 情報の設定に変更を加える必要が生じた場合であっても、各グリフヘッダ 122の内容 を変更することなぐ文字種別情報数値ィ匕テーブル 118の内容のみを変更することで 対応できるようになつている。なお、グリフヘッダ 122において、文字種別情報 138と して数値情報を保持させるようにしてもょ 、。
[0065] [2.文字列表示部]
文字列表示部 54は、画像処理部 36及び LCD38を主として構成される。文字列表 示部 54は、 CPU14からの指示に従って文字列を表示する。文字列表示部 54は、 文字列の表示をフォントデータ記憶部 50に記憶されるフォントデータに基づいて行う 。具体的には、文字列表示部 54は、表示対象の文字列に含まれる各文字の文字グ リフイメージをフォントデータ力 読み出す。そして、読み出した文字グリフイメージに 従って、文字列に含まれる各文字を表示する。
[0066] また、文字列表示部 54 (表示手段)は、 CPU14によって指定された文字列を影付 文字で表示することが可能となっている。文字列表示部 54は、表示対象の文字列に 含まれる各文字に対応づけられた影グリフイメージをフォントデータから読み出す。そ して、文字列に含まれる各文字に、その文字に対応する影グリフイメージに従って影 を付する。すなわち、文字列に含まれる各文字に、その文字について読み出した影 グリフイメージによって表される影を付する。
[0067] なお、文字列表示部 54は、文字グリフイメージによって表される文字及び影グリフィ メージによって表される影の少なくとも一方の大きさを変えて表示するようにしてもよ い。また、文字列表示部 54は、影グリフイメージによって表される影のみを表示する ようにしてもよい。
[0068] [3.改行制御部]
改行制御部 52は、文字列表示部 54による文字列の表示における改行位置を、当 該文字列に含まれる文字に係る第 1改行制御情報及び第 2改行制御情報に基づい て決定する。改行制御部 52は、文字列における少なくとも一部の隣接文字について 、当該隣接文字のうちの先の文字に係る第 2改行制御情報と、当該隣接文字のうち の後の文字に係る第 1改行制御情報と、に基づいて所定の処理を実行し、その実行 結果に基づ ヽて改行位置を決定する。
[0069] 具体的には、改行制御部 52は、文字列における少なくとも一部の隣接文字につい て、当該隣接文字のうちの先の文字の第 2改行制御情報を数値化したものと、当該 隣接文字のうちの後の文字の第 1改行制御情報を数値ィ匕したものと、に基づいて所 定の演算を行!、、その演算結果に基づ!、て改行位置を決定する。
[0070] なお、改行制御部 52は、文字列表示部 54による文字列の表示における改行位置 を、当該文字列に含まれる文字に係る文字種別情報に基づいて決定するようにして ちょい。
[0071] ここで、表示対象の文字列を LCD38に表示させるために、文字列表示部 54及び 改行制御部 52によって実行される処理について説明する。図 13及び図 14は、かか る処理を示すフロー図である。 [0072] この処理では、対象文字列を表示する領域の幅 Wを文字列表示部 54が取得する( S101)。次に、文字列表示部 54は、対象文字列の文字数 Nを取得する(S 102)。ま た、文字列表示部 54は、変数 ηθを 0に初期化する(S 103)。さらに、文字列表示部 5 4は、変数 nを 1に初期化し (S104)、変数 wsを 0に初期化する(S105)。次に、文字 列表示部 54は、(ηθ+η)文字目の文字を注目文字として、 S106乃至 S109の処理 を実行する。
[0073] 文字列表示部 54は、(ηθ+η)文字目の文字を表示するために必要な幅 wを取得 する(S106)。具体的には、文字列表示部 54は、(ηθ+η)文字目の文字の文字コ ードを取得する。次に、文字列表示部 54は、第 1キャラクタマップブロック 108を参照 することによって、その文字コードに対応する文字番号を取得する。次に、文字列表 示部 54は、第 2キャラクタマップブロック 110を参照することによって、その文字番号 に係るグリフデータが保持されている領域を特定するための情報を取得する。次に、 文字列表示部 54は、グリフヘッダ 122に保持されるメトリックス参照情報 130を参照 する。そして、文字列表示部 54は、そのメトリックス参照情報 130に従って、メトリック スブロック 104又はグリフデータ 120に保持される文字矩形情報などを参照し、その 文字を表示するために必要な幅 wを取得する。
[0074] 次に、文字列表示部 54は、変数 wsの値を ws+wに更新する(S107)。変数 wsの 値は、このようにして更新されるため、表示対象文字列の (nO+ 1)文字目から (nO + n)文字目までの各文字を表示するために必要な幅の合計を示すことになる。
[0075] そして、文字列表示部 54は、変数 wsの値が S101で取得した W以上であるか否か を判断する(S108)。文字列表示部 54は、変数 wsの値が W未満であると判断した場 合、(ηθ+η)が S102で取得した Nと等しいか否かを判断する(S109)。すなわち、( ηθ+η)文字目の文字が表示対象文字列の末尾文字であるか否かを判断する。文 字列表示部 54は、(ηθ+η)と Nとが等しくないと判断した場合、変数 nをインクリメント し(S 110)、 S 106乃至 S 109の処理を再び実行する。
[0076] 一方、変数 wsの値が W以上と判断された場合 (S108)、又は (ηθ+η)文字目の文 字が末尾文字であると判断された場合 (S 109)、表示対象文字列の (nO+ 1)文字目 から (ηθ+η)文字目までが文字列表示領域に 1行で表示可能な文字列(以下、表示 可能文字列と呼ぶ。)と判断され、 S110乃至 S120の処理が実行される。
[0077] なお、全角文字又は半角文字がそれぞれ固定幅を有し、全角文字の幅が半角文 字の幅の 2倍であり、文字列表示領域の幅が一行あたり全角文字を 5文字分表示可 能な幅であるとすると、例えば図 17 (a)に示す文字列(対象文字列)を LCD38に表 示させる場合、 S106乃至 S109の処理が実行されることによって取得される最初の 表示可能文字列 (変数 ηθが 0の場合の表示可能文字列)は図 17 (b)に示す文字列 となる。ここで、図 17 (a)に示す文字列は、日本語で「ABCの発売日は、 12月(中旬 )です。」と表した文字列である。同図(a)に示すように、この文字列は 20の文字から 構成されている。同図(a)に示す文字列の 4文字目は半角スペースである。同図(a) に示す文字列の 1文字目から 4文字目までは半角文字であり、 5文字目から 20文字 目までは全角文字である。同図(a)に示す文字列の 5, 9, 18, 19文字目の文字の 文字種別はひらがなであり、 6— 8, 13, 15, 16文字目の文字は文字種別は漢字で ある。
[0078] 次に、改行制御部 52は S111乃至 S120の処理を実行することによって、表示可能 文字列における改行位置を決定する。換言すれば、表示可能文字列のうちの何文 字目までを次の一行として文字列表示部 54 (文字列表示領域)に出力するかを決定 する。
[0079] まず、改行制御部 52は変数 mを 0に初期化する(Sl l l)。次に、改行制御部 52は 、 (nO+m)文字目の文字の第 2改行制御情報を数値ィ匕した値 e2を取得する(S112 )。具体的には、改行制御部 52は、(nO+m)文字目の文字の文字コードを取得する 。その後、 S106の場合と同様にして、その文字コードに対応するグリフデータ 120の グリフヘッダ 122を参照し、第 2改行制御情報 136を取得する。そして、改行制御部 5 2は、取得した第 2改行制御情報 136を、ヘッダブロック 102に保持される改行制御 情報数値ィ匕テーブル 116に基づいて数値ィ匕する。なお、 nO+m力 SOである場合、改 行制御部 52は e2を 9とする。
[0080] また、改行制御部 52は、(nO+m+ 1)文字目の文字の第 1改行制御情報を数値 化した値 elを取得する(S 113)。具体的には、改行制御部 52は、(nO+m+ 1)文字 目の文字の文字コードを取得する。その後、 S112の場合と同様にして、その文字コ ードに対応するグリフデータ 120のグリフヘッダ 122を参照し、第 1改行制御情報 13 4を取得する。そして、改行制御部 52は、取得した第 1改行制御情報 134を、ヘッダ ブロック 102に保持される改行制御情報数値ィ匕テーブル 116に基づ 、て数値化する 。なお、 nO+mが Nである場合、改行制御部 52は elを 0とする。
[0081] 次に、改行制御部 52は、改行評価値の配列 E[m]に e2 X elを保持させる(S114) 。その後、改行制御部 52は、変数 mの値が変数 nの値に等しいか否かを判断する(S 115)。改行制御部 52は、変数 mの値が変数 nの値に等しくないと判断した場合、変 数 mの値をインクリメントし(S 116)、 S 112乃至 S 115の処理を再び実行する。
[0082] 一方、改行制御部 52は、変数 mの値が変数 nの値に等 、と判断した場合 (S115 )、改行制御部 52は、 E[m]の値が最小値との条件を満足する mの値を変数 mOに代 入する(S 117)。そして、文字列表示部 54は、表示対象文字列の (nO+ 1)文字目か ら(nO+mO)文字目までを一行として LCD38に出力させる(S118)。
[0083] なお、第 1及び第 2改行制御情報は図 9及び図 10に示すように設定され、改行制 御情報数値ィ匕テーブルは図 11に示すように設定されて 、るとすると、例えば図 17 (b )に示す文字列が表示可能文字列である場合、改行評価値の配列 Eは、 E[0] = 18 , E[l] =4, E[2] =4, E[3] =4, E[4] =0, E[5] = l, E[6] = lとなる。この場合 、 E[4]の値が最小値になるため、改行制御部 52は変数 mOの値を「4」とし、文字列 表示部 54は、 4文字目(半角スペース)と 5文字目の間を改行位置として決定する。 その結果、図 17 (b)に示す文字列の 1文字目力 4文字目までの部分(「ABC」)が 一行として LCD38に出力される。
[0084] また、ここでは、改行評価値の値が最小値となる文字の組合せの間を改行位置とし て決定するようにしたが、改行評価値が所定の閾値以下となる文字の組合せのうち から、一行の文字数が最も大きくなるもの(又は一行の幅が最も長くなるもの)を選出 し、その文字の組合せの間を改行位置として決定するようにしてもよい。すなわち、 S 117の処理では、 E [m]の値が所定の閾値以下との条件を満足する mの値を取得し 、その最大値を変数 mOに代入するようにしてもよい。
[0085] 表示対象文字列の(nO+ 1)文字目から (nO+mO)文字目までを LCD38に表示さ せる場合、文字列表示部 54は、まず各文字の文字グリフイメージを以下のようにして 取得する。すなわち、文字列表示部 54は、表示対象の文字の文字コードをまず取得 する。次に、第 1キャラクタマップブロック 108及び第 2キャラクタマップブロック 110を 参照することによって、その文字コードに対応するグリフデータ 120が保持される記 憶領域を特定する。そして、そのグリフデータ 120に含まれる文字グリフイメージ 126 を取得する。
[0086] その後、文字列表示部 54は各文字の影グリフイメージを以下のようにして取得する 。すなわち、文字列表示部 54は、表示対象の文字の文字コードをまず取得する。次 に、第 1キャラクタマップブロック 108及び第 2キャラクタマップブロック 110を参照する こと〖こよって、その文字コードに対応するグリフデータ 120が保持される記憶領域を 特定する。そして、そのグリフデータ 120に含まれるグリフヘッダ 122を参照すること によって、影特定情報 132を取得する。次に、文字列表示部 54は、その影特定情報 によって特定される影グリフイメージオーナーマップブロック 106の記憶領域を参照 することによって、影グリフイメージ 128に係る文字番号 (影グリフイメージ 128が保持 されるグリフデータ 120に係る文字番号)を取得する。次に、文字列表示部 54は、第 2キャラクタマップブロック 110を参照することによって、この文字番号に対応するダリ フデータ 120が保持される記憶領域を特定する。そして、そのグリフデータ 120に含 まれる影グリフイメージ 128を取得する。
[0087] その後、文字列表示部 54は、各文字ごとに取得した文字グリフイメージに基づいて 、文字列レイヤ画像を生成する。また、文字列表示部 54は、各文字ごとに取得した 影グリフイメージに基づいて、影レイヤ画像を生成する。そして、文字列表示部 54は 、別途読み出される背景レイヤ画像に影レイヤ画像を重ね、さらにその上に文字レイ ャ画像を重ねてなる画像を LCD38に表示させる。
[0088] 表示対象文字列の(nO+ 1)文字目から (nO+mO)文字目までを LCD38に表示さ せたら、文字列表示部 54は、 nO+mOが Nに等しいか否かを判断する(S119)。文 字列表示部 54は、 nO+mOと Nとが等しくないと判断した場合、表示対象文字列の L CD38への表示出力が完了してないと判断し、 ηθを nO+mOに更新した後(S120) 、 S 104乃至 S 119の処理を再び実行する。一方、文字列表示部 54は、 nO+mOが Nに等しいと判断した場合、表示対象文字列の LCD38への表示出力が完了したと 判断する。この場合、本処理が終了する。
[0089] なお、以上の処理はディスク 27を介して供給されるプログラムが CPU14によって実 行されること〖こよって実現される。
[0090] [4.選出基準位置指定部]
選出基準位置指定部 56は、文字列表示部 54における文字列表示領域内の位置 を選出基準位置として指定する。例えば、選出基準位置指定部 56は、ユーザによる ポインティングデバイスなどを用いた指定操作に応じて、文字列表示部 54における 文字列表示領域内の位置を指定する。すなわち、選出基準位置指定部 56は、文字 列表示部 54における文字列表示領域内の位置を指定する操作がユーザによってな されたか否かを判断する。そして、カゝかる操作がなされた場合には、ユーザによって 指定された位置を選出基準位置として取得する。
[0091] [5.選出部]
選出部 58は、選出基準位置指定部 56によって指定された選出基準位置と、文字 列表示部 54に表示される文字列に含まれる文字の文字種別情報と、に基づいて、 文字列表示部 54に表示される文字列の一部を選出する。
[0092] 例えば、選出部 58は、文字列表示部 54に表示される文字列において、選出基準 位置指定部 56によって取得される選出基準位置より前に存在する文字のうちから始 点文字を、フォントデータに各文字ごとに含まれる文字種別情報に基づいて選出す る。より具体的には、選出部 58は、文字列表示部 54に表示される文字列のうちの、 選出基準位置指定部 56によって取得される選出基準位置より前の文字を対象として 、隣接する 2つの文字の各組み合わせが所定の始点文字条件を満足する否かを判 断する。すなわち、各組み合わせごとに、その組み合わせに係る文字の文字種別情 報が始点文字条件を満足するか否かを判断する。そして、その判断結果に応じて始 点文字を選出する。
[0093] また例えば、選出部 58は、文字列表示部 54に表示される文字列において、選出 基準位置指定部 56によって取得される選出基準位置より後に存在する文字のうちか ら終点文字を、フォントデータに各文字ごとに含まれる文字種別情報に基づいて選 出する。より具体的には、選出部 58は、文字列表示部 54に表示される文字列のうち の、基準位置取得部 56によって取得される選出基準位置より後の文字を対象として 、隣接する 2つの文字の各組み合わせが所定の終点文字条件を満足する否かを判 断する。すなわち、各組み合わせごとに、その組み合わせに係る文字の文字種別情 報が終点文字条件を満足するか否かを判断する。そして、その判断結果に応じて終 点文字を選出する。
[0094] 選出部 58は、以上のようにして選出される始点文字と終点文字とに基づいて、文字 列表示部 54に表示される文字列の一部を選出する。例えば、文字列表示部 54に表 示される文字列のうちの始点文字力 終点文字までの部分を選出する。
[0095] [6.処理実行部]
処理実行部 60は、文字列表示部 54に表示される文字列の、選出部 58によって選 出される一部に基づいて処理を実行する。例えば、処理実行部 60は、文字列表示 部 54に表示される文字列の、選出部 58によって選出される一部を区別表示(強調表 示又は反転表示など)させる。
[0096] ここで、文字列表示部 54における文字列表示領域内の位置がユーザによって指 定された場合に、選出基準位置指定部 56及び選出部 58によって実行される処理に ついて説明する。図 15及び図 16は、かかる処理を示すフロー図である。
[0097] この処理では、まず選出基準位置指定部 56が、ユーザによって指定された位置( 選出基準位置)を取得し (S201)、その位置に対応する文字を選出基準文字として 特定する(S202)。例えば、選出基準位置指定部 56は、選出基準位置がある文字 の表示領域内に含まれる場合、当該文字を選出基準文字と特定する。また例えば、 選出基準位置に最も近い文字を選出基準文字と特定する。選出基準位置指定部 56 は、対象文字列における選出基準文字の位置を RAM16に保持させる。また、選出 部 58は、選出基準文字を注目文字とする(S203)。
[0098] 次に、選出部 58は、注目文字が対象文字列の先頭の文字であるか否かを判断す る(S204)。注目文字が対象文字列の先頭の文字であると判断された場合、当該注 目文字 (先頭文字)が始点文字として決定される(S210)。
[0099] 一方、選出部 58は、注目文字が対象文字列の先頭の文字でないと判断した場合、 注目文字の文字種別情報を数値ィ匕した値 nlを取得する(S205)。具体的には、選 出部 58は注目文字の文字コードを取得する。次に、選出部 58は第 1キャラクタマツ プブロック 108を参照することによって、注目文字の文字コードに対応する文字番号 を取得する。また、選出部 58は第 2キャラクタマップブロック 110を参照することによつ て、注目文字のグリフデータ 120が保持される記憶領域を特定するための情報を取 得する。そして、選出部 58は、注目文字のグリフデータ 120に含まれるグリフヘッダ 1 22を参照し、注目文字の文字種別情報 138を取得する。選出部 58は、この文字種 別情報 138を、ヘッダブロック 102に保持される文字種別情報数値ィ匕テーブル 118 ( 図 10)に基づいて数値化する。
[0100] 次に、選出部 58は、注目文字の前の文字 (注目文字に隣接する文字のうちの前方 のもの)の文字種別情報を数値ィ匕した値 n2を取得する(S206)。この n2の取得は S2 05の場合と同様に行われる。
[0101] 次に、選出部 58は、 nlが n2より大きいか否かを判断する(S207)。選出部 58は、 nlが n2以下であると判断した場合、注目文字の前の文字を注目文字とし (S208)、 S204乃至 S207の処理を再び実行する。一方、選出部 58は、 nl力 ¾2より大きいと 判断した場合、注目文字を始点文字として決定する(S209)。
[0102] 次に、選出部 58は終点文字を決定するための処理を実行する。まず選出部 58は、 選出基準文字を注目文字とする(S210)。
[0103] 次に、選出部 58は、注目文字が対象文字列の末尾の文字であるか否かを判断す る(S211)。選出部 58は、注目文字が対象文字列の末尾の文字であると判断した場 合、当該注目文字 (末尾文字)を終点文字として決定する(S216)。
[0104] 一方、選出部 58は、注目文字が対象文字列の末尾の文字でないと判断した場合、 注目文字の文字種別情報を数値ィ匕した値 nlを取得する(S212)。また、選出部 58 は、注目文字の次の文字 (注目文字に隣接する文字のうち後方のもの)の文字種別 情報を数値ィ匕した値 n2を取得する(S213)。これら nl及び n2の取得は S205の場 合と同様に行われる。
[0105] 次に、選出部 58は、 n2が nlより大きいか否かを判断する(S214)。選出部 58は、 n2が nl以下であると判断した場合、注目文字の次の文字を注目文字とし (S215)、 S211乃至 S214の処理を再び実行する。一方、選出部 58は、 n2力 ¾1より大きいと 判断した場合、注目文字を終点文字として決定する(S216)。
[0106] 処理実行部 60は、以上のようにして選出された始点文字力 終点文字までを、文 字列表示部 54において区別表示 (強調表示又は反転表示)する(S217)。具体的 には、 S118において説明した場合と同様に、文字列レイヤ画像と、影レイヤ画像と、 背景レイヤ画像とが生成又は読み出されるとともに、区別表示レイヤ画像 (文字列の 一部を区別表示するための画像)が生成され、これらが文字列レイヤ画像、区別表示 レイヤ画像、影レイヤ画像、背景レイヤ画像の順に上から重ねられてなる画像が文字 列表示部 54に表示される。
[0107] 例えば、図 17 (a)に示す文字列(対象文字列)が LCD38に表示されている状態で 、文字「C」の表示領域の近傍がユーザによって指定された場合、文字「C」が選出基 準文字として特定される。そして、文字種別情報及び文字種別情報数値化テーブル が図 12のように定められている場合、文字「A」, 「B」, 「C」の文字種別情報を数値ィ匕 した値はいずれも「3」となる。この場合、 S207の条件 (始点文字条件)が満足される ことはなぐ文字「A」が先頭文字であるが故に始点文字として決定される。また、文字 「C」の後の文字 (4文字目;半角スペース)の文字種別情報を数値ィ匕してなる値は「0 」となり、その後の文字 (5文字目)の文字種別情報を数値ィ匕した値は「5」となる。この 場合、 4文字目の文字 (半角スペース)が注目文字となった場合に、 S214の条件 (終 点文字条件)が満足される。このため、 4文字目の文字 (半角スペース)が終点文字と して決定される。その結果、 LCD38に表示される文字列の 1文字目力 4文字目ま での部分(「ABC」 )が区別表示されることになる。
[0108] なお、以上の処理はディスク 27を介して供給されるプログラムが CPU14によって実 行されること〖こよって実現される。
[0109] 以上に説明したように、携帯型電子装置 10によれば、文字の前後における改行を 制御するための改行制御情報をフォントデータに含ませることが可能となり、文字列 を表示する場合にはこの改行制御情報に基づ 、て改行位置が決定されるようになる 。このため、携帯型電子装置 10によれば、文字コード体系による制約を抑止しつつ、 禁則処理を好適に行うことができるようになる。また、従来は、禁則処理の対象となる 文字の指定が文字のフォントデザインとは関係なく行われるため、文字のフォントデ ータのデザインに携わる者が禁則処理に関与することはできな力つた。し力しながら、 携帯型電子装置 10によれば、フォントデータの作成に携わる者力 そのフォントデー タに基づく表示が行われる場合の禁則処理に関与できるようになる。
[0110] また、携帯型電子装置 10によれば、文字を影付文字とするための影情報をフォント データに含ませることが可能となり、文字を影付文字として表示する場合にはこの影 情報が用いられるようになる。このため、携帯型電子装置 10によれば、処理負荷を軽 減しつつ影付文字を表示できるようになる。
[0111] さらに、携帯型電子装置 10によれば、文字の文字種別情報をフォントデータに含ま せることが可能となり、対象文字列の一部の選出がこの文字種別情報に基づいて行 われるようになる。このため、携帯型電子装置 10によれば、文字コード体系による制 約を抑止しつつ、文字列の一部の指定をユーザが好適に行えるようになる。
[0112] なお、以上に説明したフォントデータは、ドットフォントやベクトルフォントなどのフォ ント形式 (文字の形状の表現形式)に依存するものではなぐドライバを用意すること によって各種コンピュータ(各種 OS (Operating System) )で用いることができるもので ある。このため、以上に説明したフォントデータのデータフォーマットは、 TrueType ( 登録商標)フォントなどの既存の汎用フォント規格に置き換わるものとなり得るもので ある。
[0113] また、以上に説明したフォントデータによれば、文字 (文字コード)ごとの改行制御 情報、文字種別情報や関連画像情報がフォント (文字の書体、デザイン)ごとに定め られることになる。このため、フォントデータが必要に応じてコンピュータに組み込まれ ることによって、そのコンピュータではそのフォントの文字が適切にレイアウト表示され るようになる。また、表示対象の文字列に異なるフォントの文字が含まれている場合で あっても、それぞれのフォントに係るフォントデータにおいてその文字に対応づけられ た改行制御情報などによって、力かる文字列が適切にレイアウト表示されることになる
[0114] なお、本発明は以上説明した実施の形態に限定されるものではない。
[0115] 例えば、フォントデータ記憶部 50に記憶されるフォントデータには、各文字に関連 する他の関連画像を各文字に関連づけて表示するための情報(関連画像情報)が、 各文字に影を付すための情報 (影グリフイメージ 128や影特定情報 132)に代えて、 或いは力かる情報とともに含まれるようにしてもよい。例えば、文字がフォーカスされ ていることを示す画像、文字に特殊な表示効果を付すための画像 (例えば、文字をピ カツと光るように表示したり、ネオンのように表示したりするための画像など)や文字を 区別表示するための画像を、文字に関連づけて表示するための情報が各文字ごとに 含まれるようにしてもよい。そして、文字列表示部 54は、力かるフォントデータ(関連 画像情報)に基づいて、上記のような画像を文字に関連づけて表示するようにしても よい。
また例えば、以上では、本発明を携帯型電子装置に適用した例について説明した 力 本発明は家庭用ゲーム機やパーソナルコンピュータなどの他のコンピュータシス テムにも適用できるものである。

Claims

請求の範囲
[1] 文字を表示するためのフォント情報と、当該文字の前及び Z又は後における改行 を制御するための改行制御情報と、をそれぞれ含む複数のフォントレコードを含むフ オントデータを記憶するフォントデータ記憶手段と、
前記複数のフォントレコードの全部又は一部に係るフォント情報に基づいて、文字 列を表示する文字列表示手段と、
前記文字列表示手段による前記文字列の表示における改行位置を、当該文字列 に含まれる文字に係る前記改行制御情報に基づいて決定する改行制御手段と、 を含むことを特徴とする表示装置。
[2] 請求の範囲第 1項に記載の表示装置において、
前記改行制御情報は、その文字の前における改行を制御するための第 1改行制御 情報と、その文字の後における改行を制御するための第 2改行制御情報と、を含み、 前記改行制御手段は、前記文字列における少なくとも一部の隣接文字にっ 、て、 当該隣接文字のうちの先の文字に係る前記第 2改行制御情報と、当該隣接文字のう ちの後の文字に係る前記第 1改行制御情報と、に基づいて所定の処理を実行し、そ の実行結果に基づ ヽて前記改行位置を決定する、
ことを特徴とする表示装置。
[3] 請求の範囲第 2項に記載の表示装置において、
前記第 1及び第 2改行制御情報はともに数値情報であり、
前記改行制御手段は、前記文字列における少なくとも一部の隣接文字にっ 、て、 当該隣接文字のうちの先の文字の前記第 2改行制御情報と、当該隣接文字のうちの 後の文字の前記第 1改行制御情報と、に基づいて所定の演算を行い、その演算結 果に基づ ヽて前記改行位置を決定する、
ことを特徴とする表示装置。
[4] 請求の範囲第 1項乃至第 3項のいずれかに記載の表示装置において、
前記フォントレコードは、文字の種別を示す種別情報をさらに含み、
前記改行制御手段は、前記改行位置を前記文字列に含まれる文字に係る前記種 別情報にさらに基づいて決定する、 ことを特徴とする表示装置。
[5] 文字を表示するためのフォント情報と、当該文字の前及び Z又は後における改行 を制御するための改行制御情報と、をそれぞれ含む複数のフォントレコードを含むフ オントデータを記憶してなるフォントデータ記憶手段力 前記フォントデータを読み出 すためのフォントデータ読み出しステップと、
前記フォントデータ読み出しステップによって読み出されるフォントデータに含まれ る複数のフォントレコードの全部又は一部に係るフォント情報に基づいて、文字列を 文字列表示手段に表示させる文字列表示ステップと、
前記文字列表示手段による前記文字列の表示における改行位置を、当該文字列 に含まれる文字に係る前記改行制御情報に基づいて決定する改行制御ステップと、 を含むことを特徴とする表示装置の制御方法。
[6] 文字を表示するためのフォント情報と、当該文字の前及び Z又は後における改行 を制御するための改行制御情報と、をそれぞれ含む複数のフォントレコードを含むフ オントデータ、に含まれる前記複数のフォントレコードの全部又は一部に係るフォント 情報に基づいて、文字列を表示する文字列表示手段、及び、
前記文字列表示手段による前記文字列の表示における改行位置を、当該文字列 に含まれる文字に係る前記改行制御情報に基づいて決定する改行制御手段、 としてコンピュータを機能させるためのプログラムを記録したコンピュータ読み取り可 能な情報記憶媒体。
[7] 文字を表示するためのフォント情報と、当該文字の前及び Z又は後における改行 を制御するための改行制御情報と、をそれぞれ含む複数のフォントレコードを含むフ オントデータを記録したコンピュータ読み取り可能な情報記憶媒体。
PCT/JP2005/021477 2004-12-03 2005-11-22 表示装置、表示装置の制御方法及び情報記憶媒体 WO2006059513A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP05809277A EP1835415A1 (en) 2004-12-03 2005-11-22 Display, display control method, and information storage medium
CN2005800344041A CN101036137B (zh) 2004-12-03 2005-11-22 显示装置、用于显示装置的控制方法
US11/575,553 US7629976B2 (en) 2004-12-03 2005-11-22 Display device, control method for the same, and information storage medium
US12/552,578 US7773089B2 (en) 2004-12-03 2009-09-02 Displaying character strings based on font information

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004-352106 2004-12-03
JP2004352106A JP2006163651A (ja) 2004-12-03 2004-12-03 表示装置、表示装置の制御方法、プログラム及びフォントデータ

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US11/575,553 A-371-Of-International US7629976B2 (en) 2004-12-03 2005-11-22 Display device, control method for the same, and information storage medium
US12/552,578 Continuation US7773089B2 (en) 2004-12-03 2009-09-02 Displaying character strings based on font information

Publications (1)

Publication Number Publication Date
WO2006059513A1 true WO2006059513A1 (ja) 2006-06-08

Family

ID=36564947

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2005/021477 WO2006059513A1 (ja) 2004-12-03 2005-11-22 表示装置、表示装置の制御方法及び情報記憶媒体

Country Status (5)

Country Link
US (2) US7629976B2 (ja)
JP (1) JP2006163651A (ja)
KR (2) KR20070086922A (ja)
CN (1) CN101036137B (ja)
WO (1) WO2006059513A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133811A (zh) * 2013-05-02 2014-11-05 腾讯科技(深圳)有限公司 文本处理方法及移动终端

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7982737B2 (en) * 2007-10-31 2011-07-19 Adobe System Incorporated System and method for independent font substitution of string characters
US8467082B1 (en) * 2010-03-23 2013-06-18 Jonathan Miller Print compound conserving font production method
JP5645481B2 (ja) * 2010-05-28 2014-12-24 キヤノン株式会社 装置、方法、及びプログラム
JO3062B1 (ar) 2010-10-05 2017-03-15 Lilly Co Eli R)-(e)-2-(4-(2-(5-(1-(3، 5-داي كلورو بيريدين-4-يل)إيثوكسي)-1h-إندازول-3-يل)?ينيل)-1h-بيرازول-1-يل)إيثانول بلوري
CN102148021B (zh) * 2011-03-22 2012-10-03 深圳市茁壮网络股份有限公司 一种矢量字库字符的显示方法及显示装置
CN103164388B (zh) * 2011-12-09 2016-07-06 北大方正集团有限公司 一种版式文件中结构化信息获取的方法及装置
US9547628B2 (en) * 2013-10-31 2017-01-17 Adobe Systems Incorporated Method and apparatus for improving text legibility by automatically adjusting zoom level based on preferred font characteristics including height, weight, and condensation
US20150348278A1 (en) * 2014-05-30 2015-12-03 Apple Inc. Dynamic font engine
CN114065701A (zh) * 2020-07-31 2022-02-18 华为技术有限公司 文本显示方法、编译方法及相关设备

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH032962A (ja) * 1989-05-31 1991-01-09 Hitachi Ltd 文書処理装置
JPH0343859A (ja) * 1989-07-12 1991-02-25 Hitachi Ltd 禁則処理方式

Family Cites Families (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4408198A (en) * 1981-09-14 1983-10-04 Shintron Company, Inc. Video character generator
JPS62192794A (ja) 1986-02-19 1987-08-24 株式会社日立製作所 画像合成表示装置
JPS63289667A (ja) 1987-05-21 1988-11-28 Matsushita Electric Ind Co Ltd 日本語文書編集装置
JPH02181190A (ja) 1989-01-05 1990-07-13 Toshiba Corp ベクトルフォント表現方式
US5081594A (en) * 1989-01-31 1992-01-14 Kroy Inc. Real-time rasterization system for a column-oriented printing apparatus or the like
US5255353A (en) * 1989-02-28 1993-10-19 Ricoh Company, Ltd. Three-dimensional shadow processor for an image forming apparatus
JPH03163659A (ja) 1989-11-21 1991-07-15 Nec Corp 対話型数式入力方式
JP3382265B2 (ja) * 1992-07-29 2003-03-04 キヤノン株式会社 文字パターン作成方法及び装置
JPH0785066A (ja) * 1993-09-10 1995-03-31 Matsushita Electric Ind Co Ltd 画像検索装置
US5742838A (en) * 1993-10-13 1998-04-21 International Business Machines Corp Method for conversion mode selection in hangeul to hanja character conversion
JP3923544B2 (ja) 1994-07-19 2007-06-06 富士通株式会社 文字修飾装置および文字修飾方法
JP3404610B2 (ja) 1995-03-28 2003-05-12 大日本印刷株式会社 文字図形の縁どり方法および装置
JPH08328534A (ja) 1995-05-29 1996-12-13 Hitachi Ltd 文字処理装置
US5778213A (en) * 1996-07-12 1998-07-07 Microsoft Corporation Multilingual storage and retrieval
KR100239357B1 (ko) * 1997-04-17 2000-01-15 구자홍 영상 표시 장치의 문자 처리 방법 및 장치
JPH113338A (ja) * 1997-06-11 1999-01-06 Toshiba Corp 多言語入力システム、多言語入力方法及び多言語入力プログラムを記録した記録媒体
JPH11232276A (ja) 1998-02-17 1999-08-27 Canon Inc 文字処理装置と文字データの処理方法、及び記憶媒体
CN1110762C (zh) 1998-03-20 2003-06-04 夏普公司 数据显示装置
US6252589B1 (en) * 1998-08-14 2001-06-26 Microsoft Corporation Multilingual user interface for an operating system
JP2000163044A (ja) 1998-11-30 2000-06-16 Sharp Corp 画像表示装置
FI112978B (fi) * 1999-09-17 2004-02-13 Nokia Corp Symbolien syöttö
US6848080B1 (en) * 1999-11-05 2005-01-25 Microsoft Corporation Language input architecture for converting one text form to another text form with tolerance to spelling, typographical, and conversion errors
JP2001265314A (ja) 2000-03-17 2001-09-28 Toshiba Corp 表示システム、データ表示方法、影付き文字フォント生成方法及び記録媒体
US7089494B1 (en) * 2000-07-07 2006-08-08 American Megatrends, Inc. Data structure, methods, and computer program products for storing text data strings used to display text information on a display terminal
JP2002175148A (ja) * 2000-12-06 2002-06-21 Hitachi Ltd 携帯端末装置
JP3560955B2 (ja) 2001-03-09 2004-09-02 三井化学株式会社 光学部品および含硫ポリ(チオ)エステル(共)重合体
JP2003043859A (ja) 2001-07-30 2003-02-14 Canon Inc 電子写真装置及びプロセスカートリッジ
US7196691B1 (en) * 2001-11-14 2007-03-27 Bruce Martin Zweig Multi-key macros to speed data input
KR100377432B1 (ko) * 2002-03-29 2003-05-09 주식회사 네오패드 문자/단어 생성 방법 및 이를 이용한 정보통신 서비스 방법
US7199805B1 (en) * 2002-05-28 2007-04-03 Apple Computer, Inc. Method and apparatus for titling
US8479112B2 (en) * 2003-05-13 2013-07-02 Microsoft Corporation Multiple input language selection
US7228301B2 (en) * 2003-06-27 2007-06-05 Microsoft Corporation Method for normalizing document metadata to improve search results using an alias relationship directory service
US8655904B2 (en) * 2004-02-11 2014-02-18 Ebay, Inc. Method and system to enhance data integrity in a database
CN1704882A (zh) * 2004-05-26 2005-12-07 微软公司 使用键盘的亚洲语言输入
US8321786B2 (en) * 2004-06-17 2012-11-27 Apple Inc. Routine and interface for correcting electronic text
US7502632B2 (en) * 2004-06-25 2009-03-10 Nokia Corporation Text messaging device
US20060048055A1 (en) * 2004-08-25 2006-03-02 Jun Wu Fault-tolerant romanized input method for non-roman characters
US7757227B2 (en) * 2005-03-18 2010-07-13 Microsoft Corporation Dynamic multilingual resource support for applications
US8032357B2 (en) * 2005-06-14 2011-10-04 Microsoft Corporation Phonetic input using a keypad

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH032962A (ja) * 1989-05-31 1991-01-09 Hitachi Ltd 文書処理装置
JPH0343859A (ja) * 1989-07-12 1991-02-25 Hitachi Ltd 禁則処理方式

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133811A (zh) * 2013-05-02 2014-11-05 腾讯科技(深圳)有限公司 文本处理方法及移动终端

Also Published As

Publication number Publication date
CN101036137B (zh) 2012-03-14
US20080062186A1 (en) 2008-03-13
US7629976B2 (en) 2009-12-08
US20100033487A1 (en) 2010-02-11
KR20090016769A (ko) 2009-02-17
KR20070086922A (ko) 2007-08-27
JP2006163651A (ja) 2006-06-22
CN101036137A (zh) 2007-09-12
KR100945363B1 (ko) 2010-03-08
US7773089B2 (en) 2010-08-10

Similar Documents

Publication Publication Date Title
WO2006059513A1 (ja) 表示装置、表示装置の制御方法及び情報記憶媒体
CA2477637C (en) Component-based, adaptive stroke-order system
JPH09160910A (ja) ソフトウェアキーボード表示方式
US5096423A (en) Computer system for teaching abbreviations for text and data processing functions
JP2937520B2 (ja) 文書検索装置
JP2000122768A (ja) 文字入力装置、方法および記録媒体
JP4190487B2 (ja) 表示装置、表示装置の制御方法、プログラム及びフォントデータのデータ構造
JP4287815B2 (ja) 表示装置、表示装置の制御方法及びプログラム
JP4535186B2 (ja) 辞書機能を備えた電子装置およびプログラム
JP4050745B2 (ja) 文章入力システム
JPH08190603A (ja) 文字認識装置及びその候補文字表示方法
JP2008032873A (ja) キー入力練習装置及びキー入力練習用コンピュータプログラム
JPH07219939A (ja) 文書処理装置及び方法
KR100364354B1 (ko) 이동통신 단말기의 단어 입력방법
JP3815044B2 (ja) 入力データ処理装置およびそのプログラム記録媒体
KR20040091856A (ko) 사용자 수기입력을 이용한 폰트 설정 방법 및 시스템
JPH01180030A (ja) 文字入力装置
JP2008293112A (ja) 文字入力装置及びコンピュータプログラム
JP2002007041A (ja) ローマ字入力支援装置及び方法
JPH08320868A (ja) かな漢字変換装置
JPH08123608A (ja) 文字認識方式
JP2006092248A (ja) ファイル管理プログラム、データ構造及びファイル管理装置
JPH01318156A (ja) 文書処理装置
KR20020076648A (ko) 터치 패널을 이용한 한글 입력 장치 및 그 방법
JPH1074197A (ja) 文書処理装置及び方法、並びに文書処理プログラムを記憶した記憶媒体

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS KE KG KM KN KP KR KZ LC LK LR LS LT LU LV LY MA MD MG MK MN MW MX MZ NA NG NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU LV MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 200580034404.1

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 11575553

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2005809277

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 1020077015307

Country of ref document: KR

WWP Wipo information: published in national office

Ref document number: 2005809277

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 11575553

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 1020097001538

Country of ref document: KR