JPH0650458B2 - Pattern information output device - Google Patents
Pattern information output deviceInfo
- Publication number
- JPH0650458B2 JPH0650458B2 JP59226841A JP22684184A JPH0650458B2 JP H0650458 B2 JPH0650458 B2 JP H0650458B2 JP 59226841 A JP59226841 A JP 59226841A JP 22684184 A JP22684184 A JP 22684184A JP H0650458 B2 JPH0650458 B2 JP H0650458B2
- Authority
- JP
- Japan
- Prior art keywords
- character
- pattern
- bold
- code
- character code
- 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.)
- Expired - Lifetime
Links
Landscapes
- Dot-Matrix Printers And Others (AREA)
- Controls And Circuits For Display Device (AREA)
Description
【発明の詳細な説明】 [技術分野] 本発明は、指定されたパターンの態様に応じて、種々の
パターン情報を送出するよう構成したパターン情報出力
装置に関するものである。Description: TECHNICAL FIELD The present invention relates to a pattern information output device configured to send various pattern information according to a specified pattern mode.
[従来技術] 従来から、所望のパターンを形成するために、例えばド
ット表現形式のパターン情報を出力する装置が数多く知
られている。かかるパターン情報出力装置は、多種類の
パターンを形成する際にも、容易にその出力パターンを
変更し得るという利点がある。ドットリフレッシュ型の
CRT表示装置,ワイヤードットプリンタ,サーマルプリ
ンタなどがドット表現形式のパターン出力装置として知
られている。[Prior Art] Conventionally, there are many known devices that output pattern information in, for example, a dot expression format in order to form a desired pattern. Such a pattern information output device has an advantage that the output pattern can be easily changed even when forming many types of patterns. Dot refresh type
CRT display devices, wire dot printers, thermal printers, etc. are known as pattern output devices in the dot expression format.
上述したドットリフレッシュ型のCRT表示装置において
は、特定の文字や記号のパターンごとにコードを予め決
めておき、そのコードに従って特定の文字や記号のパタ
ーン情報(以下、フォントという)を読み出し、読み出
したフォントをビデオRAMに一時蓄えておき、かかるパ
ターン情報を高速にて繰り返し読み出し、もってCRT上
に表示している。In the dot refresh type CRT display device described above, a code is determined in advance for each pattern of specific characters and symbols, and pattern information (hereinafter, referred to as font) of specific characters and symbols is read according to the code and read. Fonts are temporarily stored in video RAM, and such pattern information is repeatedly read at high speed and displayed on the CRT.
このようなドットリフレッシュ型のCRT表示装置やプリ
ンタ等を用いて、文字にアンダーラインを付したり、あ
るいは文字を強調するために太線にする(以下、ボール
ドという)場合には、フォントを記憶するメモリの容量
増加を避けるために、アンダーライン付きフォントやボ
ールド用のフォントを別個に記憶することなく、上記メ
モリから読み出したパターン情報に所定の画像処理操作
を加え、もって所望のアンダーラインを付したりボール
ドに変形したりしていた。その他、文字のコントラスト
を反転させる場合にも、同様に所定の処理が行われてい
た。なお、上記アンダーライン,ボールド,反転表示な
どは、一般に、文字の“属性”と呼ばれているものであ
る。When using a dot refresh type CRT display device, printer, etc., to underline characters or to make them thicker to emphasize them (hereinafter referred to as bold), the font is stored. In order to avoid an increase in the memory capacity, the pattern information read from the above memory is subjected to a predetermined image processing operation without separately storing the underlined font and the bold font, and the desired underline is added. Or it was transformed into bold. In addition, when inverting the contrast of characters, a predetermined process is performed in the same manner. The underline, bold, reverse display, etc. are generally called "attributes" of characters.
いま、一例として、文字の属性のひとつである“ボール
ド”を表示する場合の従来技術について説明する。この
場合には、メモリから読み出したフォントを左方向もし
くは右方向に対して1ドットぶんだけシフトし、得られ
たフォントとシフト前のフォントとの論理和を求め、そ
の演算結果をビデオRAMに転送してボールド表示を実現
していた。Now, as an example, a conventional technique for displaying "bold" which is one of the attributes of characters will be described. In this case, the font read from the memory is shifted by one dot to the left or right, the logical sum of the obtained font and the font before the shift is calculated, and the operation result is transferred to the video RAM. And realized a bold display.
しかし、このような方式によるパターン情報出力装置に
おいては、次に述べるような欠点がみられた。However, the pattern information output device using such a method has the following drawbacks.
第2図に示すようにマイナス記号(“−”)などをボ
ールド表示する場合には、横方向にフォントが1ドット
分ずれるだけなので、ボールド表示であるか否かを判別
することが困難であった。As shown in FIG. 2, when a minus sign (“-”) or the like is displayed in bold, it is difficult to determine whether or not it is in bold because the font is shifted by one dot in the horizontal direction. It was
分解能の低い表示器を用いて小文字の“m”(あるい
は“w”など)をボールド表示する場合には、第3図に
示すようにドット相互が隣接してしまい、文字自体の判
別が不可能になってしまう。When a small letter "m" (or "w", etc.) is displayed bold using a display with low resolution, the dots are adjacent to each other as shown in Fig. 3, and the characters themselves cannot be distinguished. Become.
[目的] 本発明の目的は、上述の点に鑑み、フォント用メモリの
容量を著しく増加させることなく、パターンの属性に応
じた適切なパターン情報を送出するよう構成したパター
ン情報出力装置を提供することにある。[Object] In view of the above points, an object of the present invention is to provide a pattern information output device configured to send appropriate pattern information according to the attribute of a pattern without significantly increasing the capacity of the font memory. Especially.
かかる目的を達成するために、本発明に係るパターン情
報出力装置は、同一の文字コードに対する第1の態様の
文字パターンと第2の態様の文字パターンとをそれぞれ
対応するアドレス位置に記憶するパターン記憶手段と、
前記文字コードを前記第1の態様で可視出力する場合、
前記パターン記憶手段の第1のアドレス位置に記憶され
ている文字パターンをアクセスする第1の制御手段と、
前記文字コードを前記第2の態様で可視出力する場合、
前記文字コードに対応して予め定められた数により前記
第1のアドレス位置とは異なる第2のアドレス位置を導
出し、該第2のアドレス位置に記憶されている文字パタ
ーンをアクセスする第2の制御手段と、前記第1の制御
手段または前記第2の制御手段により、前記パターン記
憶手段から前記第1の態様の文字パターンあるいは前記
第2の態様の文字パターンを出力する手段とを有するも
のである。In order to achieve such an object, a pattern information output device according to the present invention is a pattern storage that stores a character pattern of the first mode and a character pattern of the second mode for the same character code at corresponding address positions. Means and
When the character code is visually output in the first mode,
First control means for accessing a character pattern stored at a first address position of the pattern storage means,
When the character code is visibly output in the second mode,
A second address position different from the first address position is derived by a predetermined number corresponding to the character code, and the second character position stored in the second address position is accessed. And a means for outputting the character pattern of the first aspect or the character pattern of the second aspect from the pattern storage means by the first control means or the second control means. is there.
[実施例] 以下、実施例に基づいて本発明を詳細に説明する。[Examples] Hereinafter, the present invention will be described in detail based on Examples.
第1図は、本発明を適用したパターン情報出力装置の概
略構成を示す。本装置は、後に詳述するように、ドット
リフレッシュ型のCRT表示部を含むものである。FIG. 1 shows a schematic configuration of a pattern information output device to which the present invention is applied. This device includes a dot refresh type CRT display unit, as will be described later in detail.
第1図において、1は予め定められた制御手順(第5図
および第6図に関して後に説明する)に従って本装置の
動作を制御するCPU(中央処理装置)であって、後に説
明するレジスタBLを有する。2はCPU1に接続した共通バ
ス、3はラスター走査表示方式によりパターン表示を行
うCRT表示部、4はCRTドットリフレッシュ式のパターン
情報を表示部3に対して送出する表示制御部、5はCRT
の1画面ぶんに相当する表示ドットパターンを記憶して
高速繰返し読み出しを可能とするビデオRAM(ランダム
・アクセス・メモリ)である。6はROM(リード・オン
リ・メモリ)であって、CPU1が実行すべきシーケンス
(例えば、第5図および第6図に示す如き手順)を記憶
しているメモリ領域PR,通常の文字フォント(第1のキ
ャラクタパターン)を記憶している領域1CPR,所定の
文字のボールドタイプのフォント(第2のキャラクタパ
ターン)を記憶している領域2CPR,後述する属性変換テ
ーブルATT-CNVを記憶する領域を有する。In FIG. 1, reference numeral 1 is a CPU (central processing unit) that controls the operation of the apparatus according to a predetermined control procedure (which will be described later with reference to FIGS. 5 and 6). Have. Reference numeral 2 is a common bus connected to the CPU 1, 3 is a CRT display section that displays a pattern by a raster scanning display method, 4 is a display control section that sends CRT dot refresh type pattern information to the display section 3, and 5 is a CRT
Is a video RAM (random access memory) capable of storing a display dot pattern corresponding to one screen and enabling high-speed repetitive reading. Reference numeral 6 denotes a ROM (Read Only Memory), which is a memory area PR in which a sequence to be executed by the CPU 1 (for example, the procedure shown in FIG. 5 and FIG. 6) is stored, a normal character font (first Area 1CPR storing 1 character pattern), area 2CPR storing bold type font (second character pattern) of a predetermined character, and area storing attribute conversion table ATT-CNV described later. .
第4図は本実施例に用いる“属性変換テーブル”(以
下、ATT-CNVテーブルという)を示し、第1図に示すROM
6にその内容を記憶させてある。このATT-CNVテーブルに
示すデータは、従来のドットシフト技術(第2図,第3
図参照)を用いてボールド表示を行った場合には種々の
問題が生じる文字について、その文字コードを表すもの
である。この文字コードは、アスキーコードを16進表示
で示したものである(ATT-CNVテーブルに示す各コード
の右下にある“H”は16進表示を表す)。但し、ATT-CN
Vテーブルの末尾に示すFFHは、テーブブルの終了を示す
ためのデータである。FIG. 4 shows the "attribute conversion table" (hereinafter referred to as the ATT-CNV table) used in this embodiment, and the ROM shown in FIG.
The contents are stored in 6. The data shown in this ATT-CNV table is based on the conventional dot shift technology (Figs. 2 and 3).
The character codes of characters that cause various problems when the bold display is performed using (see the figure). This character code represents the ASCII code in hexadecimal display ("H" in the lower right of each code shown in the ATT-CNV table represents hexadecimal display). However, ATT-CN
FF H shown at the end of the V table is data for indicating the end of the table.
本実施例に用いる文字コードは、“7FH”まではアスキ
ーコードと一致させている。そして、“80H”以降の文
字コードは、本実施例特有の新たな文字コードとして用
いる。すなわち、第4図に示すATT-CNVテーブルにおい
て、 第1番目に示すアスキーコード“23H”(“#”を表
す)には新たな文字コード“80H”を割当て、 第2番目に示すアスキーコード“2BH”(“−”を表
す)には新たな文字コード“81H”を割当て、 以下同様に、 第13番目に示すアスキーコード“6DH”(“m”を表
す)には新たな文字コード“8CH”を割当てる。The character code used in this embodiment is the same as the ASCII code up to "7F H ". The character code after "80 H " is used as a new character code peculiar to this embodiment. That is, in the ATT-CNV table shown in FIG. 4, a new character code “80 H ” is assigned to the first ASCII code “23 H ” (representing “#”), and the second ASCII code shown in FIG. A new character code "81 H " is assigned to the code "2B H " (representing "-"), and similarly, a new character code is assigned to the ASCII code "6D H " (representing "m") shown below. Assign the character code “8C H ”.
そして、本実施例では、通常の文字フォントはROM6(第
1図参照)のアドレスFC000Hから16バイト(1文字ぶ
ん)毎に連続して記憶させてある。従って、ATT-CNVテ
ーブルの第1番目に示す“23H”(“#”を表す)のボ
ールド用フォントは、新たな文字コード“80H”に対応
するので、 FC000H+80H*10H なるROM6のアドレスから始まる16バイトで構成されてい
る(*は×の意味)。In this embodiment, normal character fonts are continuously stored every 16 bytes (one character) from the address FC000 H of the ROM 6 (see FIG. 1). Therefore, the bold font of "23 H " (representing "#") shown in the first of the ATT-CNV table corresponds to the new character code "80 H ", so FC000 H +80 H * 10 H It consists of 16 bytes starting from the address of ROM6 (* means x).
また、ATT-CNVテーブルの第2番目に示す“2BH”
(“−”を表す)のボールド用フォントは、新たな文字
コード“81H”に対応するので、 FC000H+81H*10H なるROM6のアドレスから始まる16バイトで構成されてい
る。Also, the second "2B H " in the ATT-CNV table
The bold font (representing "-") corresponds to the new character code "81 H ", so it is composed of 16 bytes starting from the address of ROM6 FC000 H +81 H * 10 H.
同様に、ATT-CNVテーブルの第13番目に示す“6DH”
(“m”を表す)のボールド用フォントは、新たな文字
コード“8CH”に対応するので、 FC000H+8CH*10H なるROM6のアドレスから始まる16バイトで構成されてい
る。Similarly, “6D H ” shown in the 13th column of the ATT-CNV table
Bold font of ( "m" represents a) is because it corresponds to the new character code "8C H", consists of 16 bytes starting from the address of FC000 H + 8C H * 10 H becomes ROM 6.
なお、ボールド表示を行わない通常の“m”について
は、そのアスキーコードが“6DH”であるので、 FC000H+6DH*10H なるROM6のアドレスから始まる16バイトで構成されてい
る。As for the normal “m” that does not display bold, its ASCII code is “6D H ”, so it is composed of 16 bytes starting from the address of ROM6 FC000 H + 6D H * 10 H.
第5図および第6図に示すフローチャートは、本実施例
を用いてボールド表示を行うための制御手順を示す。The flowcharts shown in FIG. 5 and FIG. 6 show the control procedure for performing bold display using this embodiment.
以下、第4図に示すATT-CNVテーブルを併せ参照して本
実施例の動作を説明する。The operation of this embodiment will be described below with reference to the ATT-CNV table shown in FIG.
まず、アルファベット“A”のボールドを表示する手順
について説明する。First, a procedure for displaying a bold alphabet "A" will be described.
アルファベット“A”のアスキーコード“41H”がATT-C
NVテーブルに格納されているか否かを判定する(ステッ
プS1)。ASCII code "41 H " of alphabet "A" is ATT-C
It is determined whether or not it is stored in the NV table (step S1).
ATT-CNVテーブルに“41H”なるコードは格納されていな
いので、先に述べた従来技術(第2図および第3図に示
すドットシフト手法)を用いて、ROM6より「A」のフォ
ントを読み出しビデオRAM5上にパターン(第2図,第3
図参照)を書き込み、もってアルファベット“A”のボ
ールド表示をCRT上に行う(ステップS2)。Since the code "41 H " is not stored in the ATT-CNV table, the font "A" is read from ROM6 by using the above-mentioned conventional technique (dot shift method shown in FIGS. 2 and 3). A pattern (Fig. 2, 3
(Refer to the drawing) and the bold display of the alphabet "A" is performed on the CRT (step S2).
次に、アルファベットの小文字“m”を表示する場合に
ついて説明する。Next, a case of displaying the lowercase letter "m" of the alphabet will be described.
この場合には、アルファベット“m”を示すアスキーコ
ード“6DH”がATT-CNVテーブルに格納されているので
(ステップS1)、第6図示のサブルーチンにジャンプ
する(ステップS3)。In this case, since the ASCII code "6D H " indicating the alphabet "m" is stored in the ATT-CNV table (step S1), the process jumps to the subroutine shown in FIG. 6 (step S3).
すなわち、アルファベット“m”を従来技術を用いてボ
ールド表示したのでは、明瞭な文字が得られないので、
以下に述べる処理を行う。That is, if the alphabet "m" is displayed in bold using the conventional technique, clear characters cannot be obtained.
The following processing is performed.
ATT-CNVテーブル内の各データ位置を示すポインタとし
て、レジスタBL(第1図参照)を用いる。まず、このレ
ジスタBLをクリアして(ステップS4)、第1番目の格納
データ“23H”を指し示す。The register BL (see FIG. 1) is used as a pointer indicating each data position in the ATT-CNV table. First, the register BL is cleared (step S4) to indicate the first stored data " 23H ".
そして、レジスタBLが指し示す文字コードと“m”の文
字コード“6DH”とが一致するまで、レジスタBLの内容
をインクリメントしていく(ステップS5,S6)。Then, the content of the register BL is incremented until the character code indicated by the register BL and the character code "6D H " of "m" match (steps S5, S6).
ATT-CNVテーブル上において、ボールド表示すべき文字
(m)の文字コードが見つけられた場合(BL=OCH)に
は、既述の説明の如く、新たな文字コード(80H+BL=8
0H+OCH=8CH)を設定する。換言すれば、アルファベッ
ト“m”のボールド表示用コードとして、従来のアスキ
ーコードを新たな文字コードに変換する(ステップS
7)。When the character code of the character (m) to be displayed in bold is found on the ATT-CNV table (BL = OC H ), a new character code (80 H + BL = 8) is added as described above.
Setting the 0 H + OC H = 8C H ). In other words, the conventional ASCII code is converted into a new character code as the bold display code of the alphabet "m" (step S
7).
新たに設定された文字コード(“8CH”)に該当するROM
アドレス(FC000H+8CH*10H=FC8COH)からボールド表
示用フォント(例えば、第7図に示すドット配置を有す
る)を読み出してVRAM5に転送し、通常のCRT表示を行う
(ステップS8)。従って、この場合には、ドットの横方
向シフトなど従来から知られているボールド用処理は行
わない。ROM corresponding to the newly set character code (“8C H ”)
Transfer from the address (FC000 H + 8C H * 10 H = FC8CO H) Bold displaying font (e.g., having a dot arrangement shown in FIG. 7) to VRAM5 reads performs normal CRT display (step S8). Therefore, in this case, the conventionally known bold processing such as lateral shift of dots is not performed.
なお、以上説明した実施例では、ドット表示による文字
についてボールド表示を行うことを説明したが、アンダ
ーラインを付す場合、反転表示を行う場合、更には、一
般的な画像パターンを形成する場合にも本発明を適用し
得ることは勿論である。In the embodiment described above, the bold display is performed for the character by the dot display. However, in the case of underlining, the reverse display, and also in the case of forming a general image pattern. Of course, the present invention can be applied.
[効果] 以上説明したとおり本発明によれば、出力すべき文字パ
ターンのメモリアドレスを所定の文字コードに対応して
定められた所定数により得ることができるので、簡単に
して良好なパターン情報を得ることができるという格別
の効果が得られる。[Effect] As described above, according to the present invention, a memory address of a character pattern to be output can be obtained by a predetermined number determined corresponding to a predetermined character code. A special effect that can be obtained is obtained.
第1図は本発明の一実施例全体を示す概略ブロック図、 第2図および第3図は従来技術による画像処理の欠点を
説明するドット構成図、 第4図は本実施例に用いる特殊なテーブルを示す線図、 第5図および第6図は本実施例の制御手順を説明するフ
ローチャート、 第7図は本実施例におけるボールド表示の一例を示すド
ット構成図である。 1…CPU、 2…共通バス、 3…CRT表示部、 4…表示制御部、 5…ビデオRAM、 6…ROM。FIG. 1 is a schematic block diagram showing an entire embodiment of the present invention, FIGS. 2 and 3 are dot configuration diagrams for explaining the drawbacks of image processing according to the prior art, and FIG. 4 is a special block diagram used in this embodiment. A table showing the table, FIGS. 5 and 6 are flowcharts for explaining the control procedure of the present embodiment, and FIG. 7 is a dot configuration diagram showing an example of bold display in the present embodiment. 1 ... CPU, 2 ... Common bus, 3 ... CRT display section, 4 ... Display control section, 5 ... Video RAM, 6 ... ROM.
Claims (1)
字パターンと第2の態様の文字パターンとをそれぞれ対
応するアドレス位置に記憶するパターン記憶手段と、 前記文字コードを前記第1の態様で可視出力する場合、
前記パターン記憶手段の第1のアドレス位置に記憶され
ている文字パターンをアクセスする第1の制御手段と、 前記文字コードを前記第2の態様で可視出力する場合、
前記文字コードに対応して予め定められた数により前記
第1のアドレス位置とは異なる第2のアドレス位置を導
出し、該第2のアドレス位置に記憶されている文字パタ
ーンをアクセスする第2の制御手段と、 前記第1の制御手段または前記第2の制御手段により、
前記パターン記憶手段から前記第1の態様の文字パター
ンあるいは前記第2の態様の文字パターンを出力する手
段と を有するパターン情報出力装置。1. A pattern storage unit for storing a character pattern of the first aspect and a character pattern of the second aspect for the same character code at corresponding address positions, and the character code in the first aspect. In case of visible output,
First control means for accessing a character pattern stored at a first address position of the pattern storage means, and visually outputting the character code in the second mode,
A second address position different from the first address position is derived by a predetermined number corresponding to the character code, and the second character position stored in the second address position is accessed. By the control means and the first control means or the second control means,
Means for outputting the character pattern of the first aspect or the character pattern of the second aspect from the pattern storage means.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59226841A JPH0650458B2 (en) | 1984-10-30 | 1984-10-30 | Pattern information output device |
| US06/791,402 US4827254A (en) | 1984-10-30 | 1985-10-25 | Display apparatus adapted to display various types of modified characters |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59226841A JPH0650458B2 (en) | 1984-10-30 | 1984-10-30 | Pattern information output device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61105589A JPS61105589A (en) | 1986-05-23 |
| JPH0650458B2 true JPH0650458B2 (en) | 1994-06-29 |
Family
ID=16851405
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59226841A Expired - Lifetime JPH0650458B2 (en) | 1984-10-30 | 1984-10-30 | Pattern information output device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0650458B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5521354B2 (en) * | 1974-01-25 | 1980-06-09 |
-
1984
- 1984-10-30 JP JP59226841A patent/JPH0650458B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61105589A (en) | 1986-05-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4616336A (en) | Independent image and annotation overlay with highlighting of overlay conflicts | |
| US4555700A (en) | Internal image and bit array for display and printing of graphics | |
| JPH05298289A (en) | Word processor | |
| JPH0723008B2 (en) | How to generate a character image | |
| US4827254A (en) | Display apparatus adapted to display various types of modified characters | |
| JPH0570832B2 (en) | ||
| US5068803A (en) | Method and apparatus for filling contours in digital typefaces | |
| JPH0473158B2 (en) | ||
| JPH0650458B2 (en) | Pattern information output device | |
| JPH05181454A (en) | Display system, its control circuit, and display device | |
| JPH03213367A (en) | Multicolor printer | |
| JPH0456317B2 (en) | ||
| JPH023099A (en) | Display device | |
| JP2612402B2 (en) | Display control method | |
| JPH041353B2 (en) | ||
| JPH0630927B2 (en) | Pattern output method | |
| JPH01140193A (en) | Automatic writing style converter | |
| JP3089918B2 (en) | Data converter | |
| JPH08123400A (en) | Display control device, display information storage system, and display device | |
| JPS63234289A (en) | Display data lithography system | |
| JPH081554B2 (en) | Character processor | |
| JPS59123046A (en) | Display system of document processor | |
| JPS6355071B2 (en) | ||
| JPS61116386A (en) | Character pattern writing control system | |
| JPH0695276B2 (en) | How to display ruled line types |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |