JPH06274151A - Hinting processing method - Google Patents

Hinting processing method

Info

Publication number
JPH06274151A
JPH06274151A JP5198573A JP19857393A JPH06274151A JP H06274151 A JPH06274151 A JP H06274151A JP 5198573 A JP5198573 A JP 5198573A JP 19857393 A JP19857393 A JP 19857393A JP H06274151 A JPH06274151 A JP H06274151A
Authority
JP
Japan
Prior art keywords
hinting
outline
symmetry
contour
control point
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
JP5198573A
Other languages
Japanese (ja)
Inventor
Minoru Sakai
稔 境井
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 JP5198573A priority Critical patent/JPH06274151A/en
Publication of JPH06274151A publication Critical patent/JPH06274151A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily enlarge or reduce an outline font while holding its symmetry by moving the outline points which constitutes the outline font so that a control point after the enlargement or reduction moves to a specific position. CONSTITUTION:Outline data are read out of a font file 1 and a control point is inputted from a control point information input part 6 and added to the outline font. The control point is, for example, the intersection of the axis of vertical symmetry and the axis of horizontal symmetry of a figure which is vertically and horizontally symmetrical. Then the control point is moved to the center or border of a pixel after enlargement or reduction and all the outline points constituting the outline font are moved according to the quantity of the movement to generate bit map data 5. Consequently, the symmetry of the outline font is maintained.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、対称図形、特に線対
称、点対称の図形のヒンティング処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a hinting method for symmetrical figures, especially line-symmetrical and point-symmetrical figures.

【0002】[0002]

【従来の技術】図15は、従来のアウトラインフォント
の処理構成図である。フォントファイル1から読み込ま
れたアウトラインデータは、展開部2において輪郭線と
して展開され、必要に応じて変倍され、ヒンティング処
理部3では、ヒンティング情報に従ってアウトラインデ
ータに対して線幅補正などのヒンティングを施し、ラス
タライザ4で塗りつぶし処理が行われて輪郭内をビット
マップデータ5に展開する。
2. Description of the Related Art FIG. 15 is a processing configuration diagram of a conventional outline font. The outline data read from the font file 1 is expanded as a contour line in the expansion unit 2 and scaled as needed, and the hinting processing unit 3 performs line width correction or the like on the outline data according to the hinting information. Hinting is applied, and the rasterizer 4 performs a filling process to expand the contour into bitmap data 5.

【0003】なお、上記した技術については、NIKK
EI BYTE/JUNE1992pp158−165
(文献1),同FEBRUARY 1992 pp11
2−123(文献2)において詳細に説明されている。
Regarding the above-mentioned technology, NIKK
EI BYTE / JUNE 1992pp158-165
(Reference 1), same FEBRRUARY 1992 pp11
2-123 (reference 2).

【0004】以下の説明においては、ピクセルは格子点
を左下隅とする単位正方形であるものとし、従って、ピ
クセルの中心は、 (m+0.5 ,n+0.5) ただし、m,nは整数 にある。もちろん格子点をピクセル中心と仮定してもよ
い。
In the following description, it is assumed that the pixel is a unit square with the grid point at the lower left corner, and therefore the center of the pixel is (m + 0.5, n + 0.5), where m and n are integers. . Of course, the grid point may be assumed to be the pixel center.

【0005】256×256ピクセルの空間でデザイン
された文字“H”を、16×16ピクセルに縮小する例
を用いて、従来技術の問題点を説明する。フォントファ
イル1から読み込まれたアウトラインデータは、図16
に示すように輪郭線としてメモリ上に展開される。この
アウトラインデータを16×16ピクセルに縮小する
と、図17のデータが得られる。
The problem of the prior art will be described using an example in which a character "H" designed in a space of 256 × 256 pixels is reduced to 16 × 16 pixels. The outline data read from the font file 1 is shown in FIG.
It is developed on the memory as a contour line as shown in. When the outline data is reduced to 16 × 16 pixels, the data shown in FIG. 17 is obtained.

【0006】ここで、塗りつぶし処理のために、例えば
輪郭線の上または内部にピクセル中心のあるピクセルが
反転するという、塗りつぶし規則を採用すると、左側の
縦ステムは2ピクセルになり、右側の縦ステムは1ピク
セルになってしまう。
Here, if a filling rule is adopted for the filling processing, that is, a pixel having a pixel center on or inside a contour line is inverted, the left vertical stem becomes 2 pixels and the right vertical stem. Becomes 1 pixel.

【0007】また、各点のx,y座標を四捨五入する
と、図18が得られ、この場合でも縦ステムの太さが違
ってしまう。一方、四捨五入ではなく、切り上げや切り
捨てを用いると、右側のステムが太くなり、左側のステ
ムが細くなってしまう。このような線幅がバラついたり
する問題点については、前掲した文献1の163ページ
においても指摘されている。これを解決する手法がヒン
ティングと呼ばれる技術であり、例えば、特開平3−1
61793号公報、同3−163596、同3−225
394に記載されている。
Further, when the x and y coordinates of each point are rounded off, FIG. 18 is obtained, and in this case as well, the thickness of the vertical stem is different. On the other hand, when rounding up or down is used instead of rounding, the stem on the right side becomes thicker and the stem on the left side becomes thinner. Such a problem that the line width varies is also pointed out on page 163 of the above-mentioned document 1. A technique for solving this is a technique called hinting. For example, Japanese Patent Laid-Open No. 3-1
61793 gazette, the same 3-163596, the same 3-225.
394.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上記し
た公報に記載の技術は何れも直線部分の線幅を補正する
ためのものであり、図形の対称性を考慮したものではな
い。すなわち、図11は、入力された輪郭線データ(円
図形)の例を示す。このような“円”を変倍すると、そ
の輪郭線とドットとの位置関係によって、図12に示す
ようなビットマップデータ(ハッチングされた各桝目が
1ドットの画素)を生成する。入力された図形が対称図
形であったにも係らず、出力された図形は非対称となっ
ている。
However, all of the techniques described in the above publications are for correcting the line width of the straight line portion, and do not consider the symmetry of the figure. That is, FIG. 11 shows an example of the input contour line data (circular figure). When such a "circle" is scaled, bitmap data (pixels in which each hatched square is one dot) as shown in FIG. 12 is generated according to the positional relationship between the contour line and the dots. The output graphic is asymmetric even though the input graphic is symmetrical.

【0009】図13は、2つの入力図形(不等号)の例
を示す。図14は、これら2つの入力図形を変倍した図
である。左右の図形はそれぞれ対称性を保持している
が、対になる2つの図形を並べると対称性が損なわれて
いて、ヒンティングが失敗してしまう。
FIG. 13 shows an example of two input figures (inequality signs). FIG. 14 is a diagram in which these two input figures are scaled. The left and right figures retain their symmetry, but if two figures that form a pair are arranged side by side, the symmetry is lost and hinting fails.

【0010】本発明の目的は、アウトラインフォントの
対称性を保持しつつ変倍するヒンティング処理方法を提
供することにある。
An object of the present invention is to provide a hinting processing method for performing scaling while maintaining the symmetry of outline fonts.

【0011】本発明の他の目的は、対称図形のヒンティ
ング処理に際して、従来のヒンティング処理方法との前
後関係を配慮することなく任意の順番で処理を行うこと
により、対称図形を美しくヒンティングする方法を提供
することにある。
Another object of the present invention is to beautifully hint a symmetrical graphic by performing the hinting processing on the symmetrical graphic in any order without considering the context of the conventional hinting processing method. To provide a way to do.

【0012】[0012]

【課題を解決するための手段】前記目的を達成するため
に、請求項1記載の発明では、アウトラインフォントデ
ータをメモリ上に展開し、ヒンティング情報に従って輪
郭線を補正し、輪郭線内を塗りつぶすことによりビット
マップデータを生成するヒンティング処理方法におい
て、前記アウトラインフォントデータには制御点情報が
含まれ、変倍後の該制御点が所定位置に移動するように
アウトラインを構成する輪郭点を移動し、対称性の保持
されたビットマップデータを生成することを特徴として
いる。
In order to achieve the above object, the invention according to claim 1 develops outline font data on a memory, corrects a contour line according to hinting information, and fills the inside of the contour line. In the hinting processing method for generating bitmap data, the outline font data includes control point information, and the outline points forming the outline are moved so that the scaled control points move to a predetermined position. However, it is characterized in that bit map data having symmetry is generated.

【0013】請求項2記載の発明では、前記所定位置
は、ピクセルの中心またはピクセルの境界であることを
特徴としている。
According to a second aspect of the invention, the predetermined position is the center of the pixel or the boundary of the pixel.

【0014】請求項3記載の発明では、前記制御点は、
文字毎にあるいは文字を構成する要素毎に設定されるこ
とを特徴としている。
According to another aspect of the invention, the control point is
It is characterized in that it is set for each character or for each element that constitutes the character.

【0015】請求項4記載の発明では、前記制御点は、
輪郭線毎に設定されることを特徴としている。
In the invention according to claim 4, the control point is
It is characterized in that it is set for each contour line.

【0016】請求項5記載の発明では、前記輪郭点の移
動後に、該輪郭点に所定のヒンティング処理を施し、対
称性の保持されたビットマップデータを生成することを
特徴としている。
According to a fifth aspect of the present invention, after the contour point is moved, a predetermined hinting process is applied to the contour point to generate symmetric bit map data.

【0017】請求項6記載の発明では、前記輪郭点の移
動前および移動後に、該輪郭点に所定のヒンティング処
理を施し、対称性の保持されたビットマップデータを生
成することを特徴としている。
The invention according to claim 6 is characterized in that the contour point is subjected to a predetermined hinting process before and after the movement of the contour point to generate bit map data having symmetry. .

【0018】請求項7記載の発明では、前記輪郭点の移
動前に、該輪郭点に所定のヒンティング処理を施し、対
称性の保持されたビットマップデータを生成することを
特徴としている。
According to a seventh aspect of the present invention, before the movement of the contour point, a predetermined hinting process is applied to the contour point to generate bitmap data in which symmetry is maintained.

【0019】[0019]

【作用】アウトラインデータに対して制御点を与える。
この制御点としては、例えば上下左右が対称である図形
の上下対称の軸と左右対称の軸との交点が制御点とな
る。変倍後、制御点をピクセル中心またはピクセル境界
に移動し、この移動量に合わせてアウトラインフォント
を構成する全ての輪郭点を移動することにより、ビット
マップデータが生成される。これにより、アウトライン
フォントの対称性が保持される。
[Operation] A control point is given to outline data.
As this control point, for example, the intersection of the vertically symmetrical axis and the horizontally symmetrical axis of a figure that is vertically and horizontally symmetrical is the control point. After scaling, the control point is moved to the pixel center or the pixel boundary, and all the contour points that form the outline font are moved according to this movement amount, whereby bitmap data is generated. This preserves the symmetry of the outline font.

【0020】[0020]

【実施例】以下、本発明の一実施例を図面を用いて具体
的に説明する。図1は、本発明の実施例のブロック構成
図である。図1において、フォントファイル1、展開部
2、ヒンティング処理部3、ラスタライザ4、ビットマ
ップデータ5は前述した従来のものと同様であり、本発
明では、制御点情報入力部6が新たに設けられている。
フォントファイル1からアウトラインデータが読み込ま
れると共に、制御点情報入力部6から制御点が展開部2
に入力されて、アウトラインデータに制御点が付加され
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be specifically described below with reference to the drawings. FIG. 1 is a block diagram of an embodiment of the present invention. In FIG. 1, the font file 1, the expansion unit 2, the hinting processing unit 3, the rasterizer 4, and the bitmap data 5 are the same as those of the conventional one described above, and in the present invention, a control point information input unit 6 is newly provided. Has been.
The outline data is read from the font file 1, and the control points are expanded from the control point information input unit 6 to the expansion unit 2.
And the control points are added to the outline data.

【0021】図2は、アウトラインデータに制御点Pが
付加された図形の例を示す。このような制御点として
は、上下左右が対称である図形の上下対称の軸と左右対
称の軸との交点を制御点とする。あるいは、点対称図形
の対称の中心を制御点とする。
FIG. 2 shows an example of a figure in which control points P are added to outline data. As such a control point, an intersection of a vertically symmetrical axis and a horizontally symmetrical axis of a figure which is vertically and horizontally symmetrical is used as the control point. Alternatively, the center of symmetry of the point symmetric figure is used as the control point.

【0022】なお、図2の図形は、n個の輪郭点(0〜
n−1)で構成されているものとする。図3は、図2を
変倍した例を示す。図4は、展開部2における輪郭点を
移動する処理フローチャートである。
The figure shown in FIG. 2 has n contour points (0 to 0).
n-1). FIG. 3 shows an example in which FIG. 2 is scaled. FIG. 4 is a processing flowchart for moving the contour points in the expansion unit 2.

【0023】図4を参照して本実施例を説明すると、変
倍後に、制御点Pのx座標(Px)を丸めたものをX’
とし、制御点Pのy座標(Py)を丸めたものをY’と
する(ステップ101)。制御点Pのx座標(Px)と
X’との差をDxとし、制御点Pのy座標(Py)と
Y’との差をDyとする(ステップ102)。制御点P
のPxをX’に移動し、制御点PのPyをY’に移動す
る(ステップ103)。nを0にして(ステップ10
4)、輪郭点nのx座標(nx)からDxを引き、輪郭
点nのy座標(ny)からDyを引く(ステップ10
5)。nを1増やし(ステップ106)、nが輪郭点の
総数になったら処理を終了し、そうでなければステップ
105に戻る(ステップ107)。
This embodiment will be described with reference to FIG. 4. After scaling, the x-coordinate (Px) of the control point P is rounded to obtain X '.
Then, the y-coordinate (Py) of the control point P is rounded to Y '(step 101). The difference between the x coordinate (Px) of the control point P and X ′ is Dx, and the difference between the y coordinate (Py) of the control point P and Y ′ is Dy (step 102). Control point P
Of the control point P is moved to Y '(step 103). n is set to 0 (step 10
4) Subtract Dx from the x coordinate (nx) of the contour point n and subtract Dy from the y coordinate (ny) of the contour point n (step 10).
5). The number n is incremented by 1 (step 106), the process ends when n reaches the total number of contour points, and otherwise returns to step 105 (step 107).

【0024】ここで、丸め処理とは、制御点Pがピクセ
ルの中心またはピクセルの境界などの特定の基準位置に
なるように移動する処理の他に、四捨五入や切り捨て、
切り上げなど状況に合ったものを選択すればよい。ま
た、この実施例では、文字の輪郭点全てを同量シフトす
る例を示したが、これに限定されるのものではなく、例
えば、そのずれを全体に比例配分してもよい。つまり、
文字の形状を大きく崩すことなく、その基準位置を調整
すればよい。
Here, the rounding process includes a process of moving the control point P to a specific reference position such as a pixel center or a pixel boundary, as well as rounding and truncation.
You can select the one that fits your situation, such as rounding up. Further, in this embodiment, an example in which all the contour points of a character are shifted by the same amount has been shown, but the present invention is not limited to this, and for example, the deviation may be proportionally distributed to the whole. That is,
It suffices to adjust the reference position of the character without greatly disturbing its shape.

【0025】図5は、輪郭点移動後にヒンティングされ
た図形を示す。この図形は、図5から明らかなように、
その対称性が保持されている。
FIG. 5 shows a figure hinted after moving the contour points. This figure is, as is clear from FIG.
Its symmetry is retained.

【0026】図6は、例えば記号“≦”のように、上半
分の不等号記号と、下半分の等号記号とを別々に処理す
る場合の処理フローチャートである。pを0にして(ス
テップ201)、pが文字の構成要素数(記号“≦”
は、不等号記号と等号記号からなるので、その構成要素
数は2となる)より大きければ処理を終了し、そうでな
ければ以下のステップを実行する(ステップ202)。
第p番目の要素について、前述した図4の処理を行う
(ステップ203)。pを1増やし(ステップ20
4)、ステップ202に戻る。
FIG. 6 is a processing flow chart when the upper half of the inequality sign and the lower half of the equal sign are processed separately, for example, the sign ".ltoreq.". p is set to 0 (step 201), and p is the number of constituent elements of the character (symbol “≦”).
Is composed of an inequality sign and an equal sign, the number of constituent elements is 2.), the processing is ended, and otherwise, the following steps are executed (step 202).
The above-described processing of FIG. 4 is performed on the p-th element (step 203). Increase p by 1 (Step 20
4) and returns to step 202.

【0027】本発明は、上記した実施例の他に例えば、
“..”のように、複数の輪郭線(各“.”が1つの輪
郭線からなる)がそれぞれの要素を構成する図形にも適
用することができる。この場合の処理フローチャート
は、図6に示したものとほぼ同様であり、構成要素を輪
郭線に置き換えたものとなる。更に、例えば“...”
や、“∴”のように、文字全体としての対称性と、各部
分毎の対称性とを同時に満たす必要のある図形にも適用
することができる。
The present invention is, for example, in addition to the above embodiment,
It can also be applied to a figure in which a plurality of contour lines (each "." Is composed of one contour line) constitutes each element, such as "..". The processing flowchart in this case is almost the same as that shown in FIG. 6, and the constituent elements are replaced with contour lines. Furthermore, for example, "..."
Alternatively, it can be applied to a figure such as “∴” that needs to satisfy both the symmetry of the entire character and the symmetry of each part at the same time.

【0028】なお、制御点としては上記した実施例の他
に、例えば、図7の点p1,p2のように、上下対称図
形の対称軸上の特定の点を制御点にすることも可能であ
る。図7の図形は、図8に示すように、左右の図形の対
称性が保持されてヒンティングされる。さらに、本実施
例では上記したものの他に、文字の構成要素や輪郭線毎
に、それが線対称図形であればその対称軸上の1点を、
その制御点とすることができ、また点対称図形であれ
ば、その対称中心をその制御点とすることもできる。
In addition to the above-described embodiment, the control point may be a specific point on the axis of symmetry of the vertically symmetrical figure, such as points p1 and p2 in FIG. is there. As shown in FIG. 8, the figure of FIG. 7 is hinted while the symmetry of the left and right figures is maintained. Further, in the present embodiment, in addition to the above-mentioned one, if it is a line symmetric figure, one point on the axis of symmetry for each constituent element or contour line of the character,
The control point can be used, and in the case of a point symmetric figure, the center of symmetry can be used as the control point.

【0029】上記した実施例では、従来のヒンティング
を行う前に対称図形を適切な位置に移動し、その後、従
来のヒンティング処理を行うことにより対称図形を美し
くヒンティングしている。しかし、上記した対称図形の
移動は、従来のヒンティング前にのみ限定されるもので
はなく、従来のヒンティングの後であっても、その途中
であってもよい。
In the above-described embodiment, the symmetrical figure is moved to an appropriate position before the conventional hinting is performed, and then the conventional hinting process is performed to beautifully hint the symmetrical figure. However, the above-described movement of the symmetric figure is not limited to before the conventional hinting, and may be after the conventional hinting or during the hinting.

【0030】すなわち、図9は、他の実施例の一部構成
を示し、まず、ヒンティング処理部31において従来の
ヒンティング処理を施して輪郭線を整形した後、前述し
た展開部21で輪郭点を適切な位置に移動する。
That is, FIG. 9 shows a part of the configuration of another embodiment. First, the hinting processing section 31 performs a conventional hinting process to shape the contour line, and then the decompression section 21 performs the contouring. Move the point to the proper position.

【0031】図10は、更に他の実施例の一部構成を示
し、まず、第1のヒンティング処理部32において従来
のヒンティング処理の一部、例えば内部データの初期
化、線幅を揃える処理などを行った後、前述した展開部
22において輪郭点を適切な位置に移動処理し、最後に
従来のヒンティング処理の手順の内、まだ行っていない
部分(例えば、弧の幅、余白の幅などを揃える処理)を
第2のヒンティング処理部33で実行する。
FIG. 10 shows a partial configuration of still another embodiment. First, in the first hinting processing section 32, a part of the conventional hinting processing, for example, initialization of internal data and line width matching are performed. After performing the processing, the contour point is moved to an appropriate position in the expansion unit 22 described above, and finally, in the conventional hinting procedure, a portion that has not been performed (for example, the width of the arc, the margin The second hinting processing unit 33 executes a process of aligning the width).

【0032】[0032]

【発明の効果】以上、説明したように、請求項1、2記
載の発明によれば、変倍後の制御点が所定位置に移動す
るようにアウトラインを構成する輪郭点を移動している
ので、アウトラインフォントの対称性を保持しつつ容易
に変倍することができる。
As described above, according to the first and second aspects of the present invention, the outline points forming the outline are moved so that the control points after scaling move to a predetermined position. , It is possible to easily scale while maintaining the symmetry of the outline font.

【0033】請求項3、4記載の発明によれば、文字全
体、文字の構成要素、輪郭線毎に制御点を設定している
ので、アウトラインフォントを構成する要素のそれぞれ
について容易に対称性を保持したまま変倍することがで
きる。
According to the third and fourth aspects of the present invention, the control points are set for the entire character, the constituent elements of the character, and the contour line, so that the symmetry can be easily established for each of the elements that make up the outline font. You can change the magnification while holding it.

【0034】請求項5、6、7記載の発明によれば、従
来から行われていたヒンティング処理との処理手順の競
合関係を配慮することなく、対称図形を美しくヒンティ
ングすることができる。
According to the fifth, sixth and seventh aspects of the present invention, the symmetrical pattern can be beautifully hinted without considering the competitive relationship of the processing procedure with the conventional hinting processing.

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

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

【図2】制御点が付加された図形の例を示す。FIG. 2 shows an example of a graphic to which control points are added.

【図3】図2を変倍した例を示す。FIG. 3 shows an example of scaling of FIG.

【図4】本実施例の輪郭点を移動する処理フローチャー
トである。
FIG. 4 is a processing flowchart for moving a contour point according to the present embodiment.

【図5】輪郭点移動後にヒンティングされた図形を示
す。
FIG. 5 shows a figure hinted after moving a contour point.

【図6】他の実施例の輪郭点を移動する処理フローチャ
ートである。
FIG. 6 is a processing flowchart for moving a contour point according to another embodiment.

【図7】制御点が設定された不等号記号の図である。FIG. 7 is a diagram of an inequality sign with control points set.

【図8】ヒンティングされた図形(不等号記号)を示
す。
FIG. 8 shows a hinted graphic (inequality sign).

【図9】本発明の他の実施例の一部構成を示す。FIG. 9 shows a partial configuration of another embodiment of the present invention.

【図10】本発明の更に他の実施例の一部構成を示す。FIG. 10 shows a partial configuration of still another embodiment of the present invention.

【図11】入力された輪郭線データ(円図形)の例を示
す。
FIG. 11 shows an example of input contour line data (circular figure).

【図12】ヒンティングが失敗した円図形の例を示す。FIG. 12 shows an example of a circular figure for which hinting has failed.

【図13】入力された図形(不等号記号)の例を示す。FIG. 13 shows an example of an input graphic (inequality sign).

【図14】ヒンティングが失敗した図形(不等号記号)
の例を示す。
FIG. 14: Graphic that hinting failed (inequality sign)
For example:

【図15】従来のアウトラインフォントの処理構成図で
ある。
FIG. 15 is a processing configuration diagram of a conventional outline font.

【図16】展開されたアウトラインデータである。FIG. 16 is expanded outline data.

【図17】変倍されたアウトラインデータである。FIG. 17 is scaled outline data.

【図18】四捨五入されたアウトラインデータである。FIG. 18 is rounded-out outline data.

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

1 フォントファイル 2 展開部 3 ヒンティング処理部 4 ラスタライザ 5 ビットマップデータ 6 制御点情報入力部 1 Font File 2 Development Section 3 Hinting Processing Section 4 Rasterizer 5 Bitmap Data 6 Control Point Information Input Section

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 アウトラインフォントデータをメモリ上
に展開し、ヒンティング情報に従って輪郭線を補正し、
輪郭線内を塗りつぶすことによりビットマップデータを
生成するヒンティング処理方法において、前記アウトラ
インフォントデータには制御点情報が含まれ、変倍後の
該制御点が所定位置に移動するようにアウトラインを構
成する輪郭点を移動し、対称性の保持されたビットマッ
プデータを生成することを特徴とするヒンティング処理
方法。
1. The outline font data is expanded on a memory, and the outline is corrected according to the hinting information,
In a hinting processing method for generating bitmap data by filling the inside of a contour line, the outline font data includes control point information, and an outline is constructed so that the scaled control points move to a predetermined position. A hinting processing method, characterized in that the contour points to be moved are moved to generate bitmap data in which symmetry is maintained.
【請求項2】 前記所定位置は、ピクセルの中心または
ピクセルの境界であることを特徴とする請求項1記載の
ヒンティング処理方法。
2. The hinting processing method according to claim 1, wherein the predetermined position is a pixel center or a pixel boundary.
【請求項3】 前記制御点は、文字毎にあるいは文字を
構成する要素毎に設定されることを特徴とする請求項1
記載のヒンティング処理方法。
3. The control point is set for each character or for each element forming the character.
Hinting treatment method described.
【請求項4】 前記制御点は、輪郭線毎に設定されるこ
とを特徴とする請求項1記載のヒンティング処理方法。
4. The hinting processing method according to claim 1, wherein the control point is set for each contour line.
【請求項5】 前記輪郭点の移動後に、該輪郭点に所定
のヒンティング処理を施し、対称性の保持されたビット
マップデータを生成することを特徴とする請求項1記載
のヒンティング処理方法。
5. The hinting processing method according to claim 1, wherein after the contour points have been moved, a predetermined hinting process is applied to the contour points to generate bitmap data in which symmetry is maintained. .
【請求項6】 前記輪郭点の移動前および移動後に、該
輪郭点に所定のヒンティング処理を施し、対称性の保持
されたビットマップデータを生成することを特徴とする
請求項1記載のヒンティング処理方法。
6. The Hinge according to claim 1, wherein the contour point is subjected to a predetermined hinting process before and after the movement of the contour point to generate bitmap data in which symmetry is maintained. Processing method.
【請求項7】 前記輪郭点の移動前に、該輪郭点に所定
のヒンティング処理を施し、対称性の保持されたビット
マップデータを生成することを特徴とする請求項1記載
のヒンティング処理方法。
7. The hinting process according to claim 1, wherein a predetermined hinting process is applied to the contour point before the movement of the contour point to generate bitmap data in which symmetry is maintained. Method.
JP5198573A 1993-01-22 1993-08-10 Hinting processing method Pending JPH06274151A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5198573A JPH06274151A (en) 1993-01-22 1993-08-10 Hinting processing method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP911593 1993-01-22
JP5-9115 1993-01-22
JP5198573A JPH06274151A (en) 1993-01-22 1993-08-10 Hinting processing method

Publications (1)

Publication Number Publication Date
JPH06274151A true JPH06274151A (en) 1994-09-30

Family

ID=26343774

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5198573A Pending JPH06274151A (en) 1993-01-22 1993-08-10 Hinting processing method

Country Status (1)

Country Link
JP (1) JPH06274151A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100691501B1 (en) * 2005-07-21 2007-03-09 (주)정글시스템 Conversion method of outline font to bitmap image using snap hinting and stem hinting technic and computer readable media storing the software in which the conversion method is implemented

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100691501B1 (en) * 2005-07-21 2007-03-09 (주)정글시스템 Conversion method of outline font to bitmap image using snap hinting and stem hinting technic and computer readable media storing the software in which the conversion method is implemented

Similar Documents

Publication Publication Date Title
US5241653A (en) Apparatus and method for adjusting and displaying scaled, rasterized characters
US5471550A (en) Apparatus for converting image outline data into dot data representative of image dots
JPH08194459A (en) Outline character plotting device
JP2009526274A (en) Counters arranged in a coarse grid
JPH0816144A (en) Outline font extension method and outline font extension device
JPH0369995A (en) Method of displaying character on raster display
JPH06274151A (en) Hinting processing method
KR100361387B1 (en) Polygon drawing method and polygon drawing apparatus
US5355451A (en) Graphic processing unit
JPH02270019A (en) Generation system for high quality character pattern
JP3243293B2 (en) Contour correction method
JP3032417B2 (en) Character generator
JPH05323937A (en) Hinting processing method
JPS6279571A (en) Graphic pattern generating system
JPH06110444A (en) Character processor and character output method
JPH02309459A (en) Data converter
JPH0573026A (en) Character and pattern generating method
JPH06110442A (en) Character and figure processor and method for deforming character of figure
JP3055306B2 (en) Data output device
JPH07325562A (en) Method and device for outline character generation
JP3087511B2 (en) Data converter
JP2000259845A (en) Method and device for plotting polygon
JPH1063871A (en) Method for deforming graphic
JPH06301774A (en) Magnification/reduction method for image pattern
JPH10307572A (en) Outline character plotting method, outline character plotting device and storage medium storing outline character plotting program