CN1573911A - Device, method and program of character generation and storage medium - Google Patents

Device, method and program of character generation and storage medium Download PDF

Info

Publication number
CN1573911A
CN1573911A CNA2004100493151A CN200410049315A CN1573911A CN 1573911 A CN1573911 A CN 1573911A CN A2004100493151 A CNA2004100493151 A CN A2004100493151A CN 200410049315 A CN200410049315 A CN 200410049315A CN 1573911 A CN1573911 A CN 1573911A
Authority
CN
China
Prior art keywords
character
amplification
dwindle
type
textbox
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CNA2004100493151A
Other languages
Chinese (zh)
Other versions
CN100356443C (en
Inventor
小谷章夫
小山至幸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Publication of CN1573911A publication Critical patent/CN1573911A/en
Application granted granted Critical
Publication of CN100356443C publication Critical patent/CN100356443C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

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
    • G09G5/24Generation of individual character patterns
    • G09G5/26Generation of individual character patterns for modifying the character dimensions, e.g. double width, double height
    • 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
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • 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/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/045Zooming at least part of an image, i.e. enlarging it or shrinking it

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

A character generating apparatus is provided, which comprises a storage section for storing a shape of each of at least one character, a character code input section for inputting a character code corresponding to the character to be generated, a size specifying input section for specifying a bitmap size corresponding to a letter frame of the character, an enlargement/reduction type switch section for changing vertical and horizontal enlargement/reduction rates of a character frame separately, while preventing the character frame from jutting out of the letter frame, based on a type of the input character code and the specified bitmap size, an enlargement/reduction section for enlarging/reducing data, indicating the shape of the character to the specified bitmap size by the enlargement/reduction rate specified by the enlargement/reduction type switch section, and an output section for outputting data enlarged/reduced by the enlargement/reduction section.

Description

Character generating apparatus, character generating method, character generator program and storage medium
According to the 35th of U.S.C (a), this non-provisional application requires the right of priority of the patented claim submitted in Japan on June 10th, 2003 2003-165748 number, should incorporate this paper by reference at the full content of first to file.
Technical field
The present invention relates to a kind of character generating apparatus and a kind ofly generate the method for character by the data of representing character shape, and a kind of character generator program that makes the flow process that computing machine carries out described method.The invention still further relates to a kind of computer readable recording medium storing program for performing of storing said program.The present invention preferably is applied to low-resolution display devices, such as LCD, EL display, plasma display, CRT and other similar display device.
Background technology
Hereinafter, will traditional character generating apparatus be introduced.
Statement words and phrases required complete character collection is called " font ", it comprise such as, for example " stomach " (accompanying drawing 13 (a)) or the such character information of " worker " (accompanying drawing 13 (b)).Each character of character set (font) all is assigned a character code (for example, JIS flip-flop, displacement (shift) JIS flip-flop, EUC sign indicating number, JIS graphic character code, UNICODE or the like).Font can comprise all the corresponding characters of encoding with one of above-mentioned coded system.In addition, font can only comprise KANA (Japanese ideogram character) or numeral etc.
One of font such as " stomach " (accompanying drawing 13 (a)), " worker " (accompanying drawing 13 (b)) etc., is called a " char ".Each character that is included in a kind of font all has a body frame, is represented by the W3 in the accompanying drawing 13.Body frame is defined as a kind of like this frame: this frame comprises interval between adjacent character or the interval between the adjacent lines, and body frame is essential when character horizontally-arranged or vertical setting of types are a character string, so that the body frame of adjacent character is joined each other.All characters in the font of the same race have the body frame of identical size.
Each character that is included in a kind of font all has a textbox, is represented by the W2 in the accompanying drawing 13.Textbox is defined as a kind of like this frame: the maximum sized frame with character shape.All characters in the same font have the textbox of identical size.
Each character that is included in a kind of font all has a character frame, is represented by the W1 in the accompanying drawing 13.The character frame is represented a scope, and in fact the shape of character designs in this scope.Therefore, the character frame of kinds of characters has different sizes.As accompanying drawing 13 (a) with (b), each character has the character frame of the rectangular shape that varies in size.For example, the character frame of " stomach " (accompanying drawing 13 (a)) is the bigger rectangle of character frame than " worker " (accompanying drawing 13 (b)).
Though for the sake of simplicity, the shape of character is to be represented by the stroke data of the scheme structure of representing character at accompanying drawing 13 (a) and (b), the shape of character also can be by the frame line data representation of representing character outline.
Character is by using, for example, Japan issued patents disclose 4-177295 number and Japan issued patents disclose the prior art of introduction in 5-257450 number, by the data generation of representing character shape.These documents disclose a kind of character generating apparatus, this equipment is when coming the printable character sequence by the high resolution printed equipment such as Linofilm, printer or other similar devices, according to the size of character, by changing the ratio of textbox and body frame, export the sequence of the character of balance.
Accompanying drawing 14 (a) and (b) expression above-mentioned technology an example.The ratio of " stomach " in the accompanying drawing 14 (a) or the textbox of " worker " and body frame is greater than the textbox of " stomach " or " worker " in the accompanying drawing 14 (b) and the ratio of body frame.
The example of the character that accompanying drawing 15 (a) and (b) expression reality are printed.In accompanying drawing 15 (a), three character strings have identical textbox and body frame ratio.In accompanying drawing 15 (b), three character strings have different textboxs and body frame ratio separately.Along with character boundary increases (top character string), textbox increases.In this case, the mode that is connected together mutually with the body frame of adjacent character when character is during by horizontally-arranged or vertical setting of types, by regulating the interval between the character, can make these characters from visually seeming bigger, so that this is unlikely at interval is excessive.
But, for example, in accompanying drawing 15 (a), when these characters are amplified the constant rate that keeps simultaneously between textbox and the body frame, interval between the character has also increased, and causes these characters too sparse, and therefore is difficult to these characters are distinguished that reading is a character string.
Japan's issued patents disclose 4-177295 number and Japanese issued patents discloses 5-257450 number this problem carried out following processing.For example, in accompanying drawing 15 (b), in amplification or character down, change the ratio of textbox and body frame.In the following manner intercharacter interval is regulated: when enlarged character, the ratio between textbox and the body frame is hour bigger than character.As a result, the character that can suppress to produce in the character string is sparse.
According to Japan's issued patents disclose 4-177295 number and Japan issued patents disclosed prior art in 5-257450 number is disclosed, for example, by regulating the ratio between textbox W2 and the body frame W3 (accompanying drawing 13 (a) and (b)), can make to seem big or little on the character list face.
But, in the time of on being presented at character such as the low-resolution display devices of LCD, EL display, plasma display, CRT or other similar devices with form with undersized bitmap, the size of each character can be different, come the matching literal frame unless have a mind to adjust the character frame.In this case, be difficult to debate and read these characters.
According to above-mentioned Japan issued patents disclose 4-177295 number and Japan issued patents disclosed prior art in 5-257450 number is disclosed, do not have definition character frame W1 with respect to the coordinate position of textbox W2 and the initial point (center) of character frame (accompanying drawing 13 (a) and (b)).Therefore, can't only adjust the character frame wittingly according to the ratio of textbox W2 and body frame W3 makes it to be complementary with textbox.Hereinafter, will be introduced this problem in further detail.
Accompanying drawing 2A represents the exemplary stroke data of " stomach ".With reference to accompanying drawing 2A, will be introduced adjust the method that a character makes it to be complementary with textbox by the information of utilizing the coordinate position represent the character frame or initial point (center).
Distance between the horizontal stroke #1-2 of character " stomach " and the top of textbox is 14, and this distance is that the y coordinate figure 241 that the y coordinate figure 255 with the textbox top deducts stroke #1-2 obtains.Distance between finishing touch #1-10 and the textbox bottom is 9, and this distance is that the y coordinate figure 0 that the y coordinate figure 9 with stroke #1-10 deducts textbox bottom obtains.
The y coordinate figure of the initial point of character " stomach " is 125 (=(255-(14+9))/2+9).Amplification/minification is about 1.1 (=255/ (255-(14+9))).
The y coordinate (=125) of use initial point and amplification/minification (=1.1) are amplified the y coordinate (=241) of stroke #1-2, with the matching literal frame.Y coordinate by (241-125) * 1.1+127.5 result of calculation is tried to achieve has obtained y coordinate figure 255.This value equals the y coordinate figure (=255) of textbox top.Counter sample, the y coordinate (=125) of use initial point and amplification/minification (=1.1) are amplified the y coordinate (=9) of stroke #1-10, with the matching literal frame.Y coordinate by y=(9-125) * 1.1+127.5 result of calculation is tried to achieve has obtained y coordinate figure 0.This value equals the y coordinate figure (=0) of textbox bottom.
Different therewith, Japan's issued patents disclose 4-177295 number and Japanese issued patents discloses the initial point that does not utilize the character frame for 5-257450 number.With reference to accompanying drawing 15 (b), according to these prior aries, be character is amplified or to dwindle by the ratio that changes textbox W2 and body frame W3, as described below.For example, the character among the accompanying drawing 2A " stomach " is amplified, the y coordinate that wherein is used to amplify/dwindle the initial point of processing is set to the y coordinate (=127.5) at textbox center, and amplification/minification is 1.1, and this is identical with top narration.Calculate the result (=241) of the y coordinate of stroke #1-2 by y=(241-127.5) * 1.1+127.5, obtained y coordinate figure 252, this value does not wait with the y coordinate figure (=255) of textbox top.Calculated the result (=9) of the y coordinate of stroke #1-10 by y=(9-127.5) * 1.1+127.5, obtained y coordinate figure 3, this value does not wait with the y coordinate figure (=0) of textbox bottom.
Therefore, need to represent the coordinate position of character frame or the information of initial point (center) to adjust character with the matching literal frame.If do not represent the coordinate position of character frame or the information of initial point (center) to utilize, but with the center of textbox initial point as the amplification of y coordinate/dwindle, the last bottom that so just can't adjust the character frame come the matching literal frame on bottom.
Summary of the invention
According to one aspect of the present invention, a kind of character generating apparatus is provided, comprising: a storage area is used to store each shape of at least one character; A character code importation, the corresponding character code of described at least one character that is used to import Yu will generates; A size is specified the importation, is used to specify and the corresponding bitmap size of the textbox of described at least one character; One is amplified/dwindles the type switching part, is used for changing the amplification/minification of character frame on vertical and horizontal direction according to the type of the character code of being imported individually with specified bitmap size, prevents that simultaneously the character frame from exceeding textbox; One is amplified/dwindles part, is used for according to by described amplification/the dwindle amplification/minification of type switching part appointment, and specified bitmap size is amplified/be reduced into to the data of shape that will described at least one character of representative; With an output, be used to export through described amplification/the dwindle data that part is amplified/dwindled.
In another embodiment of the present invention, amplify/dwindle the type switching part and defined one first size at described bitmap size.When specified bitmap size less than described first hour, described amplification/dwindle type switching part changes the amplification/minification of described character frame on vertical and horizontal direction individually, so that the limit up and down of described character frame joins with the limit up and down of described textbox respectively.
In one embodiment of the invention, amplify/dwindle the type switching part and defined one second size at described bitmap size.When specified bitmap size is equal to or greater than described second largest hour, described amplification/the dwindle constant rate that the type switching part keeps described character frame and described textbox.
In one embodiment of the invention, amplify/dwindle switching part and defined one first size and one second size at described bitmap size.When specified bitmap size more than or equal to described first the size and less than described second largest hour, described amplification/dwindle type switching part changes the amplification/minification on vertical and the horizontal direction, so that the last bottom of described character frame or limit, the left and right sides join with the last bottom or the limit, the left and right sides of described textbox respectively.
In one embodiment of the invention, when the described character code by described character code importation input was different from the Chinese character sign indicating number, institute is fast amplified/dwindles the constant rate that the type switching part keeps described character frame and described textbox.
In one embodiment of the invention, described character generating apparatus also comprises: one is amplified/dwindles the type stores part, be used to store at least one and specify the described bitmap size of importation input to amplify/dwindle type accordingly by the described character code of described character code importation input with by described size, wherein content can change.Described amplification/dwindle type switching part selects one and described character code with the corresponding amplification of the mutual relationship between the described bitmap size/dwindle type from the content of described amplification/dwindle type stores part.
In one embodiment of the invention, amplify/dwindle part according to amplification/minification of determining by described amplification/dwindle type switching part, use counting on the x of the x of described character frame and y coordinate position and described textbox and the y direction, coordinate position to the data of the shape of representing described at least one character carries out coordinate transform.
According to another aspect of the present invention, a kind of character generating method is provided, comprise step: each the shape of storing at least one character; Input and the corresponding character code of described at least one character that will generate; Specify the corresponding bitmap size of textbox with described at least one character; Type according to the character code of being imported changes the amplification/minification of character frame on vertical and horizontal direction individually with specified bitmap size, prevents that simultaneously the character frame from exceeding textbox; On behalf of the data of the shape of described at least one character, foundation will amplify/be reduced into specified bitmap size by the amplification/minification of the vertical and level of described change step appointment; The data of amplifying/dwindling through described amplification/reduction process with output.
According to another aspect of the present invention, a kind of character generator program is provided, be used to make computing machine carry out following step: each the shape of storing at least one character; Input and the corresponding character code of described at least one character that will generate; Specify the corresponding bitmap size of textbox with described at least one character; According to change the vertical amplification/minification with level of character frame individually by the type of the character code of described character code input step input and bitmap size, prevent that simultaneously the character frame from exceeding textbox by the appointment of described bitmap size given step; On behalf of the data of the shape of described at least one character, foundation will amplify/be reduced into specified bitmap size by the amplification/minification of the vertical and level of described change step appointment; The data of amplifying/dwindling through described amplification/reduction process with output.
According to another aspect of the present invention, a kind of computer readable recording medium storing program for performing is provided, this recorded medium stores a kind of character generator program, is used to make computing machine carry out following step: each the shape of storing at least one character; Input and the corresponding character code of described at least one character that will generate; Specify the corresponding bitmap size of textbox with described at least one character; According to change the amplification/minification of character frame on vertical and horizontal direction individually by the type of the character code of described character code input step input and bitmap size, prevent that simultaneously the character frame from exceeding textbox by the appointment of described bitmap size given step; According to by described amplification/the dwindle amplification/minification of type switch step appointment, specified bitmap size is amplified/be reduced into to the data of shape that will described at least one character of representative; The data of amplifying/dwindling through described amplification/reduction process with output.
Hereinafter, will be introduced function of the present invention.
According to the present invention, described amplification/dwindle the type switching part according to the type of the character code of importing by described character code importation with by described big or small bitmap size of specifying the importation appointment, select a kind of amplification/dwindle type, to change the amplification/minification of character frame on vertical and horizontal direction, prevent that simultaneously described character frame from exceeding textbox.According to the amplification of choosing by described amplification/dwindle type switching part/dwindle type, described amplification/dwindle the bitmap size that appointment is amplified/be reduced into to the part handle data of shape that read from storage area, that represent character, and export resulting data by described output.
For example, when the bitmap size of appointment less than one first hour, for the mankind's vision identification, the character with this first size will be subjected to the having a strong impact on of quantization error of 1 point, and described amplification this moment/dwindle type switching part will be selected following amplification/dwindle type.In vertical direction with on the horizontal direction character frame is amplified/dwindles individually, so that the limit up and down of this character frame joins with the limit up and down of textbox respectively.Thus, can export a succession of character with identical size.Thereby these characters are consistent and are easy to distinguish and read.
When the bitmap size of appointment be equal to or greater than one second largest hour, for the mankind's vision identification, character with this second size will be substantially can not be subjected to the sound of the quantization error of 1 point, and described amplification this moment/dwindle type switching part will be selected following amplification/dwindle type.The ratio of character frame and textbox is remained predetermined ratio, can export a succession of character of reading that is easy to distinguish thus.
When specified bitmap size is equal to or greater than above-mentioned first size and less than above-mentioned second largest hour, described amplification/dwindle type switching part is selected following amplification/dwindle type.Vertically with on the horizontal direction character is being amplified/dwindling, so that the last bottom of character frame or limit, the left and right sides join with the last bottom or the limit, the left and right sides of textbox respectively with identical amplification/minification.Thus, can export a succession of character with identical size.Thereby these characters are consistent and are easy to distinguish and read.
When specified character code was not represented Chinese character, described amplification/dwindle type switching part was selected following amplification/dwindle type.The ratio of character frame and textbox is remained predetermined ratio, thereby can export a series of character of reading that is easy to distinguish.
Described amplification/dwindle type stores is partly stored and the corresponding amplification of combination of the bitmap size of the character code of appointment and appointment/dwindle type.Its content is variable.Described amplification/dwindle type switching part is selected to be stored in this and is amplified/dwindle a kind of amplification in the type stores part/dwindle type, to change the amplification/minification of character frame on vertical and horizontal direction individually, make that thus output is easy to distinguish that a succession of character of reading becomes possibility.
Like this, the present invention described here realizes such advantage: and providing a kind of can amplify during the character display sequence on low-resolution display devices/and character down is with the matching literal frame, thus make the difference that suppresses character boundary and position become possible character generating apparatus and method; A kind of character generator program of the flow process that is used to make computing machine carry out described method; With a kind of computer readable recording medium storing program for performing of storing described program.
To those skilled in the art, as long as read and understood following detailed description with reference to accompanying drawing, these and other advantage of the present invention all will become apparent.
Description of drawings
Accompanying drawing 1 is the block diagram of expression according to the structure of the character generating apparatus of one embodiment of the present of invention.
Accompanying drawing 2A is the synoptic diagram of the coordinate position of the expression character frame, textbox and each stroke that constitute character " stomach ".
Accompanying drawing 2B is the synoptic diagram of the coordinate position of the expression character frame, textbox and each stroke that constitute character " worker ".
Accompanying drawing 2C is the synoptic diagram of the coordinate position of the expression character frame, textbox and each stroke that constitute character " three ".
Accompanying drawing 3A is the synoptic diagram that expression is stored in the data of the character data " stomach " in the storage area of accompanying drawing 1.
Accompanying drawing 3B is the synoptic diagram that expression is stored in the data of the character data " worker " in the storage area of accompanying drawing 1.
Accompanying drawing 3C is the synoptic diagram that expression is stored in the data of the character data " three " in the storage area of accompanying drawing 1.
Accompanying drawing 4 is that expression is stored in amplification in the type stores part of the amplification of accompanying drawing 1/dwindle/the dwindle synoptic diagram of type and content thereof.
Accompanying drawing 5 is that expression is based upon exemplary amplification in the type stores part of the amplification of accompanying drawing 1/dwindle/the dwindle synoptic diagram of type.
Accompanying drawing 6 is expressions according to the selected amplification of the bitmap size of being specified the importation input by the size of accompanying drawing 1/the dwindle synoptic diagram of type.
Accompanying drawing 7 is the process flow diagrams that are used to illustrate each flow process of the character generating method that the character generating apparatus that uses accompanying drawing 1 is realized.
Accompanying drawing 8A is the chart of the character data that obtains of the amplification of expression by the character data " stomach " of accompanying drawing 3A being amplified/dwindled type A/dwindle conversion.
Accompanying drawing 8B is the chart of the character data that obtains of the amplification of expression by the character data " stomach " of accompanying drawing 3A being amplified/dwindled Type C/dwindle conversion.
Accompanying drawing 8C is the chart of the character data that obtains of the amplification of expression by the character data " stomach " of accompanying drawing 3A being amplified/dwindled type B/dwindle conversion.
Accompanying drawing 9 (a) to (d) is that type is amplified/dwindled to expression and the synoptic diagram of the character that conversion is come out according to each.
Accompanying drawing 10 (a) to (c) is the chart that is illustrated in the character data of the character " worker " of accompanying drawing 3B after the amplification of amplifying/dwindling type A or B/the dwindle conversion.
Accompanying drawing 11 is to be illustrated in to amplify/dwindle the conversion chart of the character data of the character " three " of accompanying drawing 3C afterwards.
Accompanying drawing 12 (a-1) to (a-3) and 12 (b-1) to (b-3) is the synoptic diagram of expression character string.Specifically, accompanying drawing 12 (a-1) to (a-3) the expression character string of utilizing prior art to amplify/dwindle.Accompanying drawing 12 (b-1) to (b-3) expression utilizes the character string that is exaggerated according to the character generating method of the embodiment of the invention/dwindles.
Accompanying drawing 13 (a) and (b) be the synoptic diagram that is used to explain traditional character frame, textbox and body frame.
Accompanying drawing 14 (a) and (b) be the expression example synoptic diagram, wherein changed the textbox of character and the ratio of body frame according to prior art.
Accompanying drawing 15 (a) and (b) be the expression character string synoptic diagram.Specifically, the character string that accompanying drawing 15 (a) expression is such:, do not change the ratio of textbox and body frame and it is amplified/dwindles according to existing technology.The character string that accompanying drawing 15 (b) expression is such: in the ratio that changes textbox and body frame, amplify/dwindle.
Embodiment
The present invention is introduced hereinafter, with reference to the accompanying drawings, by illustrative example.
Accompanying drawing 1 is the block diagram of expression according to the structure of the character generating apparatus of one embodiment of the present of invention.
With reference to accompanying drawing 1, character generating apparatus 10 comprises that a storage area 1, character code importation 2, size specify importation 3, one to amplify/dwindle type switching part 4, one and amplify/dwindle type stores part 6, one and amplify/dwindle part 5 and an output 7.Character generative process of the present invention is carried out according to character generator program of the present invention, and this procedure stores is in a storage area (not shown).Each flow process is all controlled by a control section (CPU (central processing unit) (CPU)), and these flow processs comprise: from storage area 1, choose flow process corresponding to the character data of input character sign indicating number, by amplify/dwindle type switching part 4 and amplify/dwindle the amplification that part 5 carries out/dwindle flow process, the output flow process carried out by output 7 or the like.
Character generating apparatus 10 can pass through, and for example, a personal computer is realized.Can use the personal computer of any kind of, such as desk-top computer, laptop computer, notebook or the like.In addition, this character generating apparatus 10 also can be a word processor.
In addition, this character generating apparatus 10 also can be realized by the device for display of message of any any kind, such as the electronic equipment or the information equipment (electronic message unit) that comprise as the display device of output 7.For example, this character generating apparatus 10 can be an electronic equipment, a mobile message instrument (for example, personal digital assistants etc.), a communication facilities (for example, mobile telephone equipment (comprising PHS) or black phone/facsimile equipment etc.), these equipment all comprise a liquid crystal indicator separately.
In addition, this character generating apparatus 10 can also be realized by a server apparatus.This server apparatus might not comprise a display device.
To be introduced storage area 1 below.
Storage area 1 is being stored the shape that is included in the character in a kind of font.This storage area 12 receives with a character code and imports accordingly from the character code importation, and will export to coupled amplification/dwindle part 5 with the corresponding character data of this character code.
Represent the character data of the shape of a character to be, for example, vector information.This vector information can be the stroke type, the frame line style, the bitmap type or other similar type.
For example, as follows, the stroke data of character " stomach " that will be shown in accompanying drawing 2A is stored in the storage area 1.With reference to accompanying drawing 3A, in area 01, retouched a character code, and particularly, defined the JIS graphic character code " 1663 " of " stomach " therein.In area 02, describe the stroke quantity that constitutes a character, and particularly, wherein defined the stroke quantity (=12) of formation character " stomach ".
In area 03, recorded and narrated the stroke numbering.For example, shown in accompanying drawing 3A, " 1 " has been distributed to the vertical stroke #1-1 shown in the accompanying drawing 2A.In area 04, recorded and narrated the number of coordinates of occupying by stroke.Shown in accompanying drawing 3A, for example, for the stroke #1-1 among the accompanying drawing 2A has given " 2 ".
In area 05, recorded and narrated the type of stroke.Shown in accompanying drawing 3A, for example, for the vertical stroke #1-1 shown in the accompanying drawing 2A has given " straight line ".The coordinate figure at stroke two ends has been described in area 06.Shown in accompanying drawing 3A, for example, for the stroke #1-1 among the accompanying drawing 2A has given (25,241) and (25,162).
The stroke data of character " worker " that as follows, will be shown in accompanying drawing 2B is stored in the storage area 1.With reference to accompanying drawing 3B, the JIS graphic character code " 0508 " of " worker " is defined as character code in the area 01.The stroke quantity " 3 " that will constitute character " worker " is defined in the area 02.In area 03, recorded and narrated the stroke numbering.For example, shown in accompanying drawing 3B, " 1 " has been distributed to stroke #2-1 among the accompanying drawing 2B.The coordinate quantity of being occupied by stroke has been described in area 04.Shown in accompanying drawing 3B, for example, for the stroke #2-1 among the accompanying drawing 2B has given " 2 ".The type of stroke has been described in area 05.Shown in accompanying drawing 3B, for example, for the stroke #2-1 shown in the accompanying drawing 2B has given " straight line ".In area 06, recorded and narrated the coordinate figure at stroke two ends.Shown in accompanying drawing 3B, for example, for the stroke #2-1 among the accompanying drawing 2B has given (40,200) and (216,200).
The stroke data of character " three " that as follows, will be shown in accompanying drawing 2C is stored in the storage area 1.With reference to accompanying drawing 3C, the JIS graphic character code " 2716 " of " three " is defined as character code in the area 01.The stroke quantity " 3 " that will constitute character " three " is defined in the area 02.In area 03, recorded and narrated the stroke numbering.For example, shown in accompanying drawing 3C, " 1 " has been distributed to stroke #3-1 among the accompanying drawing 2C.The coordinate quantity of being occupied by stroke has been described in area 04.Shown in accompanying drawing 3C, for example, for the stroke #3-1 among the accompanying drawing 2C has given " 2 ".The type of stroke has been described in area 05.Shown in accompanying drawing 3C, for example, for the stroke #3-1 shown in the accompanying drawing 2C has given " straight line ".In area 06, recorded and narrated the coordinate figure at stroke two ends.Shown in accompanying drawing 3C, for example, for the stroke #3-1 among the accompanying drawing 2C has given (18,231) and (236,231).
Character data can be stored in any storage medium arbitrarily, such as preferably hard disk, CD-ROM, MO (magneto-optic disk), MD, DVD, IC-card, light-card or other similar mediums.
Character code importation 2 is used for character code is input to character generating apparatus 10.The input character sign indicating number is provided for described storage area 1 and the amplification that links to each other with this character code importation 2/dwindle type switching part 4.
Character code can be used for identification character.The example of character code comprises JIS flip-flop, displacement JIS flip-flop, EUC sign indicating number, JIS graphic character code, UNICODE or the like.
Described character code importation 2 can be assigned to realize by Department of Communication Force, such as the interface of LAN, WAN, mobile telephone network, wire net, wireless communication networks, connection computing machine and peripherals, be included in data bus in the computing machine or the like.
Described size specifies importation 3 to be used to import and the corresponding bitmap size of the textbox of character.The bitmap size of input is provided for this size and specifies the amplification that importation 3 links to each other/dwindle type switching part 4.This bitmap size can be an integer, for example, is at least 1.
It can be a communications portion that described size is specified importation 3, such as the interface of LAN, WAN, mobile telephone network, wire net, wireless communication networks, connection computing machine and peripherals, be included in data bus in the computing machine or the like.
Described amplification/dwindle type switching part 4 is determined as shown in Figure 4 amplification/dwindle type according to the character code that is provided by character code importation 2 with by the bitmap size that size specifies importation 3 to provide.Determined amplification/dwindle type is provided for this amplification of amplifying/dwindling type switching part 4 and linking to each other/dwindle part 5.
The example of accompanying drawing 4 comprises: amplify/dwindle type A--" full frame amplify ", wherein change the amplification/minification of character frame in vertical direction with on the horizontal direction, so that character frame and textbox are complementary; Amplify/dwindle type B--" the simple amplification ", wherein the predetermined ratio of character frame and textbox remains unchanged; With amplify/dwindle Type C--" constant rate amplification ", wherein change the character frame in vertical direction with on the horizontal direction with identical amplification/minification, keep the length breadth ratio of textbox and character frame constant simultaneously, so that the character frame is complementary with textbox on horizontal or vertical direction.
Described amplification/dwindle Type C to comprise: amplify/dwindle Type C-1--" vertical full frame amplifies ", wherein change the character frame in vertical direction with on the horizontal direction with identical amplification/minification, keep the length breadth ratio of textbox and character frame constant simultaneously, so that the character frame is complementary with textbox in vertical direction; With amplify/dwindle Type C-2--" level full frame amplify ", wherein change the character frame in vertical direction with on the horizontal direction with identical amplification/minification, keep the length breadth ratio of textbox and character frame constant simultaneously, so that the character frame is complementary with textbox in the horizontal direction.
Particularly, when amplifying/dwindling the amplification that type switching part 4 links to each other/dwindle with this when having set a kind of amplification/dwindle type (the type is to specify the combination of the bitmap size that importation 3 provides and definite according to the character code that is provided by character code importation 2 with by size) in the type stores part 6, described amplification/dwindle type switching part 4 is selected a kind of and described character code and the corresponding amplification of bitmap size/dwindle type from described amplification/dwindle the type stores part 6.Selected amplification/dwindle type by with amplify/dwindle the amplification that type stores part 6 links to each other/dwindle type switching part 4 and be provided for this amplification of amplifying/dwindling type switching part 4 and linking to each other/dwindle part 5.
Accompanying drawing 5 is that expression is stored in exemplary amplification in the type stores part 6 of the amplification of accompanying drawing 1/dwindle/dwindle type.
With reference to accompanying drawing 5, in this amplification/dwindle in the type stores part 6, for have smaller or equal to 15 bitmap size question mark "? " (character code 0109 (JIS graphic character code)) given amplification/dwindle type A, and for have more than or equal to 16 bitmap size question mark "? " given amplification/dwindle Type C.For the exclamation of bitmap size with 14 to 19 (comprising 14 and 19) "! " (character code 0110) given amplification/dwindle Type C.Symbol " " for bitmap size with 14 to 19 (comprising 14 and 19) " and "." (character code 0111 and 0112) given amplification/dwindle type B.Do not give and amplify/dwindle type for Chinese character " stomach " (character code 1663).
Amplify/dwindle type for it and be not stored in for the character that amplifies/dwindle in the type stores part 6, for example Chinese character " stomach " etc. amplifies/dwindles type to determine according to bitmap size, as shown in Figure 6.
In accompanying drawing 6, when bitmap size n less than 16 the time, described amplification/dwindle type switching part 4 to select to amplify/dwindle type A.When bitmap size n more than or equal to 24 the time, select to amplify/dwindle type B.When bitmap size n (comprises 16 and 23) between 16 and 23, be defined as amplifying/dwindle Type C.
Described amplification/dwindle part 5 is according to the bitmap size of specifying importation 3 inputs from described size with from amplifying/dwindle the amplification that type switching part 4 provides/dwindle type, amplifies/dwindle conversion (amplify or dwindle processing) at the character data that is provided by described storage area 1.Subsequently, this amplifies/dwindles the character data that part 5 obtains the result and offers coupled output 7.
Described output 7 can be, for example, and a display device.The example of display device comprises LCD, EL display, plasma display, CRT and other similar devices.This output 7 can be, for example, and a communication facilities.The equipment that links to each other with the Internet can be used as communication facilities.
Hereinafter, will a kind of character generating method of the character generating apparatus of the formation like this of using present embodiment be introduced.
Accompanying drawing 7 is the process flow diagrams of each step that are used to explain the character generating method of the character generating apparatus that uses accompanying drawing 1.
As shown in Figure 7, in step S1, imported a character code from described character code importation 2.For example, imported a Chinese character " stomach " (character code 1663 (JIS graphic character code)).This input utilizes keyboard to carry out assumed name-Chinese character conversion by the user and finishes.
In step S2, specify bitmap size of importation 3 inputs from size.For example, " 19 " have been imported as bitmap size corresponding to textbox.This input knocks keyboard " 1 " by the user and " 9 " key is finished.
In step S3, from storage area 1, read character data corresponding to the character of the character code of in step S1, importing.
For example, the character data of accompanying drawing 3A is as the character data of Chinese character " stomach " (accompanying drawing 2A, character code 1663 (JIS graphic character code)).Replacedly, read the character data of the character data of accompanying drawing 3B as katakana character " worker " (accompanying drawing 2B, character code 0508 (JIS graphic character code)).Replacedly, read the character data of the character data of accompanying drawing 3C as Chinese character " three " (accompanying drawing 2C, character code 2716 (JIS graphic character code)).
In step S4, amplify/dwindle 4 inquiries of type switching part and amplify/dwindle type stores part 6, and whether judge character code in step S1, import and the bitmap size of in step S2, importing, and whether be that they have given amplification/dwindle type corresponding to character code that amplifies/dwindle appointment in the type stores part 6 and bitmap size.Specified in amplifying/dwindling type stores part 6 that amplification/when dwindling type, processing procedure enters step S5.In amplifying/dwindling type stores part 6, do not specify to amplify/when dwindling type, processing procedure enters step S6.
For example, in accompanying drawing 5, symbol "? " character code be 0109 (JIS graphic character code).When symbol "? " bitmap size when being " 19 ", for it has given amplification/dwindle Type C, as shown in Figure 6.In this case, processing procedure enters step S5.The character code of Chinese character " stomach " is 1663 (JIS graphic character codes).When the bitmap size of Chinese character " stomach " is " 19 ", does not give and amplify/dwindle type for it.In this case, processing procedure enters step S6.
When in step S4, determine to amplify/dwindle and given amplification/when dwindling type (being) in the type stores part 6, execution in step S5.In step S5, amplify/dwindle type switching part 4 and from amplify/dwindle type stores part 6, choose and character code and the corresponding amplification of bitmap size/dwindle type.Subsequently, processing procedure enters into step S9.
For example, in accompanying drawing 5, symbol "? " character code be 0109 (JIS graphic character code).When its bitmap size is " 19 ", chooses and amplify/dwindle Type C.
When in step S4, determine to amplify/dwindle and do not give when amplifying/dwindling type (denying) execution in step S6 in the type stores part 6.In step S6, whether the character code of importing among the determining step S1 is Chinese character.When being Chinese character, processing procedure enters step S7.When being not Chinese character, processing procedure enters step S8.
In step S7, by amplify/dwindle type switching part 4 according to the bitmap size of importing among the step S2 determine to amplify/dwindle type.Subsequently, processing procedure enters step S9.
For example, in accompanying drawing 6, the character code of Chinese character " stomach " is 1663 (JIS graphic character codes).When the bitmap size of this Chinese character " stomach " is " 11 ", select to amplify/dwindle type A.When the bitmap size of this kanji character " stomach " is " 19 ", select to amplify/dwindle Type C.
In step S8, select to amplify/dwindle type B.
For example, be that type B selected to amplify/to dwindle in the katakana " worker " of 0608 (JIS graphic character code) for character code.
In step S9, if the amplification of determining in step S5 or S7/dwindle type is not " C " (denying), then processing procedure enters step S11.If the amplification of determining in step S5 or S7/dwindle type is " C " (being), then processing procedure enters step S10.
In step S10, when amplifying/dwindling type for " C ", whether the character frame that calculates the character data that reads in step S3 is tall and big in wide (lengthwise type), perhaps is wider than height (type of growing crosswise), to determine to amplify/dwindle type, that is, and " C-1 " or " C-2 ".
For example, shown in accompanying drawing 2A, original character data is comprised in 256 * 256 the textbox, that is, from (0,0) to the coordinate data scope of (255,255) (comprising (0,0) and (255,255)) in.Before conversion, coordinate data is by (x y) represents, and after the textbox that transforms to (n+1) * (n+1) (n=255 among the accompanying drawing 2A), coordinate data is by (nx ny) represents.The minimum x coordinate of character frame is represented by min_x, and the maximum x coordinate of character frame is represented by max_x.The minimum y coordinate of character frame is represented by min_y, and the maximum y coordinate of character frame is represented by max_y.In this case, the developed width of character frame is:
mx=max_x-min_x。
The true altitude of character frame is:
my=max_y-min_y。
When mx=<my, determine that this character frame is the lengthwise type.Type " C-1 " is amplified/is dwindled in selection.Processing procedure enters step S11.
When mx>my, determine that the character frame is the type of growing crosswise.Type " C-2 " is amplified/is dwindled in selection.Processing procedure enters step S11.
For example, under the situation of the character data " stomach " of accompanying drawing 3A, the developed width mx of character frame be 205 (=230-25), and the true altitude of character frame be 232 (=241-9).Therefore, this character frame be the lengthwise type and select to amplify/to dwindle type " C-1 ".
Under the situation of the character data " three " of accompanying drawing 3C, the developed width mx of character frame be 239 (=247-8), and the true altitude of character frame be 206 (=231-25).Therefore, this character frame be the type of growing crosswise and select to amplify/to dwindle type " C-2 ".
In step S11, according to the character data that reads among the bitmap size of importing among the step S2, the step S3 and in step S5, S7 or S8, select amplification/dwindling type amplifies/dwindles conversion.To amplify/dwindling the numerical value of trying to achieve in the conversion and be rounded to integer.
For example, shown in accompanying drawing 2A, original character data is comprised in 256 * 256 the textbox, that is, from (0,0) to the coordinate data scope of (255,255) (comprising (0,0) and (255,255)) in.Before conversion, coordinate data is by (x y) represents, and after the textbox that transforms to (n+1) * (n+1) (n=255 among the accompanying drawing 2A), coordinate data is by (nx ny) represents.The minimum x coordinate of character frame is represented by min_x, and the maximum x coordinate of character frame is represented by max_x.The minimum y coordinate of character frame is represented by min_y, and the maximum y coordinate of character frame is represented by max_y.In this case, the developed width of character frame is:
mx=max_x-min_x。
The true altitude of character frame is:
my=max_y-min_y。
For example, when amplifying/dwindle type when " A ", amplify/dwindle coordinate after the conversion (nx, ny) obtain according to following expression formula:
(nx,ny)=((x-min_x)×n/mx,(y-min_y)×n/my)......(1)。
For example, when the bitmap size of importing in step S2 is, use above-mentioned expression formula (1) that the character data " stomach " of accompanying drawing 2A is transformed to the character data value shown in the accompanying drawing 8A at 11.Like this, just generated a character that joins with limit, upper and lower, left and right textbox shown in accompanying drawing 9 (a).
When having chosen amplification/when dwindling type " B ", amplify/dwindle coordinate after the conversion (nx, ny) calculate by following expression formula:
(nx,ny)=(x×n/255,y×n/255)......(2)。
For example, when the bitmap size of importing in step S2 is, use above-mentioned expression formula (2) that the character data " stomach " of accompanying drawing 2A is transformed to the character data value shown in the accompanying drawing 8C at 23.Like this, generated the character of the constant rate of maintenance textbox shown in accompanying drawing 9 (c) and character frame.
For example, when the bitmap size of importing in step S2 is, use above-mentioned expression formula (2) that the character data " worker " of accompanying drawing 2B is transformed to the character data value shown in the accompanying drawing 10 (c) at 23.Like this, generated the character that keeps the constant rate of textbox and character frame.
For example, when having chosen amplification/when dwindling type " C-1 ", amplify/dwindle coordinate after the conversion (nx, ny) calculate by following expression formula:
(nx,ny)=((((x-min_x)×255/my)+z)×n/255,
(y-min_y)×n/my),......(3)
Wherein
z=(255-(255×mx/my))×min_x/(min_x+255-max_x)。
For example, when the bitmap size of importing among the step S2 is, use above-mentioned expression formula (3) that the character data among the accompanying drawing 2A " stomach " is transformed to the character data value shown in the accompanying drawing 8B at 19.Like this, produced a character that the last bottom with textbox as shown in accompanying drawing 9 (b) joins.
For example, when having chosen amplification/when dwindling type " C-2 ", amplify/dwindle coordinate after the conversion (nx, ny) calculate by following expression formula:
(nx,ny)=((x-min_x)×n/mx),
(((y-min_y)×255/mx)+z)×n/255)......(4)
Wherein
z=(255-(255×my/mx))×min_y/(min_y+255-max_y)。
For example, when the bitmap size of importing among the step S2 is, use above-mentioned expression formula (4) that the character data among the accompanying drawing 2C " three " is transformed to the character data value shown in the accompanying drawing 11 at 19.Like this, generated a character that joins with limit, left and right sides textbox shown in accompanying drawing 9 (d).
In the step S12 of accompanying drawing 7, the character data of conversion among the step S11 is offered output 7.
Accompanying drawing 12 (a-1) is represented a string character, and these characters amplify/dwindle according to prior art, simultaneously the ratio of textbox and body frame is adjusted, and be 19 wherein with the corresponding bitmap size of textbox.
In order to compare, accompanying drawing 12 (b-1) shows a string character, these characters are to use the character generating method of present embodiment to amplify/dwindle, so that the limit up and down of character frame is complementary with the limit up and down of textbox respectively, be 19 (corresponding to the character boundary in the accompanying drawing 12 (a-1)) (amplification in the present embodiment/dwindle type A, wherein bitmap size is less than 16) wherein with the corresponding bitmap size of textbox.
Character frame in accompanying drawing 12 (a-2) the expression accompanying drawing 12 (a-1), these character frames are filled to be black.Character frame in accompanying drawing 12 (b-2) the expression accompanying drawing 12 (b-1), these character frames are filled to be black.The character with actual size of accompanying drawing 12 (a-3) expression accompanying drawing 12 (a-1).Accompanying drawing 12 (b-3) expression has the character of the actual size of accompanying drawing 12 (b-1).
Comparative drawings figs 12 (a-2) and accompanying drawing 12 (b-2), as can be seen, the position and the size of the character frame in the accompanying drawing 12 (a-2) all change, and the character frame in the accompanying drawing 12 (b-2) does not all have to change on position or size.Relatively represent a string accompanying drawing 12 (a-3) and accompanying drawing 12 (b-3) with character of actual size, the difference of the position of the character in the accompanying drawing 12 (a-3) and size all is clearly.
According to the above embodiment of the present invention, amplify/dwindle type switching part 4 according to specifying the bitmap size of importation 3 inputs, select a kind of amplification/dwindle type at the amplification/minification (ratio) on the vertical and horizontal direction of character frame by the character code of character code importation 2 inputs with by size.According to this amplification/dwindle type, amplify/dwindle the shape that 5 pairs of parts are stored in the character data in the storage area 1 and amplify/dwindle, and the character data that obtains by output 7 output results.Thus, can produce such character, these characters are easy to distinguish and read, and when a string such character was presented on low-resolution display devices or the similar devices, these characters did not have difference basically.
In the above-described embodiment, when the bitmap size of appointment less than one first hour, in vertical direction with on the horizontal direction character frame is amplified/dwindles respectively, so that the limit up and down of character frame joins with the limit up and down of textbox respectively.In addition, can change the amplification/minification on vertical and the horizontal direction separately, so that the limit up and down of the limit up and down of character frame and textbox 1 point in interval or more a plurality of point (visually still being considered as joining).In other words, according to the present invention, can change the amplification/minification on vertical and the horizontal direction separately, so that the limit up and down of character frame joins basically with the limit up and down of textbox (comprising the situation that not realization contacts).Change amplification/minification so that obtain a series of unanimity and neat character.
Equally, when the bitmap size of appointment be equal to or greater than one first size and less than one second largest hour, character is being amplified/dwindling on vertical and horizontal direction with identical amplification/minification, so that the last bottom of character frame or limit, the left and right sides join with the last bottom or the limit, the left and right sides of textbox respectively.In addition, can change amplification/minification, so that character frame and textbox 1 point in interval or more a plurality of point (visually being considered as joining).
As mentioned above, according to the present invention, can generate according to character code and bitmap size and be easy to distinguish and read and a succession of character of essentially no difference.Especially, can generate the character string that is applicable to low-resolution display devices preferably.
For a person skilled in the art, various other the modifications that the present invention is carried out all will be conspicuous, and be easy to realize, and can not exceed scope of the present invention and thought.Therefore, the instructions that the scope of not wishing the claim that the application is appended is limited to here to be set forth, but wish that claims obtain wide in range explanation.

Claims (10)

1. character generating apparatus comprises:
A storage area is used to store each shape of at least one character;
A character code importation, the corresponding character code of described at least one character that is used to import Yu will generates;
A size is specified the importation, is used to specify and the corresponding bitmap size of the textbox of described at least one character;
One is amplified/dwindles the type switching part, is used for changing individually according to the type of the character code of being imported and specified bitmap size the amplification/minification of the vertical and level of character frame, prevents that simultaneously the character frame from exceeding textbox;
One is amplified/dwindles part, is used for according to by described amplification/the dwindle amplification/minification of type switching part appointment, the data of the shape of described at least one character of representative is amplified/are reduced into the bitmap size of described appointment; With
An output is used to export through described amplification/the dwindle data that part is amplified/dwindled.
2. according to the described character generating apparatus of claim 1, wherein said amplification/dwindle the type switching part at one first size of described bitmap size definition,
When specified bitmap size less than described first hour, described amplification/dwindle type switching part changes the amplification/minification of the vertical and level of described character frame individually, so that the limit up and down of described character frame joins with the limit up and down of described textbox respectively.
3. according to the described character generating apparatus of claim 1, wherein said amplification/dwindle the type switching part to have defined one second size at described bitmap size,
When specified bitmap size more than or equal to described second largest hour, described amplification/the dwindle ratio that the type switching part keeps described character frame and described textbox.
4. according to the described character generating apparatus of claim 1, wherein said amplification/dwindle the type switching part to have defined one first size and one second size at described bitmap size,
When specified bitmap size more than or equal to described first the size and less than described second largest hour, described amplification/dwindle type switching part changes the amplification/minification of vertical and level, so that the last bottom of described character frame or limit, the left and right sides join with the last bottom or the limit, the left and right sides of described textbox respectively.
5. according to the described character generating apparatus of claim 1, wherein when the described character code by the input of described character code importation is different from the Chinese character sign indicating number, institute is fast amplifies/dwindles the ratio that the type switching part keeps described character frame and described textbox.
6. according to the described character generating apparatus of claim 1, also comprise:
One is amplified/dwindles the type stores part, be used to store at least one and specify the described bitmap size of importation input to amplify/dwindle type accordingly by the described character code of described character code importation input and by described size, wherein content is changeable
Wherein said amplification/dwindle type switching part is selected the corresponding amplification of mutual relationship/the dwindle type between and described character code and the described bitmap size from the content of described amplification/dwindle type stores part.
7. according to the described character generating apparatus of claim 6, wherein said amplification/dwindle part is according to by described amplification/dwindle amplification/minification that the type switching part is determined, use the x of described character frame and y coordinate position and described textbox counting in the x and y direction, the coordinate position of the data of the shape of representing described at least one character is carried out coordinate transform.
8. character generating method comprises step:
Store each shape of at least one character;
Input and the corresponding character code of described at least one character that will generate;
Specify the corresponding bitmap size of textbox with described at least one character;
Change the amplification/minification of the vertical and level of character frame individually according to the type of the character code of being imported and specified bitmap size, prevent that simultaneously the character frame from exceeding textbox;
On behalf of the data of the shape of described at least one character, foundation will amplify/be reduced into specified bitmap size by the amplification/minification of the vertical and level of described change step appointment; With
The data that output is amplified/dwindled through described amplification/reduction process.
9. character generator program is used to make computing machine to carry out following step:
Store each shape of at least one character;
Input and the corresponding character code of described at least one character that will generate;
Specify the corresponding bitmap size of textbox with described at least one character;
Amplification/minification according to changed the vertical and level of character frame individually by the type of the character code of described character code input step input and the bitmap size by the appointment of described bitmap size given step prevents that simultaneously the character frame from exceeding textbox;
On behalf of the data of the shape of described at least one character, foundation will amplify/be reduced into specified bitmap size by the amplification/minification of the vertical and level of described change step appointment; With
The data that output is amplified/dwindled through described amplification/reduction process.
10. computer readable recording medium storing program for performing, a kind of character generator program of this recorded medium stores is used to make computing machine to carry out following step:
Store each shape of at least one character;
Input and the corresponding character code of described at least one character that will generate;
Specify the corresponding bitmap size of textbox with described at least one character;
According to changing the vertical of character frame and level amplification/minification individually with bitmap size, prevent that simultaneously the character frame from exceeding textbox by the appointment of described bitmap size given step by the type of the character code of described character code input step input;
According to by described amplification/the dwindle amplification/minification of type switch step appointment, specified bitmap size is amplified/be reduced into to the data of shape that will described at least one character of representative; With
The data that output is amplified/dwindled through described amplification/reduction process.
CNB2004100493151A 2003-06-10 2004-06-10 Device, method and program of character generation and storage medium Expired - Fee Related CN100356443C (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP165748/2003 2003-06-10
JP2003165748A JP4079366B2 (en) 2003-06-10 2003-06-10 CHARACTER GENERATION DEVICE, CHARACTER GENERATION METHOD, CHARACTER GENERATION PROGRAM, AND STORAGE MEDIUM
JP165748/03 2003-06-10

Publications (2)

Publication Number Publication Date
CN1573911A true CN1573911A (en) 2005-02-02
CN100356443C CN100356443C (en) 2007-12-19

Family

ID=34092134

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100493151A Expired - Fee Related CN100356443C (en) 2003-06-10 2004-06-10 Device, method and program of character generation and storage medium

Country Status (5)

Country Link
JP (1) JP4079366B2 (en)
KR (1) KR100594554B1 (en)
CN (1) CN100356443C (en)
HK (1) HK1073912A1 (en)
TW (1) TWI271642B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101213588B (en) * 2005-07-04 2011-01-19 三菱电机株式会社 Image generation device and method, and image display device and method
CN101964199A (en) * 2010-11-04 2011-02-02 深圳市万兴软件有限公司 Method and device for customizing font size of DVD menu texts
CN109657203A (en) * 2017-10-12 2019-04-19 北大方正集团有限公司 Method, the system of the literal size adjustment of character library
CN111027550A (en) * 2019-12-17 2020-04-17 北大方正集团有限公司 Method and device for adjusting visual gravity center of word stock

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3879932B2 (en) * 2005-01-14 2007-02-14 シャープ株式会社 Character data generation device, program and recording medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3021547B2 (en) * 1989-09-29 2000-03-15 セイコーエプソン株式会社 Character pattern generation method
JPH04177295A (en) * 1990-11-09 1992-06-24 Nec Off Syst Ltd Character generating device
JP2806679B2 (en) * 1992-03-12 1998-09-30 日本電気オフィスシステム株式会社 Character generator
JPH06208366A (en) * 1993-01-11 1994-07-26 Nec Corp Character size change system
JP3037023B2 (en) * 1993-06-23 2000-04-24 日本電気オフィスシステム株式会社 Character generator
US5590247A (en) * 1993-08-31 1996-12-31 Casio Computer Co., Ltd. Character string outputting method and apparatus capable of varying sizes of characters
JPH1055364A (en) * 1996-08-09 1998-02-24 Matsushita Electric Ind Co Ltd Character and figure editing device
JP2000163044A (en) * 1998-11-30 2000-06-16 Sharp Corp Picture display device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101213588B (en) * 2005-07-04 2011-01-19 三菱电机株式会社 Image generation device and method, and image display device and method
CN101964199A (en) * 2010-11-04 2011-02-02 深圳市万兴软件有限公司 Method and device for customizing font size of DVD menu texts
CN101964199B (en) * 2010-11-04 2012-08-29 深圳市万兴软件有限公司 Method and device for customizing font size of DVD menu texts
CN109657203A (en) * 2017-10-12 2019-04-19 北大方正集团有限公司 Method, the system of the literal size adjustment of character library
CN111027550A (en) * 2019-12-17 2020-04-17 北大方正集团有限公司 Method and device for adjusting visual gravity center of word stock
CN111027550B (en) * 2019-12-17 2023-09-08 新方正控股发展有限责任公司 Method and device for adjusting visual center of gravity of word stock

Also Published As

Publication number Publication date
TWI271642B (en) 2007-01-21
KR20040111006A (en) 2004-12-31
TW200515264A (en) 2005-05-01
JP4079366B2 (en) 2008-04-23
CN100356443C (en) 2007-12-19
KR100594554B1 (en) 2006-06-30
JP2005003827A (en) 2005-01-06
HK1073912A1 (en) 2005-10-21

Similar Documents

Publication Publication Date Title
CN1027472C (en) Character generating method and apparatus
CN1107902C (en) Apparatus for and method of confreolling output
CN1607491A (en) System and method for Chinese input using a joystick
CN1015749B (en) A valuator menu for use as a user interface tool
CN1187985C (en) System for moving image transmitting/receiving using wireless communication and method of same
CN1881170A (en) Print data editing apparatus and method for editing print data
CN101076166A (en) Device having display buttons and display method and medium for the device
CN1276373C (en) Apparatus and method for information processing and recording medium and program used therefor
CN1497438A (en) Device and method of character generating and computer readable storage medium of recording its program
CN1929383A (en) Image processing method, image processing apparatus, and storage medium
CN2706801Y (en) Font processor and terminal apparatus
CN1702734A (en) Rendering a graphical object when a corresponding outline lacks control points
CN1099096C (en) Character generation device
CN1093953C (en) Character pattern generating apparatus
CN1573911A (en) Device, method and program of character generation and storage medium
CN1217524A (en) Character-picture generator, character generating method and storage medium thereof
CN1071976C (en) Character generating method and apparatus
CN1152762A (en) Method and device for processing character
CN1505384A (en) Method and apparatus and program for image processing
CN1659622A (en) Display apparatus, information display method, information display program, readable recording medium, and information apparatus
JP2016206603A (en) Image forming apparatus and image processing program
CN1109311C (en) Apparatus and method for inserting specified character codes between characters
CN1892699A (en) Image-processing device and program
CN1177285C (en) Ultralarge Chinese character information treating device and method
CN101063904A (en) Chinese normalizing input method and keyboard thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1073912

Country of ref document: HK

C14 Grant of patent or utility model
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1073912

Country of ref document: HK

C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20071219

Termination date: 20130610