JP2671365B2 - Character / graphic editing device - Google Patents

Character / graphic editing device

Info

Publication number
JP2671365B2
JP2671365B2 JP63084408A JP8440888A JP2671365B2 JP 2671365 B2 JP2671365 B2 JP 2671365B2 JP 63084408 A JP63084408 A JP 63084408A JP 8440888 A JP8440888 A JP 8440888A JP 2671365 B2 JP2671365 B2 JP 2671365B2
Authority
JP
Japan
Prior art keywords
pattern
character
font
shadow
shaded
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 - Fee Related
Application number
JP63084408A
Other languages
Japanese (ja)
Other versions
JPH01255887A (en
Inventor
由美 佐藤
昌徳 恩田
章之 小池
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP63084408A priority Critical patent/JP2671365B2/en
Publication of JPH01255887A publication Critical patent/JPH01255887A/en
Application granted granted Critical
Publication of JP2671365B2 publication Critical patent/JP2671365B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ディジタル処理が可能なドットマトリクス
構成の文字フォント・パターンの飾り文字を発生させる
文字図形編集装置に関し、特に飾り文字の1つである影
付き文字を発生させる文字図形編集装置に関する。
Description: TECHNICAL FIELD The present invention relates to a character / graphics editing apparatus for generating decorative characters in a character font pattern having a dot matrix structure capable of digital processing, and more particularly to one of the decorative characters. The present invention relates to a character / graphics editing device for generating a certain shaded character.

〔従来の技術〕[Conventional technology]

最近、注目を浴びているデスクトップパブリシングに
おいて、明朝体或いはゴシック体等の通常の文字フォン
ト・パターン(以下、「文字パターン」という。)の飾
り文字の一種である影付き文字を発生させる機能を有す
る文字図形編集装置がある。従来、このような装置で
は、上記各文字パターンに対応する影付き文字のフォン
ト・パターン(以下、「影付き文字パターン」とい
う。)を予めメモリ又はディスク等の記憶装置に記憶し
ておき、ユーザの指示に応じて所望の影付き文字パター
ンを上記記憶装置から読出し、CRT等の表示装置に表示
させて文書等を編集していた。
In desktop publishing, which has recently attracted attention, a function to generate a shaded character that is a type of decorative character of a normal character font pattern (hereinafter referred to as “character pattern”) such as Mincho or Gothic There is a character / graphics editing device having Conventionally, in such a device, a font pattern of a shaded character (hereinafter, referred to as a “shadowed character pattern”) corresponding to each of the above character patterns is stored in advance in a storage device such as a memory or a disk, and the user In response to the instruction, the desired shaded character pattern is read from the storage device and displayed on a display device such as a CRT to edit a document or the like.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

ところが、上記文字図形編集装置では、明朝体或いは
ゴシック体等の各文字パターンに対応する影付き文字パ
ターンを予め記憶装置に記憶しているため、上記影付き
文字パターンを記憶する大容量のメモリやディスクが必
要になり、メモリやディスク容量への負担が大きくなる
とともに、製作コストが高くなるという問題点があっ
た。
However, in the character / graphics editing apparatus, since a shaded character pattern corresponding to each character pattern such as Mincho or Gothic is stored in the storage device in advance, a large-capacity memory for storing the shaded character pattern. However, there is a problem in that a manufacturing cost is increased as well as a memory and a disk are required, a burden on a memory and a disk capacity is increased.

本発明は、上記問題点に鑑みなされたもので、メモリ
やディスク容量への負担を軽減することができる文字図
形編集装置を提供することを課題とする。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a character / graphics editing apparatus that can reduce the load on the memory and the disk capacity.

〔課題を解決するための手段〕[Means for solving the problem]

本発明は、文字フォント・パターンを記憶する第1の
記憶部と、影の図柄を示すドット・パターンからなる影
パターンを記憶する第2の記憶部とを有し、前記第1の
記憶部及び第2の記憶部から所望の文字フォント・パタ
ーン及び影パターンをそれぞれ読み出して、所望の文字
フォント・パターンの影付き文字を発生する文字図形編
集装置において、前記第1の記憶部から読み出した所望
の文字フォント・パターンと、前記第2の記憶部から読
み出した影パターンとの論理演算を行い、前記所望の文
字フォント・パターンの外形を持ち、前記影パターンの
図柄を有するフォント・パターンを作成する第1の作成
手段と、前記第1の作成手段が作成したフォント・パタ
ーンと、該フォントパターンの座標位置を所定量ずらし
たずらしパターンとの論理演算を行い、重書きパターン
を作成する第2の作成手段と、前記第2の作成手段が作
成した重書きパターンに前記所望の文字フォント・パタ
ーンを重ねて影付き文字パターンを作成し、作成した影
付き文字パターンを描画する描画手段とを具備すること
を特徴とする。
The present invention has a first storage unit for storing a character font pattern and a second storage unit for storing a shadow pattern composed of a dot pattern indicating a shadow pattern, and the first storage unit and A desired character font pattern and shadow pattern are read from the second storage unit to generate a shaded character of the desired character font pattern. A logical operation is performed between the character font pattern and the shadow pattern read from the second storage unit to create a font pattern having the outline of the desired character font pattern and having the pattern of the shadow pattern. 1 creating means, a font pattern created by the first creating means, and a shift pattern in which the coordinate position of the font pattern is shifted by a predetermined amount. Second creating means for performing a logical operation to create a double writing pattern, and creating the shaded character pattern by overlaying the desired character font pattern on the double writing pattern created by the second creating means. And a drawing means for drawing the shaded character pattern.

〔実施例〕〔Example〕

本発明の実施例を第1図乃至第3図の図面に基づき詳
細に説明する。
An embodiment of the present invention will be described in detail with reference to the drawings of FIGS.

第1図は本発明に係る文字図形編集装置の構成を示す
ブロック図である。図において、キーボード/マウス制
御部11は、キーボード12及び上記キーボード12に接続さ
れたマウス13からの各種データ及び本発明に係る影付き
文字の編集指示を含む各種指令等のシステムに入力制御
している。中央処理装置10(以下、「CPU」という。)
は、上記キーボード/マウス制御部11から入力する指令
と対応するプログラムによって上記キーボード/マウス
制御部11、CRT制御部14等の各種制御部及び主メモリ1
5、文字パターン用メモリ16、影パターン用メモリ17、
ビデオRAM18等の各種メモリを総括的に時分割制御する
とともに、所定の演算、処理等を実行している。
FIG. 1 is a block diagram showing the configuration of a character / graphics editing apparatus according to the present invention. In the figure, a keyboard / mouse control unit 11 controls input of various data from a keyboard 12 and a mouse 13 connected to the keyboard 12 and various commands including an instruction to edit shaded characters according to the present invention. There is. Central processing unit 10 (hereinafter referred to as "CPU")
Are various control units such as the keyboard / mouse control unit 11 and the CRT control unit 14 and the main memory 1 according to a program corresponding to a command input from the keyboard / mouse control unit 11.
5, character pattern memory 16, shadow pattern memory 17,
Various memories such as the video RAM 18 are collectively controlled in a time-division manner, and predetermined calculations and processing are executed.

CRT制御部14は、表示装置であるCRT19を制御し、後述
するビデオRAM18に格納されているフォント構成の文字
パターンに対応したドットマトリクスの表示用ビットマ
ップデータや各種機能に応じたウィンドウ等を表示させ
る。
The CRT control unit 14 controls the CRT 19, which is a display device, and displays the dot matrix display bitmap data corresponding to the character pattern of the font configuration stored in the video RAM 18, which will be described later, and windows corresponding to various functions. Let

主メモリ15は、RAMからなり、システムの運用を行う
オペレーティングプログラム、キーボード12又はマウス
13等から入力する命令群及びデータ群、CPU10の制御に
よって上記文字パターン用メモリ16や影パターン用メモ
リ17から読出されたフォント構成のデータ及び上記各フ
ォントの表示用ビットマップ等のデータを格納するとと
もに、上記データから編集された影付き文字パターンの
データを一時格納する。
The main memory 15 is composed of RAM, an operating program for operating the system, a keyboard 12 or a mouse.
Stores a command group and data group input from 13 etc., font configuration data read from the character pattern memory 16 and shadow pattern memory 17 under the control of the CPU 10 and data such as a display bitmap of each font. At the same time, the data of the shaded character pattern edited from the above data is temporarily stored.

文字パターン用メモリ16は、例えば第3図(a)に示
すような、フォント構成の各文字パターンのデータ内容
及び上記各文字パターンの表示用ビットマップ等を格納
している。また影パターン用メモリ17は、例えば第3図
(b)に示すような、黒、白のデータが所定法則にもと
づき配列される影パターンのデータ内容及び影パターン
の表示用ビットマップ等を格納している。
The character pattern memory 16 stores, for example, as shown in FIG. 3A, the data content of each character pattern of the font structure, the display bit map of each character pattern, and the like. The shadow pattern memory 17 stores data contents of a shadow pattern in which black and white data are arranged according to a predetermined rule, a shadow pattern display bitmap, and the like, as shown in FIG. 3B, for example. ing.

ビデオRAM18は、CPU10の制御により編集され、主メモ
リ15に格納されている例えば第3図(e)に示すよう
な、影付き文字パターンを格納するとともに、上記CRT
制御部14の制御により、格納している上記影付き文字パ
ターンのデータを読出している。
The video RAM 18 is stored under the control of the CPU 10 and is stored in the main memory 15, for example, as shown in FIG.
Under the control of the control unit 14, the stored data of the shaded character pattern is read.

上記文字図形編集装置において、影付き文字を編集す
る場合には、影付き文字パターンのフォント構成編集プ
ログラムにもとづきCRT19の画面上に編集可能な各フォ
ント構成名をプロパティ表示させ、上記プロパティ表示
の中から所望のフォント構成名をマウス13で選択表示し
て、影付き文字を編集している。以下、第2図及び第3
図を用いて上記影付き文字の編集動作について詳細に説
明する。
In the above-mentioned character / graphic editing device, when editing a shaded character, display the property of each editable font composition name on the screen of CRT19 based on the font composition editing program of the shadow character pattern, The desired font configuration name is selected and displayed with the mouse 13 to edit the shaded characters. Hereinafter, FIGS. 2 and 3
The editing operation of the shaded character will be described in detail with reference to the drawings.

第2図は、上記影付き文字の編集動作を示すフローチ
ャートであり、第3図は、上記編集動作の過程における
各パターンを示す図である。第2図において、まず影付
き文字の編集指示あるかどうか判断し(ステップ10
1)、ユーザから上記編集指示があると、CPU10は指示に
応じた所望の文字パターン(第3図(a)参照)を文字
パターン用メモリ16から読出し、主メモリ15に格納する
(ステップ102)。次に上記CPU10は、影パターン用メモ
リ17から上記文字パターンと同サイズの任意の影パター
ン(第3図(b)参照)を読出して同様に主メモリ15に
格納する。
FIG. 2 is a flow chart showing the editing operation of the shaded characters, and FIG. 3 is a diagram showing each pattern in the process of the editing operation. In FIG. 2, first, it is judged whether there is an instruction to edit a shaded character (step 10
1) When the user gives the editing instruction, the CPU 10 reads a desired character pattern (see FIG. 3 (a)) corresponding to the instruction from the character pattern memory 16 and stores it in the main memory 15 (step 102). . Next, the CPU 10 reads an arbitrary shadow pattern (see FIG. 3B) of the same size as the character pattern from the shadow pattern memory 17 and stores it in the main memory 15 in the same manner.

次にCPU10は、上記主メモリ15上で上記文字パターン
と影パターンに論理演算を施す(ステップ103)。上記
論理演算は、文字パターン及び影パターンのデータのう
ちの黒データの出力レベルがローレベルに、白データの
出力レベルがハイレベルに設定されている場合には、論
理和(以下、「OR」という。)演算によって行い、黒デ
ータの出力レベルがハイレベルに、白データの出力レベ
ルがローレベルに設定されている場合には、論理積(以
下、「AND」という。)演算によって行い、第3図
(c)に示すような、パターンを得る。
Next, the CPU 10 performs a logical operation on the character pattern and the shadow pattern on the main memory 15 (step 103). If the output level of the black data of the character pattern and shadow pattern data is set to the low level and the output level of the white data is set to the high level, the logical operation (hereinafter referred to as “OR”) is performed. If the output level of the black data is set to the high level and the output level of the white data is set to the low level, the logical product (hereinafter referred to as “AND”) operation is performed. A pattern as shown in FIG. 3 (c) is obtained.

上記演算によって所定のパターンが得られると、次に
CPU10は、上記得られた所定のパターンを斜めに1ドッ
トづつずらしながら数回(実施例では4回)重書きする
(ステップ104)。上記重書きは、所定のパターンのデ
ータのうちの黒データの出力レベルがローレベルに、白
データの出力レベルがハイレベルに設定されている場合
には、AND条件によって行い、黒データの出力レベルが
ハイレベルに、白データの出力レベルがローレベルに設
定されている場合には、OR条件によって行う。そして、
所定のパターンの重書きによって、第3図(d)に示す
ような重書きパターンが得られると、CPU10は、重書き
によって得られた上記重書きパターンに第3図(a)で
示したオリジナルの文字パターンを重ねる(ステップ10
5)。上記重書きは、文字パターン及び重書きパターン
のデータのうちの黒データの出力レベルがローレベル
に、白データの出力がレベルがハイレベルに設定されて
いる場合には、AND条件によって行い、黒データの出力
レベルがハイレベルに、白データの出力レベルがローレ
ベルに設定されている場合には、OR条件によって行う。
したがって、主メモリ15上には、第3図(e)に示すよ
うな、影付き文字パターンが生成され、上記影付き文字
パターンは、CPU10の制御によってビデオRAM18に格納さ
れる。
If the above pattern yields a predetermined pattern, then
The CPU 10 multiple-writes the obtained predetermined pattern several times (four times in the embodiment) while diagonally shifting it by one dot (step 104). The overwriting is performed by AND condition when the output level of black data of the data of the predetermined pattern is set to the low level and the output level of the white data is set to the high level. Is set to the high level and the output level of the white data is set to the low level, the OR condition is used. And
When the overwriting pattern as shown in FIG. 3 (d) is obtained by the overwriting of the predetermined pattern, the CPU 10 adds the original shown in FIG. 3 (a) to the above-mentioned overwriting pattern obtained by the overwriting. Overlay the character pattern of (step 10
Five). The overwriting is performed by AND condition when the output level of the black data of the character pattern and the data of the overwriting pattern is set to the low level and the output of the white data is set to the high level. If the data output level is set to the high level and the white data output level is set to the low level, the OR condition is used.
Therefore, a shaded character pattern as shown in FIG. 3E is generated on the main memory 15, and the shaded character pattern is stored in the video RAM 18 under the control of the CPU 10.

上記ビデオRAM18に影付き文字パターンが格納される
と、CRT制御部14は、CRT19を制御し、ビデオRAM18に格
納されているフォント構成の影付き文字パターンのデー
タを読出し、上記影付き文字パターンに対応したビット
マップを上記CRT19の画面上に表示させることができる
(ステップ106)。
When the shaded character pattern is stored in the video RAM 18, the CRT control unit 14 controls the CRT 19 to read the data of the shaded character pattern of the font configuration stored in the video RAM 18, and to the shaded character pattern. The corresponding bitmap can be displayed on the screen of the CRT 19 (step 106).

なお、本発明では、文字パターンのデータ及び影パタ
ーンのデータをシステム内のメモリに格納したが、上記
データをディスク等の外部記憶装置に格納して上記影付
き文字の編集動作を行うことも可能である。
In addition, in the present invention, the data of the character pattern and the data of the shadow pattern are stored in the memory in the system, but it is also possible to store the data in an external storage device such as a disk to perform the editing operation of the shaded characters. Is.

上述してきたように、ユーザの影付き文字の編集要求
に応じて明朝体又はゴシック体等の通常の文字フォント
・パターンと影パターンとから影付き文字パターンを生
成するため、影付き文字パターンをあらかじめメモリ等
に格納する必要をなくすことができる。
As described above, in order to generate a shadow character pattern from a normal character font pattern such as Mincho or Gothic font and a shadow pattern in response to a user's request for editing a shadow character, the shadow character pattern is generated. It is possible to eliminate the need to store it in a memory or the like in advance.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明では、所望の文字フォン
ト・パターンと影パターンとを論理演算して、この文字
フォント・パターンの外形を持つとともに影パターンの
図柄を有するフォント・パターンを作成し、作成したフ
ォント・パターンと、該フォントパターンの座標位置を
所定量ずらしたずらしパターンとの論理演算を行って重
書きパターンを作成し、作成した重書きパターンに文字
フォント・パターンを重ねて影付き文字パターンを作成
するよう構成したので、影付き文字パターンをあらかじ
めメモリ等に格納する必要をなくし、フォントの記憶に
要するメモリ容量を低減し、制作コストを削減すること
が可能となる。
As described above, in the present invention, a desired character font pattern and a shadow pattern are logically operated to create a font pattern having the outline of this character font pattern and a shadow pattern. A double writing pattern is created by performing a logical operation between the created font pattern and a shift pattern in which the coordinate position of the font pattern is shifted by a predetermined amount, and the character font pattern is superimposed on the created double writing pattern to create a shaded character pattern. Since it is configured to create the above, it is not necessary to store the shaded character pattern in the memory in advance, the memory capacity required for storing the font can be reduced, and the production cost can be reduced.

また、本発明では、影パターンから所望の文字フォン
ト・パターンを型抜きして、該フォントパターンの外形
を持ち、影パターンの図柄を有するフォント・パターン
を作成した後に、このフォント・パターンを適宜ずらし
ながら論理演算するよう構成したため、影付き文字パタ
ーンの影部分の多様化を図ることも可能となる。
Further, in the present invention, a desired character font pattern is die-cut from a shadow pattern, a font pattern having the outline of the font pattern and having a shadow pattern design is created, and then this font pattern is appropriately shifted. However, since the logical operation is performed, it is possible to diversify the shadow portion of the shaded character pattern.

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

第1図は本発明に係る文字図形編集装置の構成を示すブ
ロック図、第2図は第1図に示した文字図形編集装置の
影付き文字の編集動作を示すフローチャート、第3図は
上記編集動作の過程における各パターンを示す図であ
る。 10……中央処理装置(CPU)、11……キーボード/マウ
ス制御部、12……キーボード、13……マウス、14……CR
T制御部、15……主メモリ、16……文字パターン用メモ
リ、17……影パターン用メモリ、18……ビデオRAM、19
……表示装置(CRT)。
FIG. 1 is a block diagram showing a configuration of a character / graphics editing apparatus according to the present invention, FIG. 2 is a flowchart showing an operation of editing a shaded character of the character / graphics editing apparatus shown in FIG. 1, and FIG. It is a figure which shows each pattern in the process of operation. 10 ... Central processing unit (CPU), 11 ... Keyboard / mouse controller, 12 ... Keyboard, 13 ... Mouse, 14 ... CR
T control unit, 15 ... Main memory, 16 ... Character pattern memory, 17 ... Shadow pattern memory, 18 ... Video RAM, 19
…… Display device (CRT).

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】文字フォント・パターンを記憶する第1の
記憶部と、影の図柄を示すドット・パターンからなる影
パターンを記憶する第2の記憶部とを有し、前記第1の
記憶部及び第2の記憶部から所望の文字フォント・パタ
ーン及び影パターンをそれぞれ読み出して、所望の文字
フォント・パターンの影付き文字を発生する文字図形編
集装置において、 前記第1の記憶部から読み出した所望の文字フォント・
パターンと、前記第2の記憶部から読み出した影パター
ンとの論理演算を行い、前記所望の文字フォント・パタ
ーンの外形を持ち、前記影パターンの図柄を有するフォ
ント・パターンを作成する第1の作成手段と、 前記第1の作成手段が作成したフォント・パターンと、
該フォントパターンの座標位置を所定量ずらしたずらし
パターンとの論理演算を行い、重書きパターンを作成す
る第2の作成手段と、 前記第2の作成手段が作成した重書きパターンに前記所
望の文字フォント・パターンを重ねて影付き文字パター
ンを作成し、作成した影付き文字パターンを描画する描
画手段と を具備することを特徴とする文字図形編集装置。
1. A first storage unit for storing a character font pattern, and a second storage unit for storing a shadow pattern composed of a dot pattern indicating a shadow pattern, the first storage unit. And a desired character font pattern and a shadow pattern respectively read from the second storage unit to generate a shaded character of the desired character font pattern. Character font of
A first creation for performing a logical operation between the pattern and the shadow pattern read from the second storage unit to create a font pattern having the outline of the desired character font pattern and having the pattern of the shadow pattern. Means, a font pattern created by the first creating means,
Second creating means for creating a double writing pattern by performing a logical operation with a shift pattern obtained by shifting the coordinate position of the font pattern by a predetermined amount, and the desired character in the double writing pattern created by the second creating means. And a drawing means for drawing the created shadowed character pattern by superimposing the font patterns and creating the shadowed character pattern.
JP63084408A 1988-04-06 1988-04-06 Character / graphic editing device Expired - Fee Related JP2671365B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63084408A JP2671365B2 (en) 1988-04-06 1988-04-06 Character / graphic editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63084408A JP2671365B2 (en) 1988-04-06 1988-04-06 Character / graphic editing device

Publications (2)

Publication Number Publication Date
JPH01255887A JPH01255887A (en) 1989-10-12
JP2671365B2 true JP2671365B2 (en) 1997-10-29

Family

ID=13829765

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63084408A Expired - Fee Related JP2671365B2 (en) 1988-04-06 1988-04-06 Character / graphic editing device

Country Status (1)

Country Link
JP (1) JP2671365B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3382265B2 (en) * 1992-07-29 2003-03-04 キヤノン株式会社 Character pattern creation method and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6123193A (en) * 1984-07-12 1986-01-31 日本電気株式会社 Character pattern generation method and apparatus

Also Published As

Publication number Publication date
JPH01255887A (en) 1989-10-12

Similar Documents

Publication Publication Date Title
US4608662A (en) Method for editing document
JPH087748B2 (en) Document coloring device
JPS6118036A (en) Document correction system
JPH0749760A (en) Word processor
JP2671365B2 (en) Character / graphic editing device
US6243726B1 (en) Electronic calculating apparatus utilizing input and display of expressions in textbook and single line formats
JPH0219462B2 (en)
JPH0366157B2 (en)
JPH01255556A (en) Character graphic editing device
JP2751212B2 (en) Document creation device
JPH0620021A (en) Method and device for graphic processing
JPH0314066A (en) Japanese rendering character display and editing system
JPH01230093A (en) Method for displaying character
JP2541612B2 (en) Multi-window display
JPH05135050A (en) Line segment attribute display method
JPH01246673A (en) Graphic processor
JPH05101044A (en) Document processor
JPH057742B2 (en)
JPS62140171A (en) Editing system for document layout
JPH0315892A (en) Font generating device
JPH058435B2 (en)
JPH06110442A (en) Character and figure processor and method for deforming character of figure
JPH0442375A (en) Bit map editing device
JPH01207788A (en) Document producing device
JPS62229316A (en) Character processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees