JPS63173094A - Character generation system - Google Patents
Character generation systemInfo
- Publication number
- JPS63173094A JPS63173094A JP62004764A JP476487A JPS63173094A JP S63173094 A JPS63173094 A JP S63173094A JP 62004764 A JP62004764 A JP 62004764A JP 476487 A JP476487 A JP 476487A JP S63173094 A JPS63173094 A JP S63173094A
- Authority
- JP
- Japan
- Prior art keywords
- character
- character generation
- generation method
- data
- vector data
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 claims description 15
- 238000010586 diagram Methods 0.000 description 10
- 230000000694 effects Effects 0.000 description 2
- 239000004575 stone Substances 0.000 description 2
- 239000000470 constituent Substances 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は文字の発生方式、特にハンディタイプのワード
プロセッサー等にあって文字の大きさを任意に変化させ
るための文字の発生方式、いわゆる文字フォントジェネ
レーターの改良に関する。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a character generation method, particularly a character generation method for arbitrarily changing the size of characters in handheld word processors, so-called character fonts. Concerning improvements to the generator.
従来、上記したような文字の大きさを任意に変化させる
ための文字の発生方式としては、第yr!!Jに示すよ
うな方式とされていた。即ち、第1図は従来の文字の発
生方式を示す概念図であり、例えば漢字文字である「石
」のアウトラインをベクトルデータとして捉え、そのデ
ータをベースとして文字の拡大、縮小を実行していたも
のである。Conventionally, as a character generation method for arbitrarily changing the character size as described above, the yr! ! The method was as shown in J. In other words, Figure 1 is a conceptual diagram showing the conventional method of character generation. For example, the outline of the kanji character ``stone'' was captured as vector data, and characters were enlarged or reduced based on that data. It is something.
しかしながら、上記した従来の文字の発生方式、即ち1
文字のアウトラインをベクトルデータとして捉え、文字
の大きさの変更を行なうと、そのベクトルデータで囲ま
れた中側の塗り潰しに多大の時間を費してしまうもので
、文書作成の作業が遅くなってしまうという問題点があ
ったところである。However, the conventional character generation method described above, namely 1
When character outlines are treated as vector data and the size of the characters is changed, a large amount of time is spent filling in the inner part surrounded by the vector data, which slows down document creation. There was a problem with it being stored away.
そこで、本発明は係る従来の技術の問題点に着目してな
されたもので、かかる問題点を解消して、塗り潰し作業
を不要のものとして文書作成の作業のスピードアップを
図り、マルチフォントのワードプロセッサーや電子出版
システムへの応用も可能なものとした文字の発生方式を
提供することを目的としている。Therefore, the present invention has been made by focusing on the problems of the related art. The purpose is to provide a character generation method that can be applied to electronic publishing systems.
〔問題点を解決しようとするための手段〕工
この目的を達成するために、本発明に係る文の発生方式
は1文字をスキャン方向のベクトルデータとして捉える
ことを特徴としている。[Means for Solving the Problems] In order to achieve this purpose, the sentence generation method according to the present invention is characterized by capturing one character as vector data in the scanning direction.
上記したように文字をスキャン方向、特にラスタ一方向
のベクトルデータとして捉えることによって、「0」−
と「1」のカウントで文字を構成し、簡易な計算を加え
るのみで1文字構成部内の塗り潰しの必要なく文字の発
生、即ち、文字の大きさの変更をすることができ、文書
作成のためのスピードが著しくアップされることとなる
のである。As mentioned above, by considering characters as vector data in the scan direction, especially in the raster direction, "0" -
By constructing characters with a count of "1" and adding simple calculations, characters can be generated without the need to fill in the parts that constitute one character, that is, the size of the characters can be changed, which is useful for document creation. The speed will be significantly increased.
次に1本発明の実施の一例を第1図乃至第旨図を参照し
て詳細に説明する。Next, an example of the implementation of the present invention will be explained in detail with reference to FIGS.
第1図は本発明に係る文字の発生方式を表わす概念図で
あり、この本発明に係る文字の発生方式によると、例え
ば、従来例を同様に漢字文字の「石」 1をラスタ一方
向へのベクトルデータ2・2・・・として捉えるものと
している。このベクトルデータ2・2・・・は例えば第
2図辷示す16X16の表示概念図でみると、白部分を
「0」1文字部分を「1」としている、ここで各ベクト
ルデータ2・2・・・の構成は第1行目は全部「0」で
F、第2行目から第4行目まではrQJが4、「l」が
9あって再び「0」が2という構成とされ、統t、)て
は文字部分が斜状となるために、文字部分の「1」の数
は3で変らず、「0」の数が1つづつずれた構成となっ
ており、データの持ち方としては同様のところは省くよ
うになっている。FIG. 1 is a conceptual diagram showing the character generation method according to the present invention. According to the character generation method according to the present invention, for example, in the same way as in the conventional example, the kanji character "stone" 1 is moved in one raster direction. It is assumed that the vector data 2, 2, etc. For example, if you look at the 16x16 display conceptual diagram shown in Figure 2, the white part is "0" and the one character part is "1". Here, each vector data 2.2. The configuration of ... is that the first line is all "0" and F, and from the second to fourth rows, rQJ is 4, "l" is 9, and "0" is 2 again, Since the character part is diagonal in the system t,), the number of "1"s in the character part remains unchanged at 3, and the number of "0"s is shifted by one, resulting in a change in the data. As a matter of fact, similar parts are omitted.
ここで、この漢字文字「石」1の文字の大きさを変更し
よとする場合にはX方向をn倍、y方向をn倍すること
によりなされる。第2図における第5行目〜第8行目を
Δyとすると、nを2、即ちX方向な2倍、mを1.2
5倍すると、Δyは4であることから5となり、第3図
に示すようにΔyにおける元ライン間は3となり、X方
向における「0」の数と「1」の数は2倍とされ、その
変化点をあけて、第4図に示すようにそのベクトル変化
点をリニアに結んで、そのデータの補間を行ない、その
補間ライン!゛第5図に示すようにX方向にrQJから
塗り潰して、前記補間したベクトルデータの変化点で「
0」、「l」をスイッチングして補間ラインを生成し、
大きさの変化した文字を発生させることとなるのである
。更に、第6図に示すように、この漢字文字1石」をt
anθ=115回転させる為には、X方向のデータを展
開させる時、5・ドツト展開させた時にメモリのアドレ
スをy方向に1ドツト上げ展開させる。このアドレスか
らX方向に5ドツト展開し、再度メモリアドレスをy方
向に1ドツト上げこの動作をくりかえす、この様にして
X方向のデータを展開した後、前記と同様に、y方向の
補間を行なう。Here, when attempting to change the size of the kanji character "Ishi" 1, it is done by multiplying the x direction by n and the y direction by n. If the fifth to eighth lines in FIG. 2 are Δy, n is 2, that is, twice the X direction, and m is 1.2.
When multiplied by 5, Δy is 4, so it becomes 5, and as shown in Figure 3, the distance between the original lines in Δy becomes 3, and the number of "0" and "1" in the X direction is doubled, Open the change point, connect the vector change points linearly as shown in Figure 4, interpolate the data, and create the interpolation line!゛As shown in Figure 5, fill in from rQJ in the X direction, and at the change point of the interpolated vector data,
Generate an interpolation line by switching ``0'' and ``l'',
This results in the generation of characters of varying sizes. Furthermore, as shown in Figure 6, this kanji character ``1 stone'' is written as t.
In order to rotate anθ=115, when the data in the X direction is expanded, when the data is expanded by 5 dots, the address of the memory is increased by 1 dot in the y direction and expanded. From this address, expand 5 dots in the X direction, then increase the memory address by 1 dot in the y direction again, and repeat this operation.After expanding the data in the X direction in this way, perform interpolation in the y direction in the same way as above. .
又、第に図は、上記した動作のフローチャート図であり
、このフローチャート図によって本発明に係る文字の発
生方式を総括して説明すると、まずX方向のベクトルデ
ータにX方向の拡大率を掛け、その結果にもとづいてX
方向のベクトルデータを展開する。続いて次のラインの
ベクトルデータを1次のラインまでの距離(Δy)にy
方向の拡大率を掛けたライン数だけ間をあけて、次のラ
インベクトルを展開し、前のラインのベクトル変化点と
次のラインのベクトル変化点をリニアに結んでそのデー
タを補間し、ベクトルの変化点をすべて補間したところ
で、補間ラスター方向に「0」から塗り潰し、先に補間
したベクトルの変化点で「0」、「1」をスイッチング
して補間ラインを生成し、目的とする大きさの変った文
字を得ることができるものとなっている。FIG. 1 is a flowchart of the above-mentioned operation. To summarize the character generation method according to the present invention using this flowchart, first, vector data in the X direction is multiplied by the magnification factor in the X direction, Based on the results
Expand directional vector data. Next, convert the vector data of the next line into the distance (Δy) to the first line.
Expand the next line vector with an interval equal to the number of lines multiplied by the expansion rate in the direction, linearly connect the vector change point of the previous line and the vector change point of the next line, interpolate that data, and calculate the vector After interpolating all the changing points, fill in from "0" in the direction of the interpolation raster, switch between "0" and "1" at the changing points of the previously interpolated vector to generate an interpolated line, and create the desired size. It is possible to obtain unusual characters.
上述したように本発明に係る文字の発生方式によると、
文字をスキャン方向、特にラスタ一方向のベクトルデー
タとして捉えるために、従来のように文字構成部分内の
塗り潰しを行なう必要がなくなり、文書作成の作業が非
常にスピードアップされるものとなっている。As described above, according to the character generation method according to the present invention,
Since characters are captured as vector data in the scan direction, especially in the raster direction, it is no longer necessary to fill in the character constituent parts as in the past, greatly speeding up document creation.
第1図は本発明に係る文字の発生方式を表わす概念図、
第2図は同表示概念図、第3図は同拡大後の状態を示す
概念図、第4図は同補間状態 を示す概念図、第5図は
同補間ラインの生成状態を示す概念図、第6図は同回転
時の補間状態 を示す概念図、第7図は同動作を表わす
フローチャート図、第8図は従来の文字の発生方式を表
わす概念図である。
l・・・漢字文字 2・・・ベクトルデータ特許出願人
アルプス電気株式会社
代表者 片開 勝太部
第1図
へ4トル〒−タ
第3図
第4図
第5図
第6図
5 F、νト
第7図
第8図FIG. 1 is a conceptual diagram showing the character generation method according to the present invention;
Fig. 2 is a conceptual diagram of the same display, Fig. 3 is a conceptual diagram showing the state after enlargement, Fig. 4 is a conceptual diagram showing the interpolation state, and Fig. 5 is a conceptual diagram showing the generation state of the interpolation line. FIG. 6 is a conceptual diagram showing the interpolation state during the same rotation, FIG. 7 is a flowchart showing the same operation, and FIG. 8 is a conceptual diagram showing the conventional character generation method. l...Kanji characters 2...Vector data patent applicant Representative of Alps Electric Co., Ltd. Figure 7 Figure 8
Claims (2)
ることを特徴とする文字の発生方式。(1) A character generation method characterized by capturing characters as vector data in the scanning direction.
向の拡大率を掛け、次にy方向の拡大率を掛けたライン
数の間隔をあけ、補間することを特徴とする特許請求の
範囲第1項に記載の文字の発生方式。(2) The data in the x direction of the vector data is multiplied by a magnification factor in the x direction, and then interpolated at intervals of the number of lines multiplied by the magnification factor in the y direction. The character generation method described in Section 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62004764A JP2803779B2 (en) | 1987-01-12 | 1987-01-12 | Character generation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62004764A JP2803779B2 (en) | 1987-01-12 | 1987-01-12 | Character generation method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS63173094A true JPS63173094A (en) | 1988-07-16 |
JP2803779B2 JP2803779B2 (en) | 1998-09-24 |
Family
ID=11592940
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62004764A Expired - Fee Related JP2803779B2 (en) | 1987-01-12 | 1987-01-12 | Character generation method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2803779B2 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5224045A (en) * | 1975-08-18 | 1977-02-23 | Asahi Hoso Kk | Digital pattern processor |
JPS55153988A (en) * | 1979-05-18 | 1980-12-01 | Nippon Telegraph & Telephone | Expanded character pattern encoder |
JPS60176084A (en) * | 1984-02-22 | 1985-09-10 | キヤノン株式会社 | Character pattern data 2-d compression |
-
1987
- 1987-01-12 JP JP62004764A patent/JP2803779B2/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5224045A (en) * | 1975-08-18 | 1977-02-23 | Asahi Hoso Kk | Digital pattern processor |
JPS55153988A (en) * | 1979-05-18 | 1980-12-01 | Nippon Telegraph & Telephone | Expanded character pattern encoder |
JPS60176084A (en) * | 1984-02-22 | 1985-09-10 | キヤノン株式会社 | Character pattern data 2-d compression |
Also Published As
Publication number | Publication date |
---|---|
JP2803779B2 (en) | 1998-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0810462B2 (en) | Image processing device | |
JPH01174463A (en) | Dot pattern correction method | |
JPS63173094A (en) | Character generation system | |
JPH05314250A (en) | Method and device for smoothing enlarged image | |
JP3603593B2 (en) | Image processing method and apparatus | |
JPS5972568A (en) | Picture converter | |
JPS63136278A (en) | Production system for repetitive pattern | |
JP2578102B2 (en) | Bit pattern enlargement control method | |
KR970002108B1 (en) | Laser-printer bit map font | |
JPS61144688A (en) | Character generation system | |
JPS62243076A (en) | Enlarging/reducing method for character font | |
JPS60260994A (en) | Graphic display unit | |
JPH0252274B2 (en) | ||
JP2690385B2 (en) | Enlarged display method of arc | |
JP3004993B2 (en) | Image processing device | |
JPH01286086A (en) | Graphic plotting system | |
JPS6375881A (en) | Dot picture screen line-number converter | |
JPH03278190A (en) | Polygon painting-out system | |
JPS63229488A (en) | Shaded character generator | |
JPS6387248A (en) | System for generating expanded character pattern | |
JPH04329482A (en) | Image rotation processing method and processing device for relevant method | |
JPS63218993A (en) | Character/graphics expander | |
JPS60229766A (en) | Output control system of interpolation dot pattern | |
JPS63240588A (en) | Character font working apparatus | |
JPH03258079A (en) | Dot processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |