JPH01154193A - High speed font development system of data processor - Google Patents

High speed font development system of data processor

Info

Publication number
JPH01154193A
JPH01154193A JP62313260A JP31326087A JPH01154193A JP H01154193 A JPH01154193 A JP H01154193A JP 62313260 A JP62313260 A JP 62313260A JP 31326087 A JP31326087 A JP 31326087A JP H01154193 A JPH01154193 A JP H01154193A
Authority
JP
Japan
Prior art keywords
image data
display
character
characters
area
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
JP62313260A
Other languages
Japanese (ja)
Inventor
Noriyuki Aoyama
青山 徳行
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP62313260A priority Critical patent/JPH01154193A/en
Publication of JPH01154193A publication Critical patent/JPH01154193A/en
Pending legal-status Critical Current

Links

Landscapes

  • 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

【発明の詳細な説明】 狭権分夏 この発明は、ワードプロセッサや、パーソナルコンピュ
ータ、DPS (データ・プロセッシング・システム)
、その他キー人力された文字コードをフォント展開して
画面上に表示する機能を有する各種データ処理装置のフ
ォント展開方式の改良に係り、特に、エディター操作に
おける文字データの追加/削除の処理、すなわち編集画
面上で、すでに作成済みのテキストデータに文字を追加
したり削除したり、移動等を行った場合に、表示画面の
レイアウトが変更するときでも、フォント展開による表
示処理時間を大幅に減少させることにより、高速度のフ
ォント展開を可能にして、エディター等の操作能率を向
上させた高速フォント展開方式に関する。
[Detailed Description of the Invention] This invention is applicable to word processors, personal computers, and DPS (data processing systems).
,Other keysRegarding the improvement of the font development method of various data processing devices that have the function of developing fonts of human-generated character codes and displaying them on the screen, in particular, processing of addition/deletion of character data in editor operations, that is, editing To significantly reduce the display processing time due to font development even when the layout of the display screen changes when characters are added, deleted, or moved on the screen to text data that has already been created. This invention relates to a high-speed font expansion method that enables high-speed font expansion and improves the operating efficiency of editors, etc.

災末技先 従来から、ワードプロセッサや、パーソナルコンピュー
タ、その他のフォント展開機能を有するデータ処理装置
では、エディター時に、入力された文字コードに従って
、画面上に1文字ずつフォント展開している。
BACKGROUND ART Conventionally, word processors, personal computers, and other data processing devices with a font development function have developed fonts one character at a time on the screen according to input character codes when editing.

しかし、従来のフォント展開方式では、画面上に表示さ
れたテキストデータ、すなわち成る程度編集された文字
列に、1個または複数個の文字を追加したり、あるいは
削除することによって、全画面のレイアウトが変化する
場合には、企画面分の文字展開をし直す必要がある。
However, in the conventional font expansion method, by adding or deleting one or more characters to the text data displayed on the screen, that is, a character string that has been edited to a certain extent, the layout of the entire screen is created. If this changes, it is necessary to redeploy the text for the planning aspect.

その結果、1文字の追加/削除の編集操作でも、全画面
に対する表示文字分のフォント展開が必要となり、この
フォント展開の処理時間のために高速度の展開ができず
、結果的に、編集処理の能率も低下する、という不都合
があった。
As a result, editing operations such as adding or deleting a single character require font development for the displayed characters on the entire screen, and the processing time for this font development makes it impossible to perform high-speed development.As a result, the editing process This has the disadvantage that the efficiency of the system also decreases.

例えば、全画面のフォント展開処理が必要となる場合と
しては、編集された文字列中に余白等がなく、追加され
た文字を吸収することができないときである。もし、改
行等のために、行末に余白が存在していれば、その部分
で追加された文字をフォント展開することが可能となり
、その他の表示画面は影響を受けずに済む。
For example, a case where full-screen font development processing is required is when there is no margin or the like in the edited character string and added characters cannot be absorbed. If there is a blank space at the end of a line due to a line break, etc., the characters added in that part can be expanded into fonts, and the rest of the display screen is not affected.

しかし、実際のエディター操作では、このようなケース
は希であって、多くの場合に、全画面の再処理が必要に
なる。
However, in actual editor operations, such cases are rare, and in many cases it is necessary to reprocess the entire screen.

最初に、従来のフォント展開機能を有するデータ処理装
置について、その構成例を説明する。
First, a configuration example of a conventional data processing device having a font development function will be described.

第12図は、従来のフォント展開機能を有するデータ処
理装置について、−そめ要部2構成の一例を示す機能ブ
ロック図である。図面において、1はCPUで、laは
そのメモリ、2はFHDC(フロッピー・ハード・ディ
スク・コントローラ)、3はHDD (ハード・ディス
ク・ドライバ)、4はFDD (フロッピー・ディスク
・ドライバ)、5はCRTコントローラ、6はビデオメ
モリ、7はCRTデイスプレィユニット、8はプリンタ
コントローラ、9はプリンタ、10はシステムバスを示
す。
FIG. 12 is a functional block diagram showing an example of the configuration of the main part 2 of a conventional data processing device having a font development function. In the drawing, 1 is the CPU, la is its memory, 2 is FHDC (floppy hard disk controller), 3 is HDD (hard disk driver), 4 is FDD (floppy disk driver), and 5 is A CRT controller, 6 a video memory, 7 a CRT display unit, 8 a printer controller, 9 a printer, and 10 a system bus.

この第12図に示すデータ処理装置、例えばワードプロ
セッサの各部の機能は、概路次のとおりである。
The functions of each part of the data processing device, such as a word processor, shown in FIG. 12 are outlined as follows.

CPUIと、メモリ1aは、ワードプロセッサのシステ
ム制御部を構成している。
The CPUI and memory 1a constitute a system control section of the word processor.

すなわち、メモリ1aは、システム全体を制御するプロ
グラムROM、フォント、その他のデータを格納するR
AM等からなるシステムメモリで、CPUIは、第12
図のシステム全体を管理する。
That is, the memory 1a is an R memory that stores a program ROM that controls the entire system, fonts, and other data.
The CPU is the 12th system memory consisting of AM, etc.
Manage the entire system of diagrams.

FHDC2は、フォントが格納されているフロッピー・
ディスクやハード・ディスク等の記憶ユニットから、デ
ータを取出すためのコントローラである。
FHDC2 is the floppy disk where fonts are stored.
A controller for extracting data from storage units such as disks and hard disks.

HDD3は、外部記憶ユニットであるハード・ディスク
を駆動するドライバである。
The HDD 3 is a driver that drives a hard disk, which is an external storage unit.

FDD4は、同じく外部記憶ユニットであるフロッピー
・ディスクを駆動するドライバである。
FDD4 is a driver that drives a floppy disk, which is also an external storage unit.

CRTコントローラ5は、ビットブリット(BITBL
T)機能、すなわち矩形のイメージデータ領域について
、その領域のイメージデータをそのまま転送する機能を
有しており、また、CRTデイスプレィユニット7の表
示を制御する機能を有している。
The CRT controller 5 is a BITBL
T) function, that is, for a rectangular image data area, it has a function to transfer the image data of that area as it is, and also has a function to control the display of the CRT display unit 7.

ビデオメモリ6は、CRT画面上に表示されるフォント
展開されたデータを格納するメモリである。なお、実際
にCRT画面上に表示されるエリア(表示メモリエリア
)は、後述するように、このビデオメモリ6内の一部の
エリアであり、CR1画面上の表示エリアとビデオメモ
リ6の全エリアとは、必ずしも1対1で対応している訳
ではなり1゜ CRTデイスプレィユニット7は、その画面上に1文字
データやイメージデータをドツトパターンで可視表示す
る表示手段である。このCRTデイスプレィユニット7
には、CRTコントローラ5が接続されており、ビデオ
メモリ6上に展開されたテキストデータがフォント展開
されたイメージデータ、あるいは書画のような画像のイ
メージデータを、画面表示するための制御機能を有して
いる。
The video memory 6 is a memory that stores font-expanded data displayed on the CRT screen. The area actually displayed on the CRT screen (display memory area) is a part of this video memory 6, as will be described later, and includes the display area on the CR1 screen and the entire area of the video memory 6. This does not necessarily mean that there is a one-to-one correspondence.The CRT display unit 7 is a display means that visually displays one character data or image data in a dot pattern on its screen. This CRT display unit 7
A CRT controller 5 is connected to the CRT controller 5, which has a control function for displaying on the screen image data in which text data developed on the video memory 6 is developed into fonts, or image data such as calligraphy. are doing.

プリンタコントローラ8は、ビデオメモリ6上に展開さ
れたイメージデータ、あるいは文字コードをフォント展
開して、プリンタ9へ出力するためのコントローラであ
る。
The printer controller 8 is a controller that develops image data or character codes developed on the video memory 6 into fonts and outputs them to the printer 9 .

プリンタ9は、例えば、レーザビーム・プリンタやイン
クジェット・プリンタ、サーマルドツト・プリンタ等の
ドツトイメージの印刷装置で、ドツトパターンによる印
刷を行う、このプリンタ9には、システムバス10、プ
リンタコントローラ8を介して、コンピュータ側から、
作成されたテキストデータやイメージデータが与えられ
、ハードコピーを作成する。
The printer 9 is a dot image printing device such as a laser beam printer, an inkjet printer, or a thermal dot printer, and prints dot patterns. From the computer side,
The created text data and image data are given and a hard copy is created.

この第12図のような構成を有する従来のフォント展開
機能を有するデータ処理装置、例えばワードプロセッサ
や、パーソナルコンピュータ等のOA機器では、すでに
述べたように、CRTコントローラ5が、ビットブリッ
ト機能を有しており、ビデオメモリ6上にすでにフォン
ト展開されている文字パターンのイメージデータを、ブ
ロック単位で高速度で転送している。
In a conventional data processing device having a font development function, such as a word processor or an OA device such as a personal computer, which has the configuration shown in FIG. The image data of the character pattern, which has already been developed into a font on the video memory 6, is transferred block by block at high speed.

すなわち、画面スクロール時には、表示エリアの変更が
あっても、すでに、ビデオメモリ(編集メモリ)上にフ
ォント展開されている文字パターンについては、全画面
の文字をフォント展開する必要はなく、新たに表示エリ
アとなる文字パターンについてのみ、フォント展開する
表示方式が用いられている。
In other words, when scrolling the screen, even if the display area changes, character patterns that have already been developed in fonts in the video memory (editing memory) do not need to be developed in fonts for the entire screen, and will be displayed anew. A display method that develops fonts is used only for character patterns that form areas.

第13図は、従来のフォント展開機能を有するデータ処
理装置において、画面スクロール時における文字のフォ
ント展開の動作を説明するための図で、(1)はスクロ
ール前のビデオメモリとその表示エリアの文字の一例、
(2)はスクロール後の表示画面の一例を示す図である
。図面において、RAMはビデオメモリ、DPはその表
示エリア、DP’はスクロール後の重複表示エリア、D
P’はスクロール後の非重複表示エリア、矢印は右スク
ロールを示す。
FIG. 13 is a diagram for explaining the operation of character font development during screen scrolling in a data processing device having a conventional font development function. (1) shows the video memory and the characters in its display area before scrolling. An example of
(2) is a diagram showing an example of the display screen after scrolling. In the drawing, RAM is a video memory, DP is its display area, DP' is an overlapping display area after scrolling, and D
P' indicates a non-overlapping display area after scrolling, and the arrow indicates right scrolling.

例えば、この第13図(1)のように、ビデオメモリR
AM上に作成された文字列がフォント展開され、その表
示エリア(表示メモリエリア)DPが画面上に表示され
ているとき、矢印のように右1文字分だけスクロールし
たとする。
For example, as shown in FIG. 13 (1), the video memory R
Assume that when a character string created on AM is expanded into a font and its display area (display memory area) DP is displayed on the screen, the user scrolls one character to the right as shown by the arrow.

この場合には、第13図(2)のように、先の表示エリ
アDPと重複するエリアDP’ については、すでにフ
ォント展開されたパターンをイメージデータとしてブロ
ック転送を行い、新たに表示エリアとなる非重複表示エ
リアDP’の文字についてだけ、フォント展開している
In this case, as shown in Fig. 13 (2), for the area DP' that overlaps with the previous display area DP, a block transfer is performed using the pattern in which the font has already been developed as image data, and the area becomes a new display area. Fonts are developed only for the characters in the non-overlapping display area DP'.

このように1画面スクロールにおいては、従来から、す
でにビデオメモリRAM上に展開されたフォントデータ
を、イメージデータとしてブロック転送する方式が知ら
れている。
In this way, in single-screen scrolling, a method has been known in the past in which font data that has already been developed on the video memory RAM is transferred in blocks as image data.

しかしながら、エディター時には、文字の追加/削除に
よって、ビデオメモリ上のパターンデータが変化するた
め、この画面スクロール時のように、フォント展開され
たイメージデータを、単純にブロック転送することはで
きない。
However, when editing, the pattern data on the video memory changes due to the addition/deletion of characters, so it is not possible to simply block transfer the font-developed image data as when scrolling the screen.

そのため、従来の表示制御方式では、編集画面上で、そ
のテキストデータに追加や削除の操作を行った場合には
、全画面表示合についてフォント展開を行うことになり
、その処理に時間を要する結果、処理速度の低下を招き
処理能率が悪くなる、という不都合があった。
Therefore, with conventional display control methods, when adding or deleting text data on the editing screen, fonts must be expanded for full screen display, which results in a time-consuming process. , there was a problem that the processing speed decreased and the processing efficiency deteriorated.

目     的 そこで、この発明のデータ処理装置の高速フォント展開
方式では、従来のフォント展開方式におけるこのような
不都合、すなわち、エディター操作等で、編集済みの文
字列に、1文字あるいは複数文字の追加/削除を行うこ
とによって、表示画面のレイアウトが変化するため、企
画面分に対するフォント展開をやり直す必要があって処
理速度が低下する、という不都合を解決し、変更を生じ
た表示エリアについてのみフォント展開を行い、変更を
伴わないエリアについては、すでにフォント展開された
イメージデータを、ビットブリット機能によってブロッ
ク転送することにより、表示−処理の時間を短縮してシ
ステムの処理能率を向上させると共に、エディター処理
を高速化することを目的とする。
Purpose Therefore, the high-speed font expansion method of the data processing device of the present invention solves the above-mentioned disadvantages of conventional font expansion methods, that is, adding one or more characters to an edited character string by editor operation, etc. By deleting, the layout of the display screen changes, so it is necessary to redo the font development for the planned area, which slows down the processing speed. This solves the problem of slowing down the processing speed. For areas that do not require changes, the image data that has already been expanded into fonts is transferred in blocks using the BitBlit function, which shortens the display and processing time and improves system processing efficiency. The purpose is to speed up.

■−−双 そのために、この発明では、入力装置と、表示装置と、
編集された文字・記号等のデータを記憶するテキストメ
モリと、文字・記号等のパターンデータを記憶するキャ
ラクタパターンメモリと、フォント展開されたイメージ
データが記憶されるビデオメモリと、前記テキストメモ
リに記憶されたデータを前記パターンメモリに記憶され
たパターンデータによって前記ビデオメモリにイメージ
データで記憶させるフォント展開手段とを具備し。
■--For this purpose, the present invention includes an input device, a display device,
A text memory that stores data such as edited characters and symbols, a character pattern memory that stores pattern data such as characters and symbols, a video memory that stores font-developed image data, and a memory that is stored in the text memory. font development means for storing the image data in the video memory as image data based on the pattern data stored in the pattern memory.

編集された文字列をイメージデータで前記表示装置の画
面上に表示する際、前記ビデオメモリから表示メモリへ
ビットブリット転送を行う機能を有する従来のデータ処
理装置において、前記画面上にイメージデータで表示さ
れた文字列についてその追加・削除等の編集処理時に、
該追加・削除等の文字とその位置の情報とによって、編
集操作後も前記ビデオメモリ上の文字列の順序が変更さ
れないイメージデータ領域を検出する順序非変更イメー
ジデータ領域検出手段と、前記ビデオメモリ上のイメー
ジデータが変更される表示エリアを検出する変更エリア
検出手段とを設け、編集操作によって画面上の文字列の
追加・削除等が行われたとき、前記順序非変更イメージ
データ領域検出手段により前記ビデオメモリ上の順序が
変更されないイメージデータ領域を検出し、該領域のイ
メージデータを表示メモリへビットブリット転送すると
ともに、前記変更エリア検出手段によりイメージデータ
が変更される表示エリアを検出し、該表示エリアについ
てのみ前記フォント展開手段によって変更後の文字をイ
メージデータに展開して表示するようにしている。
When displaying the edited character string as image data on the screen of the display device, in a conventional data processing device having a function of performing bit blit transfer from the video memory to the display memory, displaying the edited character string as image data on the screen. When editing the text string, such as adding or deleting it,
an order-unchanged image data area detecting means for detecting an image data area in which the order of character strings on the video memory is not changed even after an editing operation, based on information on the added/deleted characters and their positions; change area detection means for detecting a display area in which the above image data is changed, and when character strings on the screen are added or deleted by editing operations, the order non-change image data area detection means detects detecting an image data area on the video memory whose order is not changed; bit-blit transferring the image data of the area to a display memory; detecting a display area where the image data is changed by the change area detecting means; Only in the display area, the changed characters are developed into image data and displayed by the font development means.

次に、この発明のデータ処理装置の高速フォント展開方
式について、図面を参照しながら、その実施例を詳細に
説明する。
Next, an embodiment of the high-speed font development method of the data processing apparatus of the present invention will be described in detail with reference to the drawings.

最初に、この発明の高速フォント展開方式を行う場合に
おいて、データ処理装置のビデオメモリとCR1表示エ
リアの関係について説明する。
First, the relationship between the video memory of the data processing device and the CR1 display area when performing the high-speed font development method of the present invention will be described.

第2図は、データ処理装置におけるビデオメモリとCR
1表示エリアの関係を説明するメモリ構成図である。図
面において、6aはビデオメモリ6上のCR1表示エリ
ア、SAはビデオメモリ6のスタートアドレス、SA’
はそのCR1表示エリアのスタートアドレス、Lはビデ
オメモリ6の横幅、L′はCR1表示エリアの横幅を示
す。
Figure 2 shows the video memory and CR in the data processing device.
FIG. 2 is a memory configuration diagram illustrating the relationship between one display area. In the drawing, 6a is the CR1 display area on the video memory 6, SA is the start address of the video memory 6, and SA'
is the start address of the CR1 display area, L is the width of the video memory 6, and L' is the width of the CR1 display area.

この第2図に示すように、スタートアドレスSA、横幅
りのビデオメモリ6上に、スタートアドレスSA’、横
幅L′のCRT表示エリア6aを確保する。
As shown in FIG. 2, a CRT display area 6a with a start address SA' and a width L' is secured on the video memory 6 with a start address SA and a width L'.

このようにすれば、ビデオメモリ6の範囲内で、縦・横
の両方向へのスクロールが可能となる。
In this way, scrolling in both vertical and horizontal directions is possible within the range of the video memory 6.

次に1通常のフォント展開の場合について述べる。この
場合の処理は、従来のフォント展開方式の処理と同様で
ある。
Next, the case of 1 normal font development will be described. The processing in this case is similar to that of the conventional font development method.

第3図は、通常のフォント展開の場合におけるビデオメ
モリと実際のCR7表示画面との対応関係を示す図で、
(1)はビデオメモリ6、(2)は実際のCR7表示画
面を示す。図面における符号は第2図と同様であり、ま
た、X、YはCRT表示エリア6aの表示スタート位置
の座標を示す。
FIG. 3 is a diagram showing the correspondence between the video memory and the actual CR7 display screen in the case of normal font development.
(1) shows the video memory 6, and (2) shows the actual CR7 display screen. The symbols in the drawing are the same as those in FIG. 2, and X and Y indicate the coordinates of the display start position of the CRT display area 6a.

通常のフォント展開時には、この第3図(1)に示すよ
うに、1文字ずつ、表示エリア6a内の所定の位置に、
文字パターンを展開して行く。
During normal font development, as shown in FIG. 3 (1), each character is placed at a predetermined position within the display area 6a.
Develop the character pattern.

この展開処理に際しては、先の第12図に示したCPU
IからCRTコントローラ5へ、ソース・アドレス、デ
ィストネーション・アドレス、文字サイズ等の情報が与
えられ、CRTコントローラ5が、ビットブリット機能
、すなわちブロック単位(矩形領域)のデータ転送機能
によって、すでにビデオメモリ6上でイメージデータに
フォント展開されているデータの転送を実行する。
During this expansion process, the CPU shown in FIG.
Information such as the source address, destination address, character size, etc. is given from I to the CRT controller 5, and the CRT controller 5 uses the bit blit function, that is, the data transfer function in block units (rectangular area), to 6, the data in which the font has been expanded into the image data is transferred.

CRTコントローラ5は、この第3図(1)のビデオメ
モリ6の全エリア、すなわち全メモリ空間をサポートす
ることが可能であり、第3図(1)の場合には、その表
示スタートの座標(X、Y)を指定することによって、
CRT表示エリア6aのデータが転送され、実際のCR
T画面には、第3図(2)に示すような表示が得られる
The CRT controller 5 can support the entire area of the video memory 6 shown in FIG. 3(1), that is, the entire memory space, and in the case of FIG. 3(1), the display start coordinates ( By specifying
The data in the CRT display area 6a is transferred to the actual CR
A display as shown in FIG. 3 (2) is obtained on the T screen.

そして、この座標(x、y)の値を変更すれば。And if we change the values of these coordinates (x, y).

ビデオメモリ6上のどのエリアでも、任意かつ瞬時に、
CRT画面上に表示することができる。
arbitrarily and instantly in any area on the video memory 6.
It can be displayed on a CRT screen.

次に、この発明の高速フォント展開方式が特徴とする処
理、すなわち、エディターによる文字追加の操作時にお
ける表示処理について説明する。
Next, a description will be given of processing that is characteristic of the high-speed font expansion method of the present invention, that is, display processing when an editor adds characters.

この場合の表示処理としては、行頭に1文字または複数
文字を追加する場合、行頭に1文字または複数文字を追
加する場合、さらに、2行目以下の行頭に1文字または
複数文字を追加する場合、同じく2行目以下の行頭に1
文字または複数文字を追加する場合等、極めて多くのケ
ースがある。
In this case, display processing includes adding one or more characters to the beginning of a line, adding one or more characters to the beginning of a line, and adding one or more characters to the beginning of the second and subsequent lines. , and 1 at the beginning of the second and subsequent lines.
There are quite a number of cases, such as when adding a character or characters.

まず、1行目の行頭に1文字を追加(挿入)する場合に
ついて述べる。
First, the case of adding (inserting) one character to the beginning of the first line will be described.

第4図は、この発明の高速フォント展開方式において、
エディター時に行頭に1文字を追加する場合のビデオメ
モリ6と実際のCRT表示画面との対応関係を示す図で
、(1)はビデオメモリ6、(2)と(3)は実際のC
RT表示画面(CR’T表示メモリ)を示す。図面にお
ける符号は第2図と同様であり、また、6a’は変更後
のビデオメモリ6上のCR7表示エリア、■は追加され
る文字の位置、■は新たにイメージデータにフォント展
開される文字の位置を示す。
FIG. 4 shows the high-speed font expansion method of this invention.
This is a diagram showing the correspondence between the video memory 6 and the actual CRT display screen when adding one character to the beginning of a line during editing. (1) is the video memory 6, and (2) and (3) are the actual CRT display screens.
The RT display screen (CR'T display memory) is shown. The symbols in the drawing are the same as those in FIG. 2, and 6a' is the CR7 display area on the video memory 6 after the change, ■ is the position of the added character, and ■ is the character newly expanded in font to the image data. Indicates the location of

この第4図(1)に示すように、ビデオメモリ6上に、
文字列が作成されており、破線で囲まれたその表示エリ
ア6aのデータが出力されてCRTの画面上に表示され
ているとする。
As shown in FIG. 4 (1), on the video memory 6,
Assume that a character string has been created, and the data in the display area 6a surrounded by broken lines is output and displayed on the CRT screen.

この表示状態で、編集操作が行われ、すでに作成された
文字列の行頭(位置■)に、新たに、英文字II A 
#を追加するとする。
In this display state, an editing operation is performed, and a new English character II A is added to the beginning of the line (position ■) of the already created character string.
Suppose we add #.

従来のフォント展開方式では、行頭に、英文字II A
 I+を追加するときは、作成済みの文字列″あいうえ
″をそれぞれ1文字ずつ右側ヘズラし、最後の文字″お
″を1行下の左端へ移動させていたが、この方式では、
全画面のレイアウトを変更しなければならないので、全
文字を再編成して、各文字毎にフォント展開を行うこと
になる。
In the conventional font development method, the English characters II A are placed at the beginning of the line.
When adding I+, I moved the created character string "Aiue" one character to the right and moved the last character "O" down one line to the left edge, but with this method,
Since the layout of the entire screen must be changed, all characters will be reorganized and font development will be performed for each character.

この発明の高速フォント展開方式では、最初に、表示エ
リア全体を、1文字分だけ左側へスクロールし、実線で
囲まれた領域6a′を新たな表示エリアに設定する。
In the high-speed font expansion method of the present invention, first, the entire display area is scrolled to the left by one character, and an area 6a' surrounded by a solid line is set as a new display area.

したがって、CRT画面では、第4図(2)のように、
1列目がスペースとなり、2〜5列には、スクロール前
に1〜4列に表示されていた文字のイメージデータが表
示されることになる。
Therefore, on the CRT screen, as shown in Figure 4 (2),
The first column will be a space, and the second to fifth columns will display the image data of the characters that were displayed in the first to fourth columns before scrolling.

次に、この第4図(2)の1列目、すなわち左端の上か
ら(位置■から位置■へ)順番に、rr A tp。
Next, in order from the top of the first column of this FIG. 4 (2), that is, the left end (from position ■ to position ■), rr A tp.

″お″、′こ″、″そ″、・・・・・・の各文字をフォ
ント展開していく。
``O'', ``ko'', ``so'', etc. are developed into fonts.

したがって、第4図(3)のように、行頭に英文字″゛
A′″が追加された表示画面が得られる。
Therefore, as shown in FIG. 4(3), a display screen is obtained in which the English letter "A" is added to the beginning of the line.

このような処理を行えば、その処理時間は、スクロール
前の1〜4列、すなわち矩形イメージ領域(スクロール
後の2〜5列)への転送時間と、1列目(位置■から位
置■)すなわち、左端部分のフォント展開時間との和だ
けとなる。
If such processing is performed, the processing time will be the transfer time to columns 1 to 4 before scrolling, that is, the transfer time to the rectangular image area (columns 2 to 5 after scrolling), and the transfer time for the first column (from position ■ to position ■) In other words, it is only the sum of the font development time of the leftmost portion.

その結果、従来のフォント展開方式のように、全ての文
字をフォント展開する方法と比較すれば、処理時間が大
幅に減少される。
As a result, processing time is significantly reduced compared to a conventional font development method in which all characters are developed into fonts.

その理由は、この発明のフォント展開方式では、矩形イ
メージ領域(フォント展開されたパダーンデータの非変
更領域)への転送は、CRTコントローラ5の表示スタ
ートアドレスを変更するだけで、瞬時に転送処理が完了
するからである。
The reason for this is that in the font development method of the present invention, transfer to a rectangular image area (an area where font data is not changed) can be completed instantly by simply changing the display start address of the CRT controller 5. Because it does.

なお、この第4図の表示例では、理解を容易にするため
に、1行の文字列が5桁の場合を示しているが、実際の
表示画面上には、例えば、1行の文字列が40〜60桁
で、また1表示行数も20〜40行のように、1画面上
に表示可能な文字数は、非常に多い。
In addition, in the display example of FIG. 4, for ease of understanding, the case where one line of character strings is 5 digits is shown, but on the actual display screen, for example, one line of character strings is shown. The number of characters that can be displayed on one screen is extremely large, with 40 to 60 digits and 20 to 40 lines per display.

したがって、追加される文字が1例えば2〜4文字のよ
うな行頭のn文字であっても、ビットブリット機能で転
送可能文字の数の方が、フォント展開を必要とする文字
の数に較べて極めて多い。
Therefore, even if the number of characters added is 1, for example 2 to 4 characters, or n characters at the beginning of a line, the number of characters that can be transferred using the BitBlit function is greater than the number of characters that require font development. Extremely common.

例えば、1行の文字列が60桁とすれば、4文字を行頭
に追加したときでも、ビットブリット転送される文字数
は56 (=60−4)字であり、フォント展開を要す
る文字数は4文字だけである。
For example, if one line of character string is 60 digits, even if 4 characters are added to the beginning of the line, the number of characters to be bit blit transferred is 56 (=60-4) characters, and the number of characters that require font expansion is 4 characters. Only.

この場合に、現在の表示行数が40行とすれば、ビット
ブリット転送される矩形領域は、56×40(=224
0文字)であり、フォント展開される文字数は4X40
 (=160文字)で済む。
In this case, if the current number of display lines is 40, the rectangular area to be bit blit transferred is 56 x 40 (=224
0 characters), and the number of characters expanded in the font is 4X40
(=160 characters).

このように、この発明の高速フォント展開方式によって
得られる処理時間の短縮効果は、全部の文字をフォント
展開する従来方式と比較すれば、著しいものがある。
As described above, the processing time reduction effect obtained by the high-speed font development method of the present invention is remarkable when compared with the conventional method in which all characters are developed into fonts.

ここで、この発明の高速フォント展開方式を実施するた
めのデータ処理装置について、その要部構成を説明する
Here, the main configuration of a data processing device for implementing the high-speed font development method of the present invention will be described.

第1図は、この発明の高速フォント展開方式を実施する
ためのデータ処理装置について、その要部構成の一例を
示す機能ブロック図である。図面において、11は現表
示スタートアドレス、レジスタ、12は変更アドレス演
算回路、13は新表示スタートアドレス・レジスタ、1
4は表示変更領域演算回路、15はテキスト取出し回路
を示す。
FIG. 1 is a functional block diagram showing an example of the configuration of essential parts of a data processing device for implementing the high-speed font expansion method of the present invention. In the drawing, 11 is a current display start address register, 12 is a change address calculation circuit, 13 is a new display start address register, 1
Reference numeral 4 indicates a display change area calculation circuit, and reference numeral 15 indicates a text extraction circuit.

この第1図は、追加・削除等の編集処理が行われた際に
、その後もビデオメモリ上の文字列の順序が変更されな
いイメージデータ領域を検出する順序非変更イメージデ
ータ領域検出手段と、CRT画面上にイメージデータで
表示された文字列について、ビデオメモリ上のイメージ
データが変更される表示エリアを検出する変更エリア検
出手段、との要部構成を示している。
FIG. 1 shows a non-order change image data area detecting means for detecting an image data area in which the order of character strings on a video memory is not changed even after editing processing such as addition or deletion is performed, and a CRT. The main part configuration is shown including a change area detection means for detecting a display area in which image data on a video memory is changed with respect to a character string displayed as image data on a screen.

現表示スタートアドレス・レジスタ11には、先の第2
図で説明した表示スタートアドレスSA’の座標情報が
セーブされる。
The current display start address register 11 contains the previous second address.
The coordinate information of the display start address SA' explained in the figure is saved.

エディター操作によって、作成済みの文字列に変、更が
生じると、そのn文字分の追加・削除(追加と削除要同
時に行われる移動も同様)の情報と、その位置の情報と
により、変更アドレス演算回路12が、変更すべき表示
スタートのアドレスを演算する。なお、この変更アドレ
ス演算回路12は、同時に、スクロール領域の情報、す
なわち移動方向とその移動量についても演算を行う。
When a created character string is changed or changed by editor operation, the changed address is determined based on the information on the addition or deletion of the n characters (the same applies to movements that require addition and deletion at the same time) and the information on the position. The arithmetic circuit 12 calculates the display start address to be changed. Note that this change address calculation circuit 12 simultaneously calculates information on the scroll area, that is, the direction of movement and the amount of movement thereof.

演算された新表示スタートアドレスは、次段の新表示ス
タートアドレス・レジスタ13にセーブされる。この新
表示スタートアドレスの情報は、CRTコントローラ5
へ与えられ、非変更領域のビットブリット転送が行われ
る。
The calculated new display start address is saved in the new display start address register 13 at the next stage. This new display start address information is stored in the CRT controller 5.
bit blit transfer of the unmodified area is performed.

表示変更領域演算回路14は、新表示スタートアドレス
・レジスタ13にセーブされた新表示スタートアドレス
と、先の現表示スタートアドレス・レジスタ11にセー
ブされている現在の表示スタートアドレスとによって、
新たにフォント展開を行うべき表示領域についての位置
を算出する。
The display change area arithmetic circuit 14 uses the new display start address saved in the new display start address register 13 and the current display start address saved in the previous current display start address register 11.
Calculate the position of the display area where new font development should be performed.

具体的には、ビットブリット機能で転送可能なイメージ
データの表示エリアと、イメージデータにフォント展開
を行うべき領域とを検出し、それぞれの領域に対して、
ビットブリット転送とフォント展開とを行うために必要
な位置情報に関する全ての演算処理を行う。
Specifically, it detects the display area of image data that can be transferred using the BitBlit function and the area where font development should be performed on the image data, and then
Performs all arithmetic processing related to positional information necessary for bit blit transfer and font development.

算出されたフォント展開を行うべき表示領域の情報は、
テキスト取出し回路15へ与えられ、取出された文字コ
ードが、変更されたイメージデータの表示領域にフォン
ト展開される。
Information on the display area where the calculated font expansion should be performed is as follows:
The extracted character code is applied to the text extraction circuit 15 and is expanded into a font in the display area of the changed image data.

第1図の回路によって、このような処理が行われて所要
の情報が算出され、先の第4図(3)のように、行頭に
1文字を追加する処理が迅速に実行される。
The circuit shown in FIG. 1 performs such processing to calculate the required information, and quickly executes the process of adding one character to the beginning of a line as shown in FIG. 4 (3).

以上の説明が、行頭に1文字を追加する場合の処理であ
る。
The above explanation is the process for adding one character to the beginning of a line.

次に、文字列の間に1文字を追加する場合について説明
する。図面としては、第5図から第8図までを参照する
。図面を通して、■は文字″あ″の現在の位置、■′は
文字″゛あ″の移動後の位置、■は挿入される1′″の
位置、■は新たにフォント展開される文字の位置を示す
Next, the case of adding one character between character strings will be explained. For drawings, refer to FIGS. 5 to 8. Throughout the drawings, ■ is the current position of the character "A", ■' is the position after the character "A" has been moved, ■ is the position of 1'" to be inserted, and ■ is the position of the character that will be newly developed in the font. shows.

第5図(1)と(2)は、この発明の高速フォント展開
方式において、エディター時に文字列の間に1文字を追
加する場合のビデオメモリ6と実際のCRT表示画面と
の対応関係を示す図で、(1)はビデオメモリ6、(2
)は実際のCRT表示画面を示す。
Figures 5 (1) and (2) show the correspondence between the video memory 6 and the actual CRT display screen when adding one character between character strings at the time of editing in the high-speed font expansion method of the present invention. In the figure, (1) is the video memory 6, (2
) indicates an actual CRT display screen.

この実施例は、先の第3図(1)の表示状態で、その1
行目のパあ″と″い″の間に、数字at 1 nを挿入
する場合である。
In this embodiment, the display state shown in FIG. 3 (1) is shown in FIG.
This is a case where the numbers at 1 n are inserted between ``a'' and ``i'' in the 1st line.

この場合にも、表示スタートアドレス(x、y)を(X
−N、Y)に変更し、第5図(1)のように、1列目を
スペース表示にする。なお、Nは1文字の横方向のドツ
ト数、Mは縦方向のドツト数を示す。
In this case as well, the display start address (x, y) is set to (X
-N, Y), and the first column is displayed as a space, as shown in FIG. 5(1). Note that N indicates the number of dots in the horizontal direction of one character, and M indicates the number of dots in the vertical direction.

したがって、CRT画面上には、第5図(2)のように
、1列目がスペースとされ、2〜5列には、スクロール
前の1〜4列の文字が表示される。
Therefore, on the CRT screen, as shown in FIG. 5(2), the first column is a space, and the second to fifth columns display the characters of the first to fourth columns before scrolling.

次に、1行目をフォント展開する。Next, expand the font on the first line.

第6図(1)と(2)は、先の第5図(2)の表示状態
で、その1行目をフォント展開する場合のビデオメモリ
6と実際のCRT表示画面との対応関係を示す図で、(
1)はビデオメモリ6、(2)は実際のCRT表示画面
を示す。
Figures 6 (1) and (2) show the correspondence between the video memory 6 and the actual CRT display screen when fonts are developed on the first line in the display state shown in Figure 5 (2) above. In the figure, (
1) shows the video memory 6, and (2) shows the actual CRT display screen.

この第6図(1)では、位置■′の文字″あ″と位置■
のrz 1 ptのみを展開すればよく、第6図(2)
のような表示画面となる。
In this Figure 6 (1), the character "A" at position ■' and the position ■
It is only necessary to expand rz 1 pt of Figure 6 (2)
A display screen like this will appear.

次に、第6図(1)で、残りの2行目以下について、そ
の1列目のスペース表示さ九ている領域に、右側(6列
目になった列)で表示エリアから外れた文字をフォント
展開する。
Next, in Figure 6 (1), for the remaining 2nd row and below, the characters that are out of the display area on the right side (the 6th column) are placed in the area where the space is displayed in the 1st column. Expand the font.

第7図(1)と(2)は、先の第6@I(2)の表示状
態で、2行目以下について、その1列目をフォント展開
する場合のビデオメモリ6と実際のCRT表示画面との
対応関係を示す図で、(1)はビデオメモリ6、(2)
は実際のCRT表示画面を示す。
Figures 7 (1) and (2) show the video memory 6 and actual CRT display when fonts are expanded in the first column for the second row and below in the display state of No. 6@I (2) above. This is a diagram showing the correspondence relationship with the screen, (1) is the video memory 6, (2)
indicates an actual CRT display screen.

第7図(1)に示すように、2行目の1列の表示アドレ
スは、(X−N、Y+1)である。
As shown in FIG. 7(1), the display address of the first column of the second row is (X-N, Y+1).

そこで、このアドレス位置(位置■)に、文字″′お″
をフォント展開し、以下同様に、3行目の1列のアドレ
ス(X−N、Y+2) 、4行目の1列の(X−N、Y
+3) 、・・・・・・に、それぞれ、文字゛′こ″、
゛そ″、・・・・・・を、順次フォント展開する。
Therefore, at this address position (position ■), the characters
Expand the font and write the address (X-N, Y+2) in the 1st column of the 3rd row, and (X-N, Y) in the 1st column of the 4th row in the same way.
+3) ,..., respectively, the letter ゛'ko'',
The fonts are expanded sequentially.

以下、同様に、各行の6列に配列されていた文字を、次
行の1列の位置■に、順次フォント展開する。
Thereafter, similarly, the characters arranged in six columns of each row are sequentially expanded into fonts at the position (■) of the first column of the next row.

このような処理によって、第7図(2)に示すように、
1行目の′″あ″と″い″の間に、数字″1″′が挿入
された表示画面が得られる。
Through such processing, as shown in FIG. 7 (2),
A display screen is obtained in which the number "1" is inserted between "A" and "I" on the first line.

以上のように、成る行に、1文字を挿入する場合には、
配列順序が挿入前と同じである文字のイメージデータに
ついては、単に、その表示スタートアドレスを変更して
ブロック転送を行い、表示エリアの変更に伴って、その
配列順序が異なる文字についてだけ、その文字のフォン
ト展開を行えばよい。
As shown above, when inserting one character into a line consisting of
For image data of characters whose arrangement order is the same as before insertion, simply change the display start address and perform block transfer. All you have to do is expand the font.

次の第8図は、この発明の高速フォント展開方式におい
て、1行目の文字列に1文字を挿入する場合のフォント
展開の処理の流れを示すフローチャートである。図面に
おいて、#1〜#5はステップを示す。
The following FIG. 8 is a flowchart showing the flow of font development processing when one character is inserted into the first line character string in the high-speed font development method of the present invention. In the drawings, #1 to #5 indicate steps.

すでに述べたように、先の第3図(1)の表示状態で、
編集処理によって、1行目の″あ″と″い″の間に、数
字It I I+が挿入されると、第1図の回路によっ
て新たな表示アドレスが演算される。
As already mentioned, in the display state shown in Figure 3 (1),
When the number It I I+ is inserted between "A" and "I" in the first line by the editing process, a new display address is calculated by the circuit shown in FIG.

第3図(1)の表示状態では、表示スタートアドレスは
座II (X、 Y)であり、1行目の文字″あ″と″
い”の間に、数字“1″を挿入する場合には、新たな表
示スタートアドレスが必要である。この場合には、座標
(X−N、Y)が算出される。
In the display state of Figure 3 (1), the display start address is locus II (X, Y), and the characters "A" and "" on the first line
When inserting the number "1" between "1" and "1", a new display start address is required. In this case, the coordinates (X-N, Y) are calculated.

第8図のフローのステップ#1で、この新アドレス情報
によって、表示スタートアドレスを1文字分だけ左方向
へ変更する。すなわち、第8図のステップ#1に示した
ように、座標(x、y)→(X−N、Y)とする。
In step #1 of the flowchart of FIG. 8, the display start address is changed to the left by one character based on this new address information. That is, as shown in step #1 of FIG. 8, the coordinates are (x, y)→(X-N, Y).

このような表示アドレス変更の処理によって、第3図(
1)のビデオメモリ6上のイメージデータが、第5図(
1)のように、瞬時に変更される。
Through this process of changing the display address, the display address shown in Fig. 3 (
The image data on the video memory 6 of 1) is shown in FIG.
As in 1), it changes instantly.

次のステップ#2で、1行目のスペース表示の位置、す
なわちアドレス(X−N、Y)に、文字″あ″をフォン
ト展開する。第6図(1)の位置■′に、文字゛あ″の
イメージデータが展開される。
In the next step #2, the character "A" is developed in font at the space display position of the first line, that is, the address (X-N, Y). Image data of the character "A" is developed at position ■' in FIG. 6(1).

次のステップ#3で、1行目の2列目、すなわち位置■
に数字II I IIを展開する。
In the next step #3, the second column of the first row, i.e. the position ■
Expand the numbers II I II.

このようなステップ#2と#3の処理によって、位置■
′に文字″あ″が、位置■に数字n 1 +tがそれぞ
れ展開され、表示画面は、第6図(2)のように変化さ
れる。
By processing steps #2 and #3, the position
The character "A" is developed at the position ``, and the number n 1 +t is developed at the position ■, and the display screen changes as shown in FIG. 6(2).

ステップ#4で、1列目について、その2行目の位置■
に、文字″お″を展開する。
In step #4, for the first column, the position of the second row ■
, expand the letter ``o''.

この状態では、ビデオメモリ6上のイメージデータは、
第7図(1)のように、2行目の1列目の位置■、すな
わちスタートアドレスは、座標(X−N、Y+M)であ
る。
In this state, the image data on the video memory 6 is
As shown in FIG. 7(1), the position (2) in the first column of the second row, that is, the start address, is the coordinate (X-N, Y+M).

ステップ#5で、以下同様に、1列目についてだけ、該
当する文字をフォント展開する。すなわち、1列目のア
ドレス(X −N 、 Y + n M )に、文字″
こ″、″そ、・・・・・・を、順次フォント展開する。
In step #5, the corresponding characters are expanded into fonts only for the first column in the same manner. In other words, at the address (X − N, Y + n M) of the first column,
The fonts are expanded sequentially.

この状態では、ビデオメモリ6上のイメージは、第7図
(1)のように、1列目の位置■だけに、文字″こ″、
″そ″、・・・・・・がフォント展開される。
In this state, the image on the video memory 6 contains the characters "ko" and "ko" only in the first column position, as shown in FIG.
``So''... is expanded into a font.

このような処理が、最後の行まで繰返えされると、第8
図のフローが終了し、第7図(2)のように、編集処理
に対応した表示画面が得られる。すなわち、行頭に1文
字を追加した場合の表示処理が迅速に実行される。
When this process is repeated until the last row, the eighth
When the flow shown in the figure is completed, a display screen corresponding to the editing process is obtained as shown in FIG. 7(2). In other words, display processing when one character is added to the beginning of a line is quickly executed.

以上の第4図の実施例、および第5図から第8−図の実
施例では、行頭あるいは文字間に、1文字だけ追加する
場合について詳しく述べた。
In the embodiment shown in FIG. 4 and the embodiments shown in FIGS. 5 to 8, the case where only one character is added at the beginning of a line or between characters has been described in detail.

しかし、1文字に限らず、複数文字(n文字)の追加も
可能であり、この場合の処理も、基本的には、1文字の
ときと同様である。
However, it is not limited to one character, but it is also possible to add a plurality of characters (n characters), and the processing in this case is basically the same as that for one character.

さらに、以上の実施例では、1行目の行頭あるいは文字
間に、1文字または複数文字を追加する場合である。
Furthermore, in the above embodiment, one or more characters are added to the beginning of the first line or between characters.

しかしながら、上述の1行目の場合だけでなく、2行目
以下の任意の行の行頭に、1文字または複数文字を追加
する場合、同じく2行目以下の任意の行頭に1文字また
は複数文字を追加する場合においても、同様に実施する
ことができる。
However, not only in the case of the first line mentioned above, but if one or more characters are added to the beginning of any line from the second line onward, one or more characters may also be added to the beginning of any line from the second line onward. It can be implemented in the same way even when adding .

最初に、2行目の行頭に1文字を追加(挿入)する場合
の処理について説明する。
First, the process for adding (inserting) one character to the beginning of the second line will be described.

第9図(1)〜(3)は、この発明の高速フォント展開
方式において、エディター時に2行目の行頭に1文字を
追加する場合のビデオメモリ6と実際のCRT表示画面
との対応関係を示す図で、(1)はビデオメモリ6、(
2)と(3)は実際のCRT表示画面(CRT表示メモ
リ)を示す。図面における符号は第2図と同様であり、
また、■は追加される文字の位置、■は新たにイメージ
データにフォント展開される文字の位置を示す。
Figures 9 (1) to (3) show the correspondence between the video memory 6 and the actual CRT display screen when adding one character to the beginning of the second line at the time of editing in the high-speed font expansion method of the present invention. In the figure shown, (1) is the video memory 6, (
2) and (3) show actual CRT display screens (CRT display memory). The symbols in the drawings are the same as in Figure 2,
Also, ■ indicates the position of a character to be added, and ■ indicates the position of a character newly expanded in font to the image data.

この第9図(1)に示すように、ビデオメモリ6上に、
文字列が作成されており、破線で囲まれたその表示エリ
ア6aのデータが出力されてCRTの画面上に表示され
ているとする。
As shown in FIG. 9(1), on the video memory 6,
Assume that a character string has been created, and the data in the display area 6a surrounded by broken lines is output and displayed on the CRT screen.

この表示状態で、編集操作が行われ、すでに作成された
文字列の2行目の行頭(位置■)に、新たに、英文字゛
′B”を追加するとする。
In this display state, it is assumed that an editing operation is performed and a new English character ``'B'' is added to the beginning of the second line (position ■) of the already created character string.

この発明の高速フォント展開方式では、先の第4図の場
合と同様に、最初に、表示エリア全体を。
In the high-speed font expansion method of this invention, as in the case of FIG. 4, the entire display area is first expanded.

1文字分だけ左側へスクロールし、実線で囲まれた領域
6a/ を新たな表示エリアに設定する。
Scroll to the left by one character and set the area 6a/ surrounded by the solid line as a new display area.

したがって、CRT画面では、第9図(2)のように、
1列目がスペースとなり、2〜5列には、スクロール前
に1〜4列に表示されていた文字のイメージデータが表
示されることになる。
Therefore, on the CRT screen, as shown in Figure 9 (2),
The first column will be a space, and the second to fifth columns will display the image data of the characters that were displayed in the first to fourth columns before scrolling.

まず、第9図(1)の1行目、すなわち最上行で、その
表示スタート位置を1列分だけ左方向へずらし、その行
の文字″あいうえお′″のイメージデータをブロック転
送する。
First, in the first line (1) of FIG. 9, that is, the top line, the display start position is shifted to the left by one column, and the image data of the character "AIUEO" in that line is transferred as a block.

次に、その2行目の1列目(位置■)に、新たに追加す
る文字II B y)をフォント展開し、以下、その3
行目の1列(位置■)から順次、″こ″、″そ・・、″
と″の各文字をフォント展開していく。
Next, in the first column of the second row (position ■), expand the font of the newly added character II B y), and below, part 3
Starting from the first column of the row (position ■), "here", "so..."
Develop the font for each character of and ″.

したがって、第9図(3)のように、2行目の行頭(位
置■)に、英文字II B jjが追加された表示画面
が得られる。
Therefore, as shown in FIG. 9(3), a display screen is obtained in which the English letters II B jj are added to the beginning of the second line (position ■).

この場合の処理時間は、1行目の文字″あいうえお″の
転送時間と、2行目以下のスクロール前の1〜4列、す
なわち矩形イメージ領域(スクロール後の2〜5列)へ
の転送時間、および、1列目(位置■から位置■)すな
わち、左端部分のフォント展開時間との和だけでよい。
In this case, the processing time is the time to transfer the characters "AIUEO" in the first line, and the time to transfer them to the 1st to 4th columns before scrolling in the 2nd line and below, that is, the rectangular image area (columns 2 to 5 after scrolling). , and the font development time of the first column (from position ■ to position ■), that is, the left end portion.

また、2行目の文字間に1文字を追加(挿入)する場合
の処理は、次のとおりである。
Further, the process for adding (inserting) one character between the characters in the second line is as follows.

第10図(1)と(2)は、この発明の高速フォント展
開方式において、エディター時に2行目の文字間に1文
字を追加する場合のCRT表示の画面例を示す図で、(
1)は編集前、(2)は編集後のCRT表示画面を示す
。図面において、■は追加された文字の挿入位置を示す
Figures 10 (1) and (2) are diagrams showing examples of CRT display screens when adding one character between characters in the second line during editing in the high-speed font development method of the present invention.
1) shows the CRT display screen before editing, and (2) shows the CRT display screen after editing. In the drawing, ■ indicates the insertion position of the added character.

この第10図(1)に示すように、編集操作によって、
2行目2列の位置■、すなわち現在1文字″き″のイメ
ージが表示されている位置に、英文字II G 4′を
追加して、第10図(2)に示すような文字列に変更し
たいとする。
As shown in FIG. 10 (1), by editing operation,
Add the alphabetic character II G 4' to the position ■ of the second row and second column, that is, the position where the image of the single character "K" is currently displayed, to create a character string as shown in Figure 10 (2). Suppose you want to change it.

第11図(1)〜(4)は、この発明の高速フォント展
開方式において、エディター時に2行目の文字間に1文
字を追加する場合のビデオメモリ6上の文字列の変更順
序を説明する図である。図面において、■は追加された
文字の挿入位置、■〜■は新たにフォント展開される文
字の位置を示す。
Figures 11 (1) to (4) explain the order in which character strings on the video memory 6 are changed when one character is added between characters in the second line at the time of editing in the high-speed font expansion method of the present invention. It is a diagram. In the drawing, ■ indicates the insertion position of the added character, and ■ to ■ indicate the position of the newly developed character.

第10図(2)に示すように、2行目2列の位置■に、
英文字II G Hlを追加する処理でも、ビデオメモ
リ6上の表示スタートアドレスが、左側へ1文字分だけ
移動されて、第11図(1)に示すように、1列目が全
てスペース表示にされる。
As shown in Figure 10 (2), at position ■ in the second row and second column,
In the process of adding the alphabetic character II G Hl, the display start address on the video memory 6 is moved one character to the left, and the first column is all displayed with spaces, as shown in Figure 11 (1). be done.

次に、1行目の文字列″あいうえお′″がブロック転送
によって、1文字分ずつ左側へ移動されて、イメージデ
ータは、第11図(2)に示すような配列にされる。
Next, the character string "AIUEO" in the first line is moved one character at a time to the left by block transfer, and the image data is arranged as shown in FIG. 11(2).

さらに、第11図(3)に示すように、2行目1列の位
置■に、文字″か″のイメージがフォント展開され、そ
の右位置■に、追加される英文字II CI+のイメー
ジがフォント展開される。
Furthermore, as shown in Fig. 11 (3), the image of the character "K" is developed in font at the position ■ of the second row and first column, and the image of the English character II CI+ to be added is placed at the right position ■. The font is expanded.

次に、第11図(4)の3行目1列、すなわち左端の列
(位置■)に上から順番に、′こ″、″そ″、″と″、
・・・・・・の各文字をフォント展開していく。
Next, in the 3rd row and 1st column of Fig. 11 (4), that is, the leftmost column (position ■), write ``ko'', ``so'', '', and '' in order from the top.
Develop each character in the font.

このような処理が、現在表示されている最後の行まで繰
返えされると、第11@(4)のように、2行目の2列
に英文字at Cuが追加されたイメージデータが得ら
れる。
When this process is repeated until the last line currently displayed, image data with the English character at Cu added to the second column of the second line, as shown in No. 11@(4), is obtained. It will be done.

ビデオメモリ6上に、この第11図(4)のような配列
のイメージデータが作成されることによって、表示画面
には、第10図(2)に示すような文字列のイメージが
表示されることになる。
By creating image data arrayed as shown in FIG. 11 (4) on the video memory 6, an image of a character string as shown in FIG. 10 (2) is displayed on the display screen. It turns out.

なお、上記のように、2行目の行頭あるいは文字間に、
1文字を追加する場合の処理は、3行目以下の行頭ある
いは文字間に、1文字を追加する場合でも同様であるこ
とは、いうまでもない。
In addition, as mentioned above, at the beginning of the second line or between the characters,
It goes without saying that the process for adding one character is the same even when adding one character at the beginning of the third or subsequent lines or between characters.

また、2行目以下の行頭あるいは文字間に、1文字だけ
追加する場合の処理は、複数文字を追加する場合につい
ても同様であり、単に、その表示スタート位置を変更す
るだけで、容易に実行することができる。
Additionally, the process for adding only one character at the beginning of the second line or between the characters is the same as for adding multiple characters, and can be easily executed by simply changing the display start position. can do.

さらに、1文字またはn文字の追加だけでなく、1文字
またはn文字を削除する場合についても、同様である。
Furthermore, the same applies not only to adding one character or n characters but also to deleting one character or n characters.

例えば、先の第3図(1)の表示状態で、1行目の1列
の文字″あ″を削除するときは、新たな表示領域6a’
 を逆方向の左側へ移動させる。
For example, in the display state shown in FIG. 3 (1) above, when deleting the character "A" in the first column of the first row, the new display area 6a'
Move in the opposite direction to the left.

すなわち、第3図(1)の表示状態で、表示スタートア
ドレスを(x、y)から(X+N、Y)に変更し、この
表示例の場合には、新たな5列目を全スペースにし、そ
の後、2行目以降の1列目の文字だけを、順次その1行
前の最後の列(5列目)へフォント展開すればよい。
That is, in the display state of FIG. 3 (1), change the display start address from (x, y) to (X+N, Y), and in the case of this display example, make the new 5th column full space, Thereafter, only the characters in the first column from the second line onward are sequentially expanded into the font in the last column (fifth column) one line before.

1行目の2列の文字1゛い″を削除するときも同様で、
第3図(1)の表示状態で、表示スタートアドレスを(
X、Y)から(X+N、Y)に変更し、1行目について
は、その1列目に文字″あ′をフォント展開し、2行目
以降の1列目の文字を、順次その1行前の最後の列(5
列目)へフォント展開する。
The same goes for deleting the character 1'' in the 2nd column of the 1st row.
In the display state shown in Figure 3 (1), enter the display start address (
X, Y) to (X+N, Y), and for the first line, expand the font of the character “A” in the first column, and from the second line onwards, change the characters in the first column to that first line. Previous last column (5
Expand the font to column (column).

以上のように、1文字(n文字)を削除する場合でも、
フォント展開を必要とする文字数は、従来の方法による
場合に比較して、極めて少なくて済む。
As shown above, even when deleting one character (n characters),
The number of characters that require font development is extremely small compared to conventional methods.

すでに述べたように、以上の実施例では、1画面の表示
1行について、その文字列が5桁の場合を説明した。
As already mentioned, in the above embodiment, the case where the character string for one line displayed on one screen is five digits has been described.

しかし、実際のCRT画面では、表示1行の文字列が、
例えば40〜60桁で、また、表示行数も20〜40行
のように、1画面上に表示可能な文字数は、実施例に比
較して極めて多い。
However, on an actual CRT screen, one line of character string displayed is
For example, the number of characters that can be displayed on one screen is extremely large compared to the embodiment, such as 40 to 60 digits and 20 to 40 display lines.

したがって、編集操作によって追加される文字数が、1
文字ばかりでなく、2〜4文字のようにn゛文字あって
も、イメージデータをビットブリット機能で転送するこ
とが可能な表示エリアの文字の数の方は、フォント展開
を必要とする文字の数に較べて、著しく多くなることは
明らかである。
Therefore, the number of characters added by editing operation is 1
The number of characters in the display area for which image data can be transferred using the bit blit function, even if there are n characters such as 2 to 4 characters, is limited to characters that require font development. It is clear that the number is significantly larger than the actual number.

以上に詳細に説明したとおり、この発明では、入力装置
と1表示装置と、編集された文字・記号等のデータを記
憶するテキストメモリと、文字・記号等のパターンデー
タを記憶するキャラクタパターンメモリと、フォント展
開されたイメージデータが記憶されるビデオメモリと、
前記テキストメモリに記憶されたデータを前記パターン
メモリに記憶されたパターンデータによって前記ビデオ
メモリにイメージデータで記憶させるフォント展開手段
とを具備し、編集された文字列をイメージデータで前記
表示装置の画面上に表示する際、前記ビデオメモリから
表示メモリへビットブリット転送を行う機能を有する従
来のデータ処理装置において、前記画面上にイメージデ
ータで表示された文字列についてその追加・削除等の編
集処理時に、該追加・削除等の文字とその位置の情報と
によって、編集操作後も前記ビデオメモリ上の文字列の
順序が変更されないイメージデータ領域を検出する順序
非変更イメージデータ領域検出手段と、前記ビデオメモ
リ上のイメージデータが変更される表示エリアを検出す
る変更エリア検出手段とを設け1編集操作によって画面
上の文字列の追加・削除等が行われたとき、前記順序非
変更イメージデータ領域検出手段により前記ビデオメモ
リ上の順序が変更されないイメージデータ領域を検出し
、該領域のイメージデータを表示メモリへビットブリッ
ト転送するとともに、前記変更エリア検出手段によりイ
メージデータが変更される表示エリアを検出し、該表示
エリアについてのみ前記フォント展開手段によって変更
後の文字をイメージデータに展開して表示するようにし
ている。
As described above in detail, the present invention includes an input device, a display device, a text memory that stores data such as edited characters and symbols, and a character pattern memory that stores pattern data such as characters and symbols. , a video memory in which font-expanded image data is stored;
font development means for storing the data stored in the text memory as image data in the video memory according to the pattern data stored in the pattern memory, and displaying the edited character string as image data on the screen of the display device. When displaying on the screen, in a conventional data processing device having a function of bit blit transfer from the video memory to the display memory, when editing processing such as adding or deleting the character string displayed as image data on the screen, , an order-unchanged image data area detecting means for detecting an image data area in which the order of character strings on the video memory is not changed even after an editing operation, based on the added/deleted characters and their position information; change area detection means for detecting a display area in which the image data on the memory is changed; and when a character string on the screen is added or deleted by an editing operation, the order non-change image data area detection means is provided. detecting an image data area on the video memory whose order is not changed, bit-blit transferring the image data of the area to a display memory, and detecting a display area where the image data is changed by the change area detection means; Only in this display area, the changed characters are developed into image data and displayed by the font development means.

羞−一来 この発明の高速フォント展開方式によれば、エディター
操作時において、文字の追加/削除により画面レイアウ
トが変更する場合でも、文字列の配列順序が変更したイ
メージデータ領域についてのみフォント展開を行い、そ
れ以外の表示エリアについては、ビットブリット転送に
より高速度で全表示画面のイメージデータを得ることが
可能となる。そのため、文字の追加/削除が行われる度
ごとに全画面のイメージデータをフォント展開を行わな
ければならない従来の方式と比較して、その処理時間が
大幅に減少される。
- According to the high-speed font development method of this invention, even if the screen layout changes due to the addition/deletion of characters during editor operation, font development is performed only for the image data area where the arrangement order of character strings has changed. For other display areas, image data for the entire display screen can be obtained at high speed by bit-blit transfer. Therefore, the processing time is significantly reduced compared to the conventional method in which font development must be performed on the image data of the entire screen every time a character is added/deleted.

したがって、高速エディター処理が可能になり、操作能
率も著しく向上される、という優れた効果が奏せられる
Therefore, high-speed editor processing becomes possible and operational efficiency is significantly improved, which is an excellent effect.

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

第1図は、この発明の高速フォント展開方式を実施する
ためのデータ処理装置について、その要部構成の一例を
示す機能ブロック図。 第2図は、データ処理装置におけるビデオメモリとCR
T表示エリアの関係を説明するメモリ構成図、 第3図は、通常のフォント展開の場合におけるビデオメ
モリと実際のCRT表示画面との対応関係を示す図で、
(1)はビデオメモリ6、(2)は実際のCRT表示画
面、 第4図は、この発明の高速フォント展開方式において、
エディター時に行頭に1文字を追加する場合のビデオメ
モリ6と実際のCRT表示画面との対応関係を示す図で
、(1)はビデオメモリ6、(2)と(3)は実際のC
RT表示画面(CRT表示メモリ)、 第5図(1)と(2)は、この発明の高速フォント展開
方式において、エディター時に文字列の間に1文字を追
加する場合のビデオメモリ6と実際のCRT表示画面と
の対応関係を示す図で、(1)はビデオメモリ6、(2
)は実際のCRT表示画面、第6図(1)と(2)は、
先の第5図(2)の表示状態で、その1行目をフォント
展開する場合のビデオメモリ6と実際のCRT表示画面
との対応関係を示す図で、(1)はビデオメモリ6、(
2)は実際のCRT表示画面、 第7図(1)と(2)は、先の第6図(2)の表示状態
で、2行目以下について、その1列目をフォント展開す
る場合のビデオメモリ6と実際のCRT表示画面との対
応関係を示す図で、(1)はビデオメモリ6、(2)は
実際のCRT表示画面、第8図は、この発明の高速フォ
ント展開方式において、1行目の文字列に1文字を挿入
する場合のフォント展開の処理の流れを示すフローチャ
ート、 第9図(1)〜(3)は、この発明の高速フォント展開
方式において、エディター時に2行目の行頭に1文字を
追加する場合のビデオメモリ6と実際のCRT表示画面
との対応関係を示す図で、(1)はビデオメモリ6、(
2)と(3)は実際のCRT表示画面(CR1表示メモ
リ)、 第10図(1)と(2)は、この発明の高速フォント展
開方式において、エディター時に2行目の文字間に1文
字を追加する場合のCRT表示の画面例を示す図で、(
1)は編集前、(2)は編集後のCRT表示画面、 第11図(1)〜(4)は、この発明の高速フォント展
開方式において、エディター時に2行目の文字間に1文
字を追加する場合のビデオメモリ6上の文字列の変更順
序を説明する図、 第12図は、従来のフォント展開機能を有するデータ処
理装置について、その要部構成の一例を示す機能ブロッ
ク図、 第13図は、従来のフォント展開機能を有するデータ処
理装置において、画面スクロール時における文字のフォ
ント展開の動作を説明するための図で、(1)はスクロ
ール前のビデオメモリとその表示エリアの文字の一例、
(2)はスクロール後の表示画面の一例を示す図。 図面において、11は現表示スタートアドレス・レジス
タ、12は変更アドレス演算回路、13は新表示スター
トアドレス・レジスタ、14は表示変更領域演算回路、
15はテキスト取出し回路。 特許出願人 株式会社 リ  コ − 稗 2 図 身 3 図 碑  4  巳 袢 5 (2) 碑 6 図 神 9 図 峙 10  図 身 11  団 オ  13   図
FIG. 1 is a functional block diagram showing an example of the configuration of essential parts of a data processing device for implementing the high-speed font expansion method of the present invention. Figure 2 shows the video memory and CR in the data processing device.
A memory configuration diagram explaining the relationship between the T display areas, and FIG. 3 is a diagram showing the correspondence between the video memory and the actual CRT display screen in the case of normal font development.
(1) is the video memory 6, (2) is the actual CRT display screen, and FIG. 4 is the high-speed font expansion method of the present invention.
This is a diagram showing the correspondence between the video memory 6 and the actual CRT display screen when adding one character to the beginning of a line during editing. (1) is the video memory 6, and (2) and (3) are the actual CRT display screens.
RT display screen (CRT display memory), Figures 5 (1) and (2) show the video memory 6 and the actual display when adding one character between character strings at the time of editing in the high-speed font development method of this invention. This is a diagram showing the correspondence relationship with the CRT display screen, in which (1) is the video memory 6, (2
) is the actual CRT display screen, and Figure 6 (1) and (2) are
This is a diagram showing the correspondence relationship between the video memory 6 and the actual CRT display screen when the font is developed on the first line in the display state shown in FIG. 5 (2).
2) is the actual CRT display screen, and Figure 7 (1) and (2) are the display conditions of Figure 6 (2) above, and the fonts for the 1st column of the 2nd line and below are expanded. FIG. 8 is a diagram showing the correspondence between the video memory 6 and an actual CRT display screen, in which (1) is the video memory 6, (2) is the actual CRT display screen, and FIG. 9 (1) to (3) are flowcharts showing the flow of font expansion processing when inserting one character into the character string in the first line. (1) is a diagram showing the correspondence relationship between the video memory 6 and the actual CRT display screen when adding one character to the beginning of a line.
2) and (3) are the actual CRT display screen (CR1 display memory), and Figure 10 (1) and (2) are the high-speed font development method of this invention that shows one character between the characters on the second line when editing. This is a diagram showing an example of a CRT display screen when adding (
1) is the CRT display screen before editing, (2) is the CRT display screen after editing. FIG. 12 is a functional block diagram showing an example of the main configuration of a data processing device having a conventional font expansion function; FIG. The figure is a diagram for explaining the operation of character font development during screen scrolling in a data processing device having a conventional font development function. (1) is an example of the video memory and the characters in its display area before scrolling. ,
(2) is a diagram showing an example of a display screen after scrolling. In the drawing, 11 is a current display start address register, 12 is a change address calculation circuit, 13 is a new display start address register, 14 is a display change area calculation circuit,
15 is a text extraction circuit. Patent applicant Ricoh Co., Ltd. 2 Figure 3 Monument 4 Miban 5 (2) Monument 6 Figure 9 Figure 10 Figure 11 Dano 13 Figure

Claims (1)

【特許請求の範囲】[Claims] 入力装置と、表示装置と、編集された文字・記号等のデ
ータを記憶するテキストメモリと、文字・記号等のパタ
ーンデータを記憶するキャラクタパターンメモリと、フ
ォント展開されたイメージデータが記憶されるビデオメ
モリと、前記テキストメモリに記憶されたデータを前記
パターンメモリに記憶されたパターンデータによつて前
記ビデオメモリにイメージデータで記憶させるフォント
展開手段とを具備し、編集された文字列をイメージデー
タで前記表示装置の画面上に表示する際、前記ビデオメ
モリから表示メモリへビツトブリツト転送を行う機能を
有するデータ処理装置において、前記画面上にイメージ
データで表示された文字列についてその追加・削除等の
編集処理時に、該追加・削除等の文字とその位置の情報
とによつて、編集操作後も前記ビデオメモリ上の文字列
の順序が変更されないイメージデータ領域を検出する順
序非変更イメージデータ領域検出手段と、前記ビデオメ
モリ上のイメージデータが変更される表示エリアを検出
する変更エリア検出手段とを備え、編集操作によつて画
面上の文字列の追加・削除等が行われたとき、前記順序
非変更イメージデータ領域検出手段により前記ビデオメ
モリ上の順序が変更されないイメージデータ領域を検出
し、該領域のイメージデータを表示メモリへビツトブリ
ツト転送するとともに、前記変更エリア検出手段により
イメージデータが変更される表示エリアを検出し、該表
示エリアについてのみ前記フォント展開手段によつて変
更後の文字をイメージデータに展開して表示することを
特徴とする高速フォント展開方式。
An input device, a display device, a text memory that stores edited data such as characters and symbols, a character pattern memory that stores pattern data such as characters and symbols, and a video that stores font-developed image data. font development means for storing the data stored in the text memory as image data in the video memory using the pattern data stored in the pattern memory; Editing, such as adding or deleting, to a character string displayed as image data on the screen in a data processing device having a function of transferring bits from the video memory to the display memory when displaying on the screen of the display device. Non-order change image data area detection means for detecting an image data area in which the order of character strings on the video memory is not changed even after an editing operation, based on the added/deletion characters and their position information during processing; and change area detection means for detecting a display area in which the image data on the video memory is changed, and when a character string on the screen is added or deleted by an editing operation, the out-of-order detection means is provided. The changed image data area detecting means detects an image data area on the video memory whose order is not changed, the image data of the area is bit-blitz transferred to the display memory, and the changed area detecting means displays the image data changed. A high-speed font development method, characterized in that an area is detected, and changed characters are developed and displayed as image data by the font development means only for the display area.
JP62313260A 1987-12-11 1987-12-11 High speed font development system of data processor Pending JPH01154193A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62313260A JPH01154193A (en) 1987-12-11 1987-12-11 High speed font development system of data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62313260A JPH01154193A (en) 1987-12-11 1987-12-11 High speed font development system of data processor

Publications (1)

Publication Number Publication Date
JPH01154193A true JPH01154193A (en) 1989-06-16

Family

ID=18039063

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62313260A Pending JPH01154193A (en) 1987-12-11 1987-12-11 High speed font development system of data processor

Country Status (1)

Country Link
JP (1) JPH01154193A (en)

Similar Documents

Publication Publication Date Title
US4717911A (en) Technique for chaining lines of a document together to facilitate editing or proofreading
JPH0812663B2 (en) Image processing system and method thereof
EP0115947B1 (en) Character insertion means for word processing systems
JPH04148475A (en) Document processing method and device
US4430725A (en) Method for displaying source and destination file headers for easy comparison of proposed header changes
EP0066045A2 (en) Method for automatically expanding the displayed width of a selected field in a text processing system
JP2698348B2 (en) Character processor
EP0360501B1 (en) A text-editing apparatus with real time display function
JPH0447865B2 (en)
JP2606579B2 (en) Character display device
JPS61254982A (en) Cursor control systm for display unit
JP2808105B2 (en) Font drawing device
JP2995630B2 (en) Document data processing device
JP2612402B2 (en) Display control method
JPS6197689A (en) Display control method for character processing systems
JPS6051885A (en) Image pattern processing system
JPS62177585A (en) document processing device
JPH0440731B2 (en)
JPS6359654A (en) information processing equipment
JPH03281363A (en) Document output device
JPH05134641A (en) Display method of cursor on display device
JPS61241865A (en) document editing device
JPS6177090A (en) display device
JPS60247294A (en) Character position shift specification method
JPH01125654A (en) Information processor