JPH04280295A - Character pattern processing device - Google Patents
Character pattern processing deviceInfo
- Publication number
- JPH04280295A JPH04280295A JP3042143A JP4214391A JPH04280295A JP H04280295 A JPH04280295 A JP H04280295A JP 3042143 A JP3042143 A JP 3042143A JP 4214391 A JP4214391 A JP 4214391A JP H04280295 A JPH04280295 A JP H04280295A
- Authority
- JP
- Japan
- Prior art keywords
- character
- code
- character pattern
- character code
- internal
- 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.)
- Withdrawn
Links
Landscapes
- Dot-Matrix Printers And Others (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は、文字コードに対応する
文字パターンを出力する、印刷装置、表示装置等であっ
て、特に多種の文字コード系を扱うことのできる文字パ
ターン処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to printing devices, display devices, etc. that output character patterns corresponding to character codes, and more particularly to a character pattern processing device that can handle a wide variety of character code systems.
【0002】0002
【従来の技術】文字情報の表示装置や印刷装置等のよう
に、人が目視する文字情報を出力する装置では、計算機
等で処理するための各文字コードを、各文字を表すよう
にデザインされた文字図形の文字パターンに変換して、
例えばドット図形で構成するようにした該文字パターン
を表示し、又は印刷するように構成される。[Prior Art] In devices that output text information for human viewing, such as text display devices and printing devices, each character code is designed to represent each character in order to be processed by a computer, etc. Convert the character shape into a character pattern,
For example, it is configured to display or print the character pattern composed of dot figures.
【0003】図2は、以上のように文字パターンを表示
/印刷出力する機能を有する文字パターン処理装置の構
成例を示すブロック図であり、必要な各種文字コード系
ごとについて個別に文字パターン情報1a、1b、1c
等を持つ。FIG. 2 is a block diagram showing an example of the configuration of a character pattern processing device having the function of displaying/printing character patterns as described above. , 1b, 1c
etc.
【0004】各文字パターン情報1a、1b、1c等は
、それぞれの文字コード系における各文字コードに対応
して、その文字コードの文字図形を構成する文字パター
ンを保持し、例えば文字コードをアドレスとして、その
文字パターンを読み出せるように構成される。[0004] Each character pattern information 1a, 1b, 1c, etc. corresponds to each character code in each character code system and holds the character patterns that constitute the character figure of that character code. For example, the character code is used as an address. , is configured so that the character pattern can be read out.
【0005】処理部2は、文字コード系の指定と、一連
の文字コードの列を受け取ると、文字パターン情報1a
、1b、1cから指定の文字コード系の文字パターン情
報を選択し、選択した文字パターン情報1a、1b又は
1cから入力文字コード列の各文字コードに対応する各
文字パターンを取り出す。[0005] When the processing unit 2 receives the designation of a character code system and a string of character codes, the processing unit 2 generates character pattern information 1a.
, 1b, 1c, and extract each character pattern corresponding to each character code of the input character code string from the selected character pattern information 1a, 1b, or 1c.
【0006】このようにして、生成した文字パターンを
、入力文字コード列の文字コードの順に出力部3へ出力
するので、出力部3では、その文字パターンで描かれる
文字図形を、出力部3のディスプレイ装置へ表示出力し
、又はプリンタ装置へ印刷出力する。[0006] In this way, the generated character patterns are output to the output section 3 in the order of the character codes of the input character code string, so the output section 3 outputs the character figures drawn by the character patterns to the output section 3. Display output to a display device or print output to a printer device.
【0007】ここで文字パターン情報1a、1b、1c
はそれぞれが、1文字に数十バイト以上を要するような
、比較的大量のデータとなるので、磁気ディスク記憶装
置等に保持され、前記のようにこれにアクセスして文字
パターンを生成する処理には、比較的長時間を要する。[0007] Here, character pattern information 1a, 1b, 1c
Each of these is a relatively large amount of data, requiring several tens of bytes or more for one character, so it is stored in a magnetic disk storage device, etc., and the process of accessing it and generating a character pattern as described above is required. takes a relatively long time.
【0008】そこで、半導体メモリ等の比較的高速のメ
モリで構成した比較的小容量のバッファ4を処理部2に
設けて、文字パターンを生成する処理を高速化する場合
が多い。[0008] Therefore, in many cases, a relatively small-capacity buffer 4 composed of a relatively high-speed memory such as a semiconductor memory is provided in the processing section 2 to speed up the process of generating character patterns.
【0009】バッファ4を持つ場合には、文字パターン
情報1a、1b、1cから文字パターンを取り出すと、
文字コード系、文字コード、文字パターンを対応付けて
バッファ4に記憶しておく。文字パターンを生成する場
合には、先ずバッファ4を検索し、該当する文字コード
があれば、バッファ4に記憶してある文字パターンを使
用すし、バッファに記憶されて無い場合のみ文字パター
ン情報にアクセスする。[0009] When buffer 4 is provided, when character patterns are extracted from character pattern information 1a, 1b, and 1c,
A character code system, a character code, and a character pattern are associated and stored in a buffer 4. When generating a character pattern, first search buffer 4, and if there is a corresponding character code, use the character pattern stored in buffer 4, and access character pattern information only if it is not stored in the buffer. do.
【0010】なお、バッファ4に記憶領域が無くなれば
、前に記憶した情報を適当な順番で消し、新しく取り出
した文字パターンを記憶する。When the buffer 4 runs out of storage space, the previously stored information is erased in an appropriate order and the newly retrieved character pattern is stored.
【0011】[0011]
【発明が解決しようとする課題】前記の処理によれば、
各文字コード系ごとに個別に文字パターン生成処理が行
なわれるので、文字コード系が異なれば、結果的に同一
の文字パターンを生成することになる場合にも、各文字
コード系ごとの文字パターン情報に同じ文字パターンが
重複して保持されなければならない。[Problem to be Solved by the Invention] According to the above processing,
Character pattern generation processing is performed individually for each character code system, so even if different character code systems end up generating the same character pattern, the character pattern information for each character code system The same character pattern must be retained repeatedly.
【0012】又、文字パターンの生成処理では、文字コ
ード系別に無関係に処理が行なわれ、バッファには同じ
文字パターンが重複して記憶され、このように文字コー
ド系が混在する場合に、処理時間や、記憶容量の無駄な
消費が発生する。[0012] In addition, in the character pattern generation process, processing is performed regardless of character code system, and the same character pattern is stored repeatedly in the buffer, and when character code systems are mixed in this way, processing time This results in unnecessary consumption of storage capacity.
【0013】本発明は、多種の文字コード系を経済的に
且つ効率良く処理できる、文字パターン処理装置を目的
とする。The object of the present invention is to provide a character pattern processing device that can process various character code systems economically and efficiently.
【0014】[0014]
【課題を解決するための手段】図1は、本発明の構成を
示すブロック図である。図は文字パターン処理装置の構
成であり、複数の所定の文字コード系の文字コードを入
力して、該文字コードから定まる文字パターンを出力す
る装置であって、該文字コード系ごとに対応する変換テ
ーブル10a、10b、10c等と、文字パターン情報
11と、処理部12とを有する。Means for Solving the Problems FIG. 1 is a block diagram showing the configuration of the present invention. The figure shows the configuration of a character pattern processing device, which inputs character codes of a plurality of predetermined character code systems and outputs a character pattern determined from the character codes, and converts corresponding to each character code system. It has tables 10a, 10b, 10c, etc., character pattern information 11, and a processing section 12.
【0015】各変換テーブル10a、10b、10cは
、当該文字コード系の各文字コードを所定の内部コード
に変換するテーブルである。文字パターン情報11は、
各該内部コードに対応して、各所定の文字パターンを保
持する。Each of the conversion tables 10a, 10b, and 10c is a table for converting each character code of the character code system into a predetermined internal code. The character pattern information 11 is
Each predetermined character pattern is held corresponding to each internal code.
【0016】処理部12は、指定の該文字コード系の該
文字コードを受け取り、当該指定の文字コード系の変換
テーブル10a、10b又は10cによって、該文字コ
ードを該内部コードに変換し、該内部コードによって文
字パターン情報11から定まる該文字パターンを出力す
る。The processing unit 12 receives the character code of the specified character code system, converts the character code into the internal code using the conversion table 10a, 10b or 10c of the specified character code system, and converts the character code into the internal code. The character pattern determined from the character pattern information 11 by the code is output.
【0017】[0017]
【作用】本発明の文字パターン処理装置により、文字コ
ード系ごとの変換テーブルによって、文字コードを内部
コードに変換した後、1組のみ設ける文字パターン情報
11から、内部コードによって文字パターンを索引する
ことによって、文字パターンの生成が行なわれる。[Operation] The character pattern processing device of the present invention converts a character code into an internal code using a conversion table for each character code system, and then indexes the character pattern using the internal code from the character pattern information 11 provided in only one set. A character pattern is generated by
【0018】変換テーブルは、各文字コード系ごとに必
要であるが、コード間の変換のみであるので、データ量
は従来の文字パターン情報より大幅に少量でよく、文字
パターン情報が文字コード系の数に関わらず、内部コー
ドに対するもの1種類のみになることによる減少が大き
い。又、読み出した文字パターンのバッファを持つ場合
にも、内部コードのみに対応付けて文字パターンを記憶
すればよく、同じ文字パターンを重複して記憶すること
は無くなる。A conversion table is required for each character code system, but since it only converts between codes, the amount of data can be much smaller than conventional character pattern information, and the character pattern information can be used for character code systems. Regardless of the number, there is a large reduction due to only one type of internal code. Furthermore, even when a buffer of read character patterns is provided, the character patterns only have to be stored in association with internal codes, and the same character patterns are not stored twice.
【0019】[0019]
【実施例】図1の各変換テーブル10a、10b、10
c等は、それぞれの文字コード系における各文字コード
に対応して、内部コードを保持し、例えば文字コードを
アドレスとして、その内部コードを読み出せるように構
成される。[Example] Each conversion table 10a, 10b, 10 in FIG.
c etc. are configured to hold internal codes corresponding to each character code in each character code system, and to read the internal codes by using the character code as an address, for example.
【0020】後述のように使用する内部コードの機能か
ら明らかなように、文字コード系間で同じ文字パターン
を使用すべき文字コードは、同じ内部コードに変換され
るように、各変換テーブル10a、10b、10c等を
構成する必要がある。As is clear from the functions of the internal codes used as described below, each conversion table 10a, 10b, 10c, etc.
【0021】文字パターン情報11は、各内部コードに
対応して、その内部コードで表す文字図形のドット情報
或いはベクトル情報等の文字パターンを保持し、例えば
内部コードをアドレスとして、その文字パターンを読み
出せるように構成される。The character pattern information 11 holds, corresponding to each internal code, character patterns such as dot information or vector information of characters and figures represented by that internal code. For example, the character pattern can be read using the internal code as an address. It is configured so that it can be released.
【0022】処理部12は、文字コード系の指定と、一
連の文字コードの列を受け取ると、変換テーブル10a
、10b、10cから指定の文字コード系の変換テーブ
ルを選択し、選択した変換テーブルによって、入力文字
コード列の各文字コードを、対応する各内部コードに変
換する。[0022] When the processing unit 12 receives the designation of the character code system and a string of character codes, the processing unit 12 converts the conversion table 10a.
, 10b, and 10c, and each character code of the input character code string is converted into a corresponding internal code using the selected conversion table.
【0023】次にこの内部コードを使用して、文字パタ
ーン情報11から各内部コードに対応する各文字パター
ンを取り出し、生成した文字パターンを、入力文字コー
ド列の文字コードの順に出力部3へ出力して、表示/印
刷出力させる。Next, using this internal code, each character pattern corresponding to each internal code is extracted from the character pattern information 11, and the generated character patterns are output to the output unit 3 in the order of the character code of the input character code string. to display/print out.
【0024】処理部12で前記従来のようにバッファ1
4を持つ場合には、文字パターン情報11から文字パタ
ーンを取り出すと、内部コードと文字パターンを対応付
けてバッファ14に記憶しておき、文字パターンを生成
する場合には、変換テーブルで内部コードに変換した後
、先ずバッファ14を検索し、該当する内部コードがあ
れば、バッファ14に記憶してある文字パターンを使用
するようにする。The processing unit 12 stores the buffer 1 as in the conventional case.
4, when the character pattern is extracted from the character pattern information 11, the internal code and the character pattern are associated and stored in the buffer 14, and when the character pattern is generated, the internal code is extracted from the character pattern information 11. After conversion, the buffer 14 is first searched, and if a corresponding internal code is found, the character pattern stored in the buffer 14 is used.
【0025】図3は本発明の処理の流れの一例を示す図
であり、処理ステップ20で文字コード系の指定と文字
コード列を受け取ると、処理ステップ21で変換テーブ
ル10a、10b、10c等から指定の文字コード系の
変換テーブルを選択する。FIG. 3 is a diagram showing an example of the processing flow of the present invention. When a character code system designation and a character code string are received in processing step 20, processing is performed from conversion tables 10a, 10b, 10c, etc. in processing step 21. Selects the conversion table for the specified character code system.
【0026】次に、文字コード列の先頭から1文字づつ
取り出して、処理ステップ22で取り出した文字コード
を、選択した変換テーブルによって内部コードに変換す
る。処理ステップ23で、バッファ14を内部コードに
よって検索し、当内部コードがバッファに記憶されてい
なければ、処理ステップ24で文字パターン情報11か
ら当内部コードの文字パターンを取り出す。Next, one character at a time is extracted from the beginning of the character code string, and in processing step 22, the extracted character code is converted into an internal code using the selected conversion table. In a processing step 23, the buffer 14 is searched for the internal code, and if the internal code is not stored in the buffer, the character pattern of the internal code is extracted from the character pattern information 11 in a processing step 24.
【0027】次に処理ステップ25で内部コードと文字
パターンをバッファ14に記憶する。この場合に空き領
域がなければ、所定の適当な基準で選択する記憶領域に
書き込み、従って前の記憶は消去される。Next, in a processing step 25, the internal code and character pattern are stored in the buffer 14. In this case, if there is no free space, the data is written to a storage area selected according to a predetermined appropriate criterion, and the previous storage is thus erased.
【0028】又、変換して得た内部コードが、処理ステ
ップ23でバッファ14にあった場合には、処理ステッ
プ26で当内部コードに対応してバッファ14に記憶さ
れている文字パターンを取り出す。Further, if the internal code obtained by the conversion is found in the buffer 14 in processing step 23, the character pattern stored in the buffer 14 corresponding to the internal code is extracted in processing step 26.
【0029】以上により生成された文字パターンを、処
理ステップ27で出力部3へ送って出力させて1個の文
字コードの出力が終わる。処理ステップ28で識別して
、入力文字コード列の文字コードが終わるまで、以上の
処理ステップ22から処理ステップ27までの処理を繰
り返す。The character pattern generated as described above is sent to the output section 3 in processing step 27 to be outputted, thereby completing the output of one character code. The above processes from process step 22 to process step 27 are repeated until the character code of the input character code string is identified in process step 28 and ends.
【0030】[0030]
【発明の効果】以上の説明から明らかなように本発明に
よれば、文字コードに対応する文字パターンを出力する
、印刷装置、表示装置等において、多種の文字コード系
を経済的に且つ効率良く処理できるという著しい工業的
効果がある。As is clear from the above description, according to the present invention, various character code systems can be used economically and efficiently in printing devices, display devices, etc. that output character patterns corresponding to character codes. It has a remarkable industrial effect in that it can be treated.
【図1】 本発明の構成を示すブロック図[Figure 1] Block diagram showing the configuration of the present invention
【図2】
従来の構成例を示すブロック図[Figure 2]
Block diagram showing a conventional configuration example
【図3】 本発明の
処理の流れ図[Figure 3] Flowchart of processing of the present invention
1a、1b、1c、11 文字パターン情報2、12
処理部
3 出力部
4、14 バッファ
10a、10b、10c 変換テーブル20〜28
処理ステップ1a, 1b, 1c, 11 Character pattern information 2, 12
Processing unit 3 Output units 4, 14 Buffers 10a, 10b, 10c Conversion tables 20 to 28
processing step
Claims (1)
ドを入力して、該文字コードから定まる文字パターンを
出力する装置であって、該文字コード系ごとに対応する
変換テーブル(10a、10b、10c)と、文字パタ
ーン情報(11)と、処理部(12)とを有し、各該変
換テーブル(10a、10b、10c)は、当該文字コ
ード系の各文字コードを所定の内部コードに変換するテ
ーブルであり、該文字パターン情報(11)は、各該内
部コードに対応して、各所定の文字パターンを保持し、
該処理部(12)は、指定の該文字コード系の該文字コ
ードを受け取り、当該指定の文字コード系の該変換テー
ブル(10a、10b、10c)によって、該文字コー
ドを該内部コードに変換し、該内部コードによって該文
字パターン情報(11)から定まる該文字パターンを出
力するように構成されていることを特徴とする文字パタ
ーン処理装置。1. A device for inputting character codes of a plurality of predetermined character code systems and outputting a character pattern determined from the character codes, comprising a conversion table (10a, 10b, 10c), character pattern information (11), and a processing unit (12), each conversion table (10a, 10b, 10c) converts each character code of the character code system into a predetermined internal code. The character pattern information (11) holds each predetermined character pattern corresponding to each internal code,
The processing unit (12) receives the character code of the specified character code system, and converts the character code into the internal code using the conversion table (10a, 10b, 10c) of the specified character code system. , a character pattern processing device configured to output the character pattern determined from the character pattern information (11) by the internal code.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3042143A JPH04280295A (en) | 1991-03-08 | 1991-03-08 | Character pattern processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3042143A JPH04280295A (en) | 1991-03-08 | 1991-03-08 | Character pattern processing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04280295A true JPH04280295A (en) | 1992-10-06 |
Family
ID=12627724
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3042143A Withdrawn JPH04280295A (en) | 1991-03-08 | 1991-03-08 | Character pattern processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04280295A (en) |
-
1991
- 1991-03-08 JP JP3042143A patent/JPH04280295A/en not_active Withdrawn
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH02222063A (en) | Slip output device | |
| JPH03196188A (en) | Display system for information processor | |
| JPH04280295A (en) | Character pattern processing device | |
| JPS594706B2 (en) | Print pattern generator | |
| GB2197102A (en) | High resolution character generation | |
| WO2001016863A2 (en) | Method and apparatus for symbol storage and display | |
| JPS581782B2 (en) | Moji pattern hatsuseiki | |
| JP3896683B2 (en) | User-defined character management device and storage medium | |
| JPH01130957A (en) | Character controlling apparatus | |
| JPH0445875B2 (en) | ||
| JPH03261573A (en) | Reduction printing system | |
| JPH05143279A (en) | Code converter | |
| JPS5824185A (en) | Character pattern generation circuit | |
| JPH06187371A (en) | Storing method and reading method of compressed place name data | |
| JPH03138755A (en) | Document preparing method | |
| JPH0540762A (en) | Kanje-pinyin conversion system | |
| JPH02109184A (en) | Outline vector storing system | |
| JPS61223784A (en) | Character data output unit | |
| KR960001976A (en) | Hangul Combination Method and Its Apparatus for Improving Graphic Hangul Implementation Speed | |
| JPH02297661A (en) | 2-byte character processor | |
| JPH02223990A (en) | character processing device | |
| JPH023865A (en) | Retrieving system for kanji character | |
| JPH04335394A (en) | Font data compression system | |
| JPH06138866A (en) | Device and method for character font generation | |
| JPS619755A (en) | Kana-to-kanji conversion system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 19980514 |