JPH09305159A - Document processor - Google Patents

Document processor

Info

Publication number
JPH09305159A
JPH09305159A JP8120018A JP12001896A JPH09305159A JP H09305159 A JPH09305159 A JP H09305159A JP 8120018 A JP8120018 A JP 8120018A JP 12001896 A JP12001896 A JP 12001896A JP H09305159 A JPH09305159 A JP H09305159A
Authority
JP
Japan
Prior art keywords
line width
character
width value
value
contour information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8120018A
Other languages
Japanese (ja)
Inventor
Tomoko Nakayama
朋子 中山
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP8120018A priority Critical patent/JPH09305159A/en
Publication of JPH09305159A publication Critical patent/JPH09305159A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To mitigate impression of a congested dark character and to form a character and a mark, etc., easy to read by setting a line width value suitable for its character according to the number of strokes of the character and revising the line width value. SOLUTION: When the character and the line width value of the character are inputted from an input means 101, outline information corresponding to the inputted character is read out from an outline information memory means 102, and the number of strokes of the character are counted from the outline information by a number of strokes count means 104, and the line width value of the inputted character is adjusted by a line width adjustment means 105 according to the number of counted strokes. Then, the line width value of the character in the outline information read out from the outline information memory means 102 is revised by a line width revision means 106 by referring to the line width value of the character adjusted by the line width value adjustment means 105, and the font pattern of the character is generated from the revised line width value and outputted. Thus, since the processor is constituted so that the line width value of the character is inputted, a thick letter and a thin letter are set optionally.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、文字のパターン
をアウトラインフォントデータで持ち、読みやすい文字
を自動的に作成する文書処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing apparatus that has a character pattern as outline font data and automatically creates easy-to-read characters.

【0002】[0002]

【従来の技術】従来、この種の文書処置装置としては、
特開平4−195096号公報に記載のものが知られて
いる。これにおいては、メモリに記憶された文字や記号
等のキャラクタのX方向及びY方向の大きさと、X方向
およびY方向の拡大縮小率とにより、図23に示すよう
な線幅テーブルの情報に基づいて線幅を選定し、この選
定された線幅により、文字や記号等のキャラクタの線幅
の変更を行うようにしている。
2. Description of the Related Art Conventionally, as a document processing apparatus of this type,
The one described in Japanese Patent Application Laid-Open No. 4-195096 is known. In this case, the size of characters such as characters and symbols stored in the memory in the X and Y directions and the enlargement / reduction ratio in the X and Y directions are used to obtain information based on the line width table as shown in FIG. The line width of a character such as a character or a symbol is changed according to the selected line width.

【0003】この方法を具体的に説明する。例えば、1
00×100の文字「己」を、X方向に0.2倍、Y方
向に0.2倍すると、縮小率×文字サイズは20となっ
て、図23のテーブルから線幅1が選定され、図24
(a)に示すような結果が得られる。
This method will be specifically described. For example, 1
When the character “O” of 00 × 100 is multiplied by 0.2 in the X direction and 0.2 in the Y direction, the reduction ratio × the character size becomes 20, and the line width 1 is selected from the table of FIG. Figure 24
The result as shown in FIG.

【0004】また、100×100の文字「己」を、X
方向に0.5倍、Y方向に0.5倍すると、縮小率×文
字サイズは50となって、図23のテーブルから線幅3
が選定され、図24(b)に示すような結果が得られ
る。同様に、100×100の文字「記」の場合も、X
方向に0.2倍、Y方向に0.2倍すると、縮小率×文
字サイズは20となって、図23のテーブルから線幅1
が選定され、図25(a)に示すような結果が得られ
る。
In addition, the 100 × 100 character "Ki" is changed to X.
If the ratio is 0.5 times in the Y direction and 0.5 times in the Y direction, the reduction ratio x the character size becomes 50, and the line width 3 from the table in FIG.
Is selected, and the result as shown in FIG. 24 (b) is obtained. Similarly, in the case of the 100 × 100 character “”, X
If the ratio is 0.2 times in the Y direction and 0.2 times in the Y direction, the reduction ratio x the character size becomes 20, and the line width 1 from the table in FIG.
Is selected, and the result as shown in FIG. 25 (a) is obtained.

【0005】また、100×100の文字「記」を、X
方向に0.5倍、Y方向に0.5倍すると、縮小率×文
字サイズは50となって、図23のテーブルから線幅3
が選定され、図25(b)に示すような結果が得られ
る。このように、従来の文書処理装置においては、もと
の文字や記号などのサイズと拡大縮小率に従って文字の
線幅を変更するようにしている。
In addition, the 100 × 100 character “” is written as X
If the ratio is 0.5 times in the Y direction and 0.5 times in the Y direction, the reduction ratio x the character size becomes 50, and the line width 3 from the table in FIG.
Is selected, and the result as shown in FIG. 25 (b) is obtained. As described above, in the conventional document processing apparatus, the line width of a character is changed according to the size of the original character or symbol and the enlargement / reduction ratio.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、この方
法は、文字や記号等のキャラクタには様々な画数のもの
があることは考慮されていない。すなわち、文字や記号
等のキャラクタ、特に漢字は画数が様々で、1画のもの
から30画以上のものまである。1画の文字と30画の
文字が同じ線幅なら、1画の文字と30画の文字を並べ
たとき、1画の文字に比べて30画の文字は混んだ暗い
印象になり、黒々として見苦しくなる。そして、この印
象の差が、文字全体を読みづらくする。
However, this method does not consider that characters such as characters and symbols have various stroke numbers. That is, characters such as characters and symbols, especially Chinese characters, have various stroke numbers, and range from 1 stroke to 30 strokes or more. If the characters of 1 stroke and the characters of 30 strokes have the same line width, when the characters of 1 stroke and the characters of 30 strokes are lined up, the character of 30 strokes becomes a darker impression than the characters of 1 stroke and becomes black. It becomes unsightly. And, this difference in impression makes it difficult to read the entire character.

【0007】また、画数の多い文字は、サイズの縮小に
より、潰れが生じる。例えば、文字「己」と「記」の場
合では、図24(b)と図25(b)のように、画数の
多い「記」のほうが混んだ暗い印象になり、「己」と
「記」を並べたとき、読みづらくなるという問題が生じ
る。
Characters having a large number of strokes are crushed due to the size reduction. For example, in the case of the characters "ki" and "ki", as shown in FIG. 24 (b) and FIG. 25 (b), "ki" with a large number of strokes gives a darker impression, and "ki" and "ki". When arranging "," it becomes difficult to read.

【0008】この発明は、このような事情を考慮してな
されたもので、文字の画数によって、その文字にふさわ
しい線幅値を設定し、線幅値を変更することによって、
混んだ暗い文字の印象を緩和し、読みやすい文字や記号
等のキャラクタを作成する文書処理装置を提供するもの
である。
The present invention has been made in consideration of such circumstances, and a line width value suitable for a character is set according to the number of strokes of the character, and the line width value is changed,
(EN) Provided is a document processing device which alleviates the impression of dark characters that are crowded and creates characters such as easy-to-read characters and symbols.

【0009】[0009]

【課題を解決するための手段】図1はこの発明の構成を
示すブロック図であり、この図に示すように、この発明
は、文字と文字の線幅値を入力する入力手段101と、
文字の輪郭情報を記憶した輪郭情報記憶手段102と、
入力手段101から入力された文字に対応する輪郭情報
を輪郭情報記憶手段102から読み出す輪郭情報読み出
し手段103と、読み出された輪郭情報から文字の画数
をカウントする画数カウント手段104と、入力された
文字の線幅値をカウントされた画数に応じて調整する線
幅値調整手段105と、線幅値調整手段105によって
調整された文字の線幅値を参照することにより輪郭情報
記憶手段102から読み出された輪郭情報における文字
の線幅値を変更する線幅値変更手段106と、変更され
た線幅値から文字のフォントパターンを生成する生成手
段107と、生成された文字のフォントパターンを出力
する出力手段108を備えてなる文書処理装置である。
FIG. 1 is a block diagram showing the configuration of the present invention. As shown in the figure, the present invention is an input means 101 for inputting characters and line width values of characters.
A contour information storage unit 102 that stores contour information of characters,
Contour information reading means 103 for reading contour information corresponding to the character input from the input means 101 from the contour information storage means 102, stroke number counting means 104 for counting the number of strokes of the character from the read contour information, and input The line width value adjusting means 105 for adjusting the line width value of the character in accordance with the number of strokes, and the line width value of the character adjusted by the line width value adjusting means 105 are read from the contour information storage means 102. A line width value changing means 106 for changing a line width value of a character in the outputted contour information, a generating means 107 for generating a font pattern of the character from the changed line width value, and outputting a font pattern of the generated character. The document processing apparatus includes an output unit 108 for

【0010】この発明において、入力手段101として
は、キーボードや、ペン、マウス、もしくはトラックボ
ールなどの各種のポインティングデバイスを用いること
ができる。
In the present invention, as the input means 101, various pointing devices such as a keyboard, a pen, a mouse, or a trackball can be used.

【0011】輪郭情報記憶手段102としては、ROM
のような内部記憶装置や、フロッピーディスク装置や磁
気ディスク装置、CD−ROMのような外部記憶装置を
用いることができる。輪郭情報読み出し手段103、画
数カウント手段104、線幅値調整手段105及び線幅
値変更手段106としては、マイクロプロセッサを用い
るのが便利である。
A ROM is used as the contour information storage means 102.
Such an internal storage device, a floppy disk device, a magnetic disk device, or an external storage device such as a CD-ROM can be used. It is convenient to use a microprocessor as the contour information reading means 103, the stroke number counting means 104, the line width value adjusting means 105, and the line width value changing means 106.

【0012】生成手段107としては、一般にROMか
らなるビットマップメモリが用いられる。出力手段10
8としては、CRTディスプレイ装置や液晶ディスプレ
イ装置のような各種の表示装置や、熱転写型プリンタや
レーザープリンタのような各種のプリンタを用いること
ができる。
As the generating means 107, a bit map memory which is generally a ROM is used. Output means 10
Various display devices such as a CRT display device and a liquid crystal display device, and various printers such as a thermal transfer printer and a laser printer can be used as 8.

【0013】この発明によれば、文字と文字の線幅値が
入力手段101から入力されると、入力された文字に対
応する輪郭情報を輪郭情報記憶手段から102読み出し
て、その輪郭情報から文字の画数をカウントし、入力さ
れた文字の線幅値をカウントされた画数に応じて調整す
る。そして、調整した文字の線幅値を参照することによ
り輪郭情報記憶手段102から読み出された輪郭情報に
おける文字の線幅値を変更し、変更した線幅値から文字
のフォントパターンを生成して出力する。
According to the present invention, when a character and a line width value of the character are inputted from the input means 101, the contour information corresponding to the inputted character is read out from the contour information storage means 102 and the character is extracted from the contour information. The number of strokes is counted, and the line width value of the input character is adjusted according to the counted number of strokes. Then, the line width value of the character in the contour information read from the contour information storage unit 102 is changed by referring to the adjusted line width value of the character, and a character font pattern is generated from the changed line width value. Output.

【0014】したがって、文字の線幅値を入力するよう
にしたので、太い文字や細い文字を任意に設定すること
ができる。また、例えば、画数の多い文字は線幅を細く
して文字を読みやすくするといったように、文字の線幅
を、太い文字であれば太い文字なりに、細い文字であれ
ば細い文字なりに、画数に応じて変更することができ
る。
Therefore, since the line width value of the character is input, thick or thin characters can be set arbitrarily. Also, for example, for characters with a large number of strokes, make the line width thinner to make it easier to read.For example, the line width of a character is thick if it is thick, thin if it is thin, It can be changed according to the number of strokes.

【0015】この発明は、また、文字の種類と書体の種
類と文字の線幅値とを入力する入力手段と、書体に応じ
た文字の輪郭情報を記憶した輪郭情報記憶手段と、文字
の画数をランク付けした画数ランクを記憶した画数ラン
ク記憶手段と、画数ランクに応じて文字の線幅を調整す
るための線幅調整値を記憶した線幅調整値記憶手段と、
入力手段から入力された文字の種類と書体の種類に対応
する輪郭情報を輪郭情報記憶手段から読み出す輪郭情報
読み出し手段と、読み出された輪郭情報から文字の画数
をカウントする画数カウント手段と、カウントされた画
数に応じた画数ランクを画数ランク記憶手段から読み出
す画数ランク読み出し手段と、読み出された画数ランク
に応じた文字の線幅調整値を線幅調整値記憶手段から読
み出す線幅調整値読み出し手段と、読み出された線幅調
整値を用いて入力された文字の線幅値から画数ランクに
応じた線幅を演算する線幅演算手段と、輪郭情報読み出
し手段によって読み出された輪郭情報から文字の線幅を
測定する線幅測定手段と、線幅測定手段で測定された線
幅値を、線幅演算手段で演算された線幅値に応じて変更
する線幅値変更手段と、変更された線幅値から文字のフ
ォントパターンを生成する生成手段と、生成された文字
のフォントパターンを出力する出力手段を備えてなる文
書処理装置である。
According to the present invention, the input means for inputting the type of character, the type of typeface, and the line width value of the character, the contour information storage means for storing the contour information of the character according to the typeface, and the number of strokes of the character A stroke number storage unit that stores a stroke number rank, and a line width adjustment value storage unit that stores a line width adjustment value for adjusting the line width of a character according to the stroke rank,
Contour information reading means for reading from the contour information storage means contour information corresponding to the type of character and the type of font input from the input means, a stroke number counting means for counting the stroke number of the character from the read contour information, and a count The stroke number rank reading means for reading the stroke number rank corresponding to the read stroke number from the stroke number rank storage means, and the line width adjustment value reading for reading the line width adjustment value of the character according to the read stroke number rank from the line width adjustment value storage means Means, line width calculation means for calculating the line width according to the stroke number rank from the line width value of the character input using the read line width adjustment value, and the contour information read by the contour information reading means. A line width measuring means for measuring the line width of a character and a line width value changing means for changing the line width value measured by the line width measuring means according to the line width value calculated by the line width calculating means. When a document processing device including a generating means for generating a character font pattern from the modified line width value, the output means for outputting a font pattern generated character.

【0016】上記構成においては、画数カウント手段
は、文字の輪郭点の屈曲を単位として文字の画数をカウ
ントするように構成することが望ましい。このように構
成した場合には、最適な太さで文字の線幅を変更するこ
とができる。
In the above structure, it is desirable that the stroke number counting means is configured to count the stroke number of the character with the bending of the contour point of the character as a unit. With this configuration, it is possible to change the line width of the character with the optimum thickness.

【0017】また、線幅調整値記憶手段に記憶する線幅
調整値は、書体毎に設定することが望ましい。このよう
に構成した場合には、各種の書体に応じて文字の線幅を
変更することができる。
The line width adjustment value stored in the line width adjustment value storage means is preferably set for each typeface. With such a configuration, the line width of characters can be changed according to various typefaces.

【0018】[0018]

【発明の実施の形態】以下、図面に示す実施例に基づい
てこの発明を詳述する。なお、これによってこの発明が
限定されるものではない。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail based on an embodiment shown in the drawings. The present invention is not limited to this.

【0019】図2は本発明を日本語ワードプロセッサに
適用した一実施例の構成を示すブロック図である。この
図において、1は入力手段としてのキーボード、2はC
PU(中央処理装置)、3は文字のフォントパターンを
生成するビットマップメモリ、4は出力手段としてのプ
リンタ、5は主メモリ、6は一時記憶用の補助メモリで
ある。
FIG. 2 is a block diagram showing the configuration of an embodiment in which the present invention is applied to a Japanese word processor. In this figure, 1 is a keyboard as input means, 2 is C
PU (Central Processing Unit), 3 is a bit map memory for generating a font pattern of characters, 4 is a printer as an output means, 5 is a main memory, and 6 is an auxiliary memory for temporary storage.

【0020】キーボード1からは、文字・記号等の字体
を示す書体コードと、文字・記号等のキャラクタを示す
文字コードと、キャラクタにふさわしい線幅値を求める
ための基準となる任意の線幅値が入力される。
From the keyboard 1, a typeface code indicating a font such as a character or a symbol, a character code indicating a character such as a character or a symbol, and an arbitrary line width value serving as a reference for obtaining a line width value suitable for the character. Is entered.

【0021】ビットマップメモリ3はROMから構成さ
れている。また、主メモリ5はRAMから構成されてお
り、補助メモリ6はフロッピーディスク装置から構成さ
れている。
The bit map memory 3 is composed of a ROM. The main memory 5 is composed of a RAM, and the auxiliary memory 6 is composed of a floppy disk device.

【0022】CPU2は、主メモリ5や補助メモリ6か
らデータを読み出すデータ読み出し部と、アウトライン
フォントデータから文字の画数をカウントする画数カウ
ント部22と、文字の画数に応じた線幅値を演算する線
幅値演算部23と、アウトラインフォントデータから文
字の線幅を測定する線幅値測定部24と、アウトライン
フォントデータから得られた文字の線幅値と演算によっ
て得られた文字の線幅値とを比較する線幅値比較部25
と、線幅値を変更する線幅値変更部26とを有してい
る。
The CPU 2 calculates a line width value corresponding to the number of strokes of a character, a data reading unit for reading data from the main memory 5 and the auxiliary memory 6, a stroke number counting unit 22 for counting the number of strokes of a character from outline font data. A line width value calculation unit 23, a line width value measurement unit 24 that measures the line width of a character from outline font data, and a line width value of a character obtained from the outline font data and a line width value of a character obtained by calculation. Line width value comparison unit 25 for comparing with
And a line width value changing unit 26 for changing the line width value.

【0023】図3は主メモリ5の記憶内容の一例を示す
説明図であり、この図に示すように、主メモリ5は、線
幅値演算部23で演算した線幅値を記憶する演算線幅値
記憶部51を有している。
FIG. 3 is an explanatory diagram showing an example of the stored contents of the main memory 5, and as shown in this figure, the main memory 5 stores a calculation line for storing the line width value calculated by the line width value calculation unit 23. It has a width value storage unit 51.

【0024】図4は補助メモリ6の記憶内容の一例を示
す説明図であり、この図に示すように、補助メモリ6
は、アウトラインフォントデータ記憶部61、画数ラン
クテーブル格納部62、画数ランクに対応した線幅値テ
ーブル格納部63を有している。
FIG. 4 is an explanatory diagram showing an example of the stored contents of the auxiliary memory 6, and as shown in this figure, the auxiliary memory 6
Has an outline font data storage unit 61, a stroke number rank table storage unit 62, and a line width value table storage unit 63 corresponding to the stroke number rank.

【0025】アウトラインフォントデータ記憶部61に
は、図5に示すように、書体に応じた文字のアウトライ
ンフォントデータがあらかじめ記憶されている。すなわ
ち、書体コードと区点コード毎に文字の輪郭線のデータ
が記憶されている。
As shown in FIG. 5, the outline font data storage unit 61 stores outline font data of characters corresponding to the typeface in advance. That is, the character outline data is stored for each typeface code and division code.

【0026】例えば、書体がゴシック体の漢字の「己」
であれば、書体コードG、区点コード2442として、
文字の輪郭線データが記憶されている。この輪郭線デー
タは、文字の輪郭線を構成する輪郭点の輪郭点番号と、
10000×10000メッシュに規定した文字仮想ボ
ックス上で、左下を原点とするXYの座標値情報を備え
ている。
[0026] For example, the typeface is a Gothic Kanji character "I".
If so, as the typeface code G and the ward code 2442,
Character contour data is stored. This contour line data includes the contour point numbers of the contour points that form the contour line of the character,
On the character virtual box defined as 10000 × 10000 mesh, XY coordinate value information with the lower left as the origin is provided.

【0027】画数ランクテーブル格納部62には、図6
に示すように、文字・記号等の画数をA〜Gまでにラン
ク付けした画数ランクが格納されている。この画数ラン
クは画数の範囲ごとにランク付けされている。
In the stroke number rank table storage unit 62, FIG.
As shown in, the stroke number ranks in which the stroke numbers of characters and symbols are ranked from A to G are stored. This stroke number rank is ranked for each stroke number range.

【0028】画数ランクに対応した線幅値テーブル格納
部63には、図7及び図8に示すように、画数ランクに
応じて文字の線幅を調整するための線幅調整値が格納さ
れている。すなわち、この線幅調整値は書体コード毎に
設けられており、画数ランク毎に、縦線幅の調整値が縦
線幅値として、横線幅の調整値が横線幅値として格納さ
れている。ここで、縦線幅値と横線幅値のaで示す値
は、キーボード1から入力される線幅値であり、キャラ
クタにふさわしい線幅値を求めるための基準となる線幅
値である。この基準となる線幅値は、使用者により任意
に決定される。
As shown in FIGS. 7 and 8, the line width value table storage unit 63 corresponding to the stroke number rank stores a line width adjustment value for adjusting the line width of a character according to the stroke number rank. There is. That is, the line width adjustment value is provided for each typeface code, and the vertical line width adjustment value is stored as the vertical line width value and the horizontal line width adjustment value is stored as the horizontal line width value for each stroke rank. Here, the vertical line width value and the horizontal line width value indicated by a are line width values input from the keyboard 1 and serve as a reference line width value for obtaining a line width value suitable for a character. The reference line width value is arbitrarily determined by the user.

【0029】図9はCPU2の処理動作を示すフローチ
ャートであり、このフローチャートに従って実施例の動
作を説明する。この実施例の説明においては、アウトラ
インフォントデータの輪郭線は、外側の輪郭線について
は時計回り(右回り)方向、内側の輪郭線については反
時計回り(左回り)方向に規定されている。
FIG. 9 is a flow chart showing the processing operation of the CPU 2. The operation of the embodiment will be described with reference to this flow chart. In the description of this embodiment, the outline of the outline font data is defined in the clockwise (clockwise) direction for the outer outline and in the counterclockwise (counterclockwise) direction for the inner outline.

【0030】以下、文字コードを区点コード2442と
する文字「己」の線幅値を変更する場合を例に挙げて説
明する。まず、キーボード1から、ゴシック体の書体コ
ードGと、文字「己」の区点コード2442と、文字
「己」にふさわしい線幅値を求めるための基準となる線
幅値800が入力される(ステップS1)。
Hereinafter, the case where the line width value of the character "I" having the character code of the division code 2442 is changed will be described as an example. First, from the keyboard 1, a Gothic typeface code G, a punctuation mark code 2442 for the character "I", and a line width value 800 as a reference for obtaining a line width value suitable for the character "I" are input ( Step S1).

【0031】この基準となる線幅値は、線幅値テーブル
格納部63の縦線幅値と横線幅値のaに代入される値で
ある。すなわち、この基準となる線幅値つまりaの値
は、後ほど、線幅値テーブル格納部63に記憶された値
により、画数ランクに応じた線幅値に調整される。入力
された書体コードGと、区点コード2442と、基準と
なる線幅値800は、CPU2のデータ読み出し部21
に転送される(ステップS2)。
The reference line width value is a value assigned to the vertical line width value and the horizontal line width value a in the line width value table storage unit 63. That is, the reference line width value, that is, the value of a is adjusted to a line width value according to the stroke number rank by the value stored in the line width value table storage unit 63 later. The input typeface code G, the division mark code 2442, and the reference line width value 800 are the data reading unit 21 of the CPU 2.
(Step S2).

【0032】次に、CPU2のデータ読み出し部21
で、書体コードGと区点コード2442に従って、補助
メモリ6のアウトラインフォントデータ記憶部61か
ら、書体コードGで、区点コード2442に対応するア
ウトラインフォントデータが読み出される(ステップS
3)。
Next, the data reading section 21 of the CPU 2
Then, according to the typeface code G and the division point code 2442, the outline font data corresponding to the division point code 2442 with the typeface code G is read from the outline font data storage unit 61 of the auxiliary memory 6 (step S).
3).

【0033】CPU2のデータ読み出し部21によって
読み出された文字「己」のアウトラインフォントデータ
は、CPU2の画数カウント部22に転送される(ステ
ップS4)。
The outline font data of the character "self" read by the data reading unit 21 of the CPU 2 is transferred to the stroke number counting unit 22 of the CPU 2 (step S4).

【0034】ここで、画数カウント部22は、文字
「己」の画数をカウントし、画数に応じた画数ランクを
画数ランクテーブル格納部62から読み出す。文字にふ
さわしい線幅値を画数によって決定するのは、文字は画
数が多くなるほど混んだ暗い印象になり、黒々として見
苦しくなるため、画数によって調整を行う必要があるか
らである。
Here, the stroke number counting unit 22 counts the stroke number of the character “K” and reads the stroke number rank corresponding to the stroke number from the stroke number rank table storage unit 62. The line width value suitable for a character is determined by the number of strokes because the more the number of strokes, the darker the impression of a character becomes, and the more it becomes black and unsightly, the more it is necessary to adjust the number of strokes.

【0035】ここで、画数は、筆運びを1画とする数え
方ではなく、曲がったら1画とする数え方を用いる。例
えば、「口」という文字なら、図10(a)に示すよう
に、筆運びを1画として数えると3画となるが、図10
(b)に示すように、曲がったら1画として数えると4
画となる。
Here, the number of strokes is not the number of strokes taken as one stroke, but the number of strokes taken as one stroke. For example, in the case of the character “mouth”, as shown in FIG. 10A, if the stroke of the brush is counted as one stroke, it becomes three strokes.
As shown in (b), it is 4 when counted as one stroke when bent.
It becomes a picture.

【0036】文字「己」という文字は、図11に示すよ
うに、外側の輪郭点番号1から輪郭点番号6までのY座
標値を用いて、屈曲が認められれば1画と数える。輪郭
点番号1で右向きであれば、輪郭点番号2で下向きに屈
曲が認められるため1画をカウントし、輪郭点番号3で
左向きに屈曲が認められるため1画をカウントし、輪郭
点番号4では下向きに屈曲が認められるため1画をカウ
ントし、輪郭点番号5で右向きに屈曲が認められるため
1画をカウントし、輪郭点番号6で上向きに屈曲が認め
られるため1画をカウントする。この結果、6回の屈曲
が認められ、画数は6画となる。このカウントされた6
画に従って、補助メモリ6の画数ランクテーブル格納部
62から、6画に応じた画数ランクBを読み出す(ステ
ップS5)。
As shown in FIG. 11, the character "Ki" is counted as one stroke when the bending is recognized by using the Y coordinate values from the outer contour point number 1 to the outer contour point number 6. If contour point number 1 is rightward, one stroke is counted because contour point number 2 shows downward bending, and contour point number 3 shows leftward bending, so one image is counted, and contour point number 4 In B, downward bending is recognized, so 1 stroke is counted, in contour point number 5, right bending is recognized, 1 stroke is counted, and at contour point number 6, upward bending is counted, and 1 stroke is counted. As a result, 6 times of bending were recognized, and the number of strokes was 6. This counted 6
In accordance with the image, the image number rank B corresponding to the 6 images is read from the image number rank table storage unit 62 of the auxiliary memory 6 (step S5).

【0037】次に、データ読み出し部21に読み出され
たアウトラインフォントデータの書体コードGと、読み
出された画数ランクBに従って、補助メモリ6の線幅値
テーブル格納部63から、書体コードGと画数ランクB
に応じた縦線幅値1.1×aと横線幅値aが読み出され
る(ステップS6)。
Next, according to the typeface code G of the outline font data read by the data reading section 21 and the read stroke number rank B, the typeface code G is obtained from the line width value table storage section 63 of the auxiliary memory 6. Stroke rank B
The vertical line width value 1.1 × a and the horizontal line width value a corresponding to are read (step S6).

【0038】CPU2の画数ランクに対応した線幅値テ
ーブル格納部63は、書体コードごとに線幅値テーブル
を持っている。例えば、ゴシック体のように視覚的に縦
線幅と横線幅を同じに見せるため、縦線幅が横線幅より
少し太く作成されている書体は、図7に示すように、a
にどんな値を代入しても縦線幅値と横線幅値の関係が損
なわれないようにテーブルが設定されている。また、例
えば、明朝体のように縦線幅に比べて横線幅が極端に細
いデザインの書体は、図8に示すように、aにどんな値
を代入しても横線幅が細くなるようにテーブルが設定さ
れている。
The line width value table storage unit 63 corresponding to the stroke number rank of the CPU 2 has a line width value table for each typeface code. For example, a typeface whose vertical line width is slightly thicker than the horizontal line width is used as shown in FIG.
The table is set so that the relationship between the vertical line width value and the horizontal line width value is not lost no matter what value is substituted into. Further, for example, in a typeface with a design in which the horizontal line width is extremely narrower than the vertical line width such as Mincho type, the horizontal line width becomes thin no matter what value is substituted for a, as shown in FIG. The table is set.

【0039】文字「己」は書体コードがGなので、線幅
値テーブルの該当する書体コードGのBランクに応じた
縦線幅値と縦線幅値とを読み出す。読み出された線幅値
は、CPU2の線幅値演算部23に転送される(ステッ
プS7)。
Since the character "I" has a typeface code of G, the vertical linewidth value and the vertical linewidth value corresponding to the B rank of the corresponding typeface code G in the linewidth value table are read. The read line width value is transferred to the line width value calculation unit 23 of the CPU 2 (step S7).

【0040】CPU2の線幅値演算部23では、基準と
なる線幅値800を、線幅値テーブル格納部63から読
み出した縦線幅値1.1×aと横線幅値aの数式のaに
代入し演算を行う。この例では、aが800であるの
で、縦線幅値は、1.1×a=880、横線幅値は、a
=800となり、縦線幅値880と横線幅値800が求
められる(ステップS8)。求められた縦線幅値88
0、横線幅値800は、主メモリ5の演算線幅値記憶部
51にいったん格納される(ステップS9)。
In the line width value calculation unit 23 of the CPU 2, the reference line width value 800 is read out from the line width value table storage unit 63 and the vertical line width value 1.1 × a and the horizontal line width value a are expressed by a. Substitute in and perform the operation. In this example, since a is 800, the vertical line width value is 1.1 × a = 880, and the horizontal line width value is a.
= 800, the vertical line width value 880 and the horizontal line width value 800 are obtained (step S8). Obtained vertical line width value 88
0 and the horizontal line width value 800 are temporarily stored in the calculated line width value storage unit 51 of the main memory 5 (step S9).

【0041】一方、CPU2のデータ読み出し部21に
よって読み出された文字「己」のアウトラインフォント
データは、CPU2の線幅値測定部24に転送される
(ステップS10)。
On the other hand, the outline font data of the character "self" read by the data reading unit 21 of the CPU 2 is transferred to the line width value measuring unit 24 of the CPU 2 (step S10).

【0042】CPU2の線幅値測定部24では、転送さ
れてきた文字「己」のアウトラインフォントデータか
ら、文字「己」の線幅値が測定される(ステップS1
1)。この線幅値の測定は、アウトラインフォントデー
タの輪郭点とその座標を用いて行われる。
The line width value measuring unit 24 of the CPU 2 measures the line width value of the character "self" from the transferred outline font data of the character "self" (step S1).
1). The measurement of the line width value is performed using the outline points of the outline font data and their coordinates.

【0043】例えば、文字「己」の縦線幅値を測定する
場合は、アウトラインフォントデータの輪郭線から、図
12に示すように、下向きに連続しX座標値が一致する
輪郭点番号2と輪郭点番号3のX座標値9500と、上
向きに連続しX座標値が一致する輪郭点番号12と輪郭
点番号13のX座標値8600との、X座標値の差L1
=900を縦線幅値とみなす。
For example, in the case of measuring the vertical line width value of the character "Ki", as shown in FIG. 12, the outline point number 2 and the outline point number 2 in which the X coordinate values match from the outline line of the outline font data. A difference L1 between the X coordinate values of the X coordinate value 9500 of the contour point number 3 and the X coordinate values 8600 of the contour point number 12 and the contour point number 13 which are continuous in the upward direction and have the same X coordinate value.
= 900 is regarded as the vertical line width value.

【0044】また、横線幅値を測定する場合は、図13
に示すように、右向きに連続しY座標値が一致する輪郭
点番号1と輪郭点番号2のY座標値9500と、左向き
に連続しY座標値が一致する輪郭点番号13と輪郭点番
号14のY座標値8720との、Y座標値の差L2=7
80を横線幅値とみなす。CPU2の線幅値測定部24
で測定された線幅値は、CPU2の線幅値比較部25に
転送される(ステップS12)。
When measuring the horizontal line width value, FIG.
As shown in, the Y coordinate values 9500 of the contour point number 1 and the contour point number 2 that continue to the right and have the same Y coordinate value, and the contour point number 13 and the contour point number 14 that continue to the left and have the same Y coordinate value. Difference between the Y coordinate value of 8720 and the Y coordinate value of L2 = 7
Consider 80 as the horizontal line width value. Line width value measuring unit 24 of CPU 2
The line width value measured in step S4 is transferred to the line width value comparison unit 25 of the CPU 2 (step S12).

【0045】次に、ステップS9で主メモリ5の演算線
幅値記憶部51に格納された、画数ランクに対応した縦
線幅値880と横線幅値800が、CPU2の線幅値比
較部25に転送される(ステップS13)。
Next, in step S9, the vertical line width value 880 and the horizontal line width value 800, which are stored in the calculated line width value storage unit 51 of the main memory 5 and correspond to the stroke number rank, are the line width value comparison unit 25 of the CPU 2. (Step S13).

【0046】CPU2の線幅値比較部25では、測定し
た線幅値と画数ランクに応じた線幅値とを縦線と横線毎
に比較する。すなわち、線幅値測定部24で測定された
縦線幅値900と、画数ランクに対応した縦線幅値88
0について比較を行い、また同様に、線幅値測定部24
で測定された横線幅値780と、画数ランクに対応した
横線幅値800について比較を行う(ステップS1
4)。
The line width value comparison unit 25 of the CPU 2 compares the measured line width value with the line width value according to the stroke number rank for each vertical line and horizontal line. That is, the vertical line width value 900 measured by the line width value measuring unit 24 and the vertical line width value 88 corresponding to the stroke rank
0 is compared, and similarly, the line width value measuring unit 24
The horizontal line width value 780 measured in step S1 and the horizontal line width value 800 corresponding to the stroke number rank are compared (step S1).
4).

【0047】ここで、測定された縦線幅値と横線幅値を
測定値「A」とし、画数ランクに対応した縦線幅値と横
線幅値をランク値「B」とすると、まず、A=Bである
か否かを比較する。縦線幅値と横線幅値がともにA=B
であれば、線幅値の変更は必要なしとし、CPU2の線
幅値測定部24のアウトラインフォントデータは、ビッ
トマップメモリ3へ転送される。
Here, assuming that the measured vertical line width value and horizontal line width value are measurement values "A" and the vertical line width value and horizontal line width value corresponding to the stroke number rank are rank values "B", first, A = B is compared. Vertical line width value and horizontal line width value are both A = B
If so, the line width value need not be changed, and the outline font data of the line width value measuring unit 24 of the CPU 2 is transferred to the bitmap memory 3.

【0048】しかし、縦線幅値と横線幅値のどちらかが
A≠Bであれば、測定値Aの変更を必要とする。文字
「己」の例であれば、縦線幅値については、A≠Bであ
る。すなわち、測定値Aが900、ランク値Bが880
であるため、A>Bとなり、900−880=20の縦
線幅値差となる。また、横線幅値についても、A≠Bで
ある。すなわち、測定値Aが780、ランク値Bが80
0であるため、A<Bとなり、780−800=−20
の横線幅値差となる。この縦線幅値差20と横線幅値差
−20は、CPU2の線幅値変更部26に転送される
(ステップS15)。
However, if either the vertical line width value or the horizontal line width value is A ≠ B, it is necessary to change the measured value A. In the example of the character “K”, the vertical line width value is A ≠ B. That is, the measured value A is 900 and the rank value B is 880.
Therefore, A> B, and the vertical line width value difference is 900-880 = 20. Also, the horizontal line width value is A ≠ B. That is, the measured value A is 780 and the rank value B is 80.
Since 0, A <B and 780−800 = −20
The horizontal line width value difference is. The vertical line width value difference 20 and the horizontal line width value difference −20 are transferred to the line width value changing unit 26 of the CPU 2 (step S15).

【0049】CPU2の線幅値変更部26では、文字
「己」のアウトラインフォントデータについて、CPU
2の線幅値比較部25で求めた縦線幅値差20と横線幅
値差−20に従って、縦線幅値と横線幅値の変更を行う
(ステップS16)。
In the line width value changing section 26 of the CPU 2, the outline font data of the character "Ki"
The vertical line width value and the horizontal line width value are changed according to the vertical line width value difference 20 and the horizontal line width value difference −20 obtained by the line width value comparison unit 25 of No. 2 (step S16).

【0050】縦線幅値変更の場合、まず、アウトライン
フォントデータの輪郭線で、下向きに連続しX座標値が
一致する2点を検出する。次に、上向きに連続しX座標
値が一致する2点を検出する。検出した輪郭点につい
て、下向きで検出された輪郭点は、線幅値差がマイナス
のときは右側に、プラスのときは左側にそれぞれ移動を
行うことによって、縦線幅値の変更を行う。また、上向
きで検出された輪郭点は、線幅値差がマイナスのときは
左側に、プラスのときは右側にそれぞれ移動を行うこと
によって、縦線幅値の変更を行う。
In the case of changing the vertical line width value, first, two points which are consecutive in the downward direction and have the same X coordinate value are detected in the outline of the outline font data. Next, two points which are continuous in the upward direction and have the same X coordinate value are detected. Regarding the detected contour points, the contour points detected downward are moved to the right side when the line width value difference is minus, and to the left side when the line width value difference is plus, thereby changing the vertical line width value. Further, the contour points detected in the upward direction are moved to the left side when the line width value difference is minus, and to the right side when the line width value difference is plus, thereby changing the vertical line width value.

【0051】このときの移動量は、左右の変位量がそれ
ぞれ縦線幅値差と横線幅値差となるようにする。例えば
文字「己」の縦線幅値の変更を行う場合は、文字「己」
のアウトラインフォントデータの輪郭線から、図14に
示すように、輪郭点番号2と輪郭点番号3、輪郭点番号
4と輪郭点番号5、輪郭点番号8と輪郭点番号9の、下
向きに連続しX座標値が一致する2点を検出する。検出
した輪郭点は、ここではX座標値について、左方向に縦
線幅値差20を2等分した値10だけ移動する。
The amount of movement at this time is such that the left and right displacement amounts are the vertical line width value difference and the horizontal line width value difference, respectively. For example, if you want to change the vertical line width value of the character "Ki",
As shown in FIG. 14, from the outline of the outline font data, the outline point number 2 and the outline point number 3, the outline point number 4 and the outline point number 5, the outline point number 8 and the outline point number 9 are continuous downward. Then, two points having the same X coordinate value are detected. The detected contour point moves to the left in the X coordinate value by a value 10 obtained by dividing the vertical line width value difference 20 into two equal parts.

【0052】移動後の文字「己」を図15に示す。輪郭
点番号2と輪郭点番号3は、移動前のX座標値が950
0で、9500−10=9490が移動後のX座標値と
なる。輪郭点番号4と輪郭点番号5は、移動前のX座標
値が1300で、1300−10=1290が移動後の
X座標値となる。輪郭点番号8と輪郭点番号9は、移動
前のX座標値が10000で、10000−10=99
90が移動後のX座標値となる。
The character "Ki" after the movement is shown in FIG. For the contour point number 2 and the contour point number 3, the X coordinate value before movement is 950.
At 0, 9500-10 = 9490 becomes the X coordinate value after movement. The contour point number 4 and the contour point number 5 have the X coordinate value before the movement of 1300, and 1300-10 = 1290 becomes the X coordinate value after the movement. The contour point number 8 and the contour point number 9 have an X coordinate value of 10000 before movement and 10000-10 = 99.
90 is the X coordinate value after movement.

【0053】次に、図16に示すように、輪郭点番号6
と輪郭点番号7、輪郭点番号10と輪郭点番号11、輪
郭点番号12と輪郭点番号13、輪郭点番号1と輪郭点
番号14の、上向きに連続しX座標値が一致する2点を
検出する。検出した輪郭点は、ここではX座標値につい
て、右方向に縦線幅値差20を2等分した値10だけ移
動する。
Next, as shown in FIG. 16, contour point number 6
And contour point number 7, contour point number 10 and contour point number 11, contour point number 12 and contour point number 13, contour point number 1 and contour point number 14, and two points where the X coordinate values are continuous in the upward direction. To detect. The detected contour point moves in the right direction by a value 10, which is obtained by dividing the vertical line width value difference 20 into two, with respect to the X coordinate value.

【0054】移動後の文字「己」を図17に示す。輪郭
点番号6と輪郭点番号7は、移動前のX座標値が910
0で、9100+10=9110が移動後のX座標値と
なる。輪郭点番号10と輪郭点番号13は、移動前のX
座標値が400で、400+10=410が移動後のX
座標値となる。輪郭点番号12と輪郭点番号13は、移
動前のX座標値が8600で、8600+10=861
0が移動後のX座標値となる。輪郭点番号1と輪郭点番
号4は、移動前のX座標値が0で、0+10=10が移
動後のX座標値となる。
The character "Ki" after the movement is shown in FIG. For the contour point number 6 and the contour point number 7, the X coordinate value before movement is 910.
At 0, 9100 + 10 = 9110 is the X coordinate value after movement. Contour point number 10 and contour point number 13 are X points before movement.
The coordinate value is 400, and 400 + 10 = 410 is the X after the movement.
It becomes a coordinate value. For the contour point number 12 and the contour point number 13, the X coordinate value before movement is 8600, and 8600 + 10 = 861.
0 is the X coordinate value after the movement. For the contour point number 1 and the contour point number 4, the X coordinate value before movement is 0, and 0 + 10 = 10 is the X coordinate value after movement.

【0055】また、横線幅値変更の場合、まずアウトラ
インフォントデータの輪郭線で、右向きに連続しX座標
値が一致する2点を検出する。次に、左向きに連続しX
座標値が一致する2点を検出する。検出した輪郭点につ
いて、右向きで検出された輪郭点は、線幅値差がマイナ
スのときは上向きに、プラスのときは下向きにそれぞれ
移動を行うことによって、横線幅値の変更を行う。ま
た、左向きで検出された輪郭点は、線幅値差がマイナス
のとき下向きに、プラスのときは上向きにそれぞれ移動
を行うことによって、横線幅値の変更を行う。
Further, in the case of changing the horizontal line width value, first, two points which are continuous rightward and have the same X coordinate value are detected in the outline of the outline font data. Next, X continuously to the left
Two points with the same coordinate value are detected. With respect to the detected contour points, the contour points detected in the right direction are moved upward when the line width value difference is negative and downward when the line width value difference is positive, thereby changing the horizontal line width value. Further, the contour point detected in the leftward direction is moved downward when the line width value difference is negative, and is moved upward when the line width value difference is positive, thereby changing the horizontal line width value.

【0056】例えば文字「己」の横線幅値の変更を行う
場合は、文字「己」のアウトラインフォントデータの輪
郭線から、図18に示すように、輪郭点番号1と輪郭点
番号2、輪郭点番号5と輪郭点番号6、輪郭点番号11
と輪郭点番号12の、右向きに連続しY座標値が一致す
る2点を検出する。
For example, when changing the horizontal line width value of the character "self", as shown in FIG. 18, from the outline of the outline font data of the character "self", contour point number 1 and contour point number 2, Point number 5, contour point number 6, contour point number 11
And the contour point number 12, which are continuous to the right and have the same Y coordinate value, are detected.

【0057】検出した輪郭点は、Y座標値について、こ
こでは横線幅値差は上方向に20を2等分した値10だ
け移動する。すると図19に示すように、輪郭点番号1
と輪郭点番号2は、移動前のY座標値が9500で、9
500+10=9510が移動後のY座標値となる。輪
郭点番号5と輪郭点番号6は、移動前のY座標値が12
80で、1280+10=1290が移動後のY座標値
となる。輪郭点番号11と輪郭点番号12は、移動前の
Y座標値が5680で、5680+10=5690が移
動後のY座標値となる。
The detected contour point moves about the Y coordinate value, in which the horizontal line width value difference moves upward by a value of 10 obtained by dividing 20 in half. Then, as shown in FIG. 19, contour point number 1
And contour point number 2, the Y coordinate value before movement is 9500,
500 + 10 = 9510 is the Y coordinate value after movement. For the contour point number 5 and the contour point number 6, the Y coordinate value before movement is 12
At 80, 1280 + 10 = 1290 becomes the Y coordinate value after movement. For the contour point number 11 and the contour point number 12, the Y coordinate value before movement is 5680, and 5680 + 10 = 5690 is the Y coordinate value after movement.

【0058】次に、図20に示すように、輪郭点番号3
と輪郭点番号4、輪郭点番号9と輪郭点番号10、輪郭
点番号13と輪郭点番号14の、左向きに連続しY座標
値が一致する2点を検出する。検出した輪郭点は、Y座
標値について、ここでは横線幅値差は−20でマイナス
のため、下方向に20を2等分した値10だけ移動す
る。
Next, as shown in FIG. 20, contour point number 3
The contour point number 4, the contour point number 9 and the contour point number 10, and the contour point number 13 and the contour point number 14 are detected to be two points that are continuous in the leftward direction and have the same Y coordinate value. Regarding the detected contour point, the horizontal line width difference between the Y coordinate values is −20, which is negative, so the contour point is moved downward by a value of 10 divided into two equal parts.

【0059】移動後の文字「己」を図21に示す。輪郭
点番号3と輪郭点番号4は、移動前のY座標値が490
0で、4900−10=4890が移動後のY座標値と
なる。輪郭点番号9と輪郭点番号10は、移動前のY座
標値が500で、500−10=490が移動後のY座
標値となる。輪郭点番号13と輪郭点番号14は、移動
前のY座標値が8720で、8720−10=8710
が移動後のY座標値となる。この結果、X座標値とY座
標値が移動し、図22に示すように、縦線幅値と横線幅
値が変更される。
FIG. 21 shows the character "Ki" after the movement. Contour point number 3 and contour point number 4 have a Y coordinate value of 490 before movement.
At 0, 4900-10 = 4890 becomes the Y coordinate value after movement. The contour point number 9 and the contour point number 10 have a Y coordinate value before movement of 500, and 500-10 = 490 is a Y coordinate value after movement. Regarding the contour point number 13 and the contour point number 14, the Y coordinate value before movement is 8720, and 8720-10 = 8710.
Is the Y coordinate value after movement. As a result, the X coordinate value and the Y coordinate value move, and the vertical line width value and the horizontal line width value are changed as shown in FIG.

【0060】その後、線幅値が変更された文字「己」の
アウトラインフォントデータはビットマップメモリ3に
転送され、ここまでで文字の作成処理が終了する(ステ
ップS17)。ビットマップメモリ3に転送された文字
「己」のアウトラインフォントデータは、ビットマップ
データに展開された後、プリンタ4で印刷される。
After that, the outline font data of the character "my" whose line width value has been changed is transferred to the bitmap memory 3, and the character creation processing is completed by this point (step S17). The outline font data of the character “I” transferred to the bitmap memory 3 is expanded into bitmap data and then printed by the printer 4.

【0061】このようにして、文字の画数によって文字
の線幅値を調整し、線幅値を変更することにより、画数
が多いことによる混んだ暗い文字の印象を緩和し、読み
やすい文字を作成することができる。
In this way, the line width value of a character is adjusted according to the number of strokes of the character, and the line width value is changed, thereby mitigating the impression of dark characters mixed with many strokes and creating a legible character. can do.

【0062】なお、本実施例では、文字の線幅値の変更
について説明したが、文字に限らず、記号、符号等の線
幅値の変更についても、もちろん本発明を適用すること
ができる。
In the present embodiment, the change of the line width value of the character has been described, but the present invention can be applied not only to the change of the character but also to the change of the line width value of a symbol, a code and the like.

【0063】[0063]

【発明の効果】この発明によれば、文字の線幅値を入力
するようにしたので、基本となる線幅値の文字から、太
い文字や細い文字を作成することができ、文字のファミ
リー化に対応することが可能となる。また、一書体中で
の、画数が多い文字と少ない文字との激しい印象の差を
緩和することができ、読みやすい文字や記号等のキャラ
クタを作成することができる。
According to the present invention, since the line width value of a character is input, it is possible to create a thick character or a thin character from a character having a basic line width value. It is possible to deal with. Further, it is possible to reduce the difference in the intense impression between a character having a large number of strokes and a character having a small number of strokes in one typeface, and it is possible to create characters such as easy-to-read characters and symbols.

【0064】文字の輪郭点の屈曲を単位として文字の画
数をカウントするようにした場合には、文字の線幅値を
決定する画数を独自の方法で自動的にカウントできるの
で、画数をカウントできる文字や記号であれば、日本語
のみならず様々な言語の文字にも対応することが可能と
なる。
When the number of strokes of a character is counted using the bending of the contour points of the character as a unit, the number of strokes for determining the line width value of the character can be automatically counted by a unique method, so that the number of strokes can be counted. As for characters and symbols, it is possible to support not only Japanese but also characters in various languages.

【0065】線幅調整値を書体毎に設定するようにした
場合には、書体ごとに異なる線幅調整値を適用できるの
で、各書体の持つイメージを損なうことなく、文字の線
幅値を変更することが可能となる。
When the line width adjustment value is set for each typeface, different linewidth adjustment values can be applied for each typeface, so the linewidth value of a character can be changed without damaging the image of each typeface. It becomes possible to do.

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

【図1】この発明の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of the present invention.

【図2】本発明を日本語ワードプロセッサに適用した一
実施例の構成を示すブロック図である。
FIG. 2 is a block diagram showing the configuration of an embodiment in which the present invention is applied to a Japanese word processor.

【図3】実施例における主メモリの記憶内容の一例を示
す説明図である。
FIG. 3 is an explanatory diagram showing an example of stored contents of a main memory in the embodiment.

【図4】実施例における補助メモリの記憶内容の一例を
示す説明図である。
FIG. 4 is an explanatory diagram showing an example of stored contents of an auxiliary memory according to an embodiment.

【図5】実施例におけるアウトラインフォントデータ記
憶部の記憶内容の一例を示す説明図である。
FIG. 5 is an explanatory diagram showing an example of stored contents of an outline font data storage unit in the embodiment.

【図6】実施例における画数ランクテーブル格納部の記
憶内容の一例を示す説明図である。
FIG. 6 is an explanatory diagram showing an example of stored contents of a stroke number rank table storage unit in the embodiment.

【図7】実施例における線幅値テーブル格納部の記憶内
容の一例を示す説明図である。
FIG. 7 is an explanatory diagram showing an example of stored contents of a line width value table storage unit in the embodiment.

【図8】実施例における線幅値テーブル格納部の記憶内
容の一例を示す説明図である。
FIG. 8 is an explanatory diagram showing an example of stored contents of a line width value table storage unit in the embodiment.

【図9】実施例の動作を示すフローチャートである。FIG. 9 is a flowchart showing the operation of the embodiment.

【図10】画数のカウント方法を示す説明図である。FIG. 10 is an explanatory diagram showing a method of counting the number of strokes.

【図11】実施例における画数のカウント例を示す説明
図である。
FIG. 11 is an explanatory diagram showing an example of counting the number of strokes in the embodiment.

【図12】実施例における文字「己」の縦線幅値を測定
する場合の例を示す説明図である。
FIG. 12 is an explanatory diagram showing an example of measuring a vertical line width value of a character “K” in the embodiment.

【図13】実施例における文字「己」の横線幅値を測定
する場合の例を示す説明図である。
FIG. 13 is an explanatory diagram showing an example of measuring a horizontal line width value of a character “K” in the example.

【図14】実施例における文字「己」の縦線幅値の変更
を行う場合の変更前の例を示す説明図である。
FIG. 14 is an explanatory diagram showing an example before changing when changing the vertical line width value of the character “K” in the embodiment.

【図15】実施例における文字「己」の縦線幅値の変更
を行う場合の変更後の例を示す説明図である。
FIG. 15 is an explanatory diagram showing an example of a case where the vertical line width value of the character “K” is changed in the embodiment after the change.

【図16】実施例における文字「己」の縦線幅値の変更
を行う場合の変更前の例を示す説明図である。
FIG. 16 is an explanatory diagram showing an example before change when changing the vertical line width value of the character “K” in the embodiment.

【図17】実施例における文字「己」の縦線幅値の変更
を行う場合の変更後の例を示す説明図である。
FIG. 17 is an explanatory diagram showing an example of a case where the vertical line width value of the character “self” is changed in the embodiment after the change.

【図18】実施例における文字「己」の横線幅値の変更
を行う場合の変更前の例を示す説明図である。
FIG. 18 is an explanatory diagram showing an example before change when changing the horizontal line width value of the character “self” in the example.

【図19】実施例における文字「己」の横線幅値の変更
を行う場合の変更後の例を示す説明図である。
FIG. 19 is an explanatory diagram showing an example of a case where the horizontal line width value of the character “K” is changed in the example after the change.

【図20】実施例における文字「己」の横線幅値の変更
を行う場合の変更前の例を示す説明図である。
FIG. 20 is an explanatory diagram showing an example before change when changing the horizontal line width value of the character “self” in the embodiment.

【図21】実施例における文字「己」の横線幅値の変更
を行う場合の変更後の例を示す説明図である。
FIG. 21 is an explanatory diagram showing an example of a case where the horizontal line width value of the character “K” is changed in the example after the change.

【図22】実施例における文字「己」の縦線幅値と横線
幅値の変更後の例を示す説明図である。
FIG. 22 is an explanatory diagram showing an example after changing the vertical line width value and the horizontal line width value of the character “K” in the example.

【図23】従来の文書処理装置における線幅テーブルの
例を示す説明図である。
FIG. 23 is an explanatory diagram showing an example of a line width table in a conventional document processing device.

【図24】従来の文字の線幅を比較する説明図である。FIG. 24 is an explanatory diagram comparing conventional line widths of characters.

【図25】従来の文字の線幅を比較する説明図である。FIG. 25 is an explanatory diagram comparing conventional line widths of characters.

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

1 キーボード 2 CPU 3 ビットマップメモリ 4 プリンタ 5 主メモリ 6 補助メモリ 21 データ読み出し部 22 画数カウント部 23 線幅値演算部 24 線幅値測定部 25 線幅値比較部 26 線幅値変更部 51 演算線幅値記憶部 61 アウトラインフォントデータ記憶部 62 画数ランクテーブル格納部 63 画数ランクに対応した線幅値テーブル格納部 DESCRIPTION OF SYMBOLS 1 keyboard 2 CPU 3 bitmap memory 4 printer 5 main memory 6 auxiliary memory 21 data reading unit 22 stroke number counting unit 23 line width value calculating unit 24 line width value measuring unit 25 line width value comparing unit 26 line width value changing unit 51 calculation Line width value storage unit 61 Outline font data storage unit 62 Stroke number rank table storage unit 63 Stroke number table storage unit corresponding to stroke number rank

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 文字と文字の線幅値を入力する入力手段
と、 文字の輪郭情報を記憶した輪郭情報記憶手段と、 入力手段から入力された文字に対応する輪郭情報を輪郭
情報記憶手段から読み出す輪郭情報読み出し手段と、 読み出された輪郭情報から文字の画数をカウントする画
数カウント手段と、 入力された文字の線幅値をカウントされた画数に応じて
調整する線幅値調整手段と、 線幅値調整手段によって調整された文字の線幅値を参照
することにより輪郭情報記憶手段から読み出された輪郭
情報における文字の線幅値を変更する線幅値変更手段
と、 変更された線幅値から文字のフォントパターンを生成す
る生成手段と、 生成された文字のフォントパターンを出力する出力手段
を備えてなる文書処理装置。
1. Input means for inputting characters and line width values of characters, contour information storage means for storing contour information of characters, and contour information corresponding to characters input from the input means from contour information storage means. Contour information reading means for reading, stroke number counting means for counting the number of strokes of the character from the read contour information, line width value adjusting means for adjusting the line width value of the input character according to the counted stroke number, Line width value changing means for changing the line width value of the character in the contour information read from the contour information storage means by referring to the line width value of the character adjusted by the line width value adjusting means, and the changed line A document processing apparatus comprising: a generation unit that generates a character font pattern from a width value; and an output unit that outputs the generated character font pattern.
【請求項2】 文字の種類と書体の種類と文字の線幅値
とを入力する入力手段と、 書体に応じた文字の輪郭情報を記憶した輪郭情報記憶手
段と、 文字の画数をランク付けした画数ランクを記憶した画数
ランク記憶手段と、 画数ランクに応じて文字の線幅を調整するための線幅調
整値を記憶した線幅調整値記憶手段と、 入力手段から入力された文字の種類と書体の種類に対応
する輪郭情報を輪郭情報記憶手段から読み出す輪郭情報
読み出し手段と、 読み出された輪郭情報から文字の画数をカウントする画
数カウント手段と、 カウントされた画数に応じた画数ランクを画数ランク記
憶手段から読み出す画数ランク読み出し手段と、 読み出された画数ランクに応じた文字の線幅調整値を線
幅調整値記憶手段から読み出す線幅調整値読み出し手段
と、 読み出された線幅調整値を用いて入力された文字の線幅
値から画数ランクに応じた線幅を演算する線幅演算手段
と、 輪郭情報読み出し手段によって読み出された輪郭情報か
ら文字の線幅を測定する線幅測定手段と、 線幅測定手段で測定された線幅値を、線幅演算手段で演
算された線幅値に応じて変更する線幅値変更手段と、 変更された線幅値から文字のフォントパターンを生成す
る生成手段と、 生成された文字のフォントパターンを出力する出力手段
を備えてなる文書処理装置。
2. The input means for inputting the type of character, the type of font and the line width value of the character, the contour information storage means for storing the contour information of the character according to the typeface, and the number of strokes of the character are ranked. The stroke number storage means for storing the stroke number rank, the line width adjustment value storage means for storing the line width adjustment value for adjusting the line width of the character according to the stroke number rank, and the type of the character input from the input means Contour information reading means for reading contour information corresponding to the type of typeface from the contour information storage means, stroke number counting means for counting the stroke number of characters from the read contour information, and stroke number rank according to the counted stroke number A stroke number rank reading means for reading from the rank storage means, and a line width adjustment value reading means for reading a line width adjustment value of a character according to the read stroke number rank from the line width adjustment value storage means. , A line width calculating means for calculating a line width according to the stroke number rank from the line width value of the character input using the read line width adjustment value, and a character from the contour information read by the contour information reading means. The line width measuring means for measuring the line width of the line width changing means for changing the line width value measured by the line width measuring means in accordance with the line width value calculated by the line width calculating means. A document processing apparatus comprising: a generation unit that generates a character font pattern from the line width value and an output unit that outputs the generated character font pattern.
【請求項3】 前記画数カウント手段が、文字の輪郭点
の屈曲を単位として文字の画数をカウントすることを特
徴とする請求項1又は2記載の文書処理装置。
3. The document processing apparatus according to claim 1, wherein the stroke count counting means counts the stroke count of a character in units of a bend of a contour point of the character.
【請求項4】 前記線幅調整値記憶手段に記憶された線
幅調整値が、書体毎に設定された線幅調整値からなるこ
とを特徴とする請求項2記載の文書処理装置。
4. The document processing apparatus according to claim 2, wherein the line width adjustment value stored in the line width adjustment value storage means is a line width adjustment value set for each typeface.
JP8120018A 1996-05-15 1996-05-15 Document processor Pending JPH09305159A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8120018A JPH09305159A (en) 1996-05-15 1996-05-15 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8120018A JPH09305159A (en) 1996-05-15 1996-05-15 Document processor

Publications (1)

Publication Number Publication Date
JPH09305159A true JPH09305159A (en) 1997-11-28

Family

ID=14775877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8120018A Pending JPH09305159A (en) 1996-05-15 1996-05-15 Document processor

Country Status (1)

Country Link
JP (1) JPH09305159A (en)

Similar Documents

Publication Publication Date Title
JP2836086B2 (en) Character pattern data generator
JPS6215904B2 (en)
JPH07149005A (en) Document forming apparatus
JP2909273B2 (en) Outline font line width adjusting method and apparatus
JP3037854B2 (en) Character generation method and device
JPS6248581A (en) Format setting device
JPH09305159A (en) Document processor
JPH0452475B2 (en)
JP2004118465A (en) Document printing system and method
JPS6356693A (en) Character dot conversion system
JPH01229649A (en) Printing method using vector font data
JPH0216068A (en) Image forming device
JP3072756B2 (en) Drawing equipment
JP3101402B2 (en) Document editing method and document editing device
JPH05101058A (en) Word processor
JPH0330049A (en) Document generation device
JPH08101675A (en) Font developing device
JPS63220291A (en) Document generator
JPS62286160A (en) Word processor
JPH02133863A (en) Document layout processor
JPH04127270A (en) Document processor
JPH0224166A (en) Printing system for brush writing character
JPH08194696A (en) Document image processor
JPH06243127A (en) Document layout device
JP2569489C (en)