JPH03231379A - Document processing system - Google Patents

Document processing system

Info

Publication number
JPH03231379A
JPH03231379A JP2026011A JP2601190A JPH03231379A JP H03231379 A JPH03231379 A JP H03231379A JP 2026011 A JP2026011 A JP 2026011A JP 2601190 A JP2601190 A JP 2601190A JP H03231379 A JPH03231379 A JP H03231379A
Authority
JP
Japan
Prior art keywords
character
information
external shape
graphic
shape information
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
JP2026011A
Other languages
Japanese (ja)
Inventor
Tsukasa Yamauchi
司 山内
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2026011A priority Critical patent/JPH03231379A/en
Publication of JPH03231379A publication Critical patent/JPH03231379A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To obtain the document processing system in which a relative relation of a character and a graphic is not spoiled, and also, which can generate a document of a high quality being free from indentation by handling unitedly the character and the graphic and expanding them by the same means by its external form information. CONSTITUTION:As for a character and a graphic, its external form information is stored in a storage part 15. A processing part (CPU) 14 branches in accordance with whether the designated external form information is a character or a graphic. At the time of the character, the storage part 15 is retrieved by a designated character code, and the external form information of the character concerned is drawn out. This external form information is a coordinate train of the apex for showing an external form of the character by a polygon, and the processing part 14 expands an image to a shape of the character from this external form information. This image is sent to a display part 11 and an output part 13. In the case of the graphic, it is the same as the case of the character, when a graphic code is given. As for the graphic to which the graphic code is not given, the external form information of its graphic is fetched by information of a storage position in the storage part 15, and the image is expanded from the obtained external form information.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、文字・図形を効率的に発生することを可能と
する文書処理システムに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a document processing system that enables efficient generation of characters and figures.

〔従来の技術〕[Conventional technology]

従来、文書処理システムにおいて、例えば、文字と図形
とが混在する文書を作成する場合、文字は文字、図形は
図形というように、その取シ扱い方法が異表っていた。
Conventionally, in a document processing system, when creating a document containing a mixture of characters and graphics, for example, the handling methods were different, such as characters being treated as characters and graphics being treated as graphics.

そのため、文字と図形とが重なった部分を拡大・縮小す
るとき、文字には文字の拡大・縮小を、図形には図形の
拡大・縮小を行い、その結果を重ね合わせる必要があっ
た〇上記問題点に対する対案としては、例えば、特開昭
65−52591号公報に記載されている方式がある。
Therefore, when enlarging or reducing an area where text and a figure overlapped, it was necessary to enlarge or reduce the text for the text, enlarge or reduce the figure for the figure, and then superimpose the results.〇The above problem As a countermeasure to this point, for example, there is a method described in Japanese Patent Laid-Open No. 65-52591.

この方式は、文字と図形とを統一的に扱うために、文字
コードのうちの空きコードを図形コードとし、これに図
形を対応させることによシ、図形を文字と同様に扱い、
該図形コードでは、文字ではなく図形を発生するように
している。
In order to handle characters and figures in a unified manner, this method uses empty codes among character codes as figure codes, and by associating figures with these codes, figures are treated in the same way as characters.
The graphic code generates graphics instead of characters.

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

上記従来技術は、図形を文字と同様に扱うという考え方
で、効率的な文書処理を可能にしているが、よシ効率的
な文書処理を目指すときに、不十分な点があった〇 それは、上記従来技術では、文字・図形とも画像情報に
展開されたドツト形式で記憶しているので、文字・図形
を大幅に拡大するときには、ドツトの形がそのまま拡大
されてしまい、ギザギザがでるという問題点があったO 本発明の目的は、上記従来技術の問題点を解決し1文字
・図形を統一的に扱い、かつ、大幅に拡大シたときにも
、ギザギザのでない高品質な文書を作成することを可能
とする文書処理システムを提供することKある。
The above-mentioned conventional technology enables efficient document processing based on the idea that figures are treated in the same way as characters, but when aiming for more efficient document processing, there are some shortcomings. In the above conventional technology, both characters and figures are stored in dot format expanded into image information, so when characters and figures are enlarged significantly, the dot shapes are enlarged as they are, resulting in jagged edges. The purpose of the present invention is to solve the above-mentioned problems of the prior art, handle single characters and figures in a unified manner, and create high-quality documents without jagged edges even when greatly enlarged. An object of the present invention is to provide a document processing system that makes it possible to do this.

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

上記目的を達成するために、本発明では、上記従来技術
の図形を文字と同様に扱うという考え方を採用すると共
に1文字・図形を発生する際忙、その外形情報から画像
に展開する方式を採用している。
In order to achieve the above object, the present invention adopts the concept of the above-mentioned conventional technology in which figures are treated in the same way as characters, and also adopts a method in which when a single character or figure is generated, information on its external shape is developed into an image. are doing.

すなわち、本発明は、文字・図形を含む文書を処理する
文書処理装置において、文字・図形の外形情報を記憶す
る手段と、上記文字・図形の外形情報を上記記憶手段か
ら取出して画像に展開する手段とを有している。
That is, the present invention provides a document processing device for processing documents containing characters and figures, which includes means for storing external shape information of characters and figures, and extracting the external shape information of the characters and figures from the storage means and developing it into an image. and means.

上記展開手段は、文字コードまたは図形コードが指定さ
れると、該文字コードまたは図形コードに対応する文字
または図形の外形情報を上記記憶手段から取出して画像
に展開する。
When a character code or graphic code is designated, the developing means retrieves external shape information of a character or graphic corresponding to the character code or graphic code from the storage means and develops it into an image.

また、上記展開手段は、図形の外形情報の上記記憶手段
における記憶位置の情報が与えられると、該記憶位置に
記憶されている図形の外形情報を上記記憶手段から取出
して画像に展開する。
Further, when the developing means is given information on the storage position of the external shape information of the figure in the storage means, the developing means takes out the external shape information of the graphic stored in the storage position from the storage means and develops it into an image.

上記展開手段に上記図形の外形情報の上記記憶手段にお
ける記憶位置の情報を与えるために、図形を特定する情
報(例えば、図形名1図形番号)とそれに対応する図形
の外形情報の上記記憶手段における記憶位置の情報とを
格納するテーブルと、図形を特定する情報が外部から指
定されると、上記テーブルを検索し、対応する図形の外
形情報の上記記憶手段における記憶位置の情報を抽出し
、上記展翔手段に与える手段を有することができる。
In order to provide information on the storage location of the external shape information of the figure in the storage means to the developing means, information for specifying the figure (for example, figure name 1 figure number) and the corresponding figure external information in the storage means are provided. When a table storing storage location information and information specifying a figure are specified from the outside, the table is searched, information on the storage position in the storage means of the external shape information of the corresponding figure is extracted, and the It can have means for providing a spreading means.

〔作用〕[Effect]

上記展開手段は、文字・図形を発生する際に、文字また
は図形コードが与えられた図形については、文字コード
または図形コードによシ、所望の文字・図形の外形情報
を取出し、取出した文字・図形の外形情報を画像に展開
する。
When generating characters/figures, the developing means extracts external shape information of the desired character/figure according to the character code or figure code for figures to which a character or figure code has been given, and extracts the extracted character/figure information. Develops the shape information of a figure into an image.

また、上記展開手段は、図形コードが与えられていない
図形については、上記記憶手段における記憶位置の情報
により、所望の図形の外形情報を取出し、取出した図形
の外形情報を画像に展開するO 従って、本発明では、図形をコードで指定することも、
また、外形情報を直接指定することもできるので、図形
の種類の数や、図形の複雑さや大きさ等を制限すること
なく、どのような図形でも、扱うことが可能である・ このように、本発明は、文字・図形の外形情報を記憶し
ておき、この外形情報から画像に展開するので、大幅に
拡大したときにも、従来のドツトを拡大したときと比べ
、ギザギザのない美しい画像を展開することができる。
Further, for a figure to which a figure code has not been given, the developing means extracts the external shape information of the desired figure based on the information of the storage location in the storing means, and develops the extracted external shape information of the figure into an image. , In the present invention, it is also possible to specify a shape with a code,
Also, since it is possible to directly specify external shape information, it is possible to handle any shape without limiting the number of shape types, complexity, size, etc. of the shape.In this way, The present invention stores the external shape information of characters and figures and develops it into an image from this external shape information, so even when greatly enlarged, it can produce beautiful images without jagged edges, compared to when conventional dots are enlarged. Can be expanded.

まぜならば、従来、ドツトの拡大で生じたギザギザは、
外形情報からの展開時には、よシ精密に計算して展開す
ることができるので、斜め線等がスムーズに描画できる
からである。
If it is mixed, the jaggedness that conventionally occurs due to the expansion of the dots will be
This is because when expanding from the external shape information, it is possible to calculate and expand more precisely, so diagonal lines etc. can be drawn smoothly.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例の文書処理システムの構成を
示すブロック図である〇 第1図において、文書処理システム1は、表示部11.
入力部12.出力部13.処理部14および記憶部15
を有している。
FIG. 1 is a block diagram showing the configuration of a document processing system according to an embodiment of the present invention. In FIG. 1, a document processing system 1 includes a display section 11.
Input section 12. Output section 13. Processing section 14 and storage section 15
have.

入力部12は、キーボードやマウス等である。The input unit 12 is a keyboard, a mouse, or the like.

表示部11は、通常、CRT等のデイスプレィ装置であ
る。出力部13は、プリンタである。処理部14は、c
ptt (中央演算処理ユニット)であル、記憶部15
は、メモリや補助記憶装置である〇本実施例においては
、文字・図形は、その外形情報が記憶部15に記憶され
ている。文字の外形情報には文字コードが与えられてお
シ、また、図形の外形情報には、従来技術と同様の図形
コードが与えられているものと図形コードが与えられて
いないものとがある〇 従って、文字の外形情報および図形コードが与えられて
いる図形の外形情報を記憶部15から取出す場合は、文
字コードまたは図形コードを指定し、指定された文字コ
ードまたは図形コードによシ記憶部15を検索して取出
すが、図形コードが与えられていない図形の外形情報を
記憶部15から取出す場合は、記憶部15における記憶
位置の情報によシ記憶部15から取出すので、記憶位置
の情報を与える必要がある。
The display unit 11 is usually a display device such as a CRT. The output unit 13 is a printer. The processing unit 14 c
PTT (central processing unit), storage section 15
is a memory or an auxiliary storage device. In this embodiment, the external shape information of characters and graphics is stored in the storage unit 15. The external shape information of characters is given a character code, and the external shape information of figures is given either a graphic code similar to the conventional technology or not. Therefore, when retrieving the external shape information of a figure to which character external shape information and graphic code are given from the storage unit 15, the character code or graphic code is specified, and the specified character code or graphic code is retrieved from the storage unit 15. However, when extracting external shape information of a figure for which a figure code has not been given from the storage unit 15, it is retrieved from the storage unit 15 according to the information on the storage position in the storage unit 15, so the information on the storage position is It is necessary to give.

第2図は本実施例の動作を示すフローチャートである。FIG. 2 is a flowchart showing the operation of this embodiment.

本実施例の動作は、処理部14が記憶部15に格納され
たプログラムを実行することkよシ実現される。
The operation of this embodiment is realized by the processing unit 14 executing a program stored in the storage unit 15.

処理部14は、指定された外形情報が文字であるか図形
であるかによシ分岐する。
The processing unit 14 branches depending on whether the specified external shape information is a character or a figure.

文字であるときは、指定された文字コードにより記憶部
15を検索し、該当する文字の外形情報を引出す。この
外形情報は、例えば、第3図に示すように、文字の外形
を多角形で表した頂点の座標列である。処理部14は、
この外形情報から画像へ展間する0すなわち、第5図に
示すように1具体的に文字の形に画像を展開する。この
文字画像は、表示部11へ表示したシ、出力部13のプ
リンタで印刷されたシする〇 一方、図形であるときには、2つのモードがあるO 第1のモードは、図形コードが与えられている図形に対
する動作であシ、このときの動作は前述の文字の場合と
同様である◎ 第2のモードは、図形コードが与られていない図形に対
する動作である。この場合、処理部14は、与えられた
記憶部15における記憶位置の情報によシ図形の外形情
報を記憶部15から取出し、取出した外形情報から画像
へ展開する〇記憶部15における記憶位置の情報を処理
部14に与える方法としては、例えば、図形名とそれに
対応する図形の外形情報の記憶部15における記憶位置
の情報とを格納する図形名テーブルを記憶部15&C記
憶しておき、外部から指定された図形名と一致する図形
名が図形テーブルにある場合忙、それに対応する記憶位
置の情報を、記憶部15から取出すべき図形の外形情報
の記憶位置の情報として処理部14に与えるようKする
If it is a character, the storage unit 15 is searched using the specified character code, and external shape information of the corresponding character is retrieved. This external shape information is, for example, a coordinate string of vertices representing the external shape of a character as a polygon, as shown in FIG. The processing unit 14
The image is developed from this external shape information, that is, the image is developed specifically into the shape of a character as shown in FIG. This character image is displayed on the display unit 11 and printed by the printer in the output unit 13.On the other hand, when it is a figure, there are two modes.The first mode is when a figure code is given. The operation is the same as that for characters described above. The second mode is an operation for a figure to which no figure code is given. In this case, the processing unit 14 retrieves the external shape information of the figure from the storage unit 15 based on the given storage position information in the storage unit 15, and develops the retrieved external shape information into an image. As a method of providing information to the processing unit 14, for example, a figure name table storing figure names and information on storage positions in the memory unit 15 of external shape information of the corresponding figure is stored in the memory unit 15&C, and the information is transmitted from the outside. If there is a figure name that matches the specified figure name in the figure table, the corresponding memory location information is given to the processing unit 14 as information on the memory position of the external shape information of the figure to be retrieved from the memory unit 15. do.

また、例えば、図形番号とそれに対応する図形の外形情
報の記憶部15における記憶位置の情報とを格納する図
形番号テーブルを記憶部15に記憶しておき、外部から
指定された図形番号によ)図形番号テーブルを検索し、
該図形番号に対応する記憶位置の情報を、記憶部15か
ら取出すべき図形の外形情報の記憶位置の情報として処
理部14に与えるようにする・ なお、上記図形名テーブルや図形番号テーブルは、可視
情報として1表示部11に表示されたシ、出力部13の
プリンタでリストとして印刷されたシする。
Furthermore, for example, a figure number table storing figure numbers and information on storage positions in the storage unit 15 of external shape information of the corresponding figures is stored in the storage unit 15, and a figure number table specified from the outside is stored in the memory unit 15. Search the shape number table,
Information on the storage location corresponding to the figure number is given to the processing unit 14 as information on the storage position of the external shape information of the figure to be retrieved from the storage unit 15.The figure name table and the figure number table are The information displayed on the display section 11 and the information printed as a list on the printer of the output section 13 are displayed.

次に、本発明の他の実施例を第5図を用いて説明する。Next, another embodiment of the present invention will be described using FIG. 5.

第5図は本発明の他の実施例の文書処理システムの構成
を示すブロック図である。
FIG. 5 is a block diagram showing the configuration of a document processing system according to another embodiment of the present invention.

本実施例では、処理部14は、CPU141と文字・図
形展開142とから構成されている。このうち、文字・
図形展開部142は、文字・図形の外形情報から画像へ
展開するための専用プロセッサであシ、一般のCPUに
比べ、よli速に画像への展−が可能である・CPU1
41は、文書処理システム1全体の制御等を行い、文字
・図形k[m142とは機能を分担する〇 本災施例においては、CPU141と文字・図形に開部
142とを、それぞれ設けて、機能を分担させたことに
よシ、よシ高速表処理が可能となる。特に、CPU14
1と文字・図形展開142とを並列IC!ILIJ作さ
せたとき、その効果は大きい。
In this embodiment, the processing unit 14 is composed of a CPU 141 and a character/figure development unit 142. Of these, characters
The figure development unit 142 is a dedicated processor for developing the external shape information of characters and figures into images, and is capable of developing images much faster than general CPUs.CPU 1
41 controls the entire document processing system 1, and shares the functions with the characters/figures k[m142] In this disaster example, an opening 142 is provided for the CPU 141 and characters/figures, respectively. By dividing the functions, much faster table processing becomes possible. In particular, CPU14
1 and character/figure development 142 in parallel IC! When ILIJ is created, the effect is great.

第4図は、本実施列によりπチャートを拡大・縮小した
例を示してお)、本実施例によれば、展開時には、ドツ
ト誤差等の生じる恐れがない。
FIG. 4 shows an example of enlarging/reducing the π chart according to this embodiment). According to this embodiment, there is no possibility of dot errors occurring during expansion.

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

以上説明したように、本発明によれば、従来技術の欠点
を除き、文字・図形を統一的に扱い、かつ、文字・図形
をその外形情報により展開するので、大幅に拡大したと
きにも、ギザギザのでない概品負な文書を作成すること
ができるという効果がある。
As explained above, according to the present invention, the drawbacks of the prior art are eliminated, characters and figures are handled uniformly, and the characters and figures are expanded based on their external shape information, so even when greatly enlarged, This has the effect that it is possible to create a rough document without jagged edges.

また、本発明によれば、文字と図形とを同一の手段で展
開するので、拡大・縮小等の処理をしたとき、文字と図
形の相対関係が損なわれることなく処理され、編集処理
時にドツト誤差等を気にか第1図は本発明の一実施例の
文書処理システムの構成を示すブロック図、第2図は本
実施例の動作を示すフローチャート、第3図および第4
図は本実施例の動作説明図、第5図は本発明の他の実施
例の文書処理システムの構成を示すブロック図である。
Furthermore, according to the present invention, since characters and graphics are expanded by the same means, when processing such as enlargement/reduction, the relative relationship between characters and graphics is not impaired, and dot errors are eliminated during editing processing. FIG. 1 is a block diagram showing the configuration of a document processing system according to an embodiment of the present invention, FIG. 2 is a flowchart showing the operation of this embodiment, and FIGS.
The figure is an explanatory diagram of the operation of this embodiment, and FIG. 5 is a block diagram showing the configuration of a document processing system according to another embodiment of the present invention.

1・・・文書処理システム、11・・・表示m、12・
・・入力部、13・・・出力部、14・・・処理部、1
5・・・記憶部、141・・・CPU、142・・・文
字・図形展開部O ′−−\
1... document processing system, 11... display m, 12.
...Input section, 13... Output section, 14... Processing section, 1
5...Storage unit, 141...CPU, 142...Character/figure development unit O'--\

Claims (1)

【特許請求の範囲】 1、文字・図形を含む文書を処理する文書処理装置にお
いて、文字・図形の外形情報を記憶する手段と、上記文
字・図形の外形情報を上記記憶手段から取出して画像に
展開する手段とを有することを特徴とする文書処理シス
テム。 2、上記展開手段は、文字コードまたは図形コードが指
定されると、該文字コードまたは図形コードに対応する
文字または図形の外形情報を上記記憶手段から取出して
画像に展開することを特徴とする請求項1記載の文書処
理システム。 3、上記展開手段は、図形の外形情報の上記記憶手段に
おける記憶位置の情報が与えられると、該記憶位置に記
憶されている図形の外形情報を上記記憶手段から取出し
て画像に展開することを特徴とする請求項1または2記
載の文書処理システム。 4、上記記憶手段は、文字・図形の外形情報を文字コー
ドまたは図形コードに対応付けて記憶することを特徴と
する請求項1、2または3記載の文書処理システム。 5、図形を特定する情報とそれに対応する図形の外形情
報の上記記憶手段における記憶位置の情報とを格納する
テーブルと、図形を特定する情報が外部から指定される
と、上記テーブルを検索し、対応する図形の外形情報の
上記記憶手段における記憶位置の情報を抽出し、上記展
開手段に与える手段とを有することを特徴とする請求項
3記載の文書処理システム。
[Scope of Claims] 1. A document processing device that processes a document containing characters and figures, comprising means for storing external shape information of characters and figures, and a means for retrieving the external shape information of the characters and figures from the storage means and converting the information into an image. A document processing system comprising: means for expanding. 2. A claim characterized in that, when a character code or graphic code is designated, the developing means retrieves external shape information of a character or figure corresponding to the character code or graphic code from the storage means and develops it into an image. The document processing system according to item 1. 3. When the developing means is given information on a storage position of the external shape information of a figure in the storage means, the developing means takes out the external shape information of the figure stored in the storage position from the storage means and develops it into an image. The document processing system according to claim 1 or 2, characterized in that: 4. The document processing system according to claim 1, 2 or 3, wherein the storage means stores external shape information of characters and figures in association with character codes or figure codes. 5. A table for storing information specifying a figure and information on a storage position of the corresponding figure external shape information in the storage means, and when the information specifying a figure is specified from the outside, searching the table; 4. The document processing system according to claim 3, further comprising means for extracting information on a storage position in said storage means of external shape information of a corresponding figure and providing it to said expansion means.
JP2026011A 1990-02-07 1990-02-07 Document processing system Pending JPH03231379A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2026011A JPH03231379A (en) 1990-02-07 1990-02-07 Document processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2026011A JPH03231379A (en) 1990-02-07 1990-02-07 Document processing system

Publications (1)

Publication Number Publication Date
JPH03231379A true JPH03231379A (en) 1991-10-15

Family

ID=12181760

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2026011A Pending JPH03231379A (en) 1990-02-07 1990-02-07 Document processing system

Country Status (1)

Country Link
JP (1) JPH03231379A (en)

Similar Documents

Publication Publication Date Title
JPH03231379A (en) Document processing system
JP2008107970A (en) Image forming device
JP3146771B2 (en) Font rasterizing apparatus and method
JPS59165134A (en) Document display system
JPH0934434A (en) Character generating device
JPH11203072A (en) Picture processor
JPH04177295A (en) Character generating device
JP2004220621A (en) Data display device and method, and recording medium with data display program recorded
JPH04177294A (en) Vector font developing device
JP2921975B2 (en) Handwritten document creation device
JPH10207662A (en) Image processor, image processing method, and image processing program storage medium
JPH03112668A (en) Printer
JPH01108670A (en) Mathematical formula input and edit system
JP2737845B2 (en) Character processing method and apparatus
JP2001005440A (en) Character data generating device
JPH0944690A (en) Image processor
JPH11272256A (en) Character display control device and its control method
JPH05216456A (en) Character output device
JPH0652276A (en) Image enlargement display method
JPH04268600A (en) Document preparing device
JPH03147017A (en) Image processor
JPH0239361A (en) Document processor
JPH0695642A (en) Device for generating character/sign pattern
JP2001260452A (en) Image data producing device, image outputting device, image output controlling device, image outputting system, image data producing method, and recording medium
JPH02121856A (en) Printing system