JPS6157987A - Character pattern accentuation control system - Google Patents

Character pattern accentuation control system

Info

Publication number
JPS6157987A
JPS6157987A JP59179637A JP17963784A JPS6157987A JP S6157987 A JPS6157987 A JP S6157987A JP 59179637 A JP59179637 A JP 59179637A JP 17963784 A JP17963784 A JP 17963784A JP S6157987 A JPS6157987 A JP S6157987A
Authority
JP
Japan
Prior art keywords
dot
character
value
pattern
interpolation
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.)
Pending
Application number
JP59179637A
Other languages
Japanese (ja)
Inventor
弘 石井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP59179637A priority Critical patent/JPS6157987A/en
Publication of JPS6157987A publication Critical patent/JPS6157987A/en
Pending legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明はドツトマトリクス構造の文字7オント情報を扱
う文書作成装置、文字出力装置等に用いられる文字パタ
ーン強調制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a character pattern emphasis control system used in document creation devices, character output devices, etc. that handle character 7-ont information having a dot matrix structure.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

文書作成装置等、規定されたドツトマトリクス構成の文
字フォントを扱9装置に於いて、規定されたドツトマト
リクス構成の文字フォントを成る倍率で拡大・縮小する
ことのできる機能をもたせる場合、従来では、第5図に
(a)乃至(c)に示すように原文字ノ4ターンドッ)
 sd  ・・・から単純にドツトを増加又は削除する
所謂単純拡大方式が採られていた。
Conventionally, when providing a device that handles character fonts with a specified dot matrix structure, such as a document creation device, with a function that can enlarge or reduce the character fonts with a specified dot matrix structure at a certain magnification, In Figure 5, as shown in (a) to (c), the original characters are 4 turn dots)
A so-called simple enlargement method was adopted in which dots were simply increased or deleted from sd.

このような従来の拡大・縮小手段は、比較的簡単かつ安
価に実現出来るが、例えば斜線部分における階段状の形
成部(括れ)が目立つ等、出力されるパターン形状が本
来の宍現すべき文字形態から逸れてしまい、認識し難い
不自然な文字表現になってしまうという不都合がありた
Such conventional enlarging/reducing means can be realized relatively easily and inexpensively, but the output pattern shape may not be the character form that should be reproduced, for example, if the step-like formation (constriction) in the diagonal line area is noticeable. This had the disadvantage that it deviated from the original character, resulting in an unnatural character expression that was difficult to recognize.

又、上記したような従来の拡大・縮小手段においては、
斜体、回転体、白抜き、更には線太等各穏の変形字体を
容易に得ることができず又その変形範囲が大幅に制約式
れるという欠点があった。
Furthermore, in the conventional enlarging/reducing means as mentioned above,
It is not possible to easily obtain various types of modified fonts such as italics, rotations, outlines, and even thick lines, and the range of modification is greatly restricted.

〔発明の目的〕[Purpose of the invention]

本発明は上記実情に鑑みなされたもので、基本ドツトマ
トリクス構成の文字ノ々ターンから、任意の拡大・縮小
倍率にて文字品質の高い例えば第4図に示すような内部
に任意のドツトパターンを持つ白抜き文字(以後、網抜
き文字と称す)を得ることのできる文字修飾機能をもつ
文字パターン強調制御方式を提供することを目的とする
The present invention has been made in view of the above circumstances, and allows arbitrary dot patterns to be created inside characters with high quality, for example, as shown in FIG. It is an object of the present invention to provide a character pattern emphasizing control system having a character modification function capable of obtaining white characters (hereinafter referred to as halftone characters).

〔発明の実施例〕[Embodiments of the invention]

以下図面を参照して本発明の一実施例を説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例を示す回路ブロック図である
。図中、10はシステム全体の制御を司るCPU、11
はメインメモリ(MM)、12はcpσバス、13は表
示制御回路(CRT−C)、14はフレームメモリ(F
M)、15はパラレル−シリアル変換回路(p−s)、
16はCRT表示部である。
FIG. 1 is a circuit block diagram showing one embodiment of the present invention. In the figure, 10 is a CPU that controls the entire system;
is the main memory (MM), 12 is the cpσ bus, 13 is the display control circuit (CRT-C), and 14 is the frame memory (F
M), 15 is a parallel-serial conversion circuit (p-s),
16 is a CRT display section.

21乃至25はそれぞれCPUバス12につながれたI
10レジスタで4.9.21はドツト補間時に於けるX
方向のドツト刻み幅(dX)’e貯えるレジスタ、22
はドツト補間時のX方向の初期値(イニシャルアドレス
;’sx)を貯えるレジスタ、23はドツト補間時に於
けるY方向のドツト刻み幅(dy)を貯えるレジスタ、
24はドツト補間時のY方向の初期値(イニシャルアド
レス;my)を貯えるレジスタ、25は後述する補間値
との比較を行なうための比較値卸ち閾値(th)を貯え
るレジスタである。
21 to 25 are I connected to the CPU bus 12, respectively.
4.9.21 with 10 registers is X during dot interpolation
Directional dot step width (dX)'e register, 22
23 is a register that stores the initial value (initial address; 'sx) in the X direction during dot interpolation, and 23 is a register that stores the dot width (dy) in the Y direction during dot interpolation.
A register 24 stores an initial value (initial address; my) in the Y direction during dot interpolation, and a register 25 stores a comparison value threshold (th) for comparison with an interpolated value, which will be described later.

26は後述するラッチ回路28の値にレジスタ21の値
(dx)を加算する加算回路(ADD )、27はスタ
ート時に於いてレジスタ22の値(Ilx)を選択し、
それ以後は加算回路26の出力を選択するデータセレク
タ(SEL)、28はデータセレクタ27よシ出力され
る整数部と小数部で表わされるドツト補間時の新たなド
ツトアドレス(sx+1−dx )を貯えるラッチ回路
である。29は後述するラッチ回路31の値にレジスタ
23の値(dy )を加算する加算回路、30はスター
ト時に於いてレジスタ24の値C11y)を選択し、そ
れ以後は加算回路29の出力を選択するデータセレクタ
、31はデータセレクタ30よシ出力される整数部と小
数部で表わされるドツト補間時の新たなドツトアドレス
(sy+j−dy )を貯えるラッチ回路である。
26 is an adder circuit (ADD) that adds the value (dx) of the register 21 to the value of the latch circuit 28 (described later); 27 is the circuit that selects the value (Ilx) of the register 22 at the time of start;
After that, the data selector (SEL) selects the output of the adder circuit 26, and the data selector 28 stores the new dot address (sx+1-dx) at the time of dot interpolation, which is expressed by the integer part and decimal part output from the data selector 27. It is a latch circuit. 29 is an adder circuit that adds the value (dy) of register 23 to the value of latch circuit 31, which will be described later. 30 selects the value C11y of register 24 at the start, and thereafter selects the output of adder circuit 29. The data selector 31 is a latch circuit that stores a new dot address (sy+j-dy) at the time of dot interpolation, which is expressed by an integer part and a decimal part and is output from the data selector 30.

32はデータセレクタ27.30の切替え制御を行なう
制御フリッゾ70ツブである。33は漢字を含む所定ド
ツトマトリクス単位(例えば16X16ドツト)の文字
ノ々ターンデータが格納された漢字ノ4ターンメモリ(
KPM )である。
Reference numeral 32 denotes a control frizzo 70 that controls switching of the data selectors 27 and 30. Reference numeral 33 denotes a kanji 4-turn memory (4-turn memory for kanji characters) in which character no-turn data in a predetermined dot matrix unit (for example, 16 x 16 dots) including kanji characters is stored.
KPM).

34は漢字パターンメモリ33よシ読出した1文字分の
ドツトパターンを貯える高速RAMによf)構成された
1文字バッファであり、ここでは1文字分のドットパタ
ーンをその周囲をオフドラ)(”0’)のドットパター
ンで埋めた状態で記憶する。35は1文字バッファ34
に貯えられた文字ノ々ターンデータのうち、2ツテ回路
28.31の各整数部の値に従い、新たなドツトを囲む
1格子4点のドツト情報を選択的に出力するビット選択
回路である。36はビット選択回路35よシ出力された
4ビツトの情報をラッチするラッチ回路である。
Reference numeral 34 denotes a single character buffer consisting of a high-speed RAM that stores the dot pattern for one character read from the kanji pattern memory 33; ') is stored in a state filled with dot patterns. 35 is 1 character buffer 34
This is a bit selection circuit that selectively outputs dot information of four points in one lattice surrounding a new dot according to the value of each integer part of the two-way circuit 28 and 31 among character turn data stored in the character number turn data. A latch circuit 36 latches the 4-bit information output from the bit selection circuit 35.

37乃至39はビット選択回路35より出力されるドツ
ト情報のパターンを認識し、4点のドツトで囲まれる新
ドツトの補間値を選択的に切替え制御するドツトパター
ン認識部CDSP )の構成要素をなすもので、37は
ラッチ回路36のビット内容から4点のドツトパターン
状態を認識し、後述する特定のドツトパターン状態であ
る際に、更にその周囲の特定の2格子分のドツト情報を
順次選択すべくビット選択回路35を制御する判別制御
回路、38はこの判別制御回路37の制御で読出された
4ビツトの情報をそれぞれラッチするラッチ回路、39
は判別制御回路37の制御で読出された2格子分のドツ
ト情報とラッチ回路36のドツト情報とのドツトパター
ン状態に応じた1ビツトの補間値切替選択信号を出力す
るドツト判別回路である。
37 to 39 constitute constituent elements of a dot pattern recognition unit CDSP) which recognizes the pattern of dot information output from the bit selection circuit 35 and selectively switches and controls the interpolated value of a new dot surrounded by four dots. 37 recognizes the dot pattern state of four points from the bit contents of the latch circuit 36, and when the dot pattern state is in a specific dot pattern state described later, it sequentially selects the dot information of two specific grids around the dot pattern state. 38 is a latch circuit that latches each of the 4 bits of information read out under the control of the discrimination control circuit 37; 39;
is a dot discrimination circuit which outputs a 1-bit interpolation value switching selection signal according to the dot pattern state of the dot information for two grids read out under the control of the discrimination control circuit 37 and the dot information of the latch circuit 36.

40はラッチ回路28に貯えられた小数部の値(5ビツ
トのX方向オフセット値)とラッチ回路31に貯えられ
た小数部の値(5ビツトのY方向オフセット値)とラッ
チ回路36に貯えられた4点のドツト情報とドツト判別
回路39よ多出力される1ビツトの補間値切替選択信号
とを入力情報として前記4点のドツト情報で囲まれた領
域内に於ける新たなドツトの補間値(QX7 )を出力
する補間テーブルROMであり、ここでは256K(3
2KX8)ビットのマスクROMを用い、前記した15
ピツトの読出しアドレスに従い8ビツト(0〜255レ
ベル)の補間値を出力する。41は補間テーブルROM
 40よ多出力される補間値とレジスタ25に貯えられ
た閾値との比較をとるコンパレータであシ、補間値が比
較値即ち閾値を越えた際にオンドツト(輝点)を示す″
】Nレベルの信号を出力する。
40 is the fractional part value stored in the latch circuit 28 (5-bit X-direction offset value), the fractional part value stored in the latch circuit 31 (5-bit Y-direction offset value), and the fractional part value stored in the latch circuit 36. The interpolation value of a new dot in the area surrounded by the dot information of the four points is determined by inputting the dot information of the four points and the 1-bit interpolation value switching selection signal output from the dot discrimination circuit 39 as input information. It is an interpolation table ROM that outputs (QX7), and here it is 256K (3
Using a 2K x 8) bit mask ROM, the above 15
An 8-bit (0 to 255 level) interpolated value is output according to the pit read address. 41 is an interpolation table ROM
It is a comparator that compares the interpolated value that is output more than 40 times with the threshold value stored in the register 25, and indicates an on dot (bright spot) when the interpolated value exceeds the comparison value, that is, the threshold value.
] Outputs an N level signal.

42はコンパレータ41よ多出力されたドツト情報を順
次貯え、所定ビット長単位(ここでは1バイトとする)
毎にCPU /4ス12上に出力するI10レジスタで
ある。
42 sequentially stores the dot information output from the comparator 41 in units of a predetermined bit length (here, 1 byte).
This is the I10 register that outputs on the CPU/4 bus 12 every time.

第2図(&)乃至(f)はそれぞれ補間処理によシ生成
される新たなドツトを囲む1格子4点のドツト情報(ド
ツト/4ターン)と補間テーブルROM 40に設定さ
れた補間値のレベル区分とテーブルタイプとの関係を示
す図であり、ここでは補間値をO〜255段階の輝度(
明暗レベル)で表わし、その区分された一部の領域を等
高腺で示している。
2(&) to (f) respectively show dot information (dot/4 turns) of four points in one grid surrounding a new dot generated by the interpolation process and interpolation values set in the interpolation table ROM 40. It is a diagram showing the relationship between level classification and table type, and here, the interpolated value is set to 0 to 255 levels of brightness (
It is expressed in terms of brightness and darkness levels), and some of the divided areas are shown as contours.

第3図は前記1格子4点のドツトパターンのうち、1ド
ツトのみがオン(” 1 ’ )又はオフ(O”)であ
る際のテーブルタイプの選択切替例を説明するためのも
ので、ドツト/4ターン認識部(DSP )は、例えば
周囲4点のドツト(DOIDl、D2.Da)のうち、
1点のみがオフ即ち“0″(図では白抜きで示すD(7
)である際、更にその周囲の格子の特定ドツト(Da、
Db )のオン・オフ状態を認識し、DalD b =
 ” 1″であれば、第2図(d)に示すようなコーナ
タイプのテーブル(T1)を選択し、又、Da、Dbの
少なくとも何れか一方が”′O″であれば、第2図(f
)に示すような斜形タイプのテーブル(TO)を選択す
る。このように、4点のドツト領域内に位置する新たな
ドツトの補間値は、その4点のドツトが上記したような
特定のパターンをなすとき、更にその周囲のドツト状態
によって定められる。
Figure 3 is for explaining an example of table type selection switching when only one dot out of the four dot patterns in one grid is on ("1'") or off (O"). /4 turn recognition unit (DSP), for example, among the surrounding four dots (DOIDl, D2.Da),
Only one point is off, or “0” (D (7) shown in white in the figure)
), the specific dots (Da,
DalD b =
If it is "1", select the corner type table (T1) as shown in Fig. 2(d), and if at least either Da or Db is "'O", select the table in Fig. 2 (f
Select an oblique type table (TO) as shown in ). In this way, the interpolated value of a new dot located within the four dot area is further determined by the state of the surrounding dots when the four dots form a specific pattern as described above.

ここで第1図乃至第4図を参照して一実旅例の動作を説
明する。先ず、CPU 10は、白抜き文字の内部に書
込むドツトパターン(以後、網かけ)ぐターンと称す)
をメインメモリ11の網かけパターン保存領域に記憶す
る。そして、ドツト4間時に於いて、CPU 10は先
ずレジスタ21.22,23,24.25の初期設定を
行なう。即ちレジスタ21・にX方向のドツト刻み幅(
dx)、レジスタ22にX方向の初期値(イニシャルア
ドレス; SX)、レジスタ23にY方向のドツト刻み
幅(dy)、レジスタ24にY方向の初期値(イニシャ
ルアドレス;ay)、レジスタ25に補間値との比較を
行なうだめの比較値即ち閾値(th)をそれぞれセット
する。
Here, the operation of an actual journey example will be explained with reference to FIGS. 1 to 4. First, the CPU 10 generates a dot pattern (hereinafter referred to as shading) to be written inside a white character.
is stored in the shading pattern storage area of the main memory 11. Then, at the fourth dot, the CPU 10 first initializes the registers 21, 22, 23, and 24.25. In other words, the dot step width (
dx), the initial value in the X direction (initial address; SX) in the register 22, the dot width in the Y direction (dy) in the register 23, the initial value in the Y direction (initial address; ay) in the register 24, and the interpolation in the register 25. A comparison value, that is, a threshold value (th) for comparison with the value is set respectively.

ここで、レジスタ21.23のドツト刻み幅は拡大縮小
倍率の逆数値として与えられる。又、レジスタ22には
、I x = (dx−i )/ 2でなる工xが初期
値sxとしてセットされ、レジスタ24には、Iy=(
dy  1)/2でなるIyが初期値syとしてセット
されるもので、dx又はdyが1以下のとき(即ち拡大
時)はIx又はI7が負となって1文字バッファ34の
原文字パターン格納領域・外のアドレスを示し、dx又
はciyが1以上のとき(即ち縮小時)はIx又は工y
が正となって1文字バッファ34の原文字パターン格納
領域内のアドレスを示す。
Here, the dot step width of registers 21 and 23 is given as an inverse value of the enlargement/contraction magnification. Further, the register 22 is set with the initial value sx, which is I x = (dx-i)/2, and the register 24 is set with Iy = (
Iy consisting of dy 1)/2 is set as the initial value sy, and when dx or dy is less than 1 (that is, when expanding), Ix or I7 becomes negative and the original character pattern is stored in the 1-character buffer 34. Indicates the address outside the area, and when dx or ciy is 1 or more (i.e. when reducing), Ix or y
becomes positive and indicates an address within the original character pattern storage area of the one-character buffer 34.

又、レジスタ25には、補間テーブルROM4θよ多出
力される補間値と比較をとシ新ドツトの何れのレベル以
上のものを意味のあるドットとするかを決定するための
任意(0〜255)レベルの比較値即ち閾値がセットさ
れる。ここでは、網抜き文字を得るべく綜幅を異にする
2種の文字パターンを得るため、値を異にする第1、第
2の比較値(tha 、 thb )を用意し、先ず最
初に第1の比較値(tha ’、ここではtha(th
bとする)をレジスタ25にセットする。
Further, the register 25 contains an arbitrary value (0 to 255) for determining which level of new dots should be compared with the interpolated values output from the interpolation table ROM 4θ to be considered meaningful dots. A level comparison value or threshold is set. Here, in order to obtain two types of character patterns with different heel widths to obtain halftone letters, first and second comparison values (tha, thb) with different values are prepared, and first, the first and second comparison values (tha, thb) are prepared. 1 comparison value (tha', here tha(th
b) is set in the register 25.

更にCPU J oは漢字パターンメモリ33よリドッ
ト補間対象となる、即ち白抜き処理の対象となる1文字
分のドツトパターンデータを貌出し、1文字バッファ3
4に書込む・この原、1文字バッファ34には、上述し
たように、ドツト補間対象となる1文字分のドツト・ク
ターンデータが、その周囲を意味の無い″′o#Qドツ
トで囲まれた状態で記憶される。
Furthermore, the CPU J o extracts one character's worth of dot pattern data to be subjected to redot interpolation, that is, to be subjected to whiteout processing, from the kanji pattern memory 33, and stores it in the one character buffer 3.
4. As mentioned above, in this original one-character buffer 34, one character's worth of dot pattern data to be subjected to dot interpolation is surrounded by meaningless ``'o#Q dots.'' It is stored in the same state.

この各レジスタ、?J 、22,23,24゜25への
データセット、及び1文字バッファ34への補間対象文
字・臂ターンの取出しが終了した後、レジスタ22.2
4に貯えられたイニシャルアドレスデータ(sx a 
T17 )が制御フリラグフロップ32の制御のもとに
r−タセレクタ27.30より選択され、それぞれ対応
するラッチ回路28.31にラッチされる。このラッチ
回路28.31に貯えられたドツトアト1ノスデータは
、その整数部の値がビット選択回路35に与えられ、小
数部の値が補間テーブルROM 40に与えられる。ビ
ットa択回路35はその整数部の1直にもとすいて1文
字ノ4ッファ34よυ1格子4点のドツト情報を選択し
、補間テーブルROM 40に供給する。この際、拡大
時(dx 、 dy(1)に於いては、ビット選択回路
35に、1文字バッファ34の原文字パターン格納領域
外のアドレスを示す負の値が与えらることがら原文字パ
ターン格納領域外のドツトを含む1格子4点のドツト情
報よシドット選択を開始する。又、縮小時(dx、dy
>1)に於いては、ビット選択回路35に、1文字バッ
ファ34の原文字パターン格納領域内のアドレスを示す
正の値が与えらることがら原文字ツクターン格納領域内
の1格子4点のドツト情報よフドツト選択を開始する。
Each of these registers? After setting the data to J, 22, 23, 24° 25 and taking out the interpolation target character/arm turn to the 1-character buffer 34, register 22.2
Initial address data stored in 4 (sx a
T17) is selected by the r-ta selector 27.30 under the control of the control free lag flop 32 and latched into the corresponding latch circuit 28.31. The value of the integer part of the dot at 1 nos data stored in the latch circuits 28 and 31 is given to the bit selection circuit 35, and the value of the decimal part is given to the interpolation table ROM 40. The bit a selection circuit 35 selects the dot information of 4 points of the υ1 lattice from the 4-point buffer 34 for one character in the first order of the integer part, and supplies it to the interpolation table ROM 40. At this time, at the time of expansion (dx, dy(1)), the bit selection circuit 35 is given a negative value indicating an address outside the original character pattern storage area of the one character buffer 34. Dot selection starts with the dot information of 4 points in 1 grid, including dots outside the storage area.Also, when reducing (dx, dy
In >1), the bit selection circuit 35 is given a positive value indicating the address in the original character pattern storage area of the 1 character buffer 34. Start dot selection based on dot information.

補間テーブルROM 40は、上記ラッチ回路211.
31からのX方向及びY方向の各オフセット値(計10
ビット)とビット選択回路35からの周囲4点のドツト
情報とドツト/4ターン認識部(DSP)からの1ビツ
トの補間値切替選択信号とを入力情報として、その内容
に従う8ビツトの補間値を出力する。この際、ビット選
択回路35より出力された1格子4点のドツト/4ター
ンがドツトパターン認識部(DSP )により認識され
、第3図に示される如く、特定のド、トノぐターンであ
る際は、更にその周囲の格子の特定ドツトのオン・オフ
状態を認識して、そのドツト状態に応じた1ビツトの補
間値切替選択信号を出力する。即ち、例えば第3図に示
す如く、周囲4点のドツト(DO,DI#I)’。
The interpolation table ROM 40 is connected to the latch circuit 211.
Each offset value in the X direction and Y direction from 31 (total 10
bit), dot information on the surrounding four points from the bit selection circuit 35, and a 1-bit interpolation value switching selection signal from the dot/4-turn recognition unit (DSP) as input information, and an 8-bit interpolation value according to the contents is generated. Output. At this time, the dots/four turns at four points in one grid outputted from the bit selection circuit 35 are recognized by the dot pattern recognition section (DSP), and as shown in FIG. further recognizes the on/off state of specific dots in the surrounding grid and outputs a 1-bit interpolation value switching selection signal corresponding to the dot state. That is, for example, as shown in FIG. 3, there are four surrounding dots (DO, DI#I)'.

DJ)のうち、1点のみがオフ即ち′O#(図では白抜
きで示すDO)である際は、更にその周囲の格子の特定
ドツト(Da、Db )のオン・オフ状態を認識し、D
a、Db=″1″であれば、第2図(d)に示すような
コーナタイプのテーブル(T1)を選択し、又、D a
 t D bの少なくとも何れか一方がO”であれば、
第2図(f)に示すような斜形タイプの、テーブルCT
O)を選択すべく補間値切替選択信号を出力する。又、
周囲4点のドツト(DOIDl、D2.D3)のうち、
1点のみがオン即ち1″(図では黒点で示すIM)であ
る際は、更にその周囲の格子の特定ドツト(Da、Db
)のオン・オフ状態を認識し、Da、Db=″′0”で
あれば、第2図(a)に示すようなコーナタイプのテー
ブル(T1)を選択し、又、Da、Dbの少なくとも何
れか一方が1”であれば第2図(0)に示すような斜形
タイプのテーブル(TO)を選択すべく補間値切替選択
信号を出力する。このように、4点のドツト領域内に位
置する新たなドツトの補間値は、その4点のドツトが上
記したような特定のパターンをなすとき、更にその周囲
のドツト状態によって定められる。そして上記補間テー
ブルROM 40よシ出力された8ビツト(O〜255
レベル)のh口開値はコンパレータ41に入力されて、
レジスタ25に貯えられた比較値即ち闇値(tha )
と比較きれ、補間値が闇値を越えていれば意味の有るド
ツトであることを示す゛1″レベルの信号を出力し、又
、補間値が閾値を越えていなければ意味の無いト1ット
であることを示す′0″レベルの信号を出力する。
DJ), when only one point is off, that is, 'O# (DO shown in white in the figure), the on/off state of specific dots (Da, Db) in the surrounding grid is further recognized, D
If a, Db = "1", select a corner type table (T1) as shown in Fig. 2(d), and D a
If at least one of t D b is O”,
A diagonal type table CT as shown in Fig. 2(f)
An interpolation value switching selection signal is output to select O). or,
Among the surrounding four dots (DOIDl, D2.D3),
When only one point is on, that is, 1'' (IM indicated by a black dot in the figure), specific dots (Da, Db
), and if Da, Db = "'0", select a corner type table (T1) as shown in Figure 2 (a), and at least Da, Db. If either one is 1", an interpolation value switching selection signal is output to select a diagonal type table (TO) as shown in FIG. When the four dots form a specific pattern as described above, the interpolation value of a new dot located at 4 is further determined by the state of the surrounding dots. Bit (O~255
The h opening value of level) is input to the comparator 41,
The comparison value stored in the register 25, that is, the dark value (tha)
If the interpolated value exceeds the dark value, it outputs a ``1'' level signal indicating that it is a meaningful dot, and if the interpolated value does not exceed the threshold value, it outputs a meaningless dot. Outputs a '0'' level signal indicating that the output is active.

一方、補間テーブルROM 40より補間値が選択出力
された後、ラッチ回路28の内容とレジスタ21の内容
とが加算回路26によシ加算されるとともに、ラッチ回
路31の内容とレジスタ23の内容とが加算回路29に
より加算され、その加算結果のデータが制御7す、プ7
0ッグ32の制御のもとにそれぞれ対応するデータセレ
クタ27.30よシ選択嘔れて、ラッチ回路28.31
にう、チされる。このように、補間テーブルROM 4
0より補間値が出力される毎に、ラッチ回路28のアド
レス値がレジスタ21の値(刻み幅; dx )に従っ
て更新されるとともに、ラッチ回路31のアドレス値が
レジスタ23の値(刻み幅:dy)に従って更新される
On the other hand, after the interpolation value is selected and output from the interpolation table ROM 40, the contents of the latch circuit 28 and the contents of the register 21 are added by the adder circuit 26, and the contents of the latch circuit 31 and the contents of the register 23 are added together. are added by the addition circuit 29, and the data of the addition result is sent to the control 7 and the output 7.
Under the control of the respective data selectors 27 and 30, the latch circuits 28 and 31 are selected.
Now, I get hit. In this way, interpolation table ROM 4
Every time an interpolated value is output from 0, the address value of the latch circuit 28 is updated according to the value of the register 21 (step size: dx), and the address value of the latch circuit 31 is updated according to the value of the register 23 (step size: dy ) will be updated accordingly.

このようにして、順次、補間テーブルRα:’140よ
り出力された補間値がコン7ぐレータ41によυレジス
タ25の第1.の比較値即ち闇値(tha )と比較さ
れ、新たなドツト情報が生成される。
In this way, the interpolated values output from the interpolation table Rα:'140 are sequentially transferred to the first . The dot information is compared with the comparison value, that is, the darkness value (tha), and new dot information is generated.

そして上記コンパレータ41よシ出力された補間処理後
の新ドツト情報は順次レジスタ42に貯えられ、1バイ
ト単位でCPUノ々ス12上に出力される。このCPU
バス12上に出力された補間処理後の新ドツト情報はC
PU 10の制御のもとに順次メインメモリ11内の予
め定められた第1の文字パターン保存領域に貯えられる
The interpolated new dot information outputted from the comparator 41 is sequentially stored in the register 42 and outputted to the CPU node 12 in 1-byte units. This CPU
The new dot information after the interpolation process output on bus 12 is C
Under the control of the PU 10, the characters are sequentially stored in a predetermined first character pattern storage area in the main memory 11.

セしてthaを比較値としてコンパレータ41よシ得ら
れた第1の文字ノダターンがメインメモリ11内の予め
定められた第1の文字ノ々ターン保存領域に貯えられた
ならば、続いてレジスタ25には、上記@1の比較値即
ちぴ゛d値thaより低い値の第2の比較値即ち閾値t
hbがセラ)され、この闇値thbによシ再び上記した
処理動作が繰返し実行される。そしてthbを比較値と
してコンパレータ41よシ得られた第2の文字パターン
はメインメモリ11内の予め定められた第2の文字パタ
ーン保存領域に貯えられる。
When the first character turn obtained by the comparator 41 is stored in the predetermined first character turn storage area in the main memory 11, the first character turn is stored in the register 25. , a second comparison value, that is, a threshold value t, which is lower than the comparison value of @1, that is, the speed value tha.
hb is set to zero), and the above-described processing operation is repeated again using this dark value thb. The second character pattern obtained by the comparator 41 using thb as a comparison value is stored in a predetermined second character pattern storage area in the main memory 11.

CPU 1 oはメインメモリ11の第1、第2の文字
パターン保存領域に各々第1、第2の文字・臂ターンが
貯えられると、この第1、第2の文字゛パターンを重ね
合せ処理し、白抜き文字パターンを得る。即ち第1、第
2の文字ノ4ターンを対応するドツト毎に排他的論理和
演算し、その演算処理されたドツトツクターン情報を上
記第1の文字パターン保存領域に書込む。これによって
tha〜thbの補間値をもつドツトのみをオンドツト
(パ1″)とした白抜き文字パターンがメインメモリ1
1の第1の文字ノ々ターン保存領域に記憶される。
When the first and second character patterns are stored in the first and second character pattern storage areas of the main memory 11, the CPU 1o processes the first and second character patterns by superimposing them. , obtain an outline character pattern. That is, the four turns of the first and second characters are subjected to an exclusive OR operation for each corresponding dot, and the processed dot and turn information is written into the first character pattern storage area. As a result, a white character pattern with only dots having interpolated values of tha to thb as on-dots (pa 1'') is stored in the main memory 1.
1 is stored in the first character no-no-turn storage area.

次に、第2の文字パターンとメインメモリ11の網かけ
ノ9ターン保存領域に記憶された網かけノ臂ターンを対
応するドツト毎に論理積演算し、その演算処理されたド
ツトパターン情報を上記第2の文字・9ターン保存領域
に書込む。次に、第1の文字・ぐターン保存領域に記憶
された白抜き文字ノ臂ターンと第2の文字ノ9ターン保
存領域に記憶てれたドツトパターンを対応するドツト毎
に論理和演算し、その演算処理されたドツトパターン情
報を上記第1の文字パターン保存領域に書込む。
Next, the second character pattern and the half-shaded turn stored in the half-shaded nine-turn storage area of the main memory 11 are ANDed for each corresponding dot, and the processed dot pattern information is used as described above. Write to the second character/9th turn storage area. Next, the white character arm turn stored in the first character/gut turn storage area and the dot pattern stored in the second character 9 turn storage area are logically ORed for each corresponding dot. The calculated dot pattern information is written into the first character pattern storage area.

これによって、thbを越える補間値をもつドツトのみ
に網かけI?パターン持つ、例えば第4図に示すような
網抜き文字パターンがメインメモリ11の第1の文字ノ
4ターン保存領域に記憶される。
This allows only dots with interpolated values exceeding thb to be shaded I? For example, a cross-hatched character pattern as shown in FIG. 4 is stored in the first character 4 turn storage area of the main memory 11.

このメインメモリ11の第1の文字1?ターン保存領域
に記憶された網抜き文字ノ4ターンは、CPU 10の
制御の下に1文字単位でCPUバス12を介して表示制
御回路13に転送され、フレームメモリ14に記憶され
た後、CR1表示部15に表示される。
The first character 1 of this main memory 11? The four turns of cross-hatched characters stored in the turn storage area are transferred character by character via the CPU bus 12 to the display control circuit 13 under the control of the CPU 10, stored in the frame memory 14, and then transferred to the CR1. It is displayed on the display section 15.

第1.第2の文字ノ臂ターンと網かけA?パターンら網
抜き文字を作り出す方法は、上記した手段の他に、第2
の文字パターンと網かけ/4’ターンを論理積演算した
ドツトパターンと第1の文字ツクターンを排他的論理和
演算する手段等がある。
1st. Second letter arm turn and shading A? In addition to the above-mentioned method, there is a method for creating cross-hatched characters from patterns.
There is a means for performing an exclusive OR operation between a dot pattern obtained by ANDing the character pattern and the shading/4' turn, and the first character turn.

上述したような処理動作によシ、ドツト補間後に於ける
網抜き文字ツクターンは、斜線部分に於ける階段状の括
れが目立たず、しかも角部が欠けることもなく、非常に
認識し易いものとなυ、高度の網抜き文字表現が可能と
なる。
As a result of the above-mentioned processing operations, the cross-hatched character cutter after dot interpolation is very easy to recognize, with no conspicuous step-like constriction in the diagonal lined areas, and no missing corners. υ, it becomes possible to express a high degree of mesh character.

又、拡大・縮小倍率も非常に細かい値で設定でき任意の
大きさの白抜き文字を容易に祠ることができ、かつ、レ
ジスタ21,22,23゜24   のうちの1個又は
複数個を任意選択的に指定して、その値をCPU f 
Oの制御の下に順次、又は選択的に変えてゆくことによ
り、文字の拡大・縮小のみならず、任意比率の長体、半
体、任意角の斜体、下揃え斜体、回転等の文字表現が容
易に可能となシ、高度な文字修飾が出来る。例えばレジ
スタ21.23の値を2:1に設定すれば、横幅に対し
縦幅を2倍にした長体文字が得られ、又、レジスタ21
.23の値を1 : 1.2に設定すれば、縦縣に対し
横幅を1.2倍した半体文字が・11られる。又、レジ
スタ22の値を1スラ・rス′iJJに順次変化させる
ことによって所望するf1体文字が得られ、レジスタ2
2゜24の値をj;日次変化させることによって任意の
回転角をもった文字を得ることができる。
In addition, the enlargement/reduction ratio can be set at very fine values, making it possible to easily create white characters of any size. Optionally specify that value as CPU f
By changing sequentially or selectively under the control of O, you can not only enlarge or reduce characters, but also express characters such as long letters, half letters, italics of arbitrary angles, bottom-aligned italics, rotation, etc. is easily possible, and advanced character modification is possible. For example, if you set the value of register 21.23 to 2:1, you will get a long character whose vertical width is twice the horizontal width.
.. If the value of 23 is set to 1:1.2, a half-length character whose width is 1.2 times the length of the vertical line will be 11. Also, by sequentially changing the value of the register 22 to 1 sura r s'iJJ, the desired f1 type character can be obtained, and the value of the register 2
By changing the value of 2°24 by j; on a daily basis, characters with arbitrary rotation angles can be obtained.

〔発明の効果〕〔Effect of the invention〕

以上詳記したように本発明によれば、基本ドツトマトリ
クス構成の文字パターンから、任意の拡大・縮小倍率に
て文字品質の高い網抜き文字を得ることのできる文字イ
13飾機能をもつ文字パターン強調制御方式が提供でき
る。
As described in detail above, according to the present invention, character patterns having a character pattern with a decorative function can obtain high-quality cross-hatched characters at arbitrary enlargement/reduction ratios from character patterns having a basic dot matrix structure. An emphasis control method can be provided.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の一実施例に於ける要部の構成を示すブ
ロック図、第2図(−)乃至(f)、及び第3図はそれ
ぞれ上記実施例の動作を説明するためのもので、第2図
(a)乃至(f)はそれぞれ補間処理により生成される
新たなドツト囲む1格子4点のドツト情報(ドツトパタ
ーン)と補間テーブルROMに設定された補間値のレベ
ル区分とテーブルタイプとの門係を示す図、第3図はテ
ーブルタイプの選択切替動作を説明するだめの図1第4
図は上記実施例に於ける文字1?タ一ン生成例を示す図
、第5図(a)乃至(c) tよそれぞれ従来のドツト
補間処理手段を説明するための図である。 10・・・CPU、11・・・メインメモリ、12・・
・CPUバス 13・・・表示制御回路、14・・・フ
レームメモリ、15・・・CRT表示部、21〜25・
・・レジスタ、26・・・加算回路、27・・・データ
セレクタ、28・・・ラッチ回路、29・・・加算回路
、30・・・データセレクタ、3ノ・・・ラッチ回路、
32・・・制御フリッグ70ツブ、33・・・漢字ノ々
ターンメモリ、34・・・1文字バッファ、35・・・
ビット選択回路、36・・・ラッチ回路、37・・・判
別制御回路、38・・・ラッチ回路、39・・・ドツト
判別回路、40・・・補間f −7”ルROM、41・
・・コンパレータ、42・・・レジスタ、DSP・・・
ドツトパターン認識部。 第2図 (a)     (b)     (C)     (
d)第4図 第5図
FIG. 1 is a block diagram showing the configuration of essential parts in an embodiment of the present invention, and FIGS. 2 (-) to (f) and 3 are diagrams for explaining the operation of the above embodiment, respectively. Figures 2 (a) to (f) respectively show the dot information (dot pattern) of four points in one grid surrounding a new dot generated by interpolation processing, and the level classification and table of interpolation values set in the interpolation table ROM. Figure 3 is a diagram showing the gatekeeper between types, and Figure 1 and Figure 4 are for explaining the table type selection switching operation.
The figure shows character 1 in the above example? FIGS. 5(a) to 5(c) are diagrams illustrating examples of dot generation, and diagrams for explaining conventional dot interpolation processing means, respectively; FIGS. 10...CPU, 11...Main memory, 12...
・CPU bus 13... Display control circuit, 14... Frame memory, 15... CRT display section, 21-25.
...Register, 26... Addition circuit, 27... Data selector, 28... Latch circuit, 29... Addition circuit, 30... Data selector, 3... Latch circuit,
32... Control frig 70 knobs, 33... Kanji number turn memory, 34... 1 character buffer, 35...
Bit selection circuit, 36... Latch circuit, 37... Discrimination control circuit, 38... Latch circuit, 39... Dot discrimination circuit, 40... Interpolation f-7" ROM, 41.
...Comparator, 42...Register, DSP...
Dot pattern recognition section. Figure 2 (a) (b) (C) (
d) Figure 4 Figure 5

Claims (1)

【特許請求の範囲】[Claims] 基本ドットマトリクス構成の文字パターンをドット補間
により拡大する手段と、この拡大された文字パターンか
ら太線幅の第1の文字パターンと細線幅の第2の文字パ
ターンとを得る手段と、白抜き文字内部に書込む任意の
ドットパターンを記憶する手段と、前記第1、第2の文
字パターンと前記白抜き文字内部に書込むドットパター
ンの3つのドットパターンの中から、2つのドットパタ
ーンを選び、その2つのドットパターンを同一ドット位
置上に於いて、各ドット毎に論理和、論理積、排他的論
理和の各種論理演算を行なう手段とを具備し、前記各種
論理演算手段より、拡大された、内部に任意のドットパ
ターンをもつ白抜き文字のドットパターン情報を得るこ
とを特徴とした文字パターン強調制御方式。
means for enlarging a character pattern having a basic dot matrix configuration by dot interpolation; means for obtaining a first character pattern with a thick line width and a second character pattern with a thin line width from the expanded character pattern; a means for storing an arbitrary dot pattern to be written in the blank character; and a means for selecting two dot patterns from three dot patterns: the first and second character patterns and a dot pattern to be written inside the white character; means for performing various logical operations such as logical sum, logical product, and exclusive logical sum for each dot when two dot patterns are placed on the same dot position; A character pattern emphasis control method characterized by obtaining dot pattern information of white characters having an arbitrary dot pattern inside.
JP59179637A 1984-08-29 1984-08-29 Character pattern accentuation control system Pending JPS6157987A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59179637A JPS6157987A (en) 1984-08-29 1984-08-29 Character pattern accentuation control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59179637A JPS6157987A (en) 1984-08-29 1984-08-29 Character pattern accentuation control system

Publications (1)

Publication Number Publication Date
JPS6157987A true JPS6157987A (en) 1986-03-25

Family

ID=16069245

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59179637A Pending JPS6157987A (en) 1984-08-29 1984-08-29 Character pattern accentuation control system

Country Status (1)

Country Link
JP (1) JPS6157987A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02235096A (en) * 1989-03-09 1990-09-18 Canon Inc Image forming device
JP2011203683A (en) * 2010-03-26 2011-10-13 Fujitsu Ltd Display control device, display control program, and display control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02235096A (en) * 1989-03-09 1990-09-18 Canon Inc Image forming device
JP2011203683A (en) * 2010-03-26 2011-10-13 Fujitsu Ltd Display control device, display control program, and display control method

Similar Documents

Publication Publication Date Title
US4680720A (en) Dot interpolation control system
JPS6158083A (en) Fast memory system, data processing method and memory segment
JPS6083852A (en) Character pattern emphasis control system
JPS6157987A (en) Character pattern accentuation control system
JP2608275B2 (en) Image processing device
JP2664718B2 (en) Image output device
JPS6084583A (en) Dot interpolation control system
JPS6138981A (en) Pattern multiplication
JPS6083851A (en) Character pattern emphasis control system
JPS60229765A (en) Dot interpolation control system
JPS6084586A (en) Character pattern emphasis control system
JPS58189688A (en) Image display system
JPS6084585A (en) Dot interpolation value generation circuit
JPS6083853A (en) Dot interpolation control system
JPH0366157B2 (en)
JPS6084584A (en) Dot interpolation control system
JPS60229766A (en) Output control system of interpolation dot pattern
JP2974596B2 (en) Color image processing equipment
JP2004012751A (en) Device and method for generating character data and program
JPS60231267A (en) Intra-character control system
JP3119114B2 (en) Image processing apparatus and method
JPH08272351A (en) Picture processor
JPH083709B2 (en) Dot development processor
JPH012090A (en) Character pattern generation method
JPH07123260A (en) Multilevel picture dot processing unit