Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0823743B2 - Document output device - Google Patents
[go: Go Back, main page]

JPH0823743B2 - Document output device - Google Patents

Document output device

Info

Publication number
JPH0823743B2
JPH0823743B2 JP62196458A JP19645887A JPH0823743B2 JP H0823743 B2 JPH0823743 B2 JP H0823743B2 JP 62196458 A JP62196458 A JP 62196458A JP 19645887 A JP19645887 A JP 19645887A JP H0823743 B2 JPH0823743 B2 JP H0823743B2
Authority
JP
Japan
Prior art keywords
character
pattern
dot
basic
character pattern
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
Application number
JP62196458A
Other languages
Japanese (ja)
Other versions
JPS6440987A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP62196458A priority Critical patent/JPH0823743B2/en
Publication of JPS6440987A publication Critical patent/JPS6440987A/en
Publication of JPH0823743B2 publication Critical patent/JPH0823743B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Liquid Crystal Display Device Control (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Description

【発明の詳細な説明】 [発明の技術分野] この発明は、ワードプロセッサ等の文書出力装置に関
する。
TECHNICAL FIELD OF THE INVENTION The present invention relates to a document output device such as a word processor.

[従来の技術] 従来、ワードプロセッサにおいては、明朝体等の一定
の字体によって表現されているキャラクタジェネレータ
内のドットパターンを読み出して印字する場合、そのド
ットパターンを傾体文字、転回文字、倍角文字等のよう
な文字形態に変更することができるが、変更可能な文字
形態は予めメーカサイドで決められている複数の文字形
態の中から所望する文字形態を選択することによって行
なっていた。
[Prior Art] Conventionally, in a word processor, when reading and printing a dot pattern in a character generator that is expressed by a fixed font such as Mincho font, the dot pattern is a tilted character, a turning character, or a double-width character. It is possible to change to a character form such as the one described above. However, the changeable character form has been performed by selecting a desired character form from a plurality of character forms determined in advance by the manufacturer.

[発明が解決しようとする問題点] このように複数の文字形態の中から所望する文字形態
を選択してドットパターンを変更するものにおいては、
選択可能な文字形態が限られている為、ユーザが希望す
る任意の文字形態で印字することができないという欠点
があった。
[Problems to be Solved by the Invention] In the case of changing a dot pattern by selecting a desired character form from a plurality of character forms as described above,
Since the selectable character forms are limited, there is a disadvantage that the user cannot print in any desired character form.

この発明の課題は、文字データを出力する際に、指定
された文字に対応する基本文字パターン情報に基づいた
文字パターンが、任意に指定された曲線変形形状に曲線
変形され、曲線変形された変形文字パターンで印字バッ
ファに展開されて印字出力されるので、文書データを印
字出力できるようにすることである。
It is an object of the present invention, when outputting character data, that a character pattern based on basic character pattern information corresponding to a specified character is curvedly deformed into an arbitrarily designated curvilinearly deformed shape, and is curvilinearly deformed. Since the character pattern is expanded in the print buffer and printed out, the document data can be printed out.

[問題点を解決するための手段] この発明の手段は、第1図の機能ブロック図に示すよ
うに、 複数の文字が用意され、その各文字毎に、個々の文字
の基本となる文字パターン形状の基本文字パターンを出
力する為の基本文字パターン情報を記憶する文字パター
ン情報記憶手段と、 複数の文字からなる文書データを記憶する文書記憶手
段と、 上記文書データの出力が指定された際に、上記文書記
憶手段に記憶された文書データ内の各文字を読み出し、
この読み出された各文字を、個々の文字に対応して記憶
された上記基本文字パターン情報に従った文字パターン
に変換して印字バッファに展開して印字出力する印字手
段と を備えた文書出力装置において、 上記基本文字パターンを1文字レベルで曲線的に変形
させる文字変形機能を指示する文字変形指示手段と、 この文字変形指示手段により文字変形機能が指示され
た際に、個々の文字の上記基本文字パターンを縦方向あ
るいは横方向で曲線変形させるための曲線変形形状を任
意に指定する曲線変形形状指定手段と、 曲線変形対象となる文字を任意に指定する文字指定手
段と、 この文字指定手段で指定された文字に対応する基本文
字パターン情報を上記文字パターン情報記憶手段から読
み出し、その基本文字パターン情報に基づいた文字パタ
ーンを上記曲線変形形状指定手段で指定された曲線変形
形状になるように曲線的に変形させる文字パターン変形
手段とを具備し、 上記文字指定手段で指定された文字を、上記文字パタ
ーン変形手段で曲線変形された変形文字パターンで上記
印字バッファに展開して印字出力するようにしたことを
特徴とする。
[Means for Solving the Problems] As shown in the functional block diagram of FIG. 1, the means of the present invention prepares a plurality of characters, and for each of the characters, a character pattern that is the basis of the individual character. A character pattern information storage means for storing basic character pattern information for outputting a basic character pattern of a shape, a document storage means for storing document data composed of a plurality of characters, and when output of the document data is designated. Reading each character in the document data stored in the document storage means,
A document output including a printing means for converting each read character into a character pattern according to the basic character pattern information stored corresponding to each character, developing the character pattern in a print buffer, and printing out. In the apparatus, a character transformation instructing means for instructing a character transformation function for transforming the basic character pattern in a curved manner at a one-character level, and when the character transformation function is instructed by the character transformation instructing means, the character A curve transformation shape designating means for arbitrarily designating a curve transformation shape for vertically or horizontally transforming a basic character pattern, a character designating means for arbitrarily designating a character to be a curve transformation target, and this character designating means The basic character pattern information corresponding to the character specified by is read from the character pattern information storage means, and the character based on the basic character pattern information is read. Character pattern deforming means for deforming the turn curvilinearly into the curved deformed shape designated by the curved deformable shape designating means, wherein the character designated by the character designating means is transformed by the character pattern transforming means. It is characterized in that the modified character pattern obtained by the curve modification is expanded in the print buffer and printed out.

[作用] この発明の手段の作用は次の通りである。[Operation] The operation of the means of the present invention is as follows.

文字変形指示手段によって、基本文字パターンを1文
字レベルで曲線的に変形させる機能が指示することによ
り、オペレータは曲線変形形状指定手段において個々の
文字の文字パターンを縦方向あるいは横方向で曲線変形
させるための曲線変形形状を任意に指定することがで
き、また文字指定手段において曲線変形対象となる文字
を任意に指定することができる。そして文字パターン変
形手段は、指定された文字に対応する基本文字パターン
情報を文字パターン情報記憶手段から読み出し、その基
本文字パターン情報に基づいた文字パターンを曲線変形
形状指定手段で指定された曲線変形形状になるように曲
線的に変形させ、文字指定手段で指定された文字が、文
字パターン変形手段によって曲線変形された変形文字パ
ターンで印字バッファに展開されて印字出力される。
When the function for deforming the basic character pattern in a curved manner at the one-character level is instructed by the character deformation instructing means, the operator deforms the character pattern of each character in the vertical or horizontal direction in the curved deformation shape designating means. It is possible to arbitrarily specify the curved deformation shape for the above, and the character specifying means can arbitrarily specify the character to be the curved deformation target. Then, the character pattern transforming means reads the basic character pattern information corresponding to the designated character from the character pattern information storage means, and the character pattern based on the basic character pattern information is the curved transform shape designated by the curved transform shape designating means. The character designated by the character designating means is expanded in the print buffer with the transformed character pattern curvedly transformed by the character pattern transforming means and printed out.

[実施例] 以下、この発明を第2図〜第7図に示す一実施例に基
づいて具体的に説明する。なお、本実施例はワードプロ
セッサに適用したものである。
[Embodiment] The present invention will be specifically described below based on an embodiment shown in FIGS. 2 to 7. This embodiment is applied to a word processor.

構成(第2図) 第2図はこのワードプロセッサの基本的な構成を示す
ブロック回路図である。CPU11は予め記憶されているマ
イクロプログラムにしたがってこのワードプロセッサの
各種の動作を制御する。例えば、CPU11はキー入力部12
から入力された文書データを取り込み、かな漢字変換等
を行ってテキストメモリ13に格納する。このテキストメ
モリ13は文書を文字コード形式で記憶する文書保存用の
メモリで、CPU11はキー入力部12からの印字指令に応答
してテキストメモリ13から文字コードを読み出し、この
文字コードをキャラクタジェネレータを構成する文字パ
ターンメモリ14を用いて対応するドットパターンに変換
し、印字バッファ15に格納する。この印字バッファ15に
格納されたドットパターンは、プリンタ16にセットされ
ている記憶紙に印字される。なお、文字パターンメモリ
14は各種の文字コードに対応して1文字24×24ドット構
成のドットパターンを記憶する既知の構成となってい
る。また、プリンタ16はサーマルプリンタで、その印字
ヘッドには48本のサーマル素子を有する構成となってい
る。
Structure (FIG. 2) FIG. 2 is a block circuit diagram showing the basic structure of the word processor. The CPU 11 controls various operations of the word processor according to a microprogram stored in advance. For example, the CPU 11 uses the key input unit 12
The document data input from is taken in, converted into kana-kanji, etc., and stored in the text memory 13. This text memory 13 is a memory for storing a document that stores a document in a character code format.The CPU 11 reads a character code from the text memory 13 in response to a print command from the key input unit 12, and the character generator outputs the character code. It is converted into a corresponding dot pattern using the constituent character pattern memory 14 and stored in the print buffer 15. The dot pattern stored in the print buffer 15 is printed on the storage paper set in the printer 16. In addition, character pattern memory
Reference numeral 14 has a known configuration for storing a dot pattern of 24 × 24 dot configuration for one character corresponding to various character codes. The printer 16 is a thermal printer, and its print head has a configuration having 48 thermal elements.

一方、このワードプロセッサには液晶タッチキーボー
ド17が設けられている。この液晶タッチキーボード17は
感圧式の透明タッチキーボードの下側に液晶表示パネル
を配置し、タッチキーボード上にペン等を用いて描かれ
た軌跡を液晶表示パネルに表示させながら文字変形用の
任意の線分パターンを手書入力するようにしたものであ
る。即ち、液晶タッチキーボード17はXY座標系に対応し
て48×48ドットの座標位置を入力可能としたもので、こ
の座標規模は液晶タッチキーボード17を構成する液晶表
示装置に表示されている破線によって視覚的に12×12ド
ット毎に区画されている。なお、BPはXY座標系の基準点
を示し、そのX軸は下から12ドット目、Y軸は左から12
ドット目に位置し、これらの交差点が基準点BPとなる。
そして、この基準点BPから右に24ドット、上に24ドット
構成の正方形鎖域(図示斜線を付して示す)は文字パタ
ーンメモリ14に固定的に記憶されている1文字24×24ド
ット構成のドットパターン(以下、基本ドットパターン
と称する)と相似形を成し、この正方形領域を参照して
基本ドットパターンに対する各ドットの横方向の変化量
を指定する為の縦線分パターン、あるいは各ドットの縦
方向の変化量を指定する為の横線分パターン(X軸方向
に延びる斜線や曲線を含む)を手書入力する。
On the other hand, a liquid crystal touch keyboard 17 is provided in this word processor. In this liquid crystal touch keyboard 17, a liquid crystal display panel is arranged below a pressure-sensitive transparent touch keyboard, and while displaying a trace drawn with a pen or the like on the touch keyboard on the liquid crystal display panel, any character transformation can be performed. The line segment pattern is manually input. That is, the liquid crystal touch keyboard 17 is capable of inputting a coordinate position of 48 × 48 dots corresponding to the XY coordinate system, and the scale of this coordinate is determined by the broken line displayed on the liquid crystal display device constituting the liquid crystal touch keyboard 17. It is visually divided every 12 × 12 dots. Note that BP indicates the reference point of the XY coordinate system, the X axis is the 12th dot from the bottom, and the Y axis is the 12th dot from the left.
Located at the dot, these intersections become the reference point BP.
A square chain region (shown by hatching in the figure) of 24 dots above and 24 dots above the reference point BP is a character 24 × 24 dot structure fixedly stored in the character pattern memory 14. The vertical line segment pattern, which is similar to the dot pattern (hereinafter referred to as the basic dot pattern), is used to specify the amount of change in the horizontal direction of each dot with respect to the basic dot pattern. A horizontal line segment pattern (including a diagonal line and a curve extending in the X-axis direction) for designating the amount of change in the vertical direction of the dot is manually input.

この液晶タッチキーボード17から手書入力された線分
パターンのうち横線分は横線分メモリ18に格納され、縦
線分は縦線分メモリ19に格納される。
Of the line patterns manually input from the liquid crystal touch keyboard 17, horizontal line segments are stored in a horizontal line segment memory 18, and vertical line segments are stored in a vertical line segment memory 19.

この横線分メモリ18、縦線分メモリ19内に記憶保持さ
れた各線分パターンはCPU11の制御下で読み出されると
共に、この横線分パターンに基づいて横ドット数を算出
し、また、縦線分パターンに基づいて縦ドット数を算出
して対応する横ドット数レジスタ20、縦ドット数レジス
タ21にセットする。
Each line segment pattern stored and held in the horizontal line segment memory 18 and the vertical line segment memory 19 is read out under the control of the CPU 11, and the number of horizontal dots is calculated based on the horizontal line segment pattern. The number of vertical dots is calculated based on the above and set in the corresponding horizontal dot number register 20 and vertical dot number register 21.

また、CPU11はキー入力部12に設けられている文字変
化印刷キーTKの操作に応答して横ドット数レジスタ20、
縦ドット数レジスタ21の内容に基づいて基本ドットパタ
ーンに対する横方向サイズの比率、縦方向サイズの比率
を求め、比率データメモリ22に与える。パターン圧縮、
拡大部23はこの比率データメモリ22の内容に基づいて基
本パターンの圧縮、拡大処理を行なって基本パターンの
サイズを変更する。このパターン圧縮、拡大部23で変更
された変更パターンはCPU11の制御下で、ワークメモリ2
4あるいは25に転送される。なお、ワークメモリ24、25
は基本ドットパターンを変形する際に用いられる。ま
た、CPU11は横線分メモリ18、縦線分メモリ19の内容に
基づいて基本ドットパターンに対する各ドットの横方向
の変化量あるいは各ドットの縦方向の変化量をドット単
位毎に求め、それに応じてワークメモリ24あるいは25内
のパターンを1ドット毎に移動してパターン形態を変化
させる。
Further, the CPU 11 responds to the operation of the character change print key TK provided in the key input section 12 in response to the horizontal dot number register 20,
Based on the contents of the vertical dot number register 21, the horizontal size ratio and the vertical size ratio with respect to the basic dot pattern are obtained and given to the ratio data memory 22. Pattern compression,
The expansion unit 23 performs compression and expansion processing of the basic pattern based on the contents of the ratio data memory 22 to change the size of the basic pattern. The change pattern changed by the pattern compression / expansion unit 23 is controlled by the CPU 11 under the control of the work memory 2
Transferred to 4 or 25. In addition, work memory 24, 25
Is used when transforming the basic dot pattern. Further, the CPU 11 obtains the amount of change in the horizontal direction of each dot or the amount of change in the vertical direction of each dot with respect to the basic dot pattern for each dot unit based on the contents of the horizontal line segment memory 18 and the vertical line segment memory 19, and accordingly, The pattern in the work memory 24 or 25 is moved dot by dot to change the pattern form.

全体動作(第3図、第4図) 文字変化印字キーTKが操作されると、第3図に示すフ
ローチャートにしたがって動作が実行される。
Overall Operation (FIGS. 3 and 4) When the character change print key TK is operated, the operation is executed according to the flowchart shown in FIG.

先ず、液晶タッチキーボード17から文字変形用の横線
分を入力すべき旨のメッセージ表示を確認し液晶タッチ
キーボード17から横線分を手書入力すると、この横線分
パターンは横線分メモリ18に格納される(ステップA1、
A2)。
First, when a message indicating that a horizontal line segment for character deformation should be input is confirmed from the liquid crystal touch keyboard 17 and the horizontal line segment is manually input from the liquid crystal touch keyboard 17, the horizontal line segment pattern is stored in the horizontal line segment memory 18. (Step A1,
A2).

第4図は横線分メモリ18の記憶状態を示し、液晶タッ
チキーボード17から手書入力された波形の横線分パター
ンは基本ドットパターンのX軸を境にして上方向(プラ
ス方向)に最大3ドット、下方向(マイナス方向)に最
大4ドット変化している。
FIG. 4 shows the storage state of the horizontal line segment memory 18. The horizontal line segment pattern of the waveform manually input from the liquid crystal touch keyboard 17 has a maximum of 3 dots in the upward direction (plus direction) with the X axis of the basic dot pattern as a boundary. , A maximum of 4 dots change downward (minus direction).

このようにして液晶タッチキーボード17からの入力し
た横線分パターンが横線分メモリ18に格納されると、CP
U11はその横線パターンの横ドット数を求め、横ドット
数レジスタ20にセットする(ステップA3)。即ち、第4
図に示す横線分パターンに対しては、X軸上の投影点が
横ドット数となり、この場合、横ドット数は「32」ドッ
トとなる。
When the horizontal line segment pattern input from the liquid crystal touch keyboard 17 is stored in the horizontal line segment memory 18 in this manner, CP
U11 obtains the horizontal dot number of the horizontal line pattern and sets it in the horizontal dot number register 20 (step A3). That is, the fourth
For the horizontal line segment pattern shown in the figure, the projection point on the X axis is the horizontal dot number, and in this case, the horizontal dot number is "32" dots.

しかして、上述のようにして文字変形用横線分パター
ンに対する入力処理が終わると、縦線分パターンに対し
ても同様の処理が行なわれる(ステップA4〜A6)。即
ち、液晶タッチキーボード17から手書入力された縦線分
パターンは、縦線分メモリ19に格納されると共に、この
縦線分メモリ19内の縦線分パターンに基づいて縦ドット
数が求められ、縦ドット数レジスタ21にセットされる。
Then, when the input process for the horizontal line segment pattern for character transformation is completed as described above, the same process is performed for the vertical line segment pattern (steps A4 to A6). That is, the vertical line segment pattern manually input from the liquid crystal touch keyboard 17 is stored in the vertical line segment memory 19, and the number of vertical dots is calculated based on the vertical line segment pattern in the vertical line segment memory 19. , Vertical dot number register 21 is set.

次に、ステップA7に進み、テキストメモリ13内の文書
データのうち印字対象のテキストコードを指定する。す
ると、このテキストコードに対応する1文字分のドット
パターンが文字パターンメモリ14から読み出される(ス
テップA8)。そして、この読み出しパターンを印字バッ
ファ15に格納する後述のパターン出力処理が実行される
(ステップA9)。このようにして1文字分のドットパタ
ーンを印字バッファ15に格納すると、ステップA10から
ステップA7に戻り、印字対策のすべての文字に対して1
文字ずつ上述のステップA7〜A9が繰り返される。
Next, in step A7, the text code to be printed out of the document data in the text memory 13 is designated. Then, the dot pattern for one character corresponding to this text code is read from the character pattern memory 14 (step A8). Then, a pattern output process, which will be described later, of storing the read pattern in the print buffer 15 is executed (step A9). When the dot pattern for one character is stored in the print buffer 15 in this way, the process returns from step A10 to step A7, and 1 is set for all characters for which printing is taken.
The above steps A7 to A9 are repeated character by character.

パターン出力処理(第5図、第6図) 第5図は上述のパターン出力処理の具体的内容を示し
たフローチャートである。
Pattern Output Process (FIGS. 5 and 6) FIG. 5 is a flowchart showing the specific contents of the pattern output process described above.

第6図は第2図で示した液晶タッチキーボード17上に
描かれているような形の文字変形用縦線分パターンおよ
び横線分パターンを液晶タッチキーボード17から手書入
力した場合において、文字「あ」の基本ドットパターン
が入力された文字変形用縦線分パターンおよび横線分パ
ターンに基づいて順次変化する過程を示している。
FIG. 6 shows a case where a vertical line segment pattern and a horizontal line segment pattern for character transformation in the shape as drawn on the liquid crystal touch keyboard 17 shown in FIG. It shows a process in which the basic dot pattern of "A" is sequentially changed based on the inputted vertical line segment pattern for character transformation and horizontal line segment pattern.

以下、第5図のフローチャートを第6図を参照して説
明する。このパターン出力処理は、(1)基本ドットパ
ターンを横方向に圧縮、拡大する処理、(2)縦方向に
圧縮、拡大する処理、(3)圧縮、拡大されたパターン
を上下方向に変形する処理、(4)左右方向に変形する
処理を順次実行するものである。
The flowchart of FIG. 5 will be described below with reference to FIG. This pattern output process is (1) a process of compressing and expanding the basic dot pattern in the horizontal direction, (2) a process of compressing and expanding in the vertical direction, (3) compression, and a process of deforming the expanded pattern in the vertical direction. , (4) The process of deforming in the left-right direction is sequentially executed.

(1)、横ドット数レジスタ20内にセットされている横
ドット数(入力横ドット数)が基本ドットパターンの横
方向のドット数(基本ドット数)「24」と一致するか否
かをチェックする(ステップB1)。いま、入力横ドット
数は第4図で示すように「32」ドットであるから、次の
ステップB2に進み、基本横ドット数に対する比率計算
(横ドット数/24)が行なわれ、これによって求められ
た比率データは、比率データメモリ22にセットされる。
そして、パターン圧縮、拡大部23は、基本ドットパター
ンを比率データメモリ22の内容に基づいて圧縮あるいは
拡大する処理を行って基本ドットパターンの横方向サイ
ズを変更し、これによつて変更されたパターンはワーク
メモリ24に転送される(ステップB3)。この場合、横ド
ット数レジスタ20内の横ドット数は「32」ドットである
から、第6図(A)に示す基本ドットパターンは、横方
向に拡大され、第6図(B)に示す如く、ワークメモリ
24内には横36ドット縦24ドットの拡大パターンが格納さ
れる。
(1) Check if the horizontal dot number (input horizontal dot number) set in the horizontal dot number register 20 matches the horizontal dot number (basic dot number) "24" of the basic dot pattern. Yes (step B1). Since the input horizontal dot number is “32” dots as shown in FIG. 4, the process proceeds to the next step B2, and the ratio to the basic horizontal dot number is calculated (horizontal dot number / 24), and is calculated by this. The ratio data thus obtained is set in the ratio data memory 22.
Then, the pattern compression / expansion unit 23 performs a process of compressing or expanding the basic dot pattern based on the content of the ratio data memory 22 to change the horizontal size of the basic dot pattern, and the pattern thus changed. Is transferred to the work memory 24 (step B3). In this case, since the horizontal dot number in the horizontal dot number register 20 is "32" dots, the basic dot pattern shown in FIG. 6 (A) is enlarged in the horizontal direction, as shown in FIG. 6 (B). , Work memory
An enlarged pattern of horizontal 36 dots and vertical 24 dots is stored in 24.

なお、パターンの圧縮、拡大処理は周知の手法によっ
て行なわれる。例えば、パターン圧縮を例に挙げると、
横方向1/2圧縮のとき、横方向のドット列は1ドットず
つ間引くことによって横線を1/2の長さに圧縮し、ま
た、縦方向のドット行については、黒ドット、つまりド
ットオンの幅が1ドットのときにはそのまま1ドットオ
ン、2ドットのときには1ドットオン、3ドットのとき
には2ドットオンとなるようにドットの間引を行うこと
によって圧縮する。また、パターンの拡大処理はドット
挿入することによって行われる。
The pattern compression and expansion processing is performed by a known method. For example, taking pattern compression as an example,
In horizontal compression of 1/2, horizontal lines are compressed to 1/2 length by thinning out one dot in the horizontal direction, and black lines, that is, dot-on When the width is 1 dot, the dot is thinned so that it is 1 dot on as it is, when it is 2 dots, it is 1 dot on, and when it is 3 dots, it is 2 dots on so that compression is performed. The pattern enlargement process is performed by inserting dots.

一方、横ドット数レジスタ20内の横ドット数が「24」
ドットであれば、パターンの圧縮、拡大処理は行なわれ
ず、基本ドットパターンがワークメモリ24に転送される
(ステップB4)。
On the other hand, the horizontal dot count in the horizontal dot count register 20 is "24".
If it is a dot, the pattern is not compressed or expanded, and the basic dot pattern is transferred to the work memory 24 (step B4).

(2)、縦ドット数レジスタ21にセットされている縦ド
ット数が基本ドットパターンの縦方向のドット数(基本
縦ドット数)「24」と一致するか否かのチェックが行な
われる。いま、第2図に示すように手書入力された縦線
パターンは24ドット構成であるから、ステップB8に進
み、ワークメモリ24内のパターンがそのままワークメモ
リ25に転送される。第6図(C)はこの場合におけるワ
ークメモリ25内のパターンデータを示している。
(2) It is checked whether or not the vertical dot number set in the vertical dot number register 21 matches the vertical dot number (basic vertical dot number) "24" of the basic dot pattern. Since the vertical line pattern manually input as shown in FIG. 2 has a 24-dot structure, the process proceeds to step B8, and the pattern in the work memory 24 is transferred to the work memory 25 as it is. FIG. 6C shows pattern data in the work memory 25 in this case.

なお、縦ドット数が「24」でなければ上述と同様な比
率計算(縦ドット数/24)が行なわれる(ステップB
6)。そしてワークメモリ24内のパターンを比率データ
メモリ22の内容に基づいて圧縮、拡大する処理が実行さ
れ、これによって基本ドットパターンの縦方向サイズが
変更されると共に、変更パターンがワークメモリ25に転
送される(ステップB7)。
If the number of vertical dots is not "24", the ratio calculation (the number of vertical dots / 24) similar to the above is performed (step B
6). Then, the process of compressing and expanding the pattern in the work memory 24 based on the contents of the ratio data memory 22 is executed, whereby the vertical size of the basic dot pattern is changed and the changed pattern is transferred to the work memory 25. (Step B7).

(3)、横線分メモリ18に格納されている横線パターン
の各ドットが基準ドットパターンのX軸上に全て位置し
ているか、つまり、横線分に変化があるか否かのチェッ
クが行なわれる(ステップB9)。いま、第4図に示すよ
うな横線パターンは基本ドットパターンに対して変化し
ている為、次のステップB10に進み、横線パターンの1
ドットの変化量に応じてワークメモリ25内のパターンの
対応ドット列を上下に移動してワークメモリ24に転送す
る処理をステップB11で全ドット列終了が検出されるま
で1ドットずつ順次繰り返される。第6図(D)は第4
図に示す横線パターンに対応して第6図(C)に示す拡
大ドットパターンを上下方向に移動することによってワ
ークメモリ25内のドットパターンを上下方向に変形し、
この変形パターンがワークメモリ24に格納された状態を
示している。
(3) It is checked whether all the dots of the horizontal line pattern stored in the horizontal line segment memory 18 are located on the X axis of the reference dot pattern, that is, whether or not there is a change in the horizontal line segment ( Step B9). Since the horizontal line pattern as shown in FIG. 4 has changed with respect to the basic dot pattern, the process proceeds to the next step B10 and the horizontal line pattern 1
The process of moving the corresponding dot row of the pattern in the work memory 25 up and down and transferring it to the work memory 24 according to the amount of change in dots is sequentially repeated dot by dot until the end of all dot rows is detected in step B11. FIG. 6 (D) is the fourth
The dot pattern in the work memory 25 is vertically deformed by vertically moving the enlarged dot pattern shown in FIG. 6C corresponding to the horizontal line pattern shown in FIG.
The deformation pattern is stored in the work memory 24.

なお、ステップB9で横線分に変化がないことが検出さ
れると、ワークメモリ25内のパターンがそのままワーク
メモリ24に転送される(ステップB12)。
When it is detected in step B9 that the horizontal line segment has not changed, the pattern in the work memory 25 is transferred to the work memory 24 as it is (step B12).

(4)、縦線分メモリ19内の縦線パターンが基準ドット
パターンのY軸に対して変化していれば、ステップB13
でそのことが検出され、縦線パターンの1ドットの変化
量に応じてワークメモリ24内のパターンの対応ドット行
を左右に移動し、その変形パターンをワークメモリ25に
転送する処理(ステップB14)をステップB15で全ドット
行終了が検出されるまで1ドットずつ順次繰り返され
る。第6図(E)は第2図に示す縦線パターンに対応し
て第6図(D)に示すドットパターンを左右方向に移動
することによってワークメモリ24内のドットパターンを
左右方向に変形し、この変形パターンがワークメモリ25
に格納された状態を示している。
(4) If the vertical line pattern in the vertical line segment memory 19 changes with respect to the Y axis of the reference dot pattern, step B13
This is detected by the process, and the corresponding dot row of the pattern in the work memory 24 is moved to the left or right according to the change amount of one dot of the vertical line pattern, and the modified pattern is transferred to the work memory 25 (step B14). Is sequentially repeated dot by dot until the end of all dot rows is detected in step B15. FIG. 6 (E) deforms the dot pattern in the work memory 24 in the left / right direction by moving the dot pattern shown in FIG. 6 (D) in the left / right direction corresponding to the vertical line pattern shown in FIG. , This deformation pattern is work memory 25
Shows the state stored in.

なお、ステップB13で縦線分に変化がないことが検出
されると、ワークメモリ24内のドットパターンがそのま
まワークメモリ25に転送される(ステップB16)。
When it is detected in step B13 that there is no change in the vertical line segment, the dot pattern in the work memory 24 is transferred to the work memory 25 as it is (step B16).

しかして、縦線分に対する変形処理が終わると、ワー
クメモリ25内のドットパターンが印字バッファ15に転送
される(ステップB17)。これによって、第6図(A)
に示すような基本ドットパターンが第6図(E)に示す
ようにドットパターンに変形されて印字されることにな
る。
Then, when the transformation process for the vertical line segment ends, the dot pattern in the work memory 25 is transferred to the print buffer 15 (step B17). As a result, FIG. 6 (A)
The basic dot pattern as shown in FIG. 6 is transformed into a dot pattern and printed as shown in FIG.

このように本実施例においては、液晶タッチキーボー
ド17から任意の横線パターンや縦線パターンを手書入力
することによって文字パターンメモリ14に固定的に記憶
されている基本ドットパターンを任意の形態に変化させ
て印字することができる。例えば、「山」の基本ドット
パターンを第7図(A)に示す如く縦長に変形したり、
第7図(B)に示す如く湾曲に変形して印字することも
できる。
As described above, in this embodiment, the basic dot pattern fixedly stored in the character pattern memory 14 is changed to an arbitrary form by manually inputting an arbitrary horizontal line pattern or vertical line pattern from the liquid crystal touch keyboard 17. It can be printed. For example, the basic dot pattern of “mountain” may be vertically transformed as shown in FIG.
As shown in FIG. 7 (B), it is possible to print by deforming it into a curved shape.

変形応用例 (1)、本実施例は文字変形用の横線分や縦線分パター
ンを液晶タッチキーボード17を用いて手書入力するよう
にしたが、例えば、カーソルキーを操作することによっ
てこれらを入力すようにしてもよく、また、ライトペン
等を用いて光学的に入力するようにしてもよく、その入
力手段は任意である。
Modified Example (1) In this embodiment, the horizontal line segment and the vertical line segment pattern for character transformation are manually input using the liquid crystal touch keyboard 17, but these can be input by operating the cursor key, for example. The input means may be arbitrary, or may be optical input using a light pen or the like.

(2)、また上記実施例は24×24ドット構成の基本ドッ
トパターンを48×48ドットの範囲内で任意の形態に変化
させたが、それらのドット規模は任意である。
(2) Further, in the above-mentioned embodiment, the basic dot pattern of 24 × 24 dot configuration is changed into an arbitrary form within the range of 48 × 48 dots, but the dot scale is arbitrary.

[発明の効果] この発明によれば、指定された文字に対応する基本文
字パターン情報に基づいた文字パターンが、任意に指定
された曲線変形形状に曲線変形され、曲線変形された変
形文字パターンで印字バッファに展開されて印字出力さ
れるので、文書データを印字出力する際に、文字形態の
バリエーションが格段に豊富になり、文書表現が個性豊
かになる。
According to the present invention, the character pattern based on the basic character pattern information corresponding to the designated character is transformed into the arbitrarily designated curved deformation shape, and the transformed character pattern is transformed into the curved shape. Since the data is expanded in the print buffer and printed out, when the document data is printed out, the variations in the character form are remarkably rich and the document expression is rich in individuality.

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

第1図はこの発明の機能ブロック図、第2図〜第7図は
この発明の一実施例を示し、第2図はこの発明を適用し
たワードプロセッサの基本的な構成を示したブロック回
路図、第3図は文字変化印字キーが操作されたときの動
作を説明するフローチャート、第4図は第1図で示した
横線分メモリ18の記憶状態を具体的に示した図、第5図
は第3図で示したパターン出力処理の具体的内容を示し
たフローチャート、第6図は基本ドットパターンが変化
する過程の具体例を示した図,第7図はその他の文字変
形例を示した図である。 11……CPU、14……文字パターンメモリ、16……プリン
タ、17……液晶タッチキーボード、18……横線分メモ
リ、19……縦線分メモリ、20……横ドット数レジスタ、
21……縦ドット数レジスタ、22……比率データメモリ、
23……パターン圧縮、拡大部。
FIG. 1 is a functional block diagram of the present invention, FIGS. 2 to 7 show an embodiment of the present invention, and FIG. 2 is a block circuit diagram showing a basic configuration of a word processor to which the present invention is applied. FIG. 3 is a flow chart for explaining the operation when the character change print key is operated, FIG. 4 is a view specifically showing the storage state of the horizontal line segment memory 18 shown in FIG. 1, and FIG. FIG. 3 is a flow chart showing the specific contents of the pattern output processing shown in FIG. 3, FIG. 6 is a diagram showing a concrete example of the process of changing the basic dot pattern, and FIG. 7 is a diagram showing another character modification example. is there. 11 …… CPU, 14 …… Character pattern memory, 16 …… Printer, 17 …… LCD touch keyboard, 18 …… Horizontal line segment memory, 19 …… Vertical line segment memory, 20 …… Horizontal dot number register,
21 …… Vertical dot number register, 22 …… Ratio data memory,
23 …… Pattern compression and expansion section.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数の文字が用意され、その各文字毎に、
個々の文字の基本となる文字パターン形状の基本文字パ
ターンを出力する為の基本文字パターン情報を記憶する
文字パターン情報記憶手段と、 複数の文字からなる文書データを記憶する文書記憶手段
と、 上記文書データの出力が指定された際に、上記文書記憶
手段に記憶された文書データ内の各文字を読み出し、こ
の読み出された各文字を、個々の文字に対応して記憶さ
れた上記基本文字パターン情報に従った文字パターンに
変換して印字バッファに展開して印字出力する印字手段
と を備えた文書出力装置において、 上記基本文字パターンを1文字レベルで曲線的に変形さ
せる文字変形機能を指示する文字変形指示手段と、 この文字変形指示手段により文字変形機能が指示された
際に、個々の文字の上記基本文字パターンを縦方向ある
いは横方向で曲線変形させるための曲線変形形状を任意
に指定する曲線変形形状指定手段と、 曲線変形対象となる文字を任意に指定する文字指定手段
と、 この文字指定手段で指定された文字に対応する基本文字
パターン情報を上記文字パターン情報記憶手段から読み
出し、その基本文字パターン情報に基づいた文字パター
ンを上記曲線変形形状指定手段で指定された曲線変形形
状になるように曲線的に変形させる文字パターン変形手
段とを具備し、 上記文字指定手段で指定された文字を、上記文字パター
ン変形手段で曲線変形された変形文字パターンで上記印
字バッファに展開して印字出力するようにしたことを特
徴とする文書出力装置。
1. A plurality of characters are prepared, and for each character,
A character pattern information storage unit that stores basic character pattern information for outputting a basic character pattern of a character pattern shape that is a base of each character; a document storage unit that stores document data composed of a plurality of characters; When data output is designated, each character in the document data stored in the document storage means is read, and each read character is stored in the basic character pattern corresponding to each character. In a document output device provided with a printing means for converting into a character pattern according to information, expanding it in a print buffer and printing it out, a character deforming function for curvilinearly deforming the basic character pattern at one character level is instructed. When the character transformation function is instructed by the character transformation instruction means and the character transformation instruction means, the basic character pattern of each character is vertically or vertically Corresponding to the character specified by this character designating means, the curve transforming shape designating means for arbitrarily designating the curved shape for laterally transforming the curve, the character designating means for arbitrarily designating the character to be the curve transform target. A character pattern for reading basic character pattern information from the character pattern information storage means, and curvilinearly deforming the character pattern based on the basic character pattern information into the curved deformed shape designated by the curved deformed shape designating means. The character designated by the character designating means is expanded into the print buffer with the transformed character pattern curvedly transformed by the character pattern transforming means and printed out. Document output device.
JP62196458A 1987-08-07 1987-08-07 Document output device Expired - Lifetime JPH0823743B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62196458A JPH0823743B2 (en) 1987-08-07 1987-08-07 Document output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62196458A JPH0823743B2 (en) 1987-08-07 1987-08-07 Document output device

Publications (2)

Publication Number Publication Date
JPS6440987A JPS6440987A (en) 1989-02-13
JPH0823743B2 true JPH0823743B2 (en) 1996-03-06

Family

ID=16358143

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62196458A Expired - Lifetime JPH0823743B2 (en) 1987-08-07 1987-08-07 Document output device

Country Status (1)

Country Link
JP (1) JPH0823743B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5994783A (en) * 1982-11-22 1984-05-31 日本電気オフィスシステム株式会社 Generator for character signal or the like
JPS59158468A (en) * 1983-02-28 1984-09-07 Photo Composing Mach Mfg Co Ltd Circuit for controlling italicized character and picture data
JPS60159068A (en) * 1984-01-31 1985-08-20 Canon Inc Output device
JPS60107695A (en) * 1983-11-16 1985-06-13 富士通株式会社 Display unit
JPH0642140B2 (en) * 1985-02-13 1994-06-01 カシオ計算機株式会社 Reduction and enlargement control method
JPH061485B2 (en) * 1985-06-07 1994-01-05 株式会社写研 Character processing method
JPS62153895A (en) * 1985-12-27 1987-07-08 株式会社日立製作所 Character arrangement method

Also Published As

Publication number Publication date
JPS6440987A (en) 1989-02-13

Similar Documents

Publication Publication Date Title
JPH02167593A (en) Generating method for void character
JPH0823743B2 (en) Document output device
JPH046554B2 (en)
JP2617190B2 (en) String output device
JPH0113117B2 (en)
JPH03213367A (en) Multicolor printer
JPH0823742B2 (en) Character pattern output device
JPH0719251B2 (en) Mathematical symbol input display method
JPH0346020A (en) Document processing system
JPH07102716B2 (en) Text printing control device
JP2803746B2 (en) Character processing method and apparatus
JPH03184182A (en) Character output layout determination system
JP2564778B2 (en) Character output device
JP2564779B2 (en) Character output device
JP3320566B2 (en) Character symbol conversion device and printer
JP2764944B2 (en) Character output device
JPH08137926A (en) CAD drawing creation method
JPH01282595A (en) Character pattern generation system by image input
JPH01124054A (en) Document preparing device
JPH0346056A (en) Document generation device
JPH05298311A (en) Device and method for preparation of document
JPH09127925A (en) String output device
JPH0263866A (en) Color document printing method
JPS60129267A (en) Printing system for letter and the like
JPS62127890A (en) pattern generator