KR100594554B1 - Character generating apparatus, character generating method, and stroage medium - Google Patents

Character generating apparatus, character generating method, and stroage medium Download PDF

Info

Publication number
KR100594554B1
KR100594554B1 KR1020040042133A KR20040042133A KR100594554B1 KR 100594554 B1 KR100594554 B1 KR 100594554B1 KR 1020040042133 A KR1020040042133 A KR 1020040042133A KR 20040042133 A KR20040042133 A KR 20040042133A KR 100594554 B1 KR100594554 B1 KR 100594554B1
Authority
KR
South Korea
Prior art keywords
character
enlargement
frame
reduction
size
Prior art date
Application number
KR1020040042133A
Other languages
Korean (ko)
Other versions
KR20040111006A (en
Inventor
고따니아끼오
고야마노리유끼
Original Assignee
샤프 가부시키가이샤
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 샤프 가부시키가이샤 filed Critical 샤프 가부시키가이샤
Publication of KR20040111006A publication Critical patent/KR20040111006A/en
Application granted granted Critical
Publication of KR100594554B1 publication Critical patent/KR100594554B1/en

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

Abstract

적어도 하나의 문자 각각의 형상을 나타내는 데이터를 저장하는 저장 수단과, 발생시키는 문자에 대응하는 문자 코드를 입력하는 문자 코드 입력 수단과, 문자의 레터 프레임에 대응하는 비트맵 사이즈를 지정하는 사이즈 지정 입력 수단과, 입력된 문자 코드의 종류와 지정된 비트맵 사이즈에 의해, 문자 프레임이 레터 프레임에서 돌출되지 않는 범위에서 종횡별로 확대/축소 비율을 변경 가능하게 하는 확대/축소 타입 전환 수단과, 확대/축소 타입 전환 수단에 의해 구해진 확대/축소 비율로, 적어도 하나의 문자의 형상을 나타내는 데이터를, 지정된 비트맵 사이즈로 확대/축소하는 확대/축소 수단과, 상기 확대/축소 수단에 의해서 확대/축소된 데이터를 출력하는 출력 수단을 구비하는 문자 발생 장치가 제공된다. Storage means for storing data representing the shape of each of the at least one character, character code input means for inputting a character code corresponding to a character to be generated, and size designation input for specifying a bitmap size corresponding to a letter frame of the character Means, and an enlargement / reduction type switching means for allowing the aspect ratio to be changed from aspect to aspect within the range in which the character frame does not protrude from the letter frame by the type of the input character code and the designated bitmap size. An enlargement / reduction means for expanding / reducing data representing the shape of at least one character to a designated bitmap size at an enlargement / reduction ratio obtained by the type switching means, and data enlarged / reduced by the enlargement / reduction means There is provided a character generating apparatus having an output means for outputting the.

문자, 확대, 축소, 비트맵, 코드, 데이터, 형상, 사이즈Text, enlarge, reduce, bitmap, code, data, shape, size

Description

문자 발생 장치, 문자 발생 방법, 및 저장 매체{CHARACTER GENERATING APPARATUS, CHARACTER GENERATING METHOD, AND STROAGE MEDIUM}Character generator, character generator, and storage medium {CHARACTER GENERATING APPARATUS, CHARACTER GENERATING METHOD, AND STROAGE MEDIUM}

도 1은 본 발명의 문자 발생 장치의 제1 실시예에서의 주요부 구성을 도시하는 블록도. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram showing the configuration of main parts in a first embodiment of a character generator of the present invention.

도 2a는 문자 프레임과 레터 프레임과 문자 「胃」를 구성하는 각 스트로크의 좌표 위치를 도시하는 도면. 2A is a diagram showing coordinate positions of each stroke constituting a character frame, a letter frame, and the character "문자";

도 2b는 문자 프레임과 레터 프레임과 문자 「エ」을 구성하는 각 스트로크의 좌표 위치를 도시하는 도면. Fig. 2B is a diagram showing the coordinate positions of each stroke constituting the character frame, the letter frame, and the character "E".

도 2c는 문자 프레임과 레터 프레임과 문자 「三」을 구성하는 각 스트로크의 좌표 위치를 도시하는 도면. Fig. 2C is a diagram showing the coordinate positions of each stroke constituting the character frame, the letter frame, and the character "Th".

도 3a는 도 1의 저장 수단에 저장된 문자 데이터 「胃」의 저장 상태를 도시하는 도면. FIG. 3A is a diagram showing a storage state of character data "#" stored in the storage means of FIG.

도 3b는 도 1의 저장 수단에 저장된 문자 데이터 「エ」의 저장 상태를 도시하는 도면. FIG. 3B is a diagram showing a storage state of character data "エ" stored in the storage means of FIG.

도 3c는 도 1의 저장 수단에 저장된 문자 데이터 「三」의 저장 상태를 도시하는 도면. 3C is a diagram showing a storage state of character data "three" stored in the storage means of FIG.

도 4는 도 1의 확대/축소 타입 저장 수단에 저장된 확대/축소 타입의 종류 및 그 내용을 도시하는 도면. FIG. 4 is a diagram showing the types and contents of zoom types stored in the zoom type storage means of FIG.

도 5는 도 1의 확대/축소 타입 저장 수단에 설정되어 있는 확대/축소 타입의 일례를 도시하는 도면. 5 is a diagram showing an example of an enlargement / reduction type set in the enlargement / reduction type storage means of FIG.

도 6은 도 1의 사이즈 지정 입력 수단으로부터 입력된 비트맵 사이즈에 의해 결정되는 확대/축소 타입을 도시하는 도면. FIG. 6 is a diagram showing an enlargement / reduction type determined by the bitmap size input from the size designation input means in FIG. 1; FIG.

도 7은 도 1의 문자 발생 장치에 의한 문자 발생 방법의 각 처리 수순을 설명하기 위한 흐름도. FIG. 7 is a flowchart for explaining each processing procedure of the character generation method by the character generator of FIG. 1; FIG.

도 8a는 도 3a의 문자 데이터 「胃」를 확대/축소 타입 A로 확대/축소 변환한 문자 데이터를 도시하는 도면. FIG. 8A is a diagram illustrating character data obtained by enlarging / reducing the character data "胃" in FIG. 3A into an enlarged / reduced type A. FIG.

도 8b는 도 3a의 문자 데이터 「胃」를 확대/축소 타입 C로 확대/축소 변환한 문자 데이터를 도시하는 도면. FIG. 8B is a diagram showing character data obtained by enlarging / reducing the character data "胃" in FIG. 3A into an enlargement / reduction type C. FIG.

도 8c는 도 3a의 문자 데이터 「胃」를 확대/축소 타입 B로 확대/축소 변환한 문자 데이터를 도시하는 도면. FIG. 8C is a diagram illustrating character data obtained by enlarging / reducing the character data "胃" in FIG. 3A into an enlarged / reduced type B. FIG.

도 9의 (a)∼(d)는 각각 확대/축소 타입별로 변환된 문자의 상태를 도시하는 도면. 9A to 9D are diagrams showing the state of characters converted for each enlargement / reduction type.

도 10의 (a)∼(c)는 각각 도 3b의 문자 데이터 「エ」을 각 확대/축소 타입 A 또는 B로 각각 확대/축소 변환한 문자 데이터를 도시하는 도면. 10A to 10C are diagrams showing character data obtained by enlarging and reducing the character data "E" of FIG. 3B to each enlargement / reduction type A or B, respectively.

도 11은 도 3c의 문자 데이터 「三」을 확대/축소 변환한 문자 데이터를 도시하는 도면. FIG. 11 is a diagram showing character data obtained by enlarging / reducing the character data “三” of FIG. 3C. FIG.

도 12의 (a-1)∼(a-3)은 각각, 종래 기술에 의해 확대/축소시킨 문자열을 도 시하는 도면이고, 도 12의 (b-1)∼(b-3)은 각각, 본 실시예의 문자 발생 방법에 의해 확대/축소시킨 문자열을 도시하는 도면. 12A to 12A are diagrams illustrating character strings enlarged / reduced according to the prior art, respectively, and FIGS. A diagram showing a character string enlarged / reduced by the character generation method of the present embodiment.

도 13의 (a) 및 (b)는 각각, 종래의 문자 프레임과 레터 프레임과 보디 프레임에 대하여 설명하기 위한 도면. 13A and 13B are diagrams for explaining a conventional character frame, letter frame, and body frame, respectively.

도 14의 (a) 및 (b)는 각각, 종래의 문자의 레터 프레임과 보디 프레임과의 비율을 바꾼 예를 도시하는 도면. 14A and 14B are diagrams showing an example in which the ratio between the letter frame and the body frame of a conventional character is changed, respectively.

도 15의 (a)은 종래 기술에 의해 레터 프레임과 보디 프레임과의 비율을 바꾸지 않고 확대/축소한 상태의 문자열를 도시하는 도면이고, (b)는 레터 프레임과 보디 프레임과의 비율을 바꿔 확대/축소한 상태의 문자열을 도시하는 도면. (A) is a figure which shows the character string of the enlarged / reduced state without changing the ratio of a letter frame and a body frame by prior art, (b) shows the enlargement / change of the ratio of a letter frame and a body frame. A figure showing a string in a reduced state.

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>

1 : 저장 수단1: storage means

2 : 문자 코드 입력 수단2: character code input means

3 : 사이즈 지정 입력 수단3: size designation input means

4 : 확대/축소 타입 전환 수단4: Zoom type switching means

5 : 확대/축소 수단5: zoom means

6 : 확대/축소 타입 저장 수단6: Zoom type storage means

7 : 출력 수단7: output means

10 : 문자 발생 장치 10: character generator

<관련 기술><Related Technology>

본 출원은, 35 U.S.C. §119(a)를 기초로, 일본에 2003년 6월 10일에 출원된 특허 출원 제2003-165748호를 우선권으로 주장하며, 그것의 모든 내용이 여기에서 참조로 사용된다.This application, 35 U.S.C. On the basis of § 119 (a), it claims priority to patent application No. 2003-165748 filed on June 10, 2003 in Japan, all of which is hereby incorporated by reference.

본 발명은 문자의 형상을 나타내는 데이터로부터 문자를 발생시키는 문자 발생 장치, 문자 발생 방법, 이 방법의 처리 수순을 컴퓨터에 실행시키기 위한 문자 발생 프로그램에 관한 것이다. 본 발명은 또한 이 프로그램이 기록된 컴퓨터 판독 가능 기록 매체에 관한 것이다. 본 발명은, 예를 들면 액정 디스플레이, EL 디스플레이, 플라즈마 디스플레이, CRT 등과 같이 해상도가 낮은 표시 장치에 적합하게 이용된다. The present invention relates to a character generating apparatus for generating a character from data representing the shape of a character, a character generating method, and a character generating program for causing a computer to execute a processing procedure of the method. The invention also relates to a computer readable recording medium having recorded thereon the program. The present invention is suitably used for a low resolution display device such as a liquid crystal display, an EL display, a plasma display, a CRT, or the like.

이하에, 종래의 문자 발생 장치에 대하여 설명한다. The conventional character generator will be described below.

예를 들면 도 13의 (a)의 프레임 내에 도시하는 「胃」나, 도 13(b)의 프레임 내에 도시하는 「エ」 등의 문자 정보를 포함하여, 문장을 표현하기 위해 필요한 한 벌의 문자의 세트를 폰트라고 한다. 이들 문자 세트(폰트)에는, 예를 들면 JIS 코드, 시프트 JIS 코드, EUC 코드, JIS 도형 문자 코드, UNICODE 등의 문자 코드가 할당되어 있다. 이들 폰트는, 상기 코드의 모두를 망라하는 문자를 포함할 수 있다. 대안으로, 예를 들면, 카나(KANA : 일본 자음 문자) 종류만 또는, 숫자만의 폰트이어도 된다. For example, a set of characters necessary for expressing a sentence including character information such as "胃" shown in the frame of FIG. 13A and "E" shown in the frame of FIG. 13B. Is called a font. Character codes, such as JIS code, shift JIS code, EUC code, JIS graphic character code, UNICODE, are allocated to these character sets (font), for example. These fonts may include characters that cover all of the codes. Alternatively, for example, only KANA (Japanese Consonant Characters) type or numbers only font may be used.

폰트를 구성하는 도 13의 (a)의 「胃」나 도 13(b)의 「エ」 등은 문자라고 한다. 폰트에 포함되어 있는 문자는, 도 13에 W3로 도시하는 보디 프레임을 갖고 있다. 이 보디 프레임은, 복수의 문자가 문자열로서, 인접하는 문자의 보디 프레임끼리 접하도록, 세로 또는 가로로 배열되었을 때에, 필요하게 되는 문자간이나 행간을 포함하는 프레임으로서 정의된다. 동일폰트 내의 모든 문자에 대하여는 공통 사이즈의 보디 프레임이 설정되어 있다. "胃" in FIG. 13A and "E" in FIG. 13B constituting the font are referred to as characters. The characters contained in the font have a body frame shown by W3 in FIG. This body frame is defined as a frame including between characters and between lines required when a plurality of characters are arranged as vertically or horizontally so that a plurality of characters are in contact with each other's body frames. A body frame of a common size is set for all characters in the same font.

또한, 폰트에 포함되어 있는 각각의 문자는, 도 13에 W2로 도시하는 레터 프레임을 갖고 있다. 이 레터 프레임은, 문자의 글자 모양이 디자인되는 최대의 사이즈를 갖는 프레임으로서 정의된다. 동일 폰트 내의 모든 문자에 대하여 공통된 사이즈의 레터 프레임이 설정되어 있다. In addition, each character contained in a font has the letter frame shown by W2 in FIG. This letter frame is defined as a frame having the largest size for which the letter shape of a character is designed. Letter frames of a common size are set for all characters in the same font.

또한, 폰트에 포함되어 있는 각각의 문자는, 도 13에 W1에 도시하는 문자 프레임을 갖고 있다. 이 문자 프레임은, 문자의 글자 모양이 실제로 디자인되어 있는 범위를 도시한다. 따라서, 문자 프레임은 각 문자마다 변하는 사이즈를 갖는다. 도 13의 (a) 및 (b)에 도시한 바와 같이, 문자 프레임은, 각각의 문자에 대하여 다른 사이즈의 직사각형에 의해 표시되어 있다. 예를 들면, 도 13의 (a)에 도시하는 「胃」의 문자 프레임은 도 13(b)에 도시하는 「エ」의 문자 프레임보다도 큰 직사각형으로 표시된다. In addition, each character contained in a font has the character frame shown to W1 in FIG. This character frame shows the range in which the letter shape of the character is actually designed. Thus, the character frame has a size that varies for each character. As shown in Figs. 13A and 13B, the character frames are represented by rectangles of different sizes for each character. For example, the character frame "胃" shown in FIG. 13A is displayed as a rectangle larger than the character frame "E" shown in FIG. 13B.

도 13의 (a) 및 도 13(b)에서는, 간략화를 위해, 문자의 형상을 문자의 골격 형상을 나타내는 스트로크 데이터로 도시하고 있지만, 문자의 형상은, 문자의 윤곽 형상을 나타내는 아우트라인 데이터로 도시해도 된다. In FIGS. 13A and 13B, for the sake of simplicity, the shape of the letter is shown as stroke data indicating the skeleton shape of the letter, but the shape of the letter is shown as outline data indicating the outline shape of the letter. You may also

이러한 문자의 형상을 나타내는 데이터로부터 문자를 발생시키는 종래 기술 로서, 예를 들면 일본 특개평 4-177295호 공보 및 일본 특개평 5-257450호 공보에는, 사식기나 프린터 등의 해상도가 높은 인쇄 장치에 의해 문자열을 인자할 때에, 문자 사이즈에 대응하여, 보디 프레임에 대한 레터 프레임의 비율을 변화시키는 것에 의해, 자연스럽고 균형이 잡힌 문자열을 출력시키는 문자 발생 장치가 개시되어 있다. As a conventional technique for generating a character from data representing the shape of such a character, for example, Japanese Patent Laid-Open No. 4-177295 and Japanese Patent Laid-Open No. 5-257450 are disclosed by a printing device having a high resolution such as a printing machine or a printer. When printing a character string, the character generation apparatus which outputs a natural and balanced character string by changing the ratio of the letter frame with respect to a body frame corresponding to a character size is disclosed.

도 14의 (a) 및 도 14(b)에 그 일례를 도시하고 있다. 도 14의 (a)의 「胃」나「エ」의 보디 프레임에 대한 레터 프레임의 비율은, 도 14(b)의 「胃」나 「エ」의 보디 프레임에 대한 레터 프레임의 비율에 비하여 더 크다. An example thereof is shown in Figs. 14A and 14B. The ratio of the letter frame to the body frame of "B" or "E" of FIG. 14A is more than the ratio of the letter frame to the body frame of "B" or "E" of FIG. 14B. Big.

도 15(a) 및 도 15(b)에, 실제로 문자가 인자된 예를 나타내고 있다. 도 15(a)에서는, 세개의 문자열은, 보디 프레임에 대한 레터 프레임의 비율이 동일하게 되어 있다. 또한, 도 15(b)에서는, 세개의 문자열 각각은, 보디 프레임에 대한 레터 프레임의 비율이 상이하고, 문자가 커짐에 따라(상부열), 레터 프레임이 커지고 있다. 이것에 의해, 인접하는 문자의 보디 프레임끼리 접하도록, 세로 방향 또는 가로 방향으로 문자가 배열했을 때에, 문자와 문자와의 자간이 개방하여 너무 넓어지지 않도록 조정하여, 문자를 크게 보일 수 있다. 15A and 15B show an example in which characters are actually printed. In Fig. 15A, the three character strings have the same ratio of letter frames to body frames. In Fig. 15B, the three character strings have different ratios of the letter frame to the body frame, and the letter frame increases as the characters become larger (upper row). Thereby, when the characters are arranged in the vertical direction or the horizontal direction so that the body frames of the adjacent characters are in contact with each other, the characters can be made large by adjusting the space between the characters and the letters so as not to be too wide.

그러나, 예를 들면, 도 15(a)에서, 레터 프레임과 보디 프레임과의 비율을 유지한 상태에서 문자를 확대시키면, 문자와 문자와의 사이의 공간도 넓어지기 때문에, 문자열이 변동되어 읽기 어렵게 되는 문제가 있다. However, for example, in FIG. 15A, when the letter is enlarged while maintaining the ratio between the letter frame and the body frame, the space between the letter and the letter also becomes wider, so that the character string is changed and difficult to read. There is a problem.

이러한 문제는, 상기 일본 특개평 4-177295호 공보 및 일본 특개평 5-257450호 공보에 의해 해결된다. 예를 들면, 도 15(b)에서는, 레터 프레임과 보디 프레 임과의 비율을 바꿔 문자를 확대/축소 처리를 행하고, 문자가 커진 경우에, 문자가 작을 때와 비교하여 보디 프레임에 대한 레터 프레임의 비율을 크게 하여 문자와 문자와의 공간을 조정함으로써, 문자열의 변동을 억제하도록 고안되고 있다. This problem is solved by Japanese Patent Laid-Open No. 4-177295 and Japanese Patent Laid-Open No. 5-257450. For example, in Fig. 15 (b), the letter frame is enlarged and reduced in size by changing the ratio between the letter frame and the body frame, and when the letter is large, the letter frame for the body frame is compared with when the letter is small. It is designed to suppress the fluctuation of the character string by adjusting the space between the character by increasing the ratio of the character.

이 일본 특개평 4-177295호 공보 및 일본 특개평 5-257450호 공보에 개시되어 있는 종래 기술에서는, 예를 들면 도 13의 (a) 및 도 13(b)에 도시하는 레터 프레임 W2와 보디 프레임 W3과의 비율을 조정하여, 문자를 크게 보이거나 작게 보이거나 하는 것이 가능하게 된다. In the prior art disclosed in Japanese Patent Laid-Open No. 4-177295 and Japanese Patent Laid-Open No. 5-257450, for example, the letter frame W2 and the body frame shown in Figs. 13A and 13B are shown. By adjusting the ratio with W3, it becomes possible to make a character appear large or small.

그러나, 예를 들면 액정 디스플레이, EL 디스플레이, 플라즈마 디스플레이 및 CRT 등의 해상도가 낮은 표시 장치에 있어서, 적은 비트맵 수로 문자를 표시시키는 경우에는, 문자 프레임을 의도적으로 레터 프레임에 맞추지 않으면, 개개의 문자의 크기에 변동이 발생하여, 읽기 어렵게 되는 문제가 발생한다. However, in a display device having a low resolution, such as a liquid crystal display, an EL display, a plasma display, and a CRT, for example, when characters are displayed with a small number of bitmaps, the characters are not individually intentionally aligned with the letter frame. A variation occurs in the size of, resulting in a problem that becomes difficult to read.

이러한 경우에, 상기 일본 특개평 4-177295호 공보 및 일본 특개평 5-257450호 공보에 개시되어 있는 종래 기술에서는, 상기 도 13의 (a) 및 도 13의 b에 도시하는 레터 프레임 W2에 대하여 문자 프레임 W1의 좌표 위치나 문자 프레임의 중심인 원점 정보가 정의되어 있지 때문에, 레터 프레임 W2와 보디 프레임 W3과의 비율 정보만으로는, 문자를 의도적으로 레터 프레임에 정합할 수 없다는 문제가 있었다. 이하에, 이 문제에 대하여 상세히 설명한다. In this case, in the prior art disclosed in Japanese Patent Laid-Open No. 4-177295 and Japanese Patent Laid-Open No. 5-257450, the letter frame W2 shown in Figs. 13A and 13B is shown. Since the coordinate position of the character frame W1 and the origin information as the center of the character frame are not defined, there is a problem that the letter cannot be intentionally matched to the letter frame only by the ratio information between the letter frame W2 and the body frame W3. This problem will be described in detail below.

도 2a에 도시한 바와 같은 스트로크 데이터 「胃」를 일례로 예를 들어, 문자 프레임의 좌표 위치나 문자 프레임의 중심인 원점 정보를 이용하여, 문자를 레터 프레임에 정합하는 방법에 대하여 설명한다. As an example, the method of matching a character to a letter frame using the stroke data "X" as shown in FIG. 2A as an example and using the origin position which is the coordinate position of a character frame or the center of a character frame is demonstrated.

문자 「胃」의 가로 방향의 스트로크 #1-2로부터 레터 프레임의 상단까지의 거리는, 레터 프레임의 상단의 y 좌표값 255로부터 스트로크 #1-2의 y 좌표값 241을 뺀 14이다. 또한, 최종의 스트로크 #1-10부터 레터 프레임의 하단까지의 거리는, 스트로크 #1-10의 y 좌표값 9로부터 레터 프레임의 하단의 y 좌표 0을 뺀 9이다. The distance from the horizontal stroke # 1-2 of the letter "胃" to the upper end of the letter frame is 14 minus the y coordinate value 241 of the stroke # 1-2 from the y coordinate value 255 of the upper end of the letter frame. The distance from the final stroke # 1-10 to the lower end of the letter frame is 9 minus the y coordinate 0 of the lower end of the letter frame from the y coordinate value 9 of the stroke # 1-10.

문자 「胃」의 경우, y 방향의 원점은, (255-(14+9))/2+9)=125로 된다. 또한, 확대/축소율은, 255/(255-(14+9))=1.1로 구해져, 약 1.1로 된다. In the case of the character "胃", the origin in the y direction is (255- (14 + 9)) / 2 + 9) = 125. In addition, the enlargement / reduction ratio is calculated as 255 / (255- (14 + 9)) = 1.1, and becomes about 1.1.

스트로크 #1-2의 y 좌표 241을 원점의 y좌표 125 및 확대/축소율 1.1을 이용하여 레터 프레임에 접하도록 확대하면, y=(241-125)×1.1+127.5=255로 계산되어, y 좌표값은 255로 되어, 레터 프레임의 상단의 y 좌표값 255와 일치한다. 또한, 스트로크 #1-10의 y 좌표 9를 원점의 y좌표 125 및 확대/축소율 1.1을 이용하여 레터 프레임에 접하도록 확대하면, y=(9-125)×1.1+127.5=0으로 계산되어, y 좌표값은 0로 되고, 레터 프레임의 하단의 y 좌표값=0과 일치한다. If y coordinate 241 of stroke # 1-2 is enlarged to contact the letter frame using y coordinate 125 of origin and zoom factor 1.1, then y = (241-125) x 1.1 + 127.5 = 255, resulting in y coordinate The value is 255, which corresponds to the y coordinate value 255 at the top of the letter frame. Further, if y coordinate 9 of stroke # 1-10 is enlarged to contact the letter frame using y coordinate 125 of the origin and zoom factor 1.1, it is calculated as y = (9-125) × 1.1 + 127.5 = 0, The y coordinate value becomes 0, and coincides with the y coordinate value = 0 at the bottom of the letter frame.

이것에 대하여, 일본 특개평 4-177295호 공보 및 일본 특개평 5-257450호 공보는 문자 프레임의 원점을 이용하지 않는다. 도 15의 (b)를 참조하면, 이러한 종래기술에서는, 보디 프레임 W 3에 대한 레터 프레임 W 2의 비율을 변화시켜 확대/축소 처리를 행할 때에, 예를 들면 도 2a에 도시하는 문자 「胃」의 예에서, y 방향의 확대/축소 처리의 원점을 레터 프레임의 중심 127.5로 하고, 확대/축소율을 상기 방법과 동일한 1.1로 한 경우, 스트로크 #1-2의 y 좌표 241을 상기 수치를 이용하여 확대하면, y=(241-127.5)×1.1+127.5=252로 계산되고, y 좌표값은 252로 되 어 레터 프레임의 상단의 y 좌표값 255와 일치하지 않는다. 또, 스트로크 #1-10의 y 좌표 9를 상기 수치를 이용하여 확대하면, y=(9-127.5)×1.1+127.5=3으로 계산되고, y 좌표값은 3으로 되어 레터 프레임의 하단의 y 좌표값=0과 일치하지 않는다. On the other hand, Japanese Patent Laid-Open Nos. 4-177295 and 5-5257450 do not use the origin of a character frame. Referring to Fig. 15B, in such a prior art, when the enlargement / reduction process is performed by changing the ratio of the letter frame W2 to the body frame W3, for example, the character "胃" shown in Fig. 2A is performed. In the above example, when the origin of the enlargement / reduction process in the y direction is 127.5 as the center of the letter frame, and the enlargement / reduction ratio is 1.1 which is the same as the above method, the y coordinate 241 of the stroke # 1-2 is obtained by using the above numerical values. If enlarged, y = (241-127.5) x 1.1 + 127.5 = 252, and the y coordinate value is 252, which does not coincide with the y coordinate value 255 at the top of the letter frame. If y coordinate 9 of stroke # 1-10 is enlarged using the above numerical value, it is calculated as y = (9-127.5) × 1.1 + 127.5 = 3, and y coordinate value becomes 3 so that y at the lower end of the letter frame Does not coincide with the coordinate value = 0.

이와 같이, 문자를 레터 프레임에 맞추기 위해서는, 문자 프레임의 좌표 위치나 문자 프레임의 중심인 원점 정보가 필요해진다. 예를 들면, 문자 프레임의 좌표 위치 또는 y 방향의 원점 정보가 없고, y 방향의 확대/축소 처리의 원점을 레터 프레임의 중심으로 한 경우에, 문자 프레임의 상하를 레터 프레임의 상하에 정합할 수 없다. In this way, in order to align the character with the letter frame, the origin information which is the coordinate position of the character frame or the center of the character frame is required. For example, if there is no coordinate position of the character frame or origin information in the y direction, and the origin of the enlargement / reduction process in the y direction is the center of the letter frame, the top and bottom of the character frame can be matched up and down the letter frame. none.

본 발명의 일 태양에 따라, 본 발명의 문자 발생 장치는, 적어도 하나의 문자 각각의 형상을 저장하는 저장 수단과, 발생시키는 적어도 하나의 문자에 대응하는 문자 코드를 입력하는 문자 코드 입력 수단과, 적어도 하나의 문자의 레터 프레임에 대응하는 비트맵 사이즈를 지정하는 사이즈 지정 입력 수단과, 입력된 문자 코드의 종류와 지정된 비트맵 사이즈에 의해, 문자 프레임이 레터 프레임에서 돌출되지 않는 범위에서 종횡별로 비율을 변경 가능하게 하는 확대/축소 타입 전환 수단과, 해당 확대/축소 타입 전환 수단에 의해 구해진 비율로, 적어도 하나의 문자의 형상을 나타내는 데이터를, 지정된 비트맵 사이즈로 확대 축소하는 확대/축소 수단과, 해당 확대/축소 수단에 의해 확대/축소된 데이터를 출력하는 출력 수단을 구비한다. According to one aspect of the present invention, a character generating apparatus of the present invention comprises: storage means for storing a shape of each of at least one character, character code input means for inputting a character code corresponding to at least one character to be generated, Size-specific input means for specifying a bitmap size corresponding to a letter frame of at least one character, and the ratio of the character frame to the aspect ratio in the range in which the character frame does not protrude from the letter frame by the type of the input character code and the designated bitmap size. And zoom-in type switching means for changing the size, and zoom-in / out means for expanding / reducing data representing the shape of at least one character to a designated bitmap size at a ratio obtained by the zoom-in / out type switching means. And output means for outputting data enlarged / reduced by the enlargement / reduction means.

본 발명의 일 실시예에서, 본 발명의 문자 발생 장치에서의 확대/축소 타입 전환 수단은, 상기 비트맵 사이즈로 제1 사이즈를 정하고, 지정 비트맵 사이즈가 해당 제1 사이즈 미만인 경우, 상기 문자 프레임의 상하 좌우가 레터 프레임의 상하 좌우에 접하는 방향으로 종횡별로 비율을 바꾸는 것을 특징으로 한다. In one embodiment of the present invention, the enlargement / reduction type switching means in the character generator of the present invention determines the first size with the bitmap size, and if the designated bitmap size is less than the first size, the character frame. The upper and lower sides of the letter frame is characterized in that the ratio is changed by the vertical and horizontal directions in contact with the upper and lower sides.

본 발명의 일 실시예에서, 본 발명의 문자 발생 장치에서의 확대/축소 타입 전환 수단은, 상기 비트맵 사이즈로 제2 사이즈를 정하고, 지정 비트맵 사이즈가 해당 제2 사이즈 이상인 경우, 문자 프레임과 레터 프레임의 비율을 유지하는 것을 특징으로 한다. In one embodiment of the present invention, the enlargement / reduction type switching means in the character generator of the present invention determines the second size with the bitmap size, and if the designated bitmap size is equal to or larger than the second size, It is characterized by maintaining the ratio of the letter frame.

본 발명의 일 실시예에서, 본 발명의 문자 발생 장치에서의 확대/축소 타입 전환 수단은, 상기 비트맵 사이즈로 제1 사이즈와 제2 사이즈를 정하고, 지정 비트맵 사이즈가 해당 제1 사이즈 이상, 해당 제2 사이즈 미만인 경우에, 문자 프레임의 상하 또는 좌우가 레터 프레임의 상하 또는 좌우 각각에 접하는 방향으로 종횡의 확대/축소 비율을 바꾸는 것을 특징으로 한다. In one embodiment of the present invention, the enlargement / reduction type switching means in the character generator of the present invention determines the first size and the second size with the bitmap size, and the designated bitmap size is equal to or greater than the first size, When the size is less than the second size, the vertical / horizontal enlargement / reduction ratio is changed in a direction in which the upper and lower sides or the left and right sides of the character frame are in contact with each of the upper and lower sides or the left and right sides of the letter frame.

본 발명의 일 실시예에서, 본 발명의 문자 발생 장치에서의 확대/축소 타입 전환 수단은, 상기 문자 코드 입력 수단에 의해 입력된 문자 코드가 한자 이외의 경우, 문자 프레임과 레터 프레임의 비율을 유지하는 것을 특징으로 한다. In one embodiment of the present invention, the enlargement / reduction type switching means in the character generator of the present invention maintains the ratio of the character frame and the letter frame when the character code input by the character code input means is other than a Chinese character. Characterized in that.

본 발명의 일 실시예에서, 본 발명의 문자 발생 장치에서, 문자 코드 입력 수단에 의해 입력된 문자 코드와, 상기 사이즈 지정 입력 수단에 의해 지정된 비트맵 사이즈에 따라 적어도 하나의 확대/축소 타입이 저장된 저장 내용을 변경 가능하게 하는 확대/축소 타입 저장 수단을 더 갖고, 상기 확대/축소 타입 전환 수단은, 해당 문자 코드와 비트맵 사이즈와의 상호 관계에 대응한 확대/축소 타입을 확 대/축소 타입 저장 수단의 저장 내용으로부터 선택하는 것을 특징으로 한다. In one embodiment of the present invention, in the character generator of the present invention, at least one enlargement / reduction type is stored according to a character code input by a character code input means and a bitmap size specified by the size designation input means. The apparatus further includes an enlargement / reduction type storage means for changing the storage contents, and the enlargement / reduction type switching means further includes an enlargement / reduction type corresponding to the correlation between the character code and the bitmap size. And selecting from the stored contents of the storage means.

본 발명의 일 실시예에서, 본 발명의 문자 발생 장치에서의 확대/축소 수단은, 문자 프레임의 x 및 y의 좌표 위치와, 레터 프레임의 X 방향 및 y 방향의 도트 수를 이용하여, 상기 확대/축소 타입 전환 수단에 의해 결정된 확대/축소 비율에 대응하여, 적어도 하나의 문자의 형상을 나타내는 데이터의 좌표 위치를 좌표 변환하는 것을 특징으로 한다. In one embodiment of the present invention, the enlargement / reduction means in the character generating apparatus of the present invention uses the coordinate positions of the x and y coordinates of the character frame and the number of dots in the X and y directions of the letter frame. Coordinate transformation of the coordinate position of the data which shows the shape of at least one character corresponding to the enlargement / reduction ratio determined by the / reduction type switching means is carried out.

본 발명의 문자 발생 방법은, 적어도 하나의 문자 각각의 형상을 저장하는 저장 단계와, 발생시키는 적어도 하나의 문자에 대응하는 문자 코드를 입력하는 문자 코드 입력 단계와, 적어도 하나의 문자의 레터 프레임에 대응하는 비트맵 사이즈를 지정하는 사이즈 지정 입력 단계와, 입력된 문자 코드의 종류와 지정된 비트맵 사이즈에 의해 문자 프레임이 레터 프레임에서 돌출되지 않는 범위에서, 종횡별로 문자 프레임의 확대/축소 비율을 바꾸는 확대/축소 타입 전환 단계와, 해당 확대/축소 타입 전환 단계에서 구해진 종횡 확대/축소 비율로, 적어도 하나의 문자의 형상을 나타내는 데이터를 지정 비트맵 사이즈로 확대 축소하는 확대/축소 단계와, 해당 확대/축소 단계에 의해 확대/축소된 데이터를 출력시키는 출력 단계를 포함하는 것을 특징으로 한다. The character generation method of the present invention includes a storage step of storing a shape of each of the at least one character, a character code input step of inputting a character code corresponding to the at least one character to be generated, and a letter frame of the at least one character. Changes the character frame's zoom ratio vertically and horizontally in a size specification input step that specifies the corresponding bitmap size, and the character frame does not protrude from the letter frame by the type of the input character code and the specified bitmap size. An enlargement / reduction step of enlarging / reducing data representing the shape of at least one character to a specified bitmap size at a zoom-type switching step and an aspect ratio obtained at the zoom-type switching step; And an output step of outputting data enlarged / reduced by the reduction / reduction step. All.

본 발명의 문자 발생 프로그램은, 적어도 하나의 문자 각각의 형상을 나타내는 데이터를 저장하는 저장 단계와, 발생시키는 적어도 하나의 문자에 대응하는 문자 코드를 입력하는 문자 코드 입력 단계와, 적어도 하나의 문자의 레터 프레임에 대응하는 비트맵 사이즈를 지정하는 사이즈 지정 입력 단계와, 입력된 문자 코드의 종류와 지정된 비트맵 사이즈에 의해 문자 프레임이 레터 프레임에서 돌출되지 않는 범위에서, 종횡별로 문자 프레임의 확대/축소 비율을 바꾸는 확대/축소 타입 전환 단계와, 해당 확대/축소 타입 전환 단계에서 구해진 종횡 확대/축소 비율로, 적어도 하나의 문자의 형상을 나타내는 데이터를 지정 비트맵 사이즈로 확대 축소하는 확대/축소 단계와, 해당 확대/축소 단계에 의해 확대/축소된 데이터를 출력시키는 출력 단계를 컴퓨터에 실행시키기 위한 처리 수순이 기술되어 있다. The character generation program of the present invention includes a storage step of storing data representing the shape of each of the at least one character, a character code input step of inputting a character code corresponding to the at least one character to be generated, and A size specification input step for specifying a bitmap size corresponding to a letter frame, and the character frame is enlarged / reduced vertically and horizontally within a range in which the character frame does not protrude from the letter frame by the type of the input character code and the designated bitmap size. A zooming type switching step of changing a ratio, and a zooming step of zooming in and out of data representing at least one character's shape to a specified bitmap size at a vertical zooming ratio obtained at the zooming type switching step; , An output step of outputting data enlarged / reduced by the corresponding zoom step. A processing procedure for causing the computer to execute is described.

본 발명의 판독 가능 저장 매체는, 적어도 하나의 문자 각각의 형상을 저장하는 저장 단계와, 발생시키는 적어도 하나의 문자에 대응하는 문자 코드를 입력하는 문자 코드 입력 단계와, 적어도 하나의 문자의 레터 프레임에 대응하는 비트맵 사이즈를 지정하는 사이즈 지정 입력 단계와, 입력된 문자 코드의 종류와 지정된 비트맵 사이즈에 의해 문자 프레임이 레터 프레임에서 돌출되지 않는 범위에서, 종횡별로 문자 프레임의 확대/축소 비율을 바꾸는 확대/축소 타입 전환 단계와, 해당 확대/축소 타입 전환 단계에서 구한 종횡 확대/축소 비율로, 적어도 하나의 문자의 형상을 나타내는 데이터를 지정 비트맵 사이즈에 확대 축소하는 확대/축소 단계와, 해당 확대/축소 단계에 의해 확대/축소된 데이터를 출력시키는 출력 단계를 컴퓨터에 실행시키기 위한 문자 발생 프로그램이 기록된 컴퓨터 판독 가능하다. A readable storage medium of the present invention includes a storage step of storing a shape of each of at least one character, a character code input step of inputting a character code corresponding to at least one character to be generated, and a letter frame of at least one character. In the size specification input step for specifying the bitmap size corresponding to, and the character frame enlargement / reduction ratio for each aspect in the range where the character frame does not protrude from the letter frame by the type of the input character code and the specified bitmap size. An enlargement / reduction step of enlarging / reducing data representing the shape of at least one character to a designated bitmap size at the changing zoom type switching step and the aspect ratio obtained at the zoom type switching step; To cause the computer to execute an output step of outputting data enlarged / reduced by the zoom step. One character generating program is computer readable.

상기 구성에 의해, 이하에, 본 발명의 작용에 대하여 설명한다. By the above configuration, the operation of the present invention will be described below.

본 발명에서, 확대/축소 타입 전환 수단은, 문자 코드 입력 수단에 의해 입력된 문자 코드의 종류 및 사이즈 지정 입력 수단에 의해 지정된 비트맵 사이즈에 대응하고, 확대/축소 타입 전환 수단에 의해, 레터 프레임에서 돌출되지 않는 범위 에서, 문자 프레임의 종횡의 확대/축소율을 각각 변화시키기 위한 확대/축소 타입이 결정된다. 확대/축소 사이즈 전환 수단에 의해 설정된 확대/축소 타입에 대응하여, 확대/축소 수단에 의해, 저장 수단으로부터 판독된 문자의 형상을 나타내는 데이터가, 지정된 비트맵 사이즈로 확대 축소되어, 출력 수단으로부터 출력된다. In the present invention, the enlargement / reduction type switching means corresponds to the type of character code input by the character code input means and the bitmap size specified by the size designation input means, and the letter frame is enlarged by the enlargement / reduction type switching means. In the range that does not protrude from, the zoom type for varying the vertical and horizontal zoom ratios of the character frame is determined. Corresponding to the enlargement / reduction type set by the enlargement / reduction size switching means, by the enlargement / reduction means, the data representing the shape of the character read from the storage means is enlarged and reduced to the designated bitmap size and output from the output means. do.

예를 들면, 지정 비트맵 사이즈가, 인간이 문자를 보는 경우에 1 도트의 양자화 오차가 커서 영향을 주는 제1 사이즈 미만인 경우에는, 확대/축소 타입 전환 수단에 의해, 문자의 상하 좌우가 레터 프레임의 상하 좌우에 각각 접하는 방향으로, 문자 프레임이 세로 방향 및 가로 방향으로 각각 확대/축소되어, 문자를 동일한 크기로 일치시켜, 변동이 없는 읽기쉬운 문자열을 출력시킬 수 있다. For example, when the designated bitmap size is less than the first size in which a quantization error of one dot is large when a human sees a character, the letter frame is changed by the enlargement / reduction type switching means. In the direction of contact with the top, bottom, left, and right sides of, respectively, the character frame is enlarged / reduced in the vertical direction and the horizontal direction, so that the characters are matched in the same size, so that an easy-to-read character string can be output.

또한, 지정 비트맵 사이즈가, 인간이 문자를 보는 경우에 1 도트의 양자화 오차가 그다지 영향을 주지 않는 제2 사이즈 이상인 경우에는, 확대/축소 타입 전환 수단에 의해, 문자 프레임과 레터 프레임과의 비율을 소정의 비율로 유지시키는 것에 의해, 읽기쉬운 문자열을 출력시킬 수 있다. In addition, when the designated bitmap size is equal to or larger than the second size where the quantization error of one dot does not affect much when a human looks at the character, the ratio between the character frame and the letter frame is increased by the enlargement / reduction type switching means. By holding at a predetermined ratio, an easy-to-read string can be output.

또한, 지정 비트맵 사이즈가, 인간이 문자를 보는 경우에 1 도트의 양자화 오차가 커서 영향을 주는 제1 사이즈 이상으로, 또한, 1 도트의 양자화 오차가 그다지 영향을 주지 않는 제2 사이즈 미만인 경우에는, 확대/축소 타입 전환 수단에 의해, 문자의 상하 및 좌우 중 어느 한쪽이 레터 프레임에 접하는 방향으로, 문자 프레임의 세로 방향 및 가로 방향을 동일한 확대/축소율로 변화시키는 것에 의해, 문자를 동일한 크기와 일치시켜, 변동이 없는 읽기쉬운 문자열을 출력시킬 수 있다. In addition, when the designated bitmap size is greater than or equal to the first size where a quantization error of one dot is large when a human sees a character, and less than a second size where the quantization error of one dot does not affect much, , By changing the type of zooming type, by changing the vertical and horizontal directions of the character frame to the same magnification in the direction in which one of the upper and lower sides and the left and right of the character contact the letter frame. By matching, you can print an easy-to-read string that does not change.                         

또한, 지정 문자 코드가 한자가 아닌 경우에, 확대/축소 타입 전환 수단에 의해, 문자와 레터 프레임과의 비율을 소정의 비율로 유지시키는 것에 의해, 읽기쉬운 문자열을 출력할 수 있다. In addition, when the designated character code is not a Chinese character, an easy-to-read character string can be output by maintaining the ratio between the character and the letter frame at a predetermined ratio by the enlargement / reduction type switching means.

또한, 지정 문자 코드와 지정 비트맵 사이즈의 조합에 따라서 확대/축소 타입을 저장시킨 확대/축소 타입 저장 수단을 설치하여, 저장 내용을 변경시키는 것에 의해, 확대/축소 타입 전환 수단에서는, 확대/축소 타입 저장 수단에 저장되어 있는 확대/축소 타입을 선택함으로써, 문자 프레임의 세로 방향 및 가로 방향의 확대/축소율을 각각 변화시켜, 읽어 쉬운 문자열을 출력시킬 수 있다. Further, in the enlargement / reduction type switching means, by providing an enlargement / reduction type storage means in which the enlargement / reduction type is stored according to a combination of the designated character code and the designated bitmap size, and changing the storage contents, By selecting the enlargement / reduction type stored in the type storage means, it is possible to change the enlargement / reduction ratios in the vertical direction and the horizontal direction of the character frame, respectively, and output an easy-to-read string.

따라서, 본 발명은 해상도가 낮은 표시 장치 등에 문자열을 표시시키는 경우에, 문자를 레터 프레임에 맞추어 확대/축소 처리하여, 문자의 크기나 위치의 변동을 억제할 수 있는 문자 발생 장치, 문자 발생 방법, 이 방법의 처리 수순을 컴퓨터에 실행시키기 위한 문자 발생 프로그램 및, 이 프로그램이 기록된 컴퓨터 판독 가능한 기록 매체를 제공한다. Accordingly, in the present invention, when a character string is displayed on a display device having a low resolution, the character generator, a character generation method, capable of suppressing variations in the size or position of the character by enlarging / reducing the character in accordance with the letter frame, A character generating program for causing a computer to execute the processing procedure of this method, and a computer readable recording medium on which the program is recorded.

이하에, 본 발명의 문자 발생 장치의 실시예에 대하여, 도면을 참조하면서 설명한다. EMBODIMENT OF THE INVENTION Below, the Example of the character generator of this invention is described, referring drawings.

도 1은, 본 발명의 문자 발생 장치의 제1 실시예에서의 주요부 구성을 도시하는 블록도이다. Fig. 1 is a block diagram showing the configuration of main parts in the first embodiment of the character generator of the present invention.

도 1에서, 문자 발생 장치(10)는, 저장 수단(1)과, 문자 코드 입력 수단(2)과, 사이즈 지정 입력 수단(3)과, 확대/축소 타입 전환 수단(4)과, 확대/축소 타입 저장 수단(6)과, 확대/축소 수단(5)과, 출력 수단(7)을 구비하고 있으며, 도시하지 않는 저장 수단에 저장되어 있는 본 발명의 문자 발생 프로그램에 따라, 입력 문자 코드에 상당하는 문자 데이터의 저장 수단(1)으로부터의 선택 처리, 확대/축소 타입 전환 수단(4) 및 확대/축소 수단(5)에 의한 확대/축소 처리, 및 출력 수단(7)에 의한 출력 처리 등의 각 처리 수순을 제어하는 제어 수단(CPU ; 중앙 연산 처리 장치)에 의해 본 발명의 문자 발생 처리가 행해진다. In Fig. 1, the character generating device 10 includes a storage means 1, a character code input means 2, a size designation input means 3, an enlargement / reduction type switching means 4, and an enlargement / According to the character generation program of the present invention, which includes a reduction type storage means 6, an enlargement / reduction means 5, and an output means 7, and is stored in a storage means (not shown), Selection processing from the storage means 1 of the corresponding character data, enlargement / reduction processing by the enlargement / reduction type switching means 4 and the enlargement / reduction means 5, output processing by the output means 7, and the like. The character generation process of the present invention is performed by a control means (CPU; central processing unit) that controls each processing procedure of.

이 문자 발생 장치(10)는, 예를 들면 퍼스널 컴퓨터로 구성할 수 있다. 퍼스널 컴퓨터로서는, 데스크탑형 또는 랩탑형, 노트형 등의 임의의 타입의 컴퓨터가 사용될 수 있다. 또는, 문자 발생 장치(10)는 워드 프로세서이어도 된다. This character generating apparatus 10 can be comprised, for example with a personal computer. As the personal computer, any type of computer, such as a desktop type or a laptop type, a notebook type, can be used. Alternatively, the character generator 10 may be a word processor.

또한, 문자 발생 장치(10)는, 출력 수단(7)으로서 표시 디바이스를 구비한 전자 기기나 정보 기기(전자 정보 장치) 등의 임의의 정보 표시 장치로 구성할 수 있다. 예를 들면 문자 발생 장치는, 액정 표시 디바이스를 구비한 전자 기기나, 휴대 정보 툴인 휴대 정보 단말기나, PHS를 포함하는 휴대 전화 장치나 일반의 전화기/FAX 등의 통신 기기(통신 장치)등이어도 된다. In addition, the character generator 10 can be comprised with arbitrary information display apparatuses, such as an electronic apparatus and an information apparatus (electronic information apparatus) provided with the display device as the output means 7. As shown in FIG. For example, the character generator may be an electronic device equipped with a liquid crystal display device, a portable information terminal serving as a portable information tool, a mobile phone device including a PHS, or a communication device (communication device) such as a general telephone / FAX. .

또한, 문자 발생 장치(10)는, 서버 장치로 구성할 수도 있다. 서버 장치로서는, 특별히 표시 디바이스를 구비하고 있지 않아도 된다. The character generator 10 can also be configured as a server device. As a server apparatus, you do not need to specifically provide a display device.

우선, 저장 수단(1)에 대하여 설명한다. First, the storage means 1 will be described.

저장 수단(1)에는, 폰트에 포함되는 문자 데이터의 형상이 저장되어 있고, 문자 코드 입력 수단(2)으로부터 입력된 문자 코드에 상당하는 입력이 수신되고, 그 코드에 대응하는 문자 데이터가, 저장 수단(1)에 접속된 확대/축소 수단(5)에 공급된다. In the storage means 1, the shape of the character data contained in the font is stored, an input corresponding to the character code input from the character code input means 2 is received, and the character data corresponding to the code is stored. It is supplied to the enlargement / reduction means 5 connected to the means 1.

문자 데이터로서는, 문자의 형상을 기술하기 위한 것으로, 예를 들면 벡터 정보일 수 있다. 벡터 정보로서는, 스트로크형이나 아우트라인형, 비트맵형 등이 사용될 수 있다. The character data is for describing the shape of the character and may be, for example, vector information. As the vector information, a stroke type, an outline type, a bitmap type, or the like can be used.

예를 들면, 도 2a에 도시한 바와 같은 문자 「胃」의 스트로크 데이터를 저장 수단(1)에 저장시킬 때에는, 예를 들면 도 3a에 도시한 바와 같이, 영역 01에 문자 코드가 기술되고, 「胃」의 도형 문자 코드인 「1663」이 정의된다. 또한, 영역 02에는 문자를 구성하는 스트로크의 수가 기술되고, 「胃」를 구성하는 스트로크 수 12가 정의되어 있다. For example, when storing the stroke data of the character &quot; 바와 &quot; as shown in FIG. 2A in the storage means 1, as shown in FIG. 3A, for example, a character code is described in the area 01. "1663" which is a graphic character code of "k" is defined. In the region 02, the number of strokes constituting the character is described, and the number of strokes 12 constituting "胃" is defined.

또한, 영역 03에는 스트로크의 번호가 기술되고, 예를 들면, 도 2a에 도시하는 세로 방향의 스트로크 #1-1에 대하여, 도 3a에 도시한 바와 같이 「1」이 정의된다. 또한, 영역 04에는 스트로크가 갖는 좌표의 수가 기술되고, 예를 들면, 도 2a에 도시하는 스트로크 #1-1에 대하여, 도 3a에 도시한 바와 같이 「2」가 정의된다. In addition, the stroke number is described in the area 03. For example, "1" is defined for the vertical stroke # 1-1 shown in FIG. 2A as shown in FIG. 3A. In addition, the area 04 describes the number of coordinates of the stroke. For example, "2" is defined for the stroke # 1-1 shown in FIG. 2A as shown in FIG. 3A.

또한, 영역 05에는 스트로크의 종류가 기술되고, 예를 들면, 도 2a에 도시하는 세로 방향의 스트로크 #1-1에 대하여, 도 3a에 도시한 바와 같이 「직선」이 정의된다. 또한, 영역 06에는 스트로크의 양단의 좌표값이 기술되고, 예를 들면, 도 2a에 도시하는 스트로크 #1-1에 대하여, 도 3a에 도시한 바와 같이 (25, 241)과 (25, 162)가 정의된다. Moreover, the kind of stroke is described in area | region 05, and, for example, "straight line" is defined about the longitudinal stroke # 1-1 shown in FIG. 2A as shown in FIG. 3A. In the region 06, the coordinate values at both ends of the stroke are described. For example, for the stroke # 1-1 shown in Fig. 2A, as shown in Fig. 3A, (25, 241) and (25, 162) are shown. Is defined.

도 2b에 도시한 바와 같은 문자 「エ」의 스트로크 데이터를 저장 수단(1)에 저장시킬 때에는, 예를 들면, 도 3b에 도시한 바와 같이, 영역 01에 문자 코드로서, 「エ」의 도형 문자 코드인 「0508」가 정의된다. 또한, 영역 02에는 문자 「エ」를 구성하는 스트로크의 수로서, 스트로크 수 3이 정의된다. 또한, 영역 03에는 스트로크의 번호가 기술되고, 예를 들면 도 2b에 도시하는 스트로크 #2-1에 대하여, 도 3b에 도시한 바와 같이 「1」이 정의된다. 또한, 영역 04에는 스트로크가 갖는 좌표의 수가 기술되고, 예를 들면, 도 2b에 도시하는 스트로크 #2-1에 대하여, 도 3b에 도시한 바와 같이 「2」가 정의된다. 또한, 영역 05에는 스트로크의 종류가 기술되고, 예를 들면, 도 2b에 도시하는 스트로크 #2-1에 대하여, 도 3b에 도시한 바와 같이 「직선」이 정의된다. 또한, 영역 06에는 스트로크의 양단의 좌표값이 기술되고, 예를 들면, 도 2b에 도시하는 스트로크 #2-1에 대하여, 도 3b에 도시한 바와 같이 (40, 200)과 (216, 200)이 정의된다. When storing the stroke data of the character "E" as shown in FIG. 2B in the storage means 1, for example, as shown in FIG. 3B, the figure character of "E" as a character code in the area 01 is shown. The code "0508" is defined. In the region 02, the number of strokes 3 is defined as the number of strokes constituting the letter "E". In addition, the area | region number is described in area | region 03, for example, "1" is defined about stroke # 2-1 shown to FIG. 2B as shown to FIG. 3B. In addition, the number of coordinates of the stroke is described in the area 04. For example, "2" is defined for the stroke # 2-1 shown in FIG. 2B as shown in FIG. 3B. In addition, the type of stroke is described in the region 05. For example, the "straight line" is defined for the stroke # 2-1 shown in FIG. 2B as shown in FIG. 3B. In the region 06, the coordinate values at both ends of the stroke are described. For example, for the stroke # 2-1 shown in Fig. 2B, as shown in Fig. 3B, (40, 200) and (216, 200) are shown. Is defined.

도 2c에 도시한 바와 같은 문자「三」의 스트로크 데이터를 저장 수단(1)에 저장시킬 때에는, 예를 들면, 도 3c에 도시한 바와 같이, 영역 01에 문자 코드로서, 「三」의 도형 문자 코드인 「2716」가 정의된다. 또한, 영역 02에는 문자「三」을 구성하는 스트로크의 수로서, 스트로크 수「3」가 정의된다. 또한, 영역 03에는 스트로크의 번호가 기술되어, 예를 들면, 도 2c에 도시하는 스트로크 #3-1에 대하여, 도 3c에 도시한 바와 같이 「1」이 정의된다. 또한, 영역 04에는 스트로크가 갖는 좌표의 수가 기술되고, 예를 들면, 도 2c에 도시하는 스트로크 #3-1에 대하여, 도 3c에 도시한 바와 같이 「2」가 정의된다. 또한, 영역 05에는 스트로크의 종류가 기술되고, 예를 들면, 도 2c에 도시하는 스트로크 #3-1에 대하여, 도 3c에 도시한 바와 같이 「직선」이 정의된다. 또한, 영역 06에는 스트로크의 양단의 좌표값이 기술되고, 예를 들면, 도 2c에 도시하는 스트로크 #3-1에 대하여, 도 3c에 도시한 바와 같이(18, 231)과 (236, 231)이 정의된다. When storing the stroke data of the character &quot; three &quot; as shown in Fig. 2C in the storage means 1, for example, as shown in Fig. 3C, the figure character of &quot; three &quot; The code "2716" is defined. In addition, in the region 02, the stroke number "3" is defined as the number of strokes constituting the character "Th". In addition, the area | region number is described in area | region 03, for example, "1" is defined about stroke # 3-1 shown to FIG. 2C as shown to FIG. 3C. In addition, the area 04 describes the number of coordinates of the stroke. For example, "2" is defined for the stroke # 3-1 shown in FIG. 2C as shown in FIG. 3C. In addition, the type of stroke is described in the region 05. For example, the "straight line" is defined for the stroke # 3-1 shown in FIG. 2C as shown in FIG. 3C. In the region 06, coordinate values at both ends of the stroke are described. For example, for stroke # 3-1 shown in FIG. 2C, as shown in FIG. 3C (18, 231) and (236, 231). Is defined.

문자 데이터가 저장되는 저장 매체로서는, 임의의 저장 매체가 사용될 수 있다. 예를 들면 하드디스크, CD-ROM, MO(광자기 디스크), MD, DVD, IC 카드, 광카드 등의 저장 매체가 적합하게 사용될 수 있다. As a storage medium in which character data is stored, any storage medium can be used. For example, a storage medium such as a hard disk, CD-ROM, MO (optomagnetic disk), MD, DVD, IC card, optical card or the like can be suitably used.

이어서, 문자 코드 입력 수단(2)은, 이 문자 발생 장치(10)에 문자 코드를 입력하기 위해 사용된다. 입력된 문자 코드는, 문자 코드 입력 수단(2)에 접속된 저장 수단(1) 및 확대/축소 타입 전환 수단(4)에 공급된다. Subsequently, the character code input means 2 is used for inputting a character code into this character generator 10. The input character code is supplied to the storage means 1 and the enlargement / reduction type switching means 4 connected to the character code input means 2.

문자 코드는, 예를 들면 문자를 식별하기 위한 문자 코드일 수 있다. 이 문자 코드로서는, 예를 들면 JIS 코드나 시프트 JIS 코드, EUC 코드, JIS 도형 문자 코드, UNICODE 등이 사용될 수 있다. The character code may be, for example, a character code for identifying a character. As this character code, JIS code, a shift JIS code, EUC code, JIS graphic character code, UNICODE etc. can be used, for example.

또한, 문자 코드 입력 수단(2)은, 예를 들면 통신 수단으로 구성할 수 있다. 통신 수단으로서는, LAN, WAN, 휴대 전화망, 유선 통신망, 무선 통신망, 컴퓨터와 주변 기기를 접속하기 위한 인터페이스, 컴퓨터 내부의 버스 등이 사용될 수 있다. In addition, the character code input means 2 can be comprised, for example by communication means. As the communication means, a LAN, a WAN, a cellular telephone network, a wired communication network, a wireless communication network, an interface for connecting a computer and a peripheral device, a bus inside the computer, and the like can be used.

사이즈 지정 입력 수단(3)은, 문자의 레터 프레임에 대응하는 비트맵 사이즈를 입력하기 위해 사용된다. 입력된 비트맵 사이즈는, 사이즈 지정 입력 수단(3)에 접속된 확대/축소 타입 전환 수단(4)에 공급된다. 비트맵 사이즈는, 예를 들면 1 이상의 정수값을 취할 수 있다. The size designation input means 3 is used for inputting the bitmap size corresponding to the letter frame of the character. The input bitmap size is supplied to the enlargement / reduction type switching means 4 connected to the size designation input means 3. The bitmap size can take an integer value of 1 or more, for example.

또한, 사이즈 지정 입력 수단(3)은, 예를 들면, 통신 수단일 수 있다. 통신 수단으로서는, LAN, WAN, 휴대 전화망, 유선 통신망, 무선 통신망, 컴퓨터와 주변 기기를 접속하기 위한 인터페이스, 컴퓨터 내부의 버스 등이 사용될 수 있다. In addition, the size designation input means 3 may be a communication means, for example. As the communication means, a LAN, a WAN, a cellular telephone network, a wired communication network, a wireless communication network, an interface for connecting a computer and a peripheral device, a bus inside the computer, and the like can be used.

확대/축소 타입 전환 수단(4)에서는, 문자 코드 입력 수단(2)으로부터 공급되는 문자 코드와, 사이즈 지정 입력 수단(3)으로부터 공급되는 비트맵 사이즈로부터, 도 4에 도시한 바와 같은 확대/축소 타입이 결정된다. 결정된 확대/축소 타입은, 확대/축소 타입 전환 수단(4)에 접속된 확대/축소 수단(5)에 공급된다. In the enlargement / reduction type switching means 4, the enlargement / reduction as shown in Fig. 4 is performed from the character code supplied from the character code input means 2 and the bitmap size supplied from the size designation input means 3. The type is determined. The determined enlargement / reduction type is supplied to the enlargement / reduction means 5 connected to the enlargement / reduction type switching means 4.

도 4의 예에서는, 문자 프레임과 레터 프레임이 일치하도록, 문자 프레임의 세로 방향 및 가로 방향의 확대/축소율을 각각 변화시키는 확대/축소 타입 A 「프레임 최대 확대」와, 문자 프레임과 레터 프레임과의 소정의 비율을 유지시키는 확대/축소 타입 B 「단순 확대」와, 레터 프레임 및 문자 프레임의 세로 방향 및 가로 방향의 비율을 유지하여, 문자 프레임의 세로 방향 및 가로 방향 중 어느 한쪽이 레터 프레임에 일치하도록, 문자 프레임의 세로 방향 및 가로 방향을 동일한 확대/축소율로 변화시키는 확대/축소 타입 C 「비율 유지 확대」가 포함되어 있다. In the example of FIG. 4, the enlargement / reduction type A "frame maximum magnification" which changes the vertical / horizontal zoom ratio of a character frame, respectively, so that a character frame and a letter frame may match, and a character frame and a letter frame Enlargement / reduction Type B "simple enlargement" to maintain a predetermined ratio, and maintains the ratio between the vertical and horizontal directions of the letter frame and the character frame, so that either the vertical or horizontal direction of the character frame matches the letter frame. An enlargement / reduction type C "ratio maintenance magnification" for changing the vertical direction and the horizontal direction of the character frame at the same enlargement / reduction rate is included.

또한, 확대/축소 타입 C에는, 레터 프레임 및 문자 프레임의 세로 방향 및 가로 방향의 비율을 유지하여, 문자 프레임의 세로 방향이 레터 프레임에 일치하도록, 문자 프레임의 세로 방향 및 가로 방향을 동일한 확대/축소로 변화시키는 확대/축소 타입 C-1 「세로 프레임 최대 확대」와, 레터 프레임 및 문자 프레임의 세로 방향 및 가로 방향의 비율을 유지하여, 문자 프레임의 가로 방향이 레터 프레임에 일치하도록, 문자 프레임의 세로 방향 및 가로 방향을 동일한 확대/축소율로 변화시키는 확대/축소 타입 C-2 「가로 세로 프레임 최대 확대」가 포함되어 있다. In addition, in zoom type C, the vertical and horizontal directions of the character frame are equally enlarged / rearized so that the vertical and horizontal directions of the letter frame and the character frame are maintained so that the vertical direction of the character frame matches the letter frame. Enlargement / reduction type to change by reduction Type C-1 "Maximum vertical frame enlargement" and the character frame so that the horizontal direction of the character frame matches the letter frame while maintaining the ratio of the vertical and horizontal directions of the letter frame and the character frame. Zoom type C-2 "Horizontal vertical frame maximum magnification" which changes the vertical direction and the horizontal direction at the same enlargement / reduction ratio is contained.

특히, 문자 코드 입력 수단(2)으로부터 공급된 문자 코드와, 사이즈 지정 입력 수단(3)으로부터 공급된 비트맵 사이즈와의 조합에 따른 확대/축소 타입이, 확대/축소 타입 전환 수단(4)에 접속되어 있는 확대/축소 타입 저장 수단(6)에 설정되어 있는 경우에는, 확대/축소 타입 전환 수단(4)에 의해, 그 문자 코드와 비트맵 사이즈와 대응하는 확대/축소 타입이 확대/축소 타입 저장 수단(6)으로부터 선택된다. 선택된 확대/축소 타입은, 확대/축소 타입 저장 수단(6)에 접속된 확대/축소 타입 전환 수단(4)을 경유하고, 확대/축소 타입 전환 수단(4)에 접속된 확대/축소 수단(5)에 공급된다. In particular, the enlargement / reduction type according to the combination of the character code supplied from the character code input means 2 and the bitmap size supplied from the size designation input means 3 is supplied to the enlargement / reduction type switching means 4. When it is set in the connected enlargement / reduction type storage means 6, the enlargement / reduction type corresponding to the character code and the bitmap size is enlarged / reduced by the enlargement / reduction type switching means 4. From the storage means 6. The selected enlargement / reduction type is the enlargement / reduction means 5 connected to the enlargement / reduction type switching means 4 via the enlargement / reduction type switching means 4 connected to the enlargement / reduction type storage means 6. Is supplied.

도 5는, 도 1의 확대/축소 타입 저장 수단(6)으로 설정되어 있는 확대/축소 타입의 일례를 도시하는 도면이다. FIG. 5 is a diagram showing an example of an enlargement / reduction type set by the enlargement / reduction type storage means 6 of FIG. 1.

도 5에서, 확대/축소 타입 저장 수단(6)에는, 물음표 기호 「?」의 문자 코드0109(JIS 도형 문자 코드)에 대하여, 비트맵 사이즈 15 이하에서는 확대/축소 타입 A가 설정되고, 16 이상에서는 확대/축소 타입 C가 설정되어 있다. 또한, 느낌표 기호「!」의 문자 코드 0110에 대하여, 비트맵 사이즈 14 이상 19 이하로 확대/축소 타입 C가 설정되어 있다. 또한, 기호「"」 및 「. 」의 문자 코드 0111 및 0112에 대하여, 비트맵 사이즈 14 이상 19 이하로 확대/축소 타입 B가 설정되어 있다. 또한, 한자 「胃」의 문자 코드 1663에는 확대/축소 타입이 설정되어 있지 않다. In Fig. 5, in the enlargement / reduction type storage means 6, an enlargement / reduction type A is set in the bitmap size 15 or less with respect to the character code 0109 (JIS graphic character code) of the question mark symbol "?". Zoom type C is set. In addition, for the character code 0110 of the exclamation point symbol "!", An enlargement / reduction type C is set to bitmap sizes 14 or more and 19 or less. In addition, for the character codes 0111 and 0112 of the symbols "" and ".", An enlargement / reduction type B is set to a bitmap size of 14 to 19. In addition, the character code 1663 of the kanji "胃" is enlarged / The reduction type is not set.

한자 「胃」와 같이, 확대/축소 타입 저장 수단(6)에 문자 코드 및 비트맵 사이즈에 따른 확대/축소 타입이 설정되어 있지 않은 문자인 경우에는, 도 6에 도 시한 바와 같이, 비트맵 사이즈에 대응하여 확대/축소 타입이 결정된다. As in the case of the Chinese character "胃", when the enlargement / reduction type corresponding to the character code and the bitmap size is not set in the enlargement / reduction type storage means 6, as shown in FIG. 6, the bitmap size Correspondingly, an enlargement / reduction type is determined.

도 6의 예에서는, 비트맵 사이즈 n이 16 미만인 경우에 확대/축소 타입 전환 수단(4)에 의해 확대/축소 타입 A가 결정되고, 비트맵 사이즈 n이 24 이상인 경우에 확대/축소 타입 B가 결정되며, 비트 사이즈 n이 16 이상 23 이하의 경우에 확대/축소 타입C가 결정되도록 되어 있다. In the example of FIG. 6, the enlargement / reduction type A is determined by the enlargement / reduction type switching means 4 when the bitmap size n is less than 16, and the enlargement / reduction type B is determined when the bitmap size n is 24 or more. If the bit size n is 16 or more and 23 or less, the enlargement / reduction type C is determined.

이어서, 확대/축소 수단(5)에서는, 저장 수단(1)으로부터 공급된 문자 데이터에 대하여, 사이즈 지정 입력 수단(3)으로부터 입력된 비트맵 사이즈와 확대/축소 타입 전환 수단(4)으로부터 공급된 확대/축소 타입의 정보에 따라, 확대/축소 변환(확대 또는 축소 처리)이 행해지고, 확대/축소 수단(5)에 접속된 출력 수단(7)에, 확대/축소 변환 후의 문자 데이터가 공급된다. Subsequently, in the enlargement / reduction means 5, the bitmap size input from the size designation input means 3 and the enlargement / reduction type switching means 4 are supplied to the character data supplied from the storage means 1. In accordance with the information of the enlargement / reduction type, enlargement / reduction conversion (expansion or reduction processing) is performed, and the character data after the enlargement / reduction conversion is supplied to the output means 7 connected to the enlargement / reduction means 5.

출력 수단(7)은, 예를 들면 디스플레이 장치일 수 있다. 디스플레이 장치로서는, 액정 디스플레이, EL 디스플레이, 플라즈마 디스플레이, CRT 등이 사용될 수 있다. 또한, 출력 수단(7)은, 예를 들면 통신 장치일 수 있다. 통신 장치로서는, 인터넷 등에 접속되는 장치 등이 사용될 수 있다. The output means 7 may be a display device, for example. As the display device, a liquid crystal display, an EL display, a plasma display, a CRT, or the like can be used. In addition, the output means 7 may be a communication device, for example. As the communication device, a device connected to the Internet or the like can be used.

이하에, 이와 같이 구성된 본 실시예의 문자 발생 장치를 이용한 문자 발생 방법에 대하여 설명한다. The character generation method using the character generator of the present embodiment configured as described above will be described below.

도 7은, 도 1의 문자 발생 장치에 의한 문자 발생 방법의 각 처리 수순을 설명하기 위한 흐름도이다. FIG. 7 is a flowchart for explaining each processing procedure of the character generation method by the character generator of FIG. 1.

도 7에 도시한 바와 같이, 우선, 단계 S1에서, 문자 코드 입력 수단(2)으로부터 문자 코드가 입력된다. 예를 들면 한자의 「胃」의 문자 코드로서 1663번(JIS 도형 문자 코드)이 입력된다. 이러한 입력은, 예를 들면 사용자가 키보드를 이용하여 가나/한자 변환을 행함으로써 이루어진다. As shown in FIG. 7, first, in step S1, a character code is input from the character code input means 2. For example, 1663 (JIS figure character code) is input as a character code of "胃" of a Chinese character. Such input is made by, for example, a user performing kana / kanji conversion using a keyboard.

이어서, 단계 S2에서, 사이즈 지정 입력 수단(3)으로부터 비트맵 사이즈가 입력된다. 예를 들면 레터 프레임에 상당하는 비트맵 사이즈로서 19가 입력된다. 이러한 입력은, 예를 들면 사용자가 키보드의「1」 및 「9」의 키를 누름으로써 이루어진다. Next, in step S2, the bitmap size is input from the size designation input means 3. For example, 19 is input as a bitmap size corresponding to a letter frame. Such an input is made, for example, by the user pressing the keys "1" and "9" on the keyboard.

단계 S3에서, 단계 S1에서 입력된 문자 코드에 대응하는 1 문자분의 문자 데이터가 저장 수단(1)으로부터 판독된다. In step S3, character data for one character corresponding to the character code input in step S1 is read out from the storage means 1.

예를 들면 도 2a에 도시하는 한자 「胃」의 문자 코드 1663번(JIS 도형 문자 코드)에 대응하는 문자 데이터로서, 도 3a에 도시한 바와 같은 문자 데이터가 판독된다. 또한, 도 2b에 도시하는 가타카나 「エ」의 문자 코드 0508번(JIS 도형 문자 코드)에 대응하는 문자 데이터로서, 도 3b에 도시한 바와 같은 문자 데이터가 판독된다. 또한, 도 2c에 도시하는 한자 「三」의 문자 코드 2716번(JIS 도형 문자 코드)에 대응하는 문자 데이터로서, 도 3c에 도시한 바와 같은 문자 데이터가 판독된다. For example, character data as shown in FIG. 3A is read as character data corresponding to character code 1663 (JIS graphic character code) of the Chinese character "胃" shown in FIG. 2A. In addition, character data as shown in FIG. 3B is read as character data corresponding to character code 0508 (JIS graphic character code) of Katakana "E" shown in FIG. 2B. In addition, character data as shown in FIG. 3C is read as character data corresponding to character code 2716 (JIS graphic character code) of the kanji "three" shown in FIG. 2C.

단계 S4에서, 확대/축소 타입 전환 수단(4)에 의해 확대/축소 타입 저장 수단(6)이 참조되어, 단계 S1에서 입력된 문자 코드 및 단계 S2에서 입력된 비트맵 사이즈가, 확대/축소 타입 저장 수단(6)에 확대/축소 타입이 설정되어 있는 지정 문자 코드 및 지정 비트맵 사이즈인지의 여부가 확인된다. 확대/축소 타입 저장 수단(6)에 확대/축소 타입이 설정되어 있는 경우에는, 단계 S5의 처리로 진행하고, 확대/축소 타입이 설정되어 있지 않은 경우에는, 단계 S6의 처리로 진행한다. In step S4, the enlargement / reduction type storage means 6 is referred to by the enlargement / reduction type switching means 4, so that the character code input in step S1 and the bitmap size input in step S2 are enlarged / reduced type. It is confirmed whether or not the designated character code and designated bitmap size in which the enlargement / reduction type is set in the storage means 6 is specified. When the enlargement / reduction type is set in the enlargement / reduction type storage means 6, the processing proceeds to step S5, and when the enlargement / reduction type is not set, the processing proceeds to step S6.

예를 들면 도 5의 예에서는, 기호 「?」의 문자 코드가 0109번(JIS 도형 문자 코드)이고, 비트맵 사이즈가 「19」인 경우에는, 도 6에 도시하는 확대/축소 타입 C가 설정되어 있기 때문에, 단계 S5의 처리로 진행한다. 또한, 한자 「胃」의 문자 코드가 1663번(JIS 도형 문자 코드)이고, 비트맵 사이즈가 「19」인 경우에는, 확대/축소 타입은 설정되어 있지 않기 때문에, 단계 S6의 처리로 진행한다. For example, in the example of FIG. 5, when the character code of the symbol "?" Is 0109 (JIS graphic character code) and the bitmap size is "19", the enlargement / reduction type C shown in FIG. 6 is set. Since that is the case, the process proceeds to step S5. If the character code of the kanji "胃" is 1663 (JIS figure character code) and the bitmap size is "19", since the enlargement / reduction type is not set, the process proceeds to step S6.

단계 S5에서는, 단계 S4로 확대/축소 타입 저장 수단(6)에 확대/축소 타입이 설정되어 있는 경우(예)에, 확대/축소 타입 전환 수단(4)에 의해, 문자 코드 및 비트맵 사이즈에 따른 확대/축소 타입이 확대/축소 타입 저장 수단(6)으로부터 선택되어, 단계 S9의 처리로 진행한다. In step S5, when the enlargement / reduction type is set in the enlargement / reduction type storage means 6 in step S4 (YES), the enlargement / reduction type switching means 4 changes the character code and the bitmap size. The enlargement / reduction type according to the above is selected from the enlargement / reduction type storage means 6, and the processing proceeds to step S9.

예를 들면 도 5의 예에서는, 기호「?」의 문자 코드가 0109번(JIS 도형 문자 코드)이고, 비트맵 사이즈가「19」인 경우, 확대/축소 타입은 「C」로 결정된다. For example, in the example of FIG. 5, when the character code of the symbol "?" Is 0109 (JIS graphic character code) and the bitmap size is "19", the enlargement / reduction type is determined as "C".

단계 S4에서 확대/축소 타입 저장 수단(6)에 확대/축소 타입이 설정되어 있지 않은 경우(아니오)에, 단계 S6에서, 단계 S1에서 입력된 문자 코드가 한자인지의 여부가 판단되어, 한자인 경우에는, 단계 S7의 처리로 진행한다. 또한, 한자 이외의 경우에는, 단계 S8의 처리로 진행한다. If the zoom type is not set in the zoom type storage means 6 in step S4 (No), it is determined in step S6 whether or not the character code input in step S1 is a Chinese character. In the case, the process proceeds to step S7. In addition, in cases other than Chinese characters, the process proceeds to step S8.

단계 S7에서, 단계 S2에서 입력된 비트맵 사이즈로부터, 확대/축소 타입 전환 수단(4)에 의해 확대/축소 타입이 결정되어, 단계 S9가 처리로 진행한다. In step S7, the enlargement / reduction type is determined by the enlargement / reduction type switching means 4 from the bitmap size input in step S2, and step S9 proceeds to processing.

예를 들면 도 6의 예에서는, 한자 「胃」의 문자 코드가 1663번(JIS 도형 문자 코드)이고, 비트맵 사이즈가 「11」인 경우, 확대/축소 타입은 「A」로 결정된 다. 또한, 한자의 「胃」문자 코드가 1663번(JIS 도형 문자 코드)이고, 비트맵 사이즈가 「19」인 경우, 확대/축소 타입은「C」로 결정된다. For example, in the example of FIG. 6, when the character code of the kanji "胃" is 1663 (JIS graphic character code) and the bitmap size is "11", the enlargement / reduction type is determined as "A". In addition, when the "胃" character code of the Chinese character is No. 1663 (JIS figure character code) and the bitmap size is "19", the enlargement / reduction type is determined as "C".

단계 S8에서는, 확대/축소 타입이 「B」로 결정된다. In step S8, the enlargement / reduction type is determined as "B".

예를 들면 가타카나 「エ」의 문자 코드가 0608번(JIS 도형 문자 코드)인 경우, 확대/축소 타입은「B」로 결정된다. For example, when the character code of Katakana "エ" is 0608 (JIS graphic character code), the enlargement / reduction type is determined as "B".

단계 S9에서, 단계 S5 또는 단계 S7에서 결정된 확대/축소 타입이「C」가 아닌 경우(아니오)에는, 단계 S11의 처리로 진행한다. 또한, 단계 S5 또는 단계 S7에서 결정된 확대/축소 타입이「C」이면(예), 단계 S10의 처리로 진행한다. In step S9, when the enlargement / reduction type determined in step S5 or step S7 is not "C" (No), the processing proceeds to step S11. If the enlargement / reduction type determined in step S5 or step S7 is "C" (Yes), the processing proceeds to step S10.

단계 S10에서, 확대/축소 타입 「C」인 경우에, 단계 S3에서 판독된 문자 데이터의 문자 프레임이 세로형(portrait-oriented)인지, 또는 가로형(landscape-oriented)인지를 계산하여, 확대/축소 타입, 즉, C-1 또는 C-2를 결정한다. In step S10, in the case of the zoom type "C", it is calculated whether or not the character frame of the character data read in step S3 is portrait-oriented or landscape-oriented, and enlarges / reduces it. Determine the type, ie C-1 or C-2.

예를 들면, 도 2a에 도시한 바와 같이, 원래의 문자 데이터가 레터 프레임 256×256 도트 내의 데이터로 좌표 데이터가 (0, 0)∼(255, 255)인 경우에, 변환 전의 좌표 데이터를 (x, y), 레터 프레임 (n+1)×(n+1)(도 2a에서 n=255) 도트로 변환 후의 좌표 데이터를 (nx, ny)로 하고, 문자 프레임 내의 x 좌표의 최소값을 min_x, 최대값을 max_x, y 좌표의 최소값을 min_y, 최대값을 max_y로 하면, 문자 프레임의 실치 폭은 For example, as shown in Fig. 2A, when the original character data is data in a letter frame 256 × 256 dot and the coordinate data is (0, 0) to (255, 255), the coordinate data before conversion is ( x, y), letter frame (n + 1) × (n + 1) (n = 255 in FIG. 2A). The coordinate data after conversion to dots is set to (nx, ny), and the minimum value of the x coordinate in the character frame is min_x. , Max_x is the maximum value, min_y is the minimum value of the y coordinate, and max_y is the maximum value.

mx=max_x-min_xmx = max_x-min_x

문자 프레임의 실치 높이는 The actual height of the character frame

my=max_y-min_ymy = max_y-min_y

로 된다. It becomes

mx=<my의 경우에는 세로형 문자 프레임이 되고, 확대/축소 타입이 「C-1」로 결정되어, 단계 S11의 처리로 진행한다. In the case of mx = <my, it becomes a vertical character frame, the enlargement / reduction type is determined as "C-1", and the process proceeds to step S11.

또한, mx>my의 경우에는 가로형 문자 프레임이 되어, 확대/축소 타입이 「C-2」로 결정되고, 단계 S11의 처리로 진행한다. In addition, in the case of mx> my, it becomes a horizontal character frame, the enlargement / reduction type is determined as "C-2", and it progresses to the process of step S11.

예를 들면 도 3a에 도시하는 문자 데이터 「胃」인 경우에는, 문자 프레임의 실치 폭 mx는 230-25=205, 문자 프레임의 실치 높이 my는 241-9=232이기 때문에 세로형 문자 프레임이 되어, 확대/축소 타입은 「C-1」로 결정된다. For example, in the case of the character data "胃" shown in FIG. 3A, since the actual width mx of the character frame is 230-25 = 205 and the actual height my of the character frame is 241-9 = 232, it becomes a vertical character frame. , The zoom type is determined by "C-1".

또한, 도 3c에 도시하는 문자 데이터 「三」의 경우에는, 문자 프레임의 실치 폭 mx는 247-8=239, 문자 프레임의 실치 높이 my는 231-25=206이기 때문에 가로형 문자 프레임이 되어, 확대/축소 타입은「C-2」로 결정된다. In addition, in the case of the character data "three" shown in FIG. 3C, since the actual width mx of the character frame is 247-8 = 239, and the actual height my of the character frame is 231-25 = 206, the horizontal character frame is enlarged. The reduction type is determined by "C-2".

이어서, 단계 S11에서, 단계 S2에서 입력된 비트맵 사이즈와, 단계 S3에서 판독된 문자 데이터와, 단계 S5, 단계 S7 또는 단계 S8에서 결정된 확대/축소 타입에 대응하여, 확대/축소 변환이 행해진다. 확대/축소 변환시에 계산된 수치는, 사사오입에 의해 정수로 구해진다. Subsequently, in step S11, corresponding to the bitmap size input in step S2, the character data read in step S3, and the zoom type determined in step S5, step S7 or step S8, a zoom conversion is performed. . The numerical value calculated at the time of zoom conversion is calculated | required as an integer by rounding off.

예를 들면, 도 2a에 도시한 바와 같이, 원래의 문자 데이터가 레터 프레임 256×256 도트 내의 데이터로 좌표 데이터가 (0, 0)∼(255, 255)인 경우에, 변환 전의 좌표 데이터를 (x, y), 레터 프레임 (n+1)×(n+1) (도 2a에서 n=255)도트로 변환 후의 좌표 데이터를 (nx, ny)로 하고, 문자 프레임 내의 x 좌표의 최소값을 min_x, 최대값을 max_x, y 좌표의 최소값을 min_y, 최대값을 max_y로 하면, 문자 프레임의 실치 폭은 For example, as shown in Fig. 2A, when the original character data is data in a letter frame 256 × 256 dot and the coordinate data is (0, 0) to (255, 255), the coordinate data before conversion is ( x, y), letter frame (n + 1) × (n + 1) (n = 255 in Fig. 2A), the coordinate data after conversion into dots is set to (nx, ny), and the minimum value of the x coordinate in the character frame is min_x , Max_x is the maximum value, min_y is the minimum value of the y coordinate, and max_y is the maximum value.

mx=max_x-min_xmx = max_x-min_x

문자 프레임의 실치 높이는 The actual height of the character frame

my=max_y-min_ymy = max_y-min_y

로 된다. It becomes

예를 들면, 확대/축소 타입이 「A」인 경우에, 확대/축소 변환 후의 좌표 (nx, ny)는, 계산식 For example, when the zoom type is "A", the coordinate (nx, ny) after the zoom conversion is a calculation formula.

(nx, ny)=((x-min_x)×n/mx, (y-min_y)×n/my)(nx, ny) = ((x-min_x) × n / mx, (y-min_y) × n / my)

에 의해 구해진다. Obtained by

예를 들면, 단계 S2에서 입력된 비트맵 사이즈가 11 도트인 경우에, 도 2a에 도시하는 문자 데이터 「胃」를 상기 계산 수학식 1에 의해 변환하면, 도 8a에 도시한 바와 같은 값으로 변환되고, 도 9의 (a)에 도시한 바와 같이, 문자의 상하 좌우가 레터 프레임에 접하는 문자 데이터가 생성된다. For example, when the bitmap size input in step S2 is 11 dots, the character data &quot; '&quot; shown in FIG. 2A is converted into the value as shown in FIG. 8A by converting the character data &quot;# &quot; As shown in Fig. 9A, character data in which the upper, lower, left, and right sides of the character are in contact with the letter frame is generated.

또한, 예를 들면 확대/축소 타입이 「B」인 경우에, 확대/축소 변환 후의 좌표 (nx, ny)는, 계산식 For example, when the zoom type is "B", the coordinate (nx, ny) after the zoom conversion is a calculation formula.

(nx, ny)=(x×n/255, y×n/255)(nx, ny) = (x × n / 255, y × n / 255)

에 의해 구해진다. Obtained by

예를 들면, 단계 S2에서 입력된 비트맵 사이즈가 23 도트인 경우에, 도 2a에 도시하는 문자 데이터 「胃」를 상기 계산 수학식 2에 의해 변환하면, 도 8c에 도시한 바와 같은 값으로 변환되고, 도 9c에서 도시한 바와 같이, 문자 프레임과 레터 프레임과의 비율이 유지된 문자 데이터가 생성된다. For example, when the bitmap size input in step S2 is 23 dots, when the character data "데이터" shown in FIG. 2A is converted by the above calculation formula 2, it is converted into a value as shown in FIG. 8C. As shown in Fig. 9C, character data in which the ratio between the character frame and the letter frame is maintained is generated.

또한, 예를 들면, 단계 S2에서 입력된 비트맵 사이즈가 23 도트인 경우에, 도 2b에 도시하는 문자 데이터 「エ」를, 상기 계산 수학식 2에 의해 변환하면, 도 10(c)에 도시한 바와 같은 값으로 변환되고, 문자 프레임과 레터 프레임과의 비율이 유지된 문자 데이터가 생성된다. For example, when the bitmap size input in step S2 is 23 dots, when the character data "E" shown in FIG. 2B is converted by the calculation formula 2, it is shown in FIG. 10 (c). The character data is converted into a value as described above, and the character data in which the ratio between the character frame and the letter frame is maintained is generated.

또한, 예를 들면 확대/축소 타입 「C-1」인 경우에, 확대/축소 변환 후의 좌표 (nx, ny)는, 계산식 For example, in the case of the zoom type "C-1", the coordinate (nx, ny) after the zoom conversion is a calculation formula.

(nx, ny)=((((x-min_x)×255/my)+z)×n/255, (y-min_y)×n/my) (nx, ny) = (((((x-min_x) × 255 / my) + z) × n / 255, (y-min_y) × n / my)

여기에서, z=(255-(255×mx/my))×min_x/(min_x+255-max_x)Where z = (255- (255 × mx / my)) × min_x / (min_x + 255-max_x)

에 의해 구해진다. Obtained by

예를 들면, 단계 S2에서 입력된 비트맵 사이즈가 19 도트인 경우에, 도 2a에 도시하는 문자 데이터 「胃」를, 상기 계산 수학식 3에 의해 변환하면, 도 8b에 도시한 바와 같은 값으로 변환되고, 도 9(b)에 도시한 바와 같이, 문자의 상하가 레터 프레임에 접하는 문자 데이터가 생성된다. For example, when the bitmap size input in step S2 is 19 dots, the character data "胃" shown in FIG. 2A is converted into the value as shown in FIG. 8B by converting the character data "k" shown in FIG. Then, as shown in Fig. 9B, character data in which the upper and lower sides of the character are in contact with the letter frame is generated.

예를 들면, 확대/축소 타입 「C-2」인 경우에, 확대/축소 변환 후의 좌표 (nx, ny)는, 계산식For example, in the case of the zoom type "C-2", the coordinate (nx, ny) after the zoom conversion is a calculation formula.

(nx, ny)=((x-min_x)×n/mx), (((y-min_y)×255/mx)+z)×n/255) (nx, ny) = ((x-min_x) × n / mx), (((y-min_y) × 255 / mx) + z) × n / 255)

여기에서, z=(255-(255×my/mx))×min_y/(min_y+255-max_y)Where z = (255- (255 × my / mx)) × min_y / (min_y + 255-max_y)

에 의해 구해진다. Obtained by

예를 들면, 단계 S2에서 입력된 비트맵 사이즈가 19 도트인 경우에, 도 2c에 도시하는 문자 데이터 「三」을, 상기 수학식 4에 의해 변환하면, 도 11에 도시한 바와 같은 값으로 변환되고, 도 9(d)에 도시한 바와 같이, 문자의 좌우가 레터 프레임에 접하는 문자 데이터가 생성된다. For example, when the bitmap size input in step S2 is 19 dots, the character data "three" shown in FIG. 2C is converted into the value as shown in FIG. Then, as shown in Fig. 9 (d), character data in which left and right of characters are in contact with the letter frame is generated.

이어서, 도 7의 단계 S12에서, 단계 S11에서 변환된 문자 데이터가 출력 수단(7)에 공급된다. Subsequently, in step S12 of FIG. 7, the character data converted in step S11 is supplied to the output means 7.

도 12(a-1)에, 종래 기술의 경우로서, 레터 프레임의 비트맵 사이즈를 19로 하고, 보디 프레임과 레터 프레임과의 비율을 조정하여 확대/축소시킨 문자열을 나타내고 있다. In the case of the prior art, Fig. 12 (a-1) shows a character string in which the bitmap size of the letter frame is set to 19 and the ratio of the body frame and the letter frame is adjusted and enlarged / reduced.

비교를 위해, 도 12(b-1)에, 본 실시예의 문자 발생 방법에 의해, 레터 프레임의 비트맵 사이즈를 19(도 12(a-1)와 문자의 크기를 정합하기 위해)로 하고, 문자 프레임의 상하 좌우를 레터 프레임의 상하 좌우에 접하도록 확대/축소시킨 문자열을 나타내고 있다(본 실시예에서는 비트맵 사이즈 16 미만으로 확대/축소 타입 A인 경우). For comparison, in Fig. 12 (b-1), the bitmap size of the letter frame is set to 19 (to match the size of the letter with Fig. 12 (a-1)) by the character generation method of this embodiment. A character string in which the upper and lower left and right sides of the character frame are enlarged and reduced so as to be in contact with the upper and lower left and right sides of the letter frame is shown (in the case of the enlarged / reduced type A in the present embodiment, the bitmap size is less than 16).

도 12(a-2)는 도 12(a-1)의 문자 프레임을 검게 전부 칠한 것이고, 도 12(b-2)는 도 12(b-1)의 문자 프레임을 검게 전부 칠한 것이다. 도 12(a-3)는 도 12(a-1)을 실제로 사용되는 크기로 출력한 것이고, 도 12(b-3)는 도 12(b-1)를 실제로 사용되는 크기로 출력한 것이다. 12 (a-2) shows the black color of the character frame of FIG. 12 (a-1), and FIG. 12 (b-2) shows the black color of the character frame of FIG. 12 (b-1). FIG. 12 (a-3) shows the output of FIG. 12 (a-1) in the size actually used, and FIG. 12 (b-3) shows the output of FIG. 12 (b-1) in the size actually used.

도 12(a-2)와 도 12(b-2)를 비교하면, 도 12(a-2)는 문자 프레임의 크기, 위치함께 변동되는 것을 알 수 있다. 도 12(b-2)는 문자 프레임의 크기 및 위치 모두 변동되지 않는다. 또한, 실제로 사용되는 크기로 문자열을 출력한 도 12(a-3)와(b-3)를 비교하면, 크기 및 위치의 변동의 차를 잘 알 수 있다. Comparing Fig. 12 (a-2) and Fig. 12 (b-2), it can be seen that Fig. 12 (a-2) varies with the size and position of the character frame. 12 (b-2) does not change both the size and position of the character frame. In addition, when comparing the output of the character string with the actual size used in Fig. 12 (a-3) and (b-3), it is possible to know the difference in the variation of the size and position.

이상에 의해, 본 실시예에 따르면, 확대/축소 타입 전환 수단(4)은, 문자 코드 입력 수단(2)에 의해 입력된 문자 코드와, 사이즈 지정 입력 수단(3)에 의해 입력된 비트맵 사이즈에 따라, 문자 프레임의 세로 방향 및 가로 방향의 확대/축소율(비율)을 각각 변화시키기 위한 확대/축소 타입을 결정한다. 이 확대/축소 타입에 대응하여, 확대/축소 수단(5)은, 저장 수단(1)에 저장된 문자 데이터의 형상을 확대/축소시켜, 문자 데이터를 출력 수단(7)으로부터 출력시킨다. 이에 의해, 해상도가 낮은 표시 장치 등에 문자열을 표시시키는 경우에, 문자의 변동을 없애어 읽기쉬운 문자를 발생시킬 수 있다. As described above, according to the present embodiment, the enlargement / reduction type switching means 4 includes the character code input by the character code input means 2 and the bitmap size input by the size designation input means 3. In accordance with this, the enlargement / reduction type for changing the enlargement / reduction ratio (ratio) in the vertical direction and the horizontal direction of the character frame is determined. Corresponding to this enlargement / reduction type, the enlargement / reduction means 5 enlarges / reduces the shape of the character data stored in the storage means 1 and outputs the character data from the output means 7. As a result, when a character string is displayed on a display device having a low resolution or the like, it is possible to eliminate character fluctuations and generate a character that is easy to read.

또, 상기 실시예에서는, 특별히 설명하지 않았지만, 지정 비트맵 사이즈가 제1 사이즈 미만인 경우에, 문자 프레임의 상하 좌우가 레터 프레임의 상하 좌우에 접하도록 종횡별로 배율을 바꾸는 데 한하지 않고, 문자 프레임의 상하 좌우가 레터 프레임의 상하 좌우에, 1도트(시각상으로는 접하고 있는 것처럼 보임)나 또는 그 이상의 수 도트 이격 상태가 되도록 종횡별로 배율을 바꾸어도 된다. 요는, 본 발명은, 문자 프레임의 상하 좌우가 레터 프레임의 상하 좌우에 접하는 방향으로 (접하지 않는 경우도 포함함) 종횡별로 배율을 바꾸는 경우를 포함하고 있다. 여기 서, 배율을 바꾸는 것은, 균일하고 일정한 문자열을 얻기 위해 행한다. Although not specifically described in the above embodiment, when the designated bitmap size is less than the first size, the character frame is not limited to changing the magnification for each aspect so that the top, bottom, left and right of the character frame are in contact with the top, bottom, left and right of the letter frame. The magnification may be changed vertically and horizontally so that the top, bottom, left, and right sides of the letter frame are spaced one dot (visually in contact with each other) or several dots apart from each other. In other words, the present invention includes a case in which the magnification is changed vertically and horizontally (including the case where it is not in contact with each other) in the direction where the top, bottom, left and right of the character frame are in contact with the top, bottom, left and right of the letter frame. Here, the magnification is changed to obtain a uniform and constant character string.

또한, 마찬가지로, 지정 비트맵 사이즈가 제1 사이즈 이상이고 제2 사이즈 미만인 경우에, 문자 프레임의 상하 또는 좌우가 레터 프레임의 상하 또는 좌우 각각에 접하는 방향으로 종횡 동일한 비율로 배율을 바꾼다. 또한, 문자 프레임이 레터 프레임에, 1 도트(시각상으로는 접하고 있는 것처럼 보임)나 또는 그 이상의 수 도트 이격 상태가 되도록 배율을 바꾸어도 된다. Similarly, when the designated bitmap size is greater than or equal to the first size and less than the second size, the magnification is changed at the same ratio both vertically and horizontally in the direction in which the upper and lower sides or the left and right sides of the character frame are in contact with the upper, lower and left and right sides of the letter frame, respectively. Further, the magnification may be changed so that the character frame is spaced apart from the letter frame by one dot (which appears visually in contact with each other) or several dots apart.

이상에 의해, 본 발명에 따르면, 문자 코드 및 비트맵 사이즈에 대응하여, 변동이 없는 읽기쉬운 문자열을 생성시킬 수 있으며, 특히, 해상도가 낮은 표시 장치에 최적의 문자열을 발생시킬 수 있다. As described above, according to the present invention, an easy-to-read string can be generated without change in correspondence with the character code and the bitmap size, and in particular, an optimal character string can be generated in a display device having a low resolution.

본 발명의 사상과 범위를 벗어나지 않고 당업자에 의해 다양한 수정이 이루어질 수 있다는 것은 자명하다. 따라서, 첨부된 청구 범위는 여기에 설명된 설명에 한정되도록 의도한 것이 아니라 오히려 광범위하게 해석되어야 할 것이다.It is apparent that various modifications can be made by those skilled in the art without departing from the spirit and scope of the invention. Accordingly, the appended claims are not intended to be limited to the description set forth herein, but rather should be construed broadly.

Claims (9)

적어도 하나의 문자 각각의 형상을 저장하는 저장 수단과, Storage means for storing the shape of each of the at least one character; 발생되는 적어도 하나의 문자에 대응하는 문자 코드를 입력하는 문자 코드 입력 수단과, Character code input means for inputting a character code corresponding to at least one character generated; 적어도 하나의 문자의 레터 프레임에 대응하는 비트맵 사이즈를 지정하는 사이즈 지정 입력 수단과, Size designation input means for designating a bitmap size corresponding to a letter frame of at least one character; 입력된 문자 코드의 종류와 지정된 비트맵 사이즈에 의해, 문자 프레임이 레터 프레임에서 돌출되지 않는 범위에서 종횡별로 문자 프레임의 확대/축소 비율들을 변경하는 확대/축소 타입 전환 수단과, An enlargement / reduction type switching means for changing the enlargement / reduction ratios of the character frame vertically and horizontally within the range in which the character frame does not protrude from the letter frame by the type of the input character code and the designated bitmap size; 상기 확대/축소 타입 전환 수단에 의해 구해진 확대/축소 비율로, 적어도 하나의 문자의 형상을 나타내는 데이터를, 상기 지정된 비트맵 사이즈로 확대/축소하는 확대/축소 수단과, Enlargement / reduction means for enlarging / reducing data representing the shape of at least one character to the designated bitmap size at an enlargement / reduction ratio obtained by the enlargement / reduction type switching means; 상기 확대/축소 수단에 의해서 확대/축소된 데이터를 출력하는 출력 수단Output means for outputting data enlarged / reduced by the enlargement / reduction means 을 포함하는 문자 발생 장치. Character generating device comprising a. 제1항에 있어서, The method of claim 1, 상기 확대/축소 타입 전환 수단은, 상기 비트맵 사이즈에 대해 제1 사이즈를 정의하고, 상기 지정된 비트맵 사이즈가 상기 제1 사이즈 미만인 경우, 상기 문자 프레임의 상하 좌우가 상기 레터 프레임의 상하 좌우에 접하도록 상기 문자 프레임의 종횡별 확대/축소 배율을 바꾸는 문자 발생 장치. The enlargement / reduction type switching means defines a first size with respect to the bitmap size, and when the designated bitmap size is less than the first size, the top and bottom left and right sides of the character frame are in contact with the top, bottom, left and right sides of the letter frame. And a magnification for each character of the character frame. 제1항에 있어서, The method of claim 1, 상기 확대/축소 타입 전환 수단은, 상기 비트맵 사이즈에 대해 제2 사이즈를 정의하고, 상기 지정된 비트맵 사이즈가 상기 제2 사이즈 이상인 경우, 상기 문자 프레임과 상기 레터 프레임의 비율을 유지하는 문자 발생 장치The enlargement / reduction type switching means defines a second size with respect to the bitmap size, and maintains the ratio of the character frame and the letter frame when the designated bitmap size is equal to or larger than the second size. 제1항에 있어서, The method of claim 1, 상기 확대/축소 타입 전환 수단은, 상기 비트맵 사이즈에 대해 제1 사이즈와 제2 사이즈를 정의하고, 상기 지정된 비트맵 사이즈가 상기 제1 사이즈 이상, 상기 제2 사이즈 미만인 경우에, 상기 확대/축소 타입 전환 수단은 상기 문자 프레임의 상하 또는 좌우가 레터 프레임의 상하 또는 좌우에 각각 접하도록 종횡 확대/축소 배율을 바꾸는 문자 발생 장치. The enlargement / reduction type switching means defines a first size and a second size with respect to the bitmap size, and the enlargement / reduction when the designated bitmap size is greater than or equal to the first size and less than the second size. And a type switching means for changing the vertical and horizontal magnification so that the upper and lower sides or the left and right sides of the character frame are in contact with the upper and lower sides or the left and right sides of the letter frame. 제1항에 있어서, The method of claim 1, 상기 확대/축소 타입 전환 수단은, 상기 문자 코드 입력 수단을 통해 입력된 문자 코드가 한자 코드 이외인 경우, 상기 문자 프레임과 상기 레터 프레임의 비율을 유지하는 문자 발생 장치. And the enlargement / reduction type switching means maintains a ratio of the character frame and the letter frame when the character code input through the character code input means is other than a Chinese character code. 제1항에 있어서, The method of claim 1, 상기 문자 코드 입력 수단을 통해 입력된 문자 코드와, 상기 사이즈 지정 입력 수단을 통해 입력된 비트맵 사이즈에 대응하여 적어도 하나의 확대/축소 타입을 저장하는 확대/축소 타입 저장 수단을 더 포함하고, And an enlargement / reduction type storage means for storing at least one enlargement / reduction type corresponding to the character code input through the character code input means and the bitmap size input through the size designation input means, 상기 확대/축소 타입 전환 수단은, 상기 문자 코드와 상기 비트맵 사이즈와의 상호 관계에 대응한 확대/축소 타입을 확대/축소 타입 저장 수단의 저장 내용으로부터 선택하는 문자 발생 장치. And the enlargement / reduction type switching means selects an enlargement / reduction type corresponding to a correlation between the character code and the bitmap size from the contents of the storage of the enlargement / reduction type storage means. 제6항에 있어서, The method of claim 6, 상기 확대/축소 수단은, 상기 문자 프레임의 x 및 y 좌표 위치들과, 상기 레터 프레임의 x 방향 및 y 방향의 도트들의 수를 이용하여, 상기 확대/축소 타입 전환 수단에 의해 결정된 상기 확대/축소 비율에 따라, 적어도 하나의 문자의 형상을 나타내는 데이터의 좌표 위치를 좌표 변환하는 문자 발생 장치. The enlargement / reduction means is based on the enlargement / reduction determined by the enlargement / reduction type switching means by using the x and y coordinate positions of the character frame and the number of dots in the x and y directions of the letter frame. A character generating device which coordinate-converts a coordinate position of data representing a shape of at least one character according to a ratio. 적어도 하나의 문자 각각의 형상을 저장하는 단계와, Storing shapes of each of the at least one character, 발생되는 상기 적어도 하나의 문자에 대응하는 문자 코드를 입력하는 단계와, Inputting a character code corresponding to the at least one character generated; 상기 적어도 하나의 문자의 레터 프레임에 대응하는 비트맵 사이즈를 지정하는 단계와, Designating a bitmap size corresponding to the letter frame of the at least one character; 상기 입력된 문자 코드의 종류와 상기 지정된 비트맵 사이즈에 의해 문자 프레임이 상기 레터 프레임에서 돌출되지 않는 범위에서, 문자 프레임의 종횡별 확대/축소 비율을 각각 변경하는 단계와, Changing the vertical / horizontal enlargement / reduction ratio of the character frame in a range in which the character frame does not protrude from the letter frame by the type of the input character code and the designated bitmap size; 상기 변경 단계에 의해 지정된 종횡별 확대/축소 비율들에 의해, 상기 적어도 하나의 문자의 형상을 나타내는 데이터를 상기 지정된 비트맵 사이즈로 확대/축소하는 단계와, Enlarging / reducing data representing the shape of the at least one character to the designated bitmap size by the aspect ratio enlargement / reduction ratios specified by the changing step; 상기 확대/축소 단계에 의해 확대/축소된 데이터를 출력하는 단계Outputting data enlarged / reduced by the enlargement / reduction step 를 포함하는 문자 발생 방법. Character generation method comprising a. 적어도 하나의 문자 각각의 형상을 저장하는 저장 단계와, A storage step of storing a shape of each of the at least one character; 발생되는 상기 적어도 하나의 문자에 대응하는 문자 코드를 입력하는 단계와, Inputting a character code corresponding to the at least one character generated; 상기 적어도 하나의 문자의 레터 프레임에 대응하는 비트맵 사이즈를 지정하는 단계와, Designating a bitmap size corresponding to the letter frame of the at least one character; 상기 문자 코드 입력 단계에 의해 입력된 문자 코드의 종류와 상기 비트맵 사이즈 지정 단계에 의해 지정된 비트맵 사이즈에 의해서 문자 프레임이 상기 레터 프레임에서 돌출되지 않는 범위에서, 문자 프레임의 종횡별 확대/축소 비율들을 바꾸는 확대/축소 타입 전환 단계와, The aspect ratio of the character frame in each aspect in the character frame is not protruded from the letter frame by the type of the character code input by the character code input step and the bitmap size specified by the bitmap size designation step. Zoom type switching step to change the 상기 확대/축소 타입 전환 단계에서 구해진 확대/축소 비율로, 상기 적어도 하나의 문자의 형상을 나타내는 데이터를 상기 지정된 비트맵 사이즈로 확대/축소하는 단계와, Enlarging / reducing data representing the shape of the at least one character to the designated bitmap size at an enlargement / reduction ratio obtained in the enlargement / reduction type switching step; 상기 확대/축소 단계에 의해 확대/축소된 데이터를 출력하는 단계Outputting data enlarged / reduced by the enlargement / reduction step 를 컴퓨터에 실행시키기 위한 문자 발생 프로그램이 기록된 컴퓨터 판독 가능한 기록 매체.A computer-readable recording medium having recorded thereon a character generating program for causing a computer to execute.
KR1020040042133A 2003-06-10 2004-06-09 Character generating apparatus, character generating method, and stroage medium KR100594554B1 (en)

Applications Claiming Priority (2)

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

Publications (2)

Publication Number Publication Date
KR20040111006A KR20040111006A (en) 2004-12-31
KR100594554B1 true KR100594554B1 (en) 2006-06-30

Family

ID=34092134

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040042133A KR100594554B1 (en) 2003-06-10 2004-06-09 Character generating apparatus, character generating method, and stroage 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)

Families Citing this family (5)

* 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
JP3910204B2 (en) * 2005-07-04 2007-04-25 三菱電機株式会社 Image generation apparatus, image display apparatus, image generation method, and image display method
CN101964199B (en) * 2010-11-04 2012-08-29 深圳市万兴软件有限公司 Method and device for customizing font size of DVD menu texts
CN109657203B (en) * 2017-10-12 2020-12-04 北大方正集团有限公司 Method and system for adjusting font size of font library
CN111027550B (en) * 2019-12-17 2023-09-08 新方正控股发展有限责任公司 Method and device for adjusting visual center of gravity of word stock

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04177295A (en) * 1990-11-09 1992-06-24 Nec Off Syst Ltd Character generating device
JPH05257450A (en) * 1992-03-12 1993-10-08 Nec Off Syst Ltd Character generation device
KR100193584B1 (en) * 1989-09-29 1999-06-15 야스카와 히데아키 Character Generation System and Character Generation Method
KR20020003855A (en) * 1998-11-30 2002-01-15 마찌다 가쯔히꼬 Image display device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100193584B1 (en) * 1989-09-29 1999-06-15 야스카와 히데아키 Character Generation System and Character Generation Method
JPH04177295A (en) * 1990-11-09 1992-06-24 Nec Off Syst Ltd Character generating device
JPH05257450A (en) * 1992-03-12 1993-10-08 Nec Off Syst Ltd Character generation device
KR20020003855A (en) * 1998-11-30 2002-01-15 마찌다 가쯔히꼬 Image display device

Also Published As

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

Similar Documents

Publication Publication Date Title
US7609268B2 (en) Arrangement for the scaling of fonts
KR100947401B1 (en) Entering text into an electronic communications device
KR100306862B1 (en) Character pattern generator, character generating method, and storage medium therefor
KR100594554B1 (en) Character generating apparatus, character generating method, and stroage medium
KR100255574B1 (en) Character generating apparatus
TW494065B (en) Character input device
KR100227178B1 (en) Character generation device
KR960009837B1 (en) Character output method
EP1916650A1 (en) Character data generation device, electronic information device, character data generation program, and readable recording medium
KR19990069519A (en) Message input device of communication terminal
JP4808220B2 (en) Character pattern generation device, character pattern generation program, and readable recording medium
JP2806679B2 (en) Character generator
JP4080470B2 (en) Character pattern generator
JP2007290191A (en) Image forming device
US20040183802A1 (en) Bold font generator
JP2001195169A (en) Display
JP2005157436A (en) Display device for settlement terminal machine
JP2803746B2 (en) Character processing method and apparatus
KR20050096390A (en) Method and apparatus for producing graphic image embedded font
JP3244493B2 (en) Electronics
JPH01166967A (en) Pattern data forming method and pattern generator containing said pattern data
JP2000322586A (en) Device and method for generating contour information and device and method for expanding contour information, contour information generation program storage medium and contour information expansion program storage medium
JPH07141340A (en) Document output method and document processor
KR20040100414A (en) Reduced character bitmap method and apparatus
JPH0968960A (en) Character generator

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20120611

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee