JPH05120280A - Automatic variation system for font size - Google Patents

Automatic variation system for font size

Info

Publication number
JPH05120280A
JPH05120280A JP3284564A JP28456491A JPH05120280A JP H05120280 A JPH05120280 A JP H05120280A JP 3284564 A JP3284564 A JP 3284564A JP 28456491 A JP28456491 A JP 28456491A JP H05120280 A JPH05120280 A JP H05120280A
Authority
JP
Japan
Prior art keywords
characters
size
font size
input
line
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
JP3284564A
Other languages
Japanese (ja)
Inventor
Akira Kobayashi
晃 小林
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP3284564A priority Critical patent/JPH05120280A/en
Publication of JPH05120280A publication Critical patent/JPH05120280A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To automatically vary the size of a font. CONSTITUTION:One or plural characters which are inputted on a keyboard 1 are recognized by an input recognition part 2 and the number of the input characters is sent to a font size calculation part 3. The font size calculation part 3 adds this number of characters to the number of characters on a display which is obtained from an inputted character quantity storage part 4 to calculate the number of characters to newly be displayed. Then the font size calculation part 3 obtains a line size from a line size storage part 5 and calculates the maximum font size which can be put on the line from the line size and the calculated number of characters. Further, a character display part 6 displays characters on the display 7 to the font size calculated by the font size calculation part 3. Then the font size calculation part 3 registers the calculated number of characters as the number of inputted characters in the inputted character quantity storage part 4.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、文章作成システムに関
し、特に、フォントサイズの変更方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a text creating system, and more particularly to a font size changing method.

【0002】[0002]

【従来の技術】従来のフォントサイズ変更方式は、図3
の手順流れ図に示すように、まず、使用者は文字の入力
を行い、次に、もし、その行での入力が終われば、作業
を終了する。もし、まだその行の入力があり、かつ、文
字が行一杯になってしまった場合、対象文字または文字
列の選択とフォントサイズの選択を行い、フォントサイ
ズの変更(縮小変更)を行っていた。
2. Description of the Related Art A conventional font size changing method is shown in FIG.
As shown in the procedure flow chart of FIG. 1, the user first inputs characters, and then, if the input on that line is completed, the work is ended. If there is still input on that line and the characters fill up the line, the target character or character string and font size are selected, and the font size is changed (reduced size). ..

【0003】[0003]

【発明が解決しようとする課題】この従来のフォントサ
イズ変更方式では、罫線で囲まれた表の中に文字を記入
するような、記入する部分の横幅が固定で、かつ、文字
数が任意の場合には、その部分、部分でフォントサイズ
を決めなければならないという問題点があった。
In this conventional font size changing method, when the width of the part to be entered is fixed and the number of characters is arbitrary, such as when entering characters in a table surrounded by ruled lines. Had the problem that the font size had to be determined for that part and part.

【0004】本発明の目的は、フォントサイズを自動的
に変更するようにすることにある。
An object of the present invention is to automatically change the font size.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、文字を入力するためのキーボードと、キ
ーボードより入力される文字の入力を認識する入力獲得
部と、1行のサイズを記憶している行サイズ記憶部と、
既に入力されている文字数を記憶している既入力文字数
記憶部と、入力獲得部と既入力文字数記憶部より現在の
文字数を計算し、かつ、行サイズ記憶部より行サイズを
獲得し、現在の文字数及び行サイズよりその行に納まる
最大のフォントサイズ(文字のサイズ)を計算するフォ
ントサイズ計算部と、フォントサイズ計算部より得られ
たフォントサイズで文字を表示する文字表示部とを設け
たものである。
To achieve the above object, the present invention provides a keyboard for inputting characters, an input acquisition unit for recognizing the input of characters input from the keyboard, and a size of one line. A row size storage unit that stores
Calculates the current number of characters from the input character count storage unit that stores the number of characters that have already been input, the input acquisition unit and the already input character count storage unit, and acquires the line size from the line size storage unit. A font size calculation unit that calculates the maximum font size (character size) that can fit in the line based on the number of characters and line size, and a character display unit that displays characters in the font size obtained from the font size calculation unit Is.

【0006】[0006]

【実施例】以下、本発明について、図面を参照して説明
する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings.

【0007】図1は、本発明の一実施例のブロック図で
ある。ここで、実線矢印は制御の流れであり、破線矢印
は、データの流れである。図1において、キーボード1
より入力された1ないし複数の文字は、入力獲得部2に
より認識され、入力された文字数がフォントサイズ計算
部3へ送られる。フォントサイズ計算部3では、この文
字数と、既入力文字数記憶部4より得られる既に表示さ
れている文字数を足し合わせ、新たに表示する文字数を
算出する。次に、フォントサイズ計算部3では、行サイ
ズ記憶部5から行サイズを得て、この行サイズと算出さ
れた文字数から、その行に格納され得る最大フォントサ
イズを計算する。更に、文字表示部6では、このフォン
トサイズ計算部3で算出されたフォントサイズでディス
プレイ7に文字を表示する。その後、フォントサイズ計
算部3は、算出された文字数を既入力文字数として既入
力文字数記憶部4へ登録する。
FIG. 1 is a block diagram of an embodiment of the present invention. Here, the solid arrow indicates the flow of control, and the broken arrow indicates the flow of data. In FIG. 1, the keyboard 1
The one or more characters input by the input are recognized by the input acquisition unit 2, and the number of input characters is sent to the font size calculation unit 3. The font size calculation unit 3 adds up the number of characters and the number of already displayed characters obtained from the already-input character number storage unit 4 to calculate the number of newly displayed characters. Next, the font size calculation unit 3 obtains the line size from the line size storage unit 5, and calculates the maximum font size that can be stored in that line from this line size and the calculated number of characters. Further, the character display unit 6 displays characters on the display 7 in the font size calculated by the font size calculation unit 3. After that, the font size calculation unit 3 registers the calculated number of characters in the already-input-character number storage unit 4 as the number of already-input characters.

【0008】図2は、本発明の一実施例の手順流れ図で
ある。まず、使用者は文字の入力を行う。次に、もしそ
の行での入力が終われば、作業を終了する。もし、まだ
その行の入力があれば、続けて文字入力を行うのみであ
り、フォントサイズの変更は気にする必要がない。
FIG. 2 is a procedure flow chart of an embodiment of the present invention. First, the user inputs characters. Then, if you're done typing on that line, you're done. If there is still input on that line, you can only enter characters continuously, and you do not have to worry about changing the font size.

【0009】[0009]

【発明の効果】本発明は、以上説明したように構成され
ているので、罫線で囲まれた表の中に文字を記入するよ
うな、記入する部分の横幅が固定で、かつ、文字数が任
意である場合に、フォントサイズを気にしないで入力が
でき、文章作成の効率化がはかれるという効果が得られ
る。
EFFECTS OF THE INVENTION Since the present invention is constructed as described above, the width of the portion to be written is fixed and the number of characters is arbitrary, such as writing characters in a table surrounded by ruled lines. If it is, it is possible to input without worrying about the font size, and it is possible to obtain the effect of improving the efficiency of sentence creation.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】本発明の一実施例の手順流れ図である。FIG. 2 is a procedure flow chart of an embodiment of the present invention.

【図3】従来のフォントサイズ変更方式の手順流れ図で
ある。
FIG. 3 is a flow chart of a procedure of a conventional font size changing method.

【符号の説明】[Explanation of symbols]

1 キーボード 2 入力獲得部 3 フォントサイズ計算部 4 既入力文字数記憶部 5 行サイズ記憶部 6 文字表示部 7 ディスプレイ 1 keyboard 2 input acquisition unit 3 font size calculation unit 4 number of input characters storage unit 5 line size storage unit 6 character display unit 7 display

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】文字を入力するためのキーボードと、キー
ボードより入力された文字の入力を認識する入力獲得部
と、1行のサイズを記憶している行サイズ記憶部と、既
に入力されている文字数を記憶している既入力文字数記
憶部と、入力獲得部と既入力文字数記憶部より現在の文
字数を計算し、かつ、行サイズ記憶部より行サイズを獲
得し、現在の文字数及び行サイズよりその行に納まる最
大のフォントサイズ(文字のサイズ)を計算するフォン
トサイズ計算部と、フォントサイズ計算部より得られた
フォントサイズで文字を表示する文字表示部とを設けた
ことを特徴とするフォントサイズ自動変更方式。
1. A keyboard for inputting characters, an input acquisition unit for recognizing the input of characters input from the keyboard, a line size storage unit for storing the size of one line, and an input already made. Calculates the current number of characters from the input character count storage unit that stores the number of characters, the input acquisition unit and the input character count storage unit, and acquires the line size from the line size storage unit. A font characterized by having a font size calculation unit that calculates the maximum font size (character size) that can fit in the line and a character display unit that displays characters in the font size obtained from the font size calculation unit Automatic size change method.
JP3284564A 1991-10-30 1991-10-30 Automatic variation system for font size Pending JPH05120280A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3284564A JPH05120280A (en) 1991-10-30 1991-10-30 Automatic variation system for font size

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3284564A JPH05120280A (en) 1991-10-30 1991-10-30 Automatic variation system for font size

Publications (1)

Publication Number Publication Date
JPH05120280A true JPH05120280A (en) 1993-05-18

Family

ID=17680097

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3284564A Pending JPH05120280A (en) 1991-10-30 1991-10-30 Automatic variation system for font size

Country Status (1)

Country Link
JP (1) JPH05120280A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002297188A (en) * 2001-03-30 2002-10-11 Konami Computer Entertainment Yokyo Inc Device and program for voice editing
US11295064B2 (en) * 2017-02-15 2022-04-05 Shanghai Zhangmen Science And Technology Co., Ltd. Method for transmitting information at user device side and network device side

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002297188A (en) * 2001-03-30 2002-10-11 Konami Computer Entertainment Yokyo Inc Device and program for voice editing
US11295064B2 (en) * 2017-02-15 2022-04-05 Shanghai Zhangmen Science And Technology Co., Ltd. Method for transmitting information at user device side and network device side

Similar Documents

Publication Publication Date Title
US5133067A (en) Method and apparatus for system for selectively extracting display data within a specified proximity of a displayed character string using a range table
JPH024938B2 (en)
JPS61107468A (en) Text editing system
JPH05120280A (en) Automatic variation system for font size
JPH05135025A (en) Document editor
JPS63289667A (en) Japanese document editor
JPS62105266A (en) Character processor
JPH08263046A (en) Method and device for displaying character
JPS59140541A (en) Character processing device
JPH04323721A (en) Window display system
JPS60126762A (en) Display system of sentence processing unit
JPS6048532A (en) Cursor controlling system in case of inputting associative character of kanji
JPH04167167A (en) In-line display system for kana/kanji conversion
JP2764944B2 (en) Character output device
JPH05210654A (en) Information processor
JPH01271870A (en) Kanji processor
JPH1196387A (en) Handwritten data processor
JPH08166951A (en) Text display editing device
JPH02255968A (en) Document producing device
JPH03246759A (en) Document preparing device
JPH03127258A (en) Character processor
JPS6186836A (en) Conversation system for information processor
JPH04357550A (en) Character string registeration and learning system
JPH0554024A (en) Sentence processing device
JPH07160687A (en) Method for specifying input character