JPH10312185A - Character font reproducing method, tape printer and document creator - Google Patents
Character font reproducing method, tape printer and document creatorInfo
- Publication number
- JPH10312185A JPH10312185A JP9285474A JP28547497A JPH10312185A JP H10312185 A JPH10312185 A JP H10312185A JP 9285474 A JP9285474 A JP 9285474A JP 28547497 A JP28547497 A JP 28547497A JP H10312185 A JPH10312185 A JP H10312185A
- Authority
- JP
- Japan
- Prior art keywords
- character
- font
- data
- dots
- decoding
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000015654 memory Effects 0.000 abstract description 50
- 238000007906 compression Methods 0.000 description 37
- 230000006835 compression Effects 0.000 description 37
- 238000010586 diagram Methods 0.000 description 20
- 230000002093 peripheral effect Effects 0.000 description 11
- 239000004973 liquid crystal related substance Substances 0.000 description 10
- 230000007850 degeneration Effects 0.000 description 8
- 230000032258 transport Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 241000723438 Cercidiphyllum japonicum Species 0.000 description 2
- 239000000853 adhesive Substances 0.000 description 2
- 230000001070 adhesive effect Effects 0.000 description 2
- 239000003086 colorant Substances 0.000 description 2
- 239000013256 coordination polymer Substances 0.000 description 2
- 238000006073 displacement reaction Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 238000013144 data compression Methods 0.000 description 1
- 238000007429 general method Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Landscapes
- Record Information Processing For Printing (AREA)
- Document Processing Apparatus (AREA)
- Controls And Circuits For Display Device (AREA)
- Printers Characterized By Their Purpose (AREA)
- Dot-Matrix Printers And Others (AREA)
Abstract
(57)【要約】
【課題】 扱うデータ量を小さくすることで復号効率を
高め得ると共に、文字フォントの大きさが複数となって
も、メモリ容量をそれ程増加させずに文字をきれいに再
生すること。
【解決手段】 この文字フォント再生方法やテープ印字
装置等では、少なくとも、2つの異なる大きさの文字の
ビットマップフォントを復号化して再生する。そして、
ドット数の大きな文字のビットマップフォントのデータ
を復号化する際、復号化するビットの参照画素として、
既に復号されているドット数の小さな同一文字のビット
マップフォントの情報を利用したり、ドット数の大きな
文字と同一の大きさの基準フォントの情報を利用したり
している。
(57) [Summary] [PROBLEMS] To improve decoding efficiency by reducing the amount of data to be handled, and to reproduce characters clearly without increasing the memory capacity so much even if the character font size is plural. . In the character font reproducing method and the tape printer, a bitmap font of at least two characters having different sizes is decoded and reproduced. And
When decoding bitmap font data of a character with a large number of dots, as a reference pixel of the bit to be decoded,
The information of the bitmap font of the same character having a small number of dots already decoded is used, or the information of the reference font having the same size as the character having a large number of dots is used.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、テープ印字装置や
文書作成機等に組み込まれて使用される文字フォントの
再生方法および当該文字フォント再生機能を組み込んだ
テープ印字装置や文書作成機の改良に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of reproducing a character font used in a tape printer or a document creator and the like, and to an improvement of a tape printer or a document creator incorporating the character font reproducing function. .
【0002】[0002]
【従来の技術】従来、テープ印字装置等に使用される文
字は、例えば、16×16ドット、24×24ドット、
36×36ドットというように複数の大きさの文字フォ
ントから構成されている。そして、通常の装置において
は、各大きさ毎に、その文字分の数のビットマップフォ
ントを有している。これは、1つの大きさの文字フォン
ト、例えば、16ドットの文字フォントを単に縦横2倍
してもきれいな形の32ドットの文字フォントとはなら
ないためである。すなわち、単に2倍すると、ギザギザ
で使用に耐えない文字となってしまう。このため、文字
の数が仮に3,000であると、16ドットで3,00
0個、24ドットで3,000個というように、文字の
数に文字フォントの大きさの数をかけた数のビットマッ
プフォントをメモリ内に保有するものとなっている。2. Description of the Related Art Conventionally, characters used in a tape printer or the like are, for example, 16 × 16 dots, 24 × 24 dots,
It is composed of character fonts of a plurality of sizes such as 36 × 36 dots. In a normal device, the number of bitmap fonts corresponding to the number of characters is provided for each size. This is because if a character font of one size, for example, a character font of 16 dots is simply doubled vertically and horizontally, a character font of 32 dots in a beautiful shape will not be obtained. That is, simply doubling the characters results in a jagged and unusable character. Therefore, if the number of characters is 3,000, 3,000 characters in 16 dots
The number of bitmap fonts obtained by multiplying the number of characters by the number of character fonts, such as 0, 24 dots, and 3,000, is stored in the memory.
【0003】このような装置の場合、文字フォントの大
きさの種類や書体数が増えると、極めて膨大なメモリ量
が必要となる。例えば、A書体について、4つの大きさ
の文字フォント、B書体についてまた4つの大きさの文
字フォントとなると、先の例で言えば、3,000×4
×2で合計24,000個のビットマップフォントを保
有する必要が生ずる。In the case of such an apparatus, an extremely large amount of memory is required when the type of character font and the number of fonts increase. For example, if the font A is a character font of four sizes and the font B is a font of four sizes again, in the above example, 3,000 × 4
× 2 requires a total of 24,000 bitmap fonts.
【0004】一方、ワードプロセッサやパソコン等にお
いては、使用されるポイント数が所定範囲に限られるこ
ともあって、1種類または2種類程度の大きさの文字フ
ォントのみをビットマップデータとして保有し、他の大
きさのものは、そのデータから比例的に割り出して所定
の大きさの文字フォントとしている。このような方法
は、文字の品質をそれ程重視しない場合には、テープ印
字装置にも採用されている。なお、ワードプロセッサや
パソコン等において用いられている横倍角や4倍角の文
字修飾は、特定の大きさの文字フォントをその大きさに
単純に拡大させるものとなっている。このように、文字
の品質をそれ程重視しないワードプロセッサ等の文書作
成機においては、文字フォントの大きさの種類ではな
く、書体の種類を多く持つようにされている。また、最
近、文字品質を考慮し、多数のアウトラインフォントを
持つパソコンも現れてきている。On the other hand, the number of points used in a word processor or a personal computer is limited to a predetermined range, so that only one or two types of character fonts are stored as bitmap data. The character font of the size is proportionally calculated from the data to obtain a character font of a predetermined size. Such a method is also employed in a tape printer when the quality of characters is not so important. Note that the character modification of double-width or quadruple-width characters used in word processors, personal computers, and the like simply expands a character font of a specific size to the size. As described above, a document creator such as a word processor in which the quality of characters is not so important has many types of fonts, not types of sizes of character fonts. Also, recently, personal computers having a large number of outline fonts have appeared in consideration of character quality.
【0005】このため、ワードプロセッサ等において
は、文字フォントのデータ量の増加を抑えるための技術
として、特開平7−199894に示される圧縮技術が
知られている。この技術は、所定の書体の文字のアウト
ラインフォントを基準文字フォントとし、その他を圧縮
対象文字フォントとし、圧縮対象の文字フォントの基準
文字フォントに対する座標の“ずれ”を検出し、その
“ずれ”を利用してメモリ量の増大を押さえるものとな
っている。すなわち、その“ずれ”のデータの出現頻度
を偏らせ、その出現頻度に応じて冗長部分を抑制した圧
縮符号列を発生させ、この圧縮符号列で圧縮対象文字フ
ォントの座標データを置き換えることで圧縮文字フォン
トを生成し、この圧縮文字フォントを基準文字フォント
と共にメモリに記憶させるようにしている。For this reason, in a word processor or the like, a compression technique disclosed in JP-A-7-199894 is known as a technique for suppressing an increase in the amount of character font data. In this technology, an outline font of a character in a predetermined typeface is set as a reference character font, others are set as compression target character fonts, and a “displacement” of coordinates of the compression target character font with respect to the reference character font is detected, and the “displacement” is detected. Utilization is used to suppress an increase in the amount of memory. In other words, the frequency of occurrence of the "shift" data is biased, and a compressed code string in which redundant portions are suppressed is generated according to the frequency of occurrence, and the compressed code string is used to replace the coordinate data of the character font to be compressed. A character font is generated, and this compressed character font is stored in a memory together with a reference character font.
【0006】一方、近年、データ圧縮の手法の一つとし
て、エントロピー符号器および復号器を用いた技術が注
目されている。このエントロピー符号化および復号化技
術の一つとして、例えば、算術符号化および復号化の技
術を用いたものがある。この技術の概要は、例えば、特
開昭62−185413号公報、特開昭63−7432
4号公報、特開昭63−76525号公報等に記載され
ている。On the other hand, in recent years, a technique using an entropy encoder and a decoder has attracted attention as one of data compression techniques. As one of the entropy coding and decoding techniques, for example, there is one using an arithmetic coding and decoding technique. The outline of this technology is described in, for example, JP-A-62-185413 and JP-A-63-7432.
No. 4, JP-A-63-76525 and the like.
【0007】図16に、このような技術を用いた従来の
符号化システム150および復号化システム160を示
す。この符号化システム150は、ラインバッファ15
1と、エントロピー符号器152とを含むものである。
入力されるインデックスの画素データ100Aは、ライ
ンバッファ151およびエントロピー符号器152へ入
力される。この画素データ100Aは、図17に示すよ
うに、いずれもラスタースキャンされ水平走査順に順次
画素データとして入力される。FIG. 16 shows a conventional encoding system 150 and decoding system 160 using such a technique. The encoding system 150 includes the line buffer 15
1 and an entropy encoder 152.
The input pixel data 100A of the index is input to the line buffer 151 and the entropy encoder 152. As shown in FIG. 17, all of the pixel data 100A are raster-scanned and sequentially input as pixel data in the horizontal scanning order.
【0008】符号化システム150中のラインバッファ
151は、参照画素生成手段として、既に入力された画
素データ100Aから、符号化対象画素Xに対する参照
画素データA,B,C,Dを作成する。すなわち、ライ
ンバッファ151は、画像をスキャンするときにnライ
ン(1〜5ライン程度が多い)分の履歴を記憶してお
く。そして、符号化対象画素Xの画素データ100Aが
入力されるごとに、この直前の画素Aと、周辺の画素
B,C,Dとからなる一連の画素データを参照画素デー
タ110としてエントロピー符号器152へ向けて出力
する。The line buffer 151 in the encoding system 150 creates reference pixel data A, B, C, and D for the pixel X to be encoded from the already input pixel data 100A as reference pixel generation means. That is, the line buffer 151 stores the history of n lines (often about 1 to 5 lines) when scanning an image. Each time the pixel data 100A of the encoding target pixel X is input, a series of pixel data including the immediately preceding pixel A and the surrounding pixels B, C, and D is used as the reference pixel data 110 as the entropy encoder 152. Output to.
【0009】このエントロピー符号器152は、例え
ば、算術符号化またはハフマン符号化などの手法を用い
て形成される。そして、参照画素データ110を状態信
号として用い、対象画素データ100Aを符号化データ
200に変換出力する。The entropy encoder 152 is formed using, for example, a technique such as arithmetic coding or Huffman coding. Then, the reference pixel data 110 is used as a state signal, and the target pixel data 100A is converted into encoded data 200 and output.
【0010】一方、復号化システム160は、ラインバ
ッファ161とエントロピー復号器162を含んで構成
される。ここにおいて、ラインバッファ161とエント
ロピー復号器162は、入力される符号化データ200
を符号化システム150のラインバッファ151、エン
トロピー符号器152とは全く逆の手順で復号化出力す
るように形成されている。On the other hand, the decoding system 160 includes a line buffer 161 and an entropy decoder 162. Here, the line buffer 161 and the entropy decoder 162 store the encoded data 200
Is decoded and output in a procedure completely opposite to that of the line buffer 151 and the entropy encoder 152 of the encoding system 150.
【0011】このようにして、符号化システム150
と、復号化システム160とは、互いに全く逆のアルゴ
リズムを用いて、画素データ100Aを符号化データ2
00に符号化し、さらにこの符号化データ200を画素
データ100Bに復号化して出力することができる。し
たがって、このシステムは、各種用途に幅広く用いられ
ている。In this manner, the encoding system 150
And the decoding system 160 converts the pixel data 100A into the encoded data 2 using completely opposite algorithms.
00, and the encoded data 200 can be decoded into pixel data 100B and output. Therefore, this system is widely used for various applications.
【0012】しかし、このようなエントロピー符号器1
52およびエントロピー復号器162では、参照画素デ
ータの状態数に対応した数の符号化パラメータテーブル
が必要となる。このため、圧縮率を高めるために参照画
素数を大きくとればとるほど、符号化および復号化のパ
ラメータテーブルが大きくなる。このため、エントロピ
ー符号器152およびエントロピー復号器162が大型
化かつ高価となってしまうという問題がある。However, such an entropy encoder 1
52 and the entropy decoder 162 require a number of encoding parameter tables corresponding to the number of states of reference pixel data. For this reason, the larger the number of reference pixels is set to increase the compression ratio, the larger the encoding and decoding parameter tables become. Therefore, there is a problem that the entropy encoder 152 and the entropy decoder 162 become large and expensive.
【0013】このような問題に対し、エントロピー符号
器152およびエントロピー復号器162の中に縮退し
た状態数に応じてパラメータテーブルを小さくさせる技
術が知られている。In order to solve such a problem, a technique is known in which the parameter table is reduced according to the number of states degenerated in the entropy encoder 152 and the entropy decoder 162.
【0014】この状態数を縮退するシステムの特徴は、
図18に示すように、図16の符号化システム150や
復号化システム160と同様にエントロピー符号器15
2およびエントロピー復号器162に参照画素データ1
10を状態信号として入力するわけであるが、その入力
に際し、その状態信号140を、ラインバッファ15
1,161から出力される参照画素データ110を縮退
する状態縮退器153,163によって生成する点にあ
る。The feature of the system for reducing the number of states is as follows.
As shown in FIG. 18, like the encoding system 150 and the decoding system 160 in FIG.
2 and the reference pixel data 1 in the entropy decoder 162.
10 is input as a state signal. At the time of input, the state signal 140 is input to the line buffer 15.
1, 161 is generated by the state reduction units 153, 163 for reducing the reference pixel data 110.
【0015】この状態縮退器153、163は、入力さ
れる参照画素データ110を、より少ないビット数の状
態信号140に縮退し、対応するエントロピー符号器1
52およびエントロピー復号器162へ向け出力するよ
うに構成されている。なお、予測器154,164は、
処理する画素がカラーである場合、それぞれカラーシン
ボルの出現頻度に基づいてカラー画素データを色順位に
変換するためおよびその逆を行うための色順位テーブル
をそのメモリーに保有しているものである。The state decompressors 153 and 163 degenerate the input reference pixel data 110 into a state signal 140 having a smaller number of bits, and the corresponding entropy encoder 1
52 and the output to the entropy decoder 162. Note that the predictors 154 and 164
If the pixel to be processed is a color, the memory has a color order table for converting color pixel data into a color order based on the appearance frequency of a color symbol and vice versa.
【0016】なお、縮退とは、縮退後の状態数に、元の
状態を分類する操作である。この分類は、分類後のエン
トロピー(1つのシンボルを表示するための平均情報
量)が最少となるように、その組み合わせを選択して行
う。そして、縮退後の状態数、すなわち、分類された後
の状態数に対して識別ビットを付加する。これが状態信
号140である。Note that degeneration is an operation of classifying the original state into the number of states after degeneration. This classification is performed by selecting the combination so that the entropy after classification (the average information amount for displaying one symbol) is minimized. Then, an identification bit is added to the number of states after degeneration, that is, the number of states after classification. This is the state signal 140.
【0017】ところで、状態縮退器153,163に用
いる縮退テーブルとしては、参照画素データ110の組
み合わせパターンと、縮退データとの関係を特定する縮
退テーブルを設定し、この縮退テーブルを用い、入力さ
れる参照画素データ110のカラーシンボルの組み合わ
せパターンを、縮退データに変換出力する方法がある。By the way, as the compression table used for the state compression units 153 and 163, a compression table for specifying the relationship between the combination pattern of the reference pixel data 110 and the compression data is set, and the compression table is input using this compression table. There is a method of converting the combination pattern of the color symbols of the reference pixel data 110 into degenerated data and outputting it.
【0018】図19には、このような手法を用いて行わ
れる縮退動作の一例が示されている。ここでは、説明を
簡単にするために、図19(A)に示すよう、符号化対
象画素Xに対し、A,B,Cの3つの画素から形成され
るマルコフモデルを参照画素パターンとして用いる場合
を例にとり説明する。FIG. 19 shows an example of a degeneration operation performed using such a method. Here, in order to simplify the description, as shown in FIG. 19A, a case where a Markov model formed from three pixels A, B, and C is used as a reference pixel pattern for a pixel X to be coded. Will be described as an example.
【0019】参照画素が、図19(A)に示すように、
3つのカラー画素から構成される場合には、そのカラー
シンボルの組み合わせパターンは、図19(B)に示す
ように5通りとなる。すなわち、3つの画素のカラーシ
ンボルが全て一致するパターンと、2つのカラーシンボ
ルのみが一致する場合に該当する3つのパターンと、全
ての画素のカラーシンボルが異なるパターンの計5つの
パターンに分類される。The reference pixel is, as shown in FIG.
In the case of three color pixels, the combination patterns of the color symbols are five as shown in FIG. In other words, the pattern is classified into a total of five patterns: a pattern in which the color symbols of three pixels all match, a pattern in which only two color symbols match, and a pattern in which the color symbols of all pixels are different. .
【0020】したがって、図19(B)に示すテーブル
を状態縮退器153,163の縮退テーブルとして用い
ることにより、画素が4ビットのインデックスコードを
有するカラー画素の場合、本来3つの画素の組み合わせ
が取りうる2の12乗のパターンの状態を、図19
(B)に示す5つの状態S1〜S5に縮退することがで
きる。このようにすることによって、参照画素データ1
10を効果的に縮退し、エントロピー符号器152およ
びエントロピー復号器162の状態数を大幅に少なくす
ることができる。Therefore, by using the table shown in FIG. 19B as the degeneration table of the state degeneration units 153 and 163, when a pixel is a color pixel having a 4-bit index code, a combination of three pixels is originally obtained. FIG. 19 shows the state of a possible 2 12 pattern.
The state can be reduced to the five states S1 to S5 shown in FIG. By doing so, the reference pixel data 1
10 can be effectively degenerated, and the number of states of the entropy encoder 152 and the entropy decoder 162 can be greatly reduced.
【0021】ところで、このような算術符号化および復
号化の一般的な手法は、既に1画像符号化標準JBIG
(インターナショナルスタンダードISO/IEC11
544)のp26〜44およびp44〜p50に詳細に
述べられているが、ここでは後述する本発明を説明する
際の前提技術として簡単に説明する。Incidentally, such a general method of arithmetic coding and decoding has already been described in the one-picture coding standard JBIG.
(International standard ISO / IEC11
544), pp. 26-44 and p44-p50, which are briefly described here as prerequisite techniques for describing the present invention described later.
【0022】図16に用いられる算術符号型のエントロ
ピー符号器152の一例を図20に示す。なお、算術復
号型のエントロピー復号器162の構成は、エントロピ
ー符号器152の構成と実質的に同一であるので、ここ
ではその説明は省略する。FIG. 20 shows an example of the arithmetic code type entropy encoder 152 used in FIG. Note that the configuration of the arithmetic decoding type entropy decoder 162 is substantially the same as the configuration of the entropy encoder 152, and a description thereof will be omitted here.
【0023】このエントロピー符号器152は、算術演
算部155と、状態記憶器として機能する発生確率生成
手段156とを含んで構成される。この発生確率生成手
段156内には、符号化に必要なシンボル発数確率を決
定するために必要な状態パラメータテーブルが書き込ま
れている。上記の状態パラメータは、入力される状態信
号によって特定される。そして、この状態信号によって
特定された状態パラメータのテーブルに対し、発生確率
生成手段156の発生確率演算パラメータが算術演算部
155へ向けて出力される。The entropy encoder 152 includes an arithmetic operation unit 155 and an occurrence probability generation unit 156 functioning as a state storage. In the occurrence probability generation means 156, a state parameter table necessary for determining a symbol occurrence probability required for encoding is written. The above status parameters are specified by the input status signal. Then, the occurrence probability calculation parameter of the occurrence probability generation unit 156 is output to the arithmetic operation unit 155 with respect to the state parameter table specified by the state signal.
【0024】算術演算部155は、このようにして入力
される発生確率に基づき、エントロピー符号化を行い、
入力される画素データ100Aまたは色順位データ12
0を符号化データ200に変換出力する。そして、符号
化した画素データ100Aまたは色順位データ120の
値により、状態信号に対する発生確率を再計算し、演算
パラメータ更新値として、発生確率生成手段156へ入
力する。この更新結果が次データの発生確率としてテー
ブルに記憶されることで、エントロピー符号器152の
圧縮効率が向上することとなる。The arithmetic operation unit 155 performs entropy coding based on the occurrence probability input in this manner,
Input pixel data 100A or color order data 12
0 is converted to encoded data 200 and output. Then, the occurrence probability for the state signal is recalculated based on the value of the encoded pixel data 100A or the color rank data 120, and is input to the occurrence probability generation unit 156 as an operation parameter update value. By storing this update result in the table as the occurrence probability of the next data, the compression efficiency of the entropy encoder 152 is improved.
【0025】[0025]
【発明が解決しようとする課題】しかしながら、特開平
7−199894で示される技術は、アウトラインフォ
ントとして異なる書体を複数保有するときに有効とはな
るものの、ビットマップフォントとして、1つの書体に
対し複数の大きさの文字フォントが必要となるときであ
って文字の品質を重視するときは、やはり従来どおり、
多数のメモリを必要としている。また、特開平7−19
9894で示される技術は、アウトラインフォントに関
する技術であり、ビットマップデータを利用して拡大や
縮小を行う技術には、適用できないものである。However, the technique disclosed in Japanese Patent Application Laid-Open No. Hei 7-199894 is effective when a plurality of different fonts are held as outline fonts, but a plurality of fonts are used for one font as bitmap fonts. When you need a character font of size and you want to focus on character quality,
Requires a lot of memory. Also, Japanese Patent Application Laid-Open No. 7-19 / 1995
The technology indicated by 9894 is a technology relating to outline fonts, and cannot be applied to a technology for enlarging or reducing using bitmap data.
【0026】なお、文字の品質を重視しないときは、従
来のように1つの大きさの文字フォントデータを利用し
比例的に拡大、縮小することによって他の大きさの文字
フォントを得ている。しかし、この方法では、上述した
ように、拡大したときに、文字がぎざぎざとなり、高品
質な文字を得ることができない。When the quality of the character is not emphasized, a character font of another size is obtained by proportionally enlarging and reducing the character font data of one size as in the prior art. However, according to this method, as described above, when enlarged, the characters are jagged, and high-quality characters cannot be obtained.
【0027】また、テープ印字装置や文書作成機等にお
いては、複数の書体の要請も確かに存在するが、必ず、
各書体について複数の大きさの文字フォントも要請され
る。このような要請は、テープ印字装置にとって、文字
の品質を重視するときは、その低価格化と小型化の要求
とは相反するものとなり、低価格化や小型化の大きな阻
害要因となっている。In a tape printer, a document creator, and the like, there are certainly requests for a plurality of typefaces.
Multiple font sizes are also required for each typeface. Such a demand is contradictory to a demand for a lower price and a smaller size for a tape printing apparatus when emphasizing the quality of a character, and is a major obstacle to a lower price and a smaller size. .
【0028】また、ワードプロセッサやパソコン等の文
書作成機においては、使用できるメモリや記憶装置があ
る程度大きいこともあり、ビットマップデータからなる
複数の大きさの文字フォントを個別に保有することは、
現在それ程の負担にはなっていない。しかし、1書体の
1つの大きさの文字フォントのみで、数Mバイトのメモ
リ容量を必要とすることも多く、多数の書体を有する場
合、複数の大きさの文字フォントのビットマップデータ
を個別に保有することは、やはりメモリ容量上大きな問
題となる。Further, in a document creator such as a word processor or a personal computer, a usable memory or a storage device may be large to some extent. Therefore, it is difficult to individually hold character fonts of a plurality of sizes composed of bitmap data.
At present it is not so burdensome. However, in many cases, only one size font of one font requires a memory capacity of several Mbytes. When a large number of fonts are provided, bitmap data of character fonts of a plurality of sizes are individually stored. The possession also poses a major problem in terms of memory capacity.
【0029】また、図17に示すような参照画素利用方
式や図19に示すようなマルコフモデルの参照画素を利
用し、状態数を大幅に削減して符号化や復号化を行う
際、従来の方法では、符号化対象画素Xの1画素前の参
照画素、すなわち、図17(A)では、Aで示される画
素が確定するまで、エントロピー符号器152やエント
ロピー復号器162に入力するマルコフモデル等のコン
テクストが確定できないようになっている。このため、
コンテクストが確定するまで符号化や復号化の処理が待
たされ、高速動作に限界が生じている。また、参照画素
を利用して圧縮することにより、圧縮率が高まり、復号
効率も高まっているが、ビットマップデータ自体が極め
て莫大な容量を持つものであり、データ量としては、依
然大きなものとなっている。Further, when encoding or decoding is performed by greatly reducing the number of states by using a reference pixel using method as shown in FIG. 17 or a Markov model reference pixel as shown in FIG. In the method, a reference pixel immediately before the pixel X to be encoded, that is, a Markov model or the like input to the entropy encoder 152 or the entropy decoder 162 until the pixel indicated by A in FIG. The context cannot be determined. For this reason,
The encoding and decoding processes have to wait until the context is determined, which limits the high-speed operation. In addition, by using reference pixels for compression, the compression ratio is increased and the decoding efficiency is also increased, but the bitmap data itself has an extremely large capacity, and the data amount is still large. Has become.
【0030】本発明は、扱うデータ量を小さくすること
で復号効率を高め得ると共に、文字フォントの大きさが
複数となっても、メモリ容量をそれ程増加させずに文字
をきれいに再生できる文字フォント再生方法ならびにテ
ープ印字装置および文書作成機を提供することを目的と
する。The present invention can improve decoding efficiency by reducing the amount of data to be handled and, even if character fonts have a plurality of sizes, can reproduce characters clearly without significantly increasing the memory capacity. It is an object to provide a method and a tape printing device and a document maker.
【0031】[0031]
【課題を解決するための手段】かかる目的を達成するた
め、請求項1記載の発明では、少なくとも、2つの異な
る大きさの文字のビットマップフォントを復号化して再
生する文字フォント再生方法において、ドット数の大き
な文字のビットマップフォントのデータを復号化する
際、復号化するビットの参照画素として、既に復号され
ているドット数の小さな同一文字のビットマップフォン
トの情報を利用している。In order to achieve the above object, according to the first aspect of the present invention, there is provided a character font reproducing method for decoding and reproducing at least two bitmap fonts of characters having different sizes. When decoding bitmap font data of a large number of characters, bitmap font information of the same character having a small number of dots already decoded is used as a reference pixel of a bit to be decoded.
【0032】このため、ドット数の大きな文字フォント
を、既に復号されているドット数の小さな同一文字のフ
ォントを利用してきれいな形で再生できると共に復号効
率を高めることができる。また、この方法を採用する
と、復号に先立つデータ生成の際の圧縮率を高めること
ができ、文字フォントを再生するための装置のメモリを
低容量化でき、装置を低価格化および小型化できる。さ
らに、同じメモリ容量のものであれば、多数の種類の大
きさの文字フォントを積み込むことができるものとな
る。また、参照画素として、下位の大きさの文字の対応
する部分のビットマップ情報と、その対応画素の後から
発生する周辺画素を参照することができるようになる。
すなわち、マルコフモデルで言えば、復号しようとする
対象画素の後に位置する部分の画素の情報までも参照で
きることとなるので、極めて効率の良い復号が可能とな
る。Therefore, a character font having a large number of dots can be reproduced in a beautiful form by using a font of the same character having a small number of dots which has already been decoded, and the decoding efficiency can be improved. Also, by adopting this method, the compression ratio at the time of data generation prior to decoding can be increased, the memory of the device for reproducing character fonts can be reduced in capacity, and the device can be reduced in cost and size. Furthermore, if the memory capacity is the same, character fonts of various sizes can be loaded. Also, as the reference pixel, it is possible to refer to bitmap information of a portion corresponding to a character having a lower size and peripheral pixels generated after the corresponding pixel.
That is, in the case of the Markov model, it is possible to refer to even information of a pixel located after the target pixel to be decoded, so that extremely efficient decoding can be performed.
【0033】また、請求項2記載の発明では、少なくと
も、2つの異なる大きさの文字のビットマップフォント
を復号化して再生する文字フォント再生方法において、
ドット数の大きな文字のビットマップフォントのデータ
を復号化する際、復号化するビットの参照画素として、
ドット数の大きな文字と同一の大きさの基準フォントの
情報を利用している。According to a second aspect of the present invention, there is provided a character font reproducing method for decoding and reproducing at least bitmap fonts of characters of two different sizes.
When decoding bitmap font data of a character with a large number of dots, as a reference pixel of the bit to be decoded,
Information of a reference font having the same size as a character having a large number of dots is used.
【0034】このため、ドット数の大きな文字フォント
を、そのドット数と同一の大きさの基準フォントの利用
によってきれいな形で再生できると共に復号効率を高め
ることができる。また、この再生方法を使用すると、復
号に先立つデータ生成の際の圧縮率を高めることがで
き、文字フォントを再生するための装置のメモリを低容
量化でき低価格化および小型化できる。また、同じメモ
リ容量のものであれば、多数の種類の大きさの文字フォ
ントを積み込むことができるものとなる。さらに、参照
画素として、同じ大きさの基準フォントの対応する部分
のビットマップ情報と、その対応画素の後から発生する
周辺画素を参照することができる。すなわち、マルコフ
モデルで言えば、復号しようとする対象画素の後に位置
する部分の画素の情報までも参照できることとなるの
で、極めて効率の良い復号が可能となる。Therefore, a character font having a large number of dots can be reproduced in a beautiful form by using a reference font having the same size as the number of dots, and the decoding efficiency can be improved. Also, by using this reproducing method, the compression ratio at the time of data generation prior to decoding can be increased, and the memory of the device for reproducing character fonts can be reduced in capacity, cost and size can be reduced. If the memory capacity is the same, character fonts of various types can be loaded. Furthermore, as reference pixels, bitmap information of a corresponding portion of a reference font having the same size and peripheral pixels generated after the corresponding pixel can be referred to. That is, in the case of the Markov model, it is possible to refer to even information of a pixel located after the target pixel to be decoded, so that extremely efficient decoding can be performed.
【0035】さらに、請求項3記載の発明は、請求項1
記載の文字フォント再生方法において、ドット数の大き
な文字のビットマップフォントのデータを復号化する
際、復号化するビットの参照画素として、ドット数の大
きな文字と同一の大きさの基準フォントの情報も利用し
ている。このように、復号の際、既に復号されているド
ット数の小さな同一文字のビットマップフォントの情報
と、再生しようとしているドット数と同一の大きさの基
準フォントの情報の2つを利用しているので、復号効率
が一層良くなる。さらに、参照画素として、下位の大き
さの同一文字や同じ大きさの基準フォントの対応する部
分の各ビットマップ情報と、その対応画素の後から発生
する周辺画素を参照することができる。すなわち、マル
コフモデルで言えば、復号しようとする対象画素の後に
位置する部分の画素の情報までも参照できることとなる
ので、極めて効率の良い復号が可能となる。Further, the third aspect of the present invention is the first aspect of the present invention.
In the described character font reproduction method, when decoding bitmap font data of a character having a large number of dots, information of a reference font having the same size as the character having a large number of dots is also used as a reference pixel of a bit to be decoded. We are using. As described above, at the time of decoding, two pieces of information, that is, the bitmap font information of the same character that is already decoded with a small number of dots and the reference font information of the same size as the number of dots to be reproduced are used. Therefore, decoding efficiency is further improved. Further, as the reference pixel, it is possible to refer to each bitmap information of a corresponding part of the same character of lower size or a reference font of the same size, and peripheral pixels generated after the corresponding pixel. That is, in the case of the Markov model, it is possible to refer to even information of a pixel located after the target pixel to be decoded, so that extremely efficient decoding can be performed.
【0036】また、請求項4記載の発明は、文字データ
等の入力を行う入力手段と、入力された文書データを記
憶する記憶手段と、入力された文書データ等の表示を行
う表示手段と、テープ状の記録媒体を搬送する搬送手段
と、記憶手段に記憶されている文書データ等を搬送手段
によって搬送される記録媒体に印字する印字手段とを有
するテープ印字装置において、少なくとも、2つの異な
る大きさの文字のビットマップフォントを復号化して再
生する文字フォント再生手段を設け、ドット数の大きな
文字のビットマップフォントのデータを復号化する際、
復号化するビットの参照画素として、既に復号されてい
るドット数の小さな同一文字のビットマップフォントの
情報を利用している。According to a fourth aspect of the present invention, there is provided an input means for inputting character data and the like, a storage means for storing input document data, and a display means for displaying the input document data and the like. At least two different sizes of a tape printing apparatus including a transport unit that transports a tape-shaped recording medium and a printing unit that prints document data or the like stored in a storage unit on a recording medium transported by the transport unit. A character font reproducing means for decoding and reproducing the bitmap font of the character is provided, and when decoding bitmap font data of a character having a large number of dots,
As a reference pixel of a bit to be decoded, bitmap font information of the same character with a small number of dots already decoded is used.
【0037】このため、ドット数の大きな文字フォント
を、既に復号されているドット数の小さな同一文字のビ
ットマップフォントを利用してきれいな形で再生できる
と共に復号効率を高めることができる。また、このテー
プ印字装置を採用すると、復号に先立つデータ生成の際
の圧縮率を高めることができ、メモリを低容量化でき、
装置を低価格化および小型化できると共に同じ容量のも
のであれば、多数の種類の大きさの文字フォントを積み
込むことができるものとなる。さらに、参照画素とし
て、下位の大きさの文字の対応する部分のビットマップ
情報と、その対応画素の後から発生する周辺画素を参照
することができる。すなわち、マルコフモデルで言え
ば、復号しようとする対象画素の後に位置する部分の画
素の情報までも参照できることとなるので、極めて効率
の良い復号が可能となる。Therefore, a character font having a large number of dots can be reproduced in a beautiful form by using a bitmap font of the same character having a small number of dots which has already been decoded, and the decoding efficiency can be improved. Also, if this tape printer is adopted, the compression rate at the time of data generation prior to decoding can be increased, the memory capacity can be reduced,
If the device can be reduced in cost and size and have the same capacity, character fonts of various types can be loaded. Furthermore, as the reference pixel, it is possible to refer to bitmap information of a portion corresponding to a character having a lower size and peripheral pixels generated after the corresponding pixel. That is, in the case of the Markov model, it is possible to refer to even information of a pixel located after the target pixel to be decoded, so that extremely efficient decoding can be performed.
【0038】さらに、請求項5記載の発明は、文字デー
タ等の入力を行う入力手段と、入力された文書データを
記憶する記憶手段と、入力された文書データ等の表示を
行う表示手段と、テープ状の記録媒体を搬送する搬送手
段と、上記記憶手段に記憶されている文書データ等を上
記搬送手段によって搬送される上記記録媒体に印字する
印字手段とを有するテープ印字装置において、少なくと
も、2つの異なる大きさの文字のビットマップフォント
を復号化して再生する文字フォント再生手段を設け、ド
ット数の大きな文字のビットマップフォントのデータを
復号化する際、復号化するビットの参照画素として、ド
ット数の大きな文字と同一の大きさの基準フォントの情
報を利用している。Further, the invention according to claim 5 includes an input unit for inputting character data and the like, a storage unit for storing input document data, a display unit for displaying the input document data and the like, In a tape printing apparatus comprising: a transport unit that transports a tape-shaped recording medium; and a printing unit that prints document data and the like stored in the storage unit on the recording medium that is transported by the transport unit. A character font reproducing means is provided for decoding and reproducing bitmap fonts of three different sized characters, and when decoding bitmap font data of a character having a large number of dots, a dot is used as a reference pixel of a bit to be decoded. The information of the reference font having the same size as the large number of characters is used.
【0039】このため、ドット数の大きな文字フォント
を、そのドット数と同一の大きさの基準フォントの利用
によって、きれいな形で再生できると共に復号効率を高
めることができる。また、このテープ印字装置を使用す
ると、復号に先立つデータ生成の際の圧縮率を高めるこ
とができ、メモリを低容量化でき低価格化および小型化
できると共に同じ容量のものであれば、多数の種類の大
きさの文字フォントを積み込むことができるものとな
る。さらに、参照画素として、同じ大きさの基準フォン
トの対応する部分のビットマップ情報と、その対応画素
の後から発生する周辺画素を参照することができる。す
なわち、マルコフモデルで言えば、復号しようとする対
象画素の後に位置する部分の画素の情報までも参照でき
ることとなるので、極めて効率の良い復号が可能とな
る。Therefore, a character font having a large number of dots can be reproduced in a beautiful form and the decoding efficiency can be improved by using a reference font having the same size as the number of dots. Also, by using this tape printer, it is possible to increase the compression ratio at the time of data generation prior to decryption, and to reduce the capacity of the memory, reduce the cost and size, and, if the capacity is the same, increase the number of memories. Character fonts of various sizes can be loaded. Furthermore, as reference pixels, bitmap information of a corresponding portion of a reference font having the same size and peripheral pixels generated after the corresponding pixel can be referred to. That is, in the case of the Markov model, it is possible to refer to even information of a pixel located after the target pixel to be decoded, so that extremely efficient decoding can be performed.
【0040】さらに、請求項6記載の発明は、請求項4
記載のテープ印字装置において、ドット数の大きな文字
のビットマップフォントのデータを復号化する際、復号
化するビットの参照画素として、ドット数の大きな文字
と同一の大きさの基準フォントの情報も利用している。
このように、復号の際、既に復号されているドット数の
小さな同一文字のビットマップフォントと、再生しよう
としているドット数と同一の大きさの基準フォントの2
つを利用しているので、復号効率が一層良くなる。さら
に、参照画素として、下位の大きさの同一文字や同じ大
きさの基準フォントの対応する部分のビットマップ情報
と、その対応画素の後から発生する周辺画素を参照する
ことができる。すなわち、マルコフモデルで言えば、復
号しようとする対象画素の後に位置する部分の画素の情
報までも参照できることとなるので、極めて効率の良い
復号が可能となる。Further, the invention according to claim 6 is based on claim 4
When decoding bitmap font data of a character with a large number of dots in the described tape printer, information of a reference font having the same size as the character with a large number of dots is also used as a reference pixel of a bit to be decoded. doing.
As described above, at the time of decoding, a bitmap font of the same character having a small number of dots already decoded and a reference font having the same size as the number of dots to be reproduced are used.
Since one is used, the decoding efficiency is further improved. Further, as the reference pixel, it is possible to refer to the bitmap information of the corresponding portion of the same character having the lower size or the reference font having the same size, and peripheral pixels generated after the corresponding pixel. That is, in the case of the Markov model, it is possible to refer to even information of a pixel located after the target pixel to be decoded, so that extremely efficient decoding can be performed.
【0041】また、請求項7記載の発明は、文字データ
の入力を行う入力手段と、入力された文字データを記憶
する記憶手段と、入力された文字データの表示を行う表
示手段と、文字データを記録媒体に印刷する印字手段と
を有する文書作成機において、少なくとも、2つの異な
る大きさのドット数の文字のビットマップフォントを復
号化して再生する文字フォント再生手段を設け、ドット
数の大きな文字のビットマップフォントのデータを復号
化する際、復号化するビットの参照画素として、既に復
号されているドット数の小さな同一文字のビットマップ
フォントの情報を利用している。According to a seventh aspect of the present invention, there is provided an input means for inputting character data, a storage means for storing the input character data, a display means for displaying the input character data, A character font reproducing means for decoding and reproducing at least two bitmap fonts of characters having different numbers of dots in a document creator having a printing means for printing a character having a large number of dots. When decoding bitmap font data, bitmap font information of the same character with a small number of dots already decoded is used as a reference pixel of a bit to be decoded.
【0042】このため、ドット数の大きな文字フォント
を、既に復号されているドット数の小さな同一文字のビ
ットマップフォントを利用して、きれいな形で再生でき
ると共に復号効率を高めることができる。また、この文
書作成機を採用すると、復号に先立つデータ生成の際の
圧縮率を高めることができ、メモリを低容量化でき、装
置を低価格化および小型化できると共に同じ容量のもの
であれば、多数の種類の大きさの文字フォントを積み込
むことができるものとなる。さらに、参照画素として、
下位の大きさの同一文字の対応する部分のビットマップ
情報と、その対応画素の後から発生する周辺画素を参照
することができる。すなわち、マルコフモデルで言え
ば、復号しようとする対象画素の後に位置する部分の画
素の情報までも参照できることとなるので、極めて効率
の良い復号が可能となる。Therefore, a character font having a large number of dots can be reproduced in a beautiful form by using a bitmap font of the same character having a small number of dots which has already been decoded, and the decoding efficiency can be improved. In addition, when this document creator is used, the compression rate at the time of data generation prior to decoding can be increased, the memory capacity can be reduced, the apparatus can be reduced in cost and size, and if the apparatus has the same capacity, Thus, character fonts of various types can be loaded. Further, as a reference pixel,
It is possible to refer to the bitmap information of the corresponding portion of the same character having the lower size and the peripheral pixels generated after the corresponding pixel. That is, in the case of the Markov model, it is possible to refer to even information of a pixel located after the target pixel to be decoded, so that extremely efficient decoding can be performed.
【0043】さらに、請求項8記載の発明は、文字デー
タの入力を行う入力手段と、入力された文字データを記
憶する記憶手段と、入力された文字データの表示を行う
表示手段と、文字データを記録媒体に印刷する印字手段
とを有する文書作成機において、少なくとも、2つの異
なる大きさの文字のビットマップフォントを復号化して
再生する文字フォント再生手段を設け、復号化するビッ
トの参照画素として、ドット数の大きな文字と同一の大
きさの基準フォントの情報を利用している。Further, according to the present invention, there is provided an input means for inputting character data, a storage means for storing the input character data, a display means for displaying the input character data, A character font reproducing means for decoding and reproducing at least two bitmap fonts of characters of different sizes, and printing means for printing bitmap fonts of characters having different sizes as reference pixels of bits to be decoded. And information of a reference font having the same size as a character having a large number of dots.
【0044】このため、ドット数の大きな文字フォント
を、そのドット数と同一の大きさの基準フォントの利用
によってきれいな形で再生できると共に復号効率を高め
ることができる。また、この文書作成機を使用すると、
復号に先立つデータ生成の際の圧縮率を高めることがで
き、メモリを低容量化でき低価格化および小型化できる
と共に同じ容量のものであれば、多数の種類の大きさの
文字フォントを積み込むことができるものとなる。さら
に、参照画素として、同じ大きさの基準フォントの対応
する部分のビットマップ情報と、その対応画素の後から
発生する周辺画素を参照することができる。すなわち、
マルコフモデルで言えば、復号化しようとする対象画素
の後に位置する部分の画素の情報までも参照できること
となるので、極めて効率の良い復号が可能となる。Therefore, a character font having a large number of dots can be reproduced in a beautiful form by using a reference font having the same size as the number of dots, and the decoding efficiency can be improved. Also, with this document maker,
As long as the compression rate at the time of data generation prior to decoding can be increased, the memory capacity can be reduced, the price can be reduced and the size can be reduced, and character fonts of various sizes can be loaded if they have the same capacity. Can be done. Furthermore, as reference pixels, bitmap information of a corresponding portion of a reference font having the same size and peripheral pixels generated after the corresponding pixel can be referred to. That is,
Speaking of the Markov model, it is possible to refer to even information of a pixel located after the target pixel to be decoded, so that extremely efficient decoding is possible.
【0045】また、請求項9記載の発明は、請求項7記
載の文書作成機において、ドット数の大きな文字のビッ
トマップフォントのデータを復号化する際、復号化する
ビットの参照画素として、ドット数の大きな文字と同一
の大きさの基準フォントの情報も利用している。このよ
うに、復号の際、既に復号されているドット数の小さな
同一文字のビットマップフォントと、再生しようとして
いるドット数と同一の大きさの基準フォントの2つを利
用しているので、復号効率が一層良くなる。さらに、参
照画素として、下位の大きさの同一文字や同じ大きさの
基準フォントの対応する部分のビットマップ情報と、そ
の対応画素の後から発生する周辺画素を参照することが
できる。すなわち、マルコフモデルで言えば、復号化し
ようとする対象画素の後に位置する部分の画素の情報ま
でも参照できることとなるので、極めて効率の良い復号
が可能となる。According to a ninth aspect of the present invention, in the document creator according to the seventh aspect, when decoding bitmap font data of a character having a large number of dots, a dot reference pixel is used as a reference pixel of the bit to be decoded. Information of a reference font having the same size as a large number of characters is also used. As described above, at the time of decoding, since two bitmap fonts, which are already decoded and have the same number of dots and have the same size as the number of dots to be reproduced, are used, the decoding is performed. Efficiency is further improved. Further, as the reference pixel, it is possible to refer to the bitmap information of the corresponding portion of the same character having the lower size or the reference font having the same size, and peripheral pixels generated after the corresponding pixel. That is, in the case of the Markov model, it is possible to refer to even information on a pixel located after the target pixel to be decoded, so that extremely efficient decoding can be performed.
【0046】本発明の文字フォント再生方法では、複数
の大きさの文字フォントをメモリの容量をそれ程増加さ
せることなく、きれいな形で再生することができると共
に復号効率を高めることができる。このため、この再生
機能を組み込んだテープ印字装置や文書作成機は、低容
量、低価格とできる一方、各種の大きさの文字フォント
をきれいな形で再生したり、多数の文字や多数の書体の
文字を再生できる装置となる。According to the character font reproducing method of the present invention, character fonts of a plurality of sizes can be reproduced in a beautiful form without significantly increasing the memory capacity, and the decoding efficiency can be improved. For this reason, tape printers and document creators incorporating this playback function can achieve low capacities and low prices, but also play back character fonts of various sizes in a clear form, and can print many characters and many typefaces. A device that can reproduce characters.
【0047】[0047]
【発明の実施の形態】以下、本発明の実施の形態の例を
図1から図15に基づき説明する。なお、この実施の形
態は、テープ印字装置を示しており、本発明の文字フォ
ント再生方法は、このテープ印字装置の機能を説明する
中で併せて説明することとする。DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. This embodiment shows a tape printer, and the character font reproducing method of the present invention will be described together with the description of the function of the tape printer.
【0048】まず、本発明の第1の実施の形態のテープ
印字装置1について、図1から図8に基づいて説明す
る。このテープ印字装置1には、その上面の手前側部分
に入力手段となるキーボード2が、後半部分に蓋3,3
が取り付けられている。キーボード2には、アルファベ
ットキー、記号キー等を含む文字キー群4や、各種の動
作モード等を指定するための機能キー群が配列されてい
る。機能キー群には、左右および上下にカーソルを移動
させるためのカーソル移動キー5,6,7,8と、印刷
動作を開始させる印刷キー9と、各種モードを設定する
ための選択キー10とが含まれている。First, a tape printer 1 according to a first embodiment of the present invention will be described with reference to FIGS. The tape printer 1 has a keyboard 2 serving as input means at a front portion on the upper surface thereof, and covers 3 and 3 at a rear portion.
Is attached. On the keyboard 2, a character key group 4 including alphabet keys, symbol keys, and the like, and a function key group for designating various operation modes and the like are arranged. The function keys include cursor movement keys 5, 6, 7, and 8 for moving the cursor left and right and up and down, a print key 9 for starting a printing operation, and a selection key 10 for setting various modes. include.
【0049】蓋3,3を開くと、図2に示すように、テ
ープカートリッジ11の装着部12が露出する。この装
着部12に装着されるテープカートリッジ11は、その
内部に、一定の幅のテープ状の記録媒体となるテープ1
3が内蔵されている。このテープ13は、裏面に接着面
が形成され、それが剥離紙によって覆われた構成となっ
ている。このテープ13と共に、インクリボン14がテ
ープカートリッジ内には収納されている。テープ13と
インクリボン14は、そのケース15に形成した窓16
の位置で相互に重なり合った状態で搬送され、テープ1
3のみが外部に排出され、リボン14は内部で巻き取ら
れるように、搬送経路が構成されている。When the lids 3 and 3 are opened, the mounting portion 12 of the tape cartridge 11 is exposed as shown in FIG. The tape cartridge 11 mounted on the mounting portion 12 has a tape 1 serving as a tape-shaped recording medium having a fixed width inside.
3 is built-in. The tape 13 has a configuration in which an adhesive surface is formed on the back surface and the adhesive surface is covered with a release paper. An ink ribbon 14 is stored in the tape cartridge together with the tape 13. The tape 13 and the ink ribbon 14 are attached to a window 16 formed in the case 15.
Are transported in a mutually overlapping state at the position
The transport path is configured so that only 3 is discharged outside and the ribbon 14 is wound inside.
【0050】装着部12の側には、印字手段となるサー
マルヘッド17が配置されており、テープカートリッジ
11が装着部12に装着されると、サーマルヘッド17
が、テープカートリッジ11の窓16から露出している
インクリボン14の裏面に当たるようになっている。し
たがって、サーマルヘッド17を発熱駆動することによ
り、所望の文字等がテープ13の表面に印字される。ま
た、装着部12には、装着されたテープカートリッジ1
1内の被駆動部分に対して機械的に連結し、搬送手段と
なる駆動軸18等が配置されており、これらが駆動する
ことにより、装着されたテープカートリッジ11内のテ
ープ13およびインクリボン14の搬送が行われる。A thermal head 17 serving as a printing means is disposed on the side of the mounting section 12. When the tape cartridge 11 is mounted on the mounting section 12, the thermal head 17 is provided.
Is applied to the back surface of the ink ribbon 14 exposed from the window 16 of the tape cartridge 11. Therefore, desired characters and the like are printed on the surface of the tape 13 by driving the thermal head 17 to generate heat. The mounting unit 12 also includes the mounted tape cartridge 1.
A drive shaft 18 and the like, which are mechanically connected to a driven portion in the printer cartridge 1 and serve as a conveying unit, are arranged. When these are driven, the tape 13 and the ink ribbon 14 in the mounted tape cartridge 11 are Is carried out.
【0051】この装着部12に隣接した位置には、表示
手段となる液晶表示部19が取り付けられている。この
液晶表示部19の表示画面20は、4行分表示可能なサ
イズとなっている。そして、ここに対向している蓋3の
部分は透明窓21となっており、蓋3を閉じた状態にお
いてこの窓を通して表示画面20を目視できるようにな
っている。At a position adjacent to the mounting section 12, a liquid crystal display section 19 serving as display means is mounted. The display screen 20 of the liquid crystal display unit 19 has a size capable of displaying four lines. The portion of the lid 3 facing here is a transparent window 21, and the display screen 20 can be viewed through the window when the lid 3 is closed.
【0052】次に、図3を参照して、この実施の形態の
テープ印字装置1の制御系の全体構成を説明する。Next, the overall configuration of the control system of the tape printer 1 of this embodiment will be described with reference to FIG.
【0053】制御系は、CPU31と、ROM32と、
RAM33と、キャラクタジェネレータROM34とを
有する制御回路30を中心として構成される。そして、
制御回路30の入力ポート側には、キーボード2が接続
されている。一方、制御回路30の出力ポート側には、
ヘッド駆動用のドライバ41を介してサーマルヘッド1
7が接続されていると共に表示駆動用のドライバ42を
介して液晶表示部19が接続されている。ここでCPU
31は、文字フォント再生手段ともなっている。The control system includes a CPU 31, a ROM 32,
The control circuit 30 mainly includes a RAM 33 and a character generator ROM 34. And
The keyboard 2 is connected to the input port side of the control circuit 30. On the other hand, on the output port side of the control circuit 30,
Thermal head 1 via a driver 41 for driving the head
7, and the liquid crystal display unit 19 is connected via a driver 42 for driving the display. Where CPU
Reference numeral 31 also serves as character font reproducing means.
【0054】ROM32は、プログラムメモリ領域35
を有し、ここには、キーボード2から入力されるコード
データに対応させて、サーマルヘッド17、液晶表示部
19を制御する制御プログラムが格納されている。The ROM 32 has a program memory area 35
Here, a control program for controlling the thermal head 17 and the liquid crystal display unit 19 is stored in correspondence with code data input from the keyboard 2.
【0055】RAM33は、記憶手段となるもので、入
力された文書に対応する文書データを格納するテキスト
メモリ36と、液晶表示部19に表示されている文書デ
ータを保持する表示文書データメモリ37と、CPU3
1で演算処理した結果を一時的に保持するためのレジス
タ群38等の領域を含んでいる。キャラクタジェネレー
タROM34は、このテープ印字装置1に用意されてい
る文字や記号のビットマップデータから構成されるドッ
トパターンを格納しているものであり、文字等を特定す
るコードデータが与えられたときに対応するドットパタ
ーンを出力する。The RAM 33 serves as storage means, and includes a text memory 36 for storing document data corresponding to the input document, a display document data memory 37 for holding the document data displayed on the liquid crystal display unit 19, and , CPU3
1 includes an area such as a register group 38 for temporarily storing the result of the arithmetic processing. The character generator ROM 34 stores a dot pattern composed of bitmap data of characters and symbols prepared in the tape printing apparatus 1. When code data for specifying characters and the like is given, Output the corresponding dot pattern.
【0056】このテープ印字装置1の印字の解像度は、
200dpiとなっている。そして、基本となる文字構
成は、16×16ドットで、その大きさの文字フォント
データが従来と同様なエントロピー符号器53によっ
て、基本圧縮データ50として各書体毎にキャラクタジ
ェネレータROM34内に記憶されている。なお、この
基本圧縮データ50は、第0位文字ビットマップフォン
トとなるものであり、ここでは、小さなドット数の文字
のビットマップフォントとなるものでもある。The printing resolution of the tape printer 1 is as follows.
It is 200 dpi. The basic character configuration is 16 × 16 dots, and the character font data of that size is stored in the character generator ROM 34 for each font as basic compressed data 50 by the entropy encoder 53 similar to the conventional one. I have. The basic compressed data 50 is a bitmap font of the 0th character, and here is a bitmap font of a character having a small number of dots.
【0057】キャラクタジェネレータROM34内に
は、さらに図4に示す第1圧縮データ51と、第2圧縮
データ52とが記憶されている。第1圧縮データ51
は、32×32ドットの文字フォント(第1位文字ビッ
トマップフォント)を再生するために利用するもので、
図4に示すように、16×16ドットの文字フォントを
コンテキストとして利用して、32×32ドットの文字
フォントのデータを、エントロピー符号器53によって
圧縮して符号化したものである(詳細は後述)。The character generator ROM 34 further stores first compressed data 51 and second compressed data 52 shown in FIG. First compressed data 51
Is used to reproduce a 32 x 32 dot character font (first character bitmap font).
As shown in FIG. 4, data of a character font of 32 × 32 dots is compressed and encoded by an entropy encoder 53 using a character font of 16 × 16 dots as a context (details will be described later). ).
【0058】また、第2圧縮データ52は、64×64
ドットの文字フォント(第2位文字ビットマップフォン
ト)のデータを、32×32ドットの文字フォントをコ
ンテキストとして利用して、エントロピー符号器53に
よって圧縮して符号化したものである(詳細は後述)。
なお、各エントロピー符号器53は、共に同一構成とな
っている。したがって、基本圧縮データ50、第1圧縮
データ51及び第2圧縮データ52は、1つのエントロ
ピー符号器53によって生成するようにしても良い。The second compressed data 52 is 64 × 64
Data obtained by compressing data of a dot character font (second character bitmap font) using the 32 × 32 dot character font as a context by the entropy encoder 53 (details will be described later). .
Each of the entropy encoders 53 has the same configuration. Therefore, the basic compressed data 50, the first compressed data 51, and the second compressed data 52 may be generated by one entropy encoder 53.
【0059】16×16ドットの文字フォントと32×
32ドットの文字フォントとの関係や、32×32ドッ
トの文字フォントと64×64ドットの文字フォントと
の関係は、図6に示すようになっている。すなわち、元
のデータが1つのときは、縦横各2倍の大きさの文字の
ときは、その対応する部分が4つのデータを有すること
となる。一般的に、元の画素が黒1つのときは、縦横各
2倍の大きさの文字のときの対応する4つの画素はすべ
て黒となることが多く、元の画素が白1つのときは、対
応する4つの画素は白となることが多い(図6参照)。A character font of 16 × 16 dots and 32 ×
FIG. 6 shows the relationship between the 32 dot character font and the relationship between the 32 × 32 dot character font and the 64 × 64 dot character font. That is, if the original data is one, and if the character is twice as large in length and width, the corresponding portion has four data. In general, when the original pixel is one black, the corresponding four pixels in the case of a character twice as large in each of the vertical and horizontal directions are often black, and when the original pixel is one white, The corresponding four pixels are often white (see FIG. 6).
【0060】ここで、第1圧縮データ51および第2圧
縮データ52の生成は、基本圧縮データ50の生成と同
様にテープ印字装置1の外で行われ、基本圧縮データ5
0と共にキャラクタジェネレータROM34に入力させ
られ記憶させられる。例えば、「林」の文字を記憶させ
る場合は、小さなドット数で同一文字の「林」を参照し
て(コンテキストとして)圧縮して、そのデータをキャ
ラクタジェネレータROM34に入力させることにより
行う。Here, the first compressed data 51 and the second compressed data 52 are generated outside the tape printer 1 in the same manner as the generation of the basic compressed data 50.
It is input to and stored in the character generator ROM 34 together with 0. For example, when storing the character of "forest", the same character "forest" is referred to with a small number of dots, compressed (as a context), and the data is input to the character generator ROM.
【0061】一方、文字フォント再生手段ともなるCP
U31には、図5に示すエントロピー復号器54が内蔵
または接続されている。そして、このCPU31での文
字フォントの再生制御は、次のようにして行われる。On the other hand, CP which is also a character font reproducing means
The U31 has a built-in or connected entropy decoder 54 shown in FIG. The reproduction control of the character font in the CPU 31 is performed as follows.
【0062】16×16ドットの文字を再生するとき
は、基本圧縮データ50を従来と同様なエントロピー復
号器54に入力して再生する(詳細は後述)。32×3
2ドットの文字を再生するときは、既に復号された16
×16ドットの文字フォントをコンテキストとして利用
し、第1圧縮データ51をエントロピー復号器54によ
って32×32ドットの文字フォント(第1位文字ビッ
トマップフォント)として再生する(詳細は後述)。When reproducing characters of 16.times.16 dots, the basic compressed data 50 is input to the conventional entropy decoder 54 and reproduced (details will be described later). 32x3
When reproducing a two-dot character, the already decoded 16
Using the × 16 dot character font as a context, the first compressed data 51 is reproduced by the entropy decoder 54 as a 32 × 32 dot character font (first character bitmap font) (details will be described later).
【0063】64×64ドットの文字を再生するとき
は、上述のステップによって32×32ドットの文字フ
ォントのデータを得、その後32×32ドットの文字フ
ォントのデータをコンテキストとして利用して、エント
ロピー復号器54によって64×64ドットの文字フォ
ント(第2位文字ビットマップフォント)を再生する。
再生された各データは、ヘッド駆動用のドライバ41を
介してサーマルヘッド17に伝えられ、それぞれの大き
さの文字フォントがテープ13に印字される。また、各
データは、表示駆動用のドライバ42を介して液晶表示
部19に伝えられ、表示される。なお、ドライバ42の
構成としては、サーマルヘッド17によって印字される
文字フォントとは異なる文字フォントを表示する構成と
しても良い。すなわち、液晶表示部19では文字品質が
問題とされていないので、32×32ドットや64×6
4ドットの各文字の表示を、16×16ドットのデータ
を単に、2倍や4倍に拡大することによって行うように
しても良い。When reproducing a character of 64 × 64 dots, data of a character font of 32 × 32 dots is obtained by the above-mentioned steps, and then entropy decoding is performed using the data of the character font of 32 × 32 dots as a context. The device 54 reproduces a 64 × 64 dot character font (second character bitmap font).
The reproduced data is transmitted to the thermal head 17 via the driver 41 for driving the head, and the character font of each size is printed on the tape 13. Each data is transmitted to the liquid crystal display unit 19 via the display driving driver 42 and displayed. Note that the driver 42 may be configured to display a character font different from the character font printed by the thermal head 17. That is, since the character quality is not considered to be a problem in the liquid crystal display unit 19, 32 × 32 dots or 64 × 6 dots
The display of each character of 4 dots may be performed by simply enlarging the data of 16 × 16 dots by 2 times or 4 times.
【0064】先に示した16×16ドットの文字フォン
トや32×32ドット等の文字フォントの圧縮および3
2×32ドットや64×64ドット等の文字フォントの
再生すなわち復号に当たっては、圧縮率を高め復号効率
を高めるため、次のような技術を採用している。The compression of the character font of 16 × 16 dots and the character font of 32 × 32 dots, etc.
In reproducing or decoding character fonts such as 2 × 32 dots and 64 × 64 dots, the following techniques are employed in order to increase the compression rate and increase the decoding efficiency.
【0065】すなわち、16×16ドットの文字フォン
トのデータ、32×32ドットの文字フォントのデータ
および64×64ドットの文字フォントのデータは、図
7(A)に示される符号化システム170に画素データ
100Aとして入力され、エントロピー符号器53によ
って圧縮符号化され、符号化データ200として出力さ
れる。この出力された符号化データ200がキャラクタ
ジェネレータROM34内に入れられる。That is, 16 × 16 dot character font data, 32 × 32 dot character font data, and 64 × 64 dot character font data are supplied to the encoding system 170 shown in FIG. The data is input as data 100A, compression-encoded by the entropy encoder 53, and output as encoded data 200. The output encoded data 200 is stored in the character generator ROM 34.
【0066】この符号化システム170は、図16や図
18の符号化システム150と基本的には同一構成とな
っている。異なる点は、第2参照画素130のデータを
状態信号等としてエントロピー符号器152に入力させ
圧縮率を高くしている点である。The encoding system 170 has basically the same configuration as the encoding system 150 shown in FIGS. The difference is that the data of the second reference pixel 130 is input to the entropy encoder 152 as a state signal or the like to increase the compression ratio.
【0067】この第2参照画素130のデータは、32
×32ドットの文字フォントのデータおよび64×64
ドットの文字フォントのデータが入力され、圧縮する際
に生成され使用されるものである。そして、図7(A)
に示す下位フォントメモリ120中には、16×16ド
ットや32×32ドットの文字ビットマップフォントの
データが格納されている。そして、例えば、32×32
ドットの文字フォントのデータを符号化しようとすると
き、下位フォントメモリ120中の同一文字の16×1
6ドットのビットマップフォントのデータが検索抽出さ
れ、仮フォントメモリ122中に一旦記憶される。The data of the second reference pixel 130 is 32
× 32 dot character font data and 64 × 64
The data of the dot character font is input and generated and used at the time of compression. And FIG. 7 (A)
In the lower-order font memory 120, character bitmap font data of 16 × 16 dots or 32 × 32 dots is stored. And, for example, 32 × 32
When trying to encode dot character font data, the same character 16 × 1
The data of the 6-dot bitmap font is retrieved and extracted and temporarily stored in the temporary font memory 122.
【0068】そして、32×32ドットの文字フォント
のデータを符号化するとき、そのデータの参照画素、す
なわちコンテキストとして仮フォントメモリ122中の
データを利用する。すなわち、符号化するとき、従来の
ようにラインバッファ151から生成される参照画素1
10に加え、生成しようとする大きさの文字フォントよ
り小さい同一文字のビットマップフォントの情報を利用
して圧縮している。When encoding 32 × 32 dot character font data, the data in the temporary font memory 122 is used as a reference pixel of the data, that is, a context. That is, when encoding, the reference pixel 1 generated from the line buffer 151 as in the related art is used.
In addition to 10, the information is compressed using bitmap font information of the same character smaller than the character font of the size to be generated.
【0069】このように、通常の参照画素110に加
え、第2参照画素130が存在するため、圧縮率が高く
なる。第2参照画素130としては、1段階下の文字情
報をそのまま利用する方法に代えて同一の大きさの基準
フォント(詳細後述)の情報を利用するようにしても良
い。また、従来例のように状態縮退器153を使用して
状態信号140を発生させるものにもこの第2参照画素
130を利用することができる。この場合、状態信号1
40に加え、この第2参照画素130をそのまま使用す
る方法と、状態信号140に加え、第2参照画素130
を状態縮退器(図示省略)に入れ、第2の状態信号を生
成し利用する方法とが考えられる。As described above, since the second reference pixel 130 exists in addition to the normal reference pixel 110, the compression ratio is increased. As the second reference pixel 130, information of a reference font having the same size (details will be described later) may be used instead of the method of using the character information one step lower as it is. Also, the second reference pixel 130 can be used for generating the state signal 140 using the state degenerate unit 153 as in the conventional example. In this case, the status signal 1
40, the method of using the second reference pixel 130 as it is, and in addition to the state signal 140, the second reference pixel 130
Into a state degenerate unit (not shown) to generate and use a second state signal.
【0070】一方、符号化システム170によって符号
化された符号化データ200は、図7(B)に示す復号
化システム180によって画素データ100Bとなる文
字ビットマップフォントのデータとして復号化される。
この復号化システム180は、図16や図18の復号化
システム160と基本的には同一構成となっている。異
なる点は、第2参照画素130のデータを状態信号等と
してエントロピー復号器54に入力させ復号効率を高め
ている点である。On the other hand, the encoded data 200 encoded by the encoding system 170 is decoded by the decoding system 180 shown in FIG. 7B as character bitmap font data that becomes the pixel data 100B.
This decoding system 180 has basically the same configuration as the decoding system 160 of FIGS. The difference is that the data of the second reference pixel 130 is input to the entropy decoder 54 as a state signal or the like to increase the decoding efficiency.
【0071】この第2参照画素130のデータは、32
×32ドットの文字ビットマップフォントを再生する場
合や、64×64ドットの文字ビットマップフォントを
再生する場合に使用される。32×32ドットの文字ビ
ットマップフォントを再生する場合は、既に復号された
同一文字の16×16ドットの文字ビットマップフォン
トを検索抽出し、仮フォントメモリ142に入れた後、
そのデータを第2参照画素130のデータとしてエント
ロピー復号器54に入れる。The data of the second reference pixel 130 is 32
It is used when reproducing a × 32 dot character bitmap font or when reproducing a 64 × 64 dot character bitmap font. When reproducing a 32 × 32 dot character bitmap font, a 16 × 16 dot character bitmap font of the same character that has already been decoded is searched and extracted, and is stored in the temporary font memory 142.
The data is input to the entropy decoder 54 as data of the second reference pixel 130.
【0072】すなわち、図7(B)に示す生成下位フォ
ントメモリ140中には、32×32ドットの文字を再
生する場合は、同一文字の既に復号された16×16ド
ットの文字ビットマップフォントデータが格納され、6
4×64ドットの文字を再生する場合は、同一文字の既
に復号された32×32ドットの文字ビットマップフォ
ントのデータが格納される。そして、仮フォントメモリ
142中には、生成下位フォントメモリ140のデータ
が検索抽出され一時的にそのまま記憶される。そして、
符号化データ200を符号化するとき、その符号化デー
タ200の参照画素として、仮フォントメモリ142中
のデータを利用する。すなわち、符号化するとき、従来
のようにラインバファ161から生成される参照画素1
10に加え、再生しようとする文字より小さい同一文字
のビットマップフォントの情報を利用して再生してい
る。That is, when a 32 × 32 dot character is reproduced in the generated lower font memory 140 shown in FIG. 7B, the already decoded 16 × 16 dot character bitmap font data of the same character is read. Is stored, and 6
When a 4 × 64 dot character is reproduced, data of a previously decoded 32 × 32 dot character bitmap font of the same character is stored. Then, in the temporary font memory 142, data of the generated lower-order font memory 140 is retrieved and extracted, and temporarily stored as it is. And
When encoding the encoded data 200, data in the temporary font memory 142 is used as a reference pixel of the encoded data 200. That is, when encoding, the reference pixel 1 generated from the line buffer 161 as in the related art is used.
In addition to 10, reproduction is performed using information of a bitmap font of the same character smaller than the character to be reproduced.
【0073】このように、通常の参照画素110に加
え、第2参照画素130が存在するため、復号効率が良
くなる。ここで、第2参照画素130としては、1段階
下の文字の情報をそのまま利用する方法に代えて、既に
復号された同一の大きさの基準フォント(詳細後述)の
情報を利用するようにしても良い。また、従来例のよう
に、状態縮退器163を使用して状態信号140を発生
させるものにも、この第2参照画素130を利用するこ
とができる。この場合、状態信号140に加え、この第
2参照画素130をそのまま使用する方法と、状態信号
140に加え、第2参照画素130を状態縮退器(図示
省略)に入れ、第2の状態信号を生成し利用する方法と
が考えられる。As described above, since the second reference pixel 130 exists in addition to the normal reference pixel 110, decoding efficiency is improved. Here, as the second reference pixel 130, instead of using the information of the character at the next lower stage as it is, the information of the already decoded reference font of the same size (details will be described later) is used. Is also good. Further, the second reference pixel 130 can also be used for generating the state signal 140 by using the state degenerate unit 163 as in the conventional example. In this case, in addition to the state signal 140, a method of using the second reference pixel 130 as it is, and in addition to the state signal 140, the second reference pixel 130 is put in a state degenerate unit (not shown), and the second state signal is A method of generating and using it is conceivable.
【0074】以上のように、符号化や復号化の際に、小
さい文字の情報を利用しているので、参照画素の数や状
態信号を多くとれ圧縮率が向上し、復号効率が上がる。
しかも、小さい文字の情報を利用できるということは、
例えば、復号化しようとしている画素以前の画素の情報
ばかりでなく、その画素以後の画素の情報も使用できる
こととなる。すなわち、図8(A)の復号化対象画素X
の復号化に当たり、図8(B)に示すように、画素Xが
含まれる文字より小さい同一文字の画素を縦横各2倍に
拡大したデータL1〜L4、M1〜M4、N1〜N4、
P1〜P4等を利用できる。ここでL1が画素Cの位
置、L2が画素Bの位置、M1が画素Dの位置、L3が
画素Aの位置、L4が画素Xの位置に相当する。As described above, since small character information is used in encoding and decoding, a large number of reference pixels and a large number of state signals can be obtained to improve the compression rate and increase decoding efficiency.
In addition, the fact that information in small characters can be used means that
For example, not only the information of the pixel before the pixel to be decoded but also the information of the pixel after the pixel can be used. That is, the decoding target pixel X in FIG.
8B, data L1 to L4, M1 to M4, N1 to N4, which are obtained by enlarging pixels of the same character smaller than the character including the pixel X twice vertically and horizontally as shown in FIG.
P1 to P4 can be used. Here, L1 corresponds to the position of the pixel C, L2 corresponds to the position of the pixel B, M1 corresponds to the position of the pixel D, L3 corresponds to the position of the pixel A, and L4 corresponds to the position of the pixel X.
【0075】従来のものであると、マルコフモデルを含
め、画素A,B、C、D等を参照画素としていたが、本
実施の形態では、元のデータL1,L2,L3,M1等
も利用できる。さらに、従来では全く参照することがで
きなかった復号化対象画素Xの後行する位置にある画
素、例えば、M3,N1,N2,P1等も参照画素とし
て利用できるため、復号効率の良いものとなる。In the prior art, the pixels A, B, C, D, etc., including the Markov model, were used as reference pixels. However, in the present embodiment, the original data L1, L2, L3, M1, etc. are also used. it can. Further, a pixel located at a position following the decoding target pixel X, which could not be referred to at all in the related art, for example, M3, N1, N2, P1, etc. can also be used as a reference pixel. Become.
【0076】また、図8(A)の復号化対象画素Xを復
号化するに当たり、元の画素をそのまま利用するように
しても良い。すなわち、元の画素は、情報的には、図8
(C)に示すようなものとなっており、画素Xを復号化
する際、画素Lのみならず、画素M,N,P等を利用す
る。この場合も、画素M,N,Pはすべて符号化対象画
素Xより後行する画素の情報を含んでいるため、復号効
率の良いものとなる。なお、参照画素として、小さく分
割された(拡大された)画素と、小さく分割される前
(拡大前)の画素の両者を利用することもできる。例え
ば、画素N4を復号するとき、拡大された後の周りの画
素N1,N2,N3と、拡大前の画素L,N,Qを参照
画素として利用する。このようにすると、一層復号効率
の良いものとなる。When decoding the pixel X to be decoded shown in FIG. 8A, the original pixel may be used as it is. That is, the original pixel is informationally shown in FIG.
As shown in (C), when decoding the pixel X, not only the pixel L but also the pixels M, N, P, etc. are used. Also in this case, since the pixels M, N, and P all include the information of the pixel succeeding the encoding target pixel X, the decoding efficiency is high. Note that, as reference pixels, both a pixel that has been divided into small pieces (enlarged) and a pixel that has not been divided into small pieces (before enlargement) can be used. For example, when decoding the pixel N4, the surrounding pixels N1, N2, and N3 after the enlargement and the pixels L, N, and Q before the enlargement are used as reference pixels. In this case, the decoding efficiency is further improved.
【0077】以上のような復号化と同様に符号化、すな
わち圧縮の際にも、小さなドット数の同一文字の画素の
情報を利用しているため、圧縮率が高くなりデータ量が
小さいものとなる。Similar to the above-described decoding, the encoding, that is, the compression uses the information of the pixels of the same character with a small number of dots, so that the compression rate is high and the data amount is small. Become.
【0078】次に、本発明の第2の実施の形態のテープ
印字装置61について、図9から図12に基づいて説明
する。このテープ印字装置61の基本的構成は、第1の
実施の形態のテープ印字装置1と同様となっており、同
じ部材には同一符号を付して、説明を省略または簡略化
することとする。Next, a tape printer 61 according to a second embodiment of the present invention will be described with reference to FIGS. The basic configuration of the tape printer 61 is the same as that of the tape printer 1 of the first embodiment, and the same members are denoted by the same reference numerals and description thereof will be omitted or simplified. .
【0079】このテープ印字装置61は、一方の蓋3に
液晶からなる表示部62を有すると共に、その蓋3が閉
じたときに隠されるキーボード2を有するものとなって
いる。テープカートリッジ11やテープカートリッジ1
1が装着される装着部12の各構造は、第1の実施の形
態のテープ印字装置1と同様な構成となっている。ま
た、制御系も図3に示す第1の実施の形態の制御系と同
様となっている。The tape printer 61 has a display section 62 made of liquid crystal on one lid 3 and the keyboard 2 which is hidden when the lid 3 is closed. Tape cartridge 11 or tape cartridge 1
Each structure of the mounting section 12 to which the tape printer 1 is mounted has a configuration similar to that of the tape printer 1 of the first embodiment. The control system is the same as the control system of the first embodiment shown in FIG.
【0080】このテープ印字装置61の印字の解像度
は、400dpiとなっている。そして、基本となる文
字構成は、第1の実施の形態と同様に16×16ドット
で、その大きさの文字フォントデータが第1の実施の形
態と同様なエントロピー符号器58によって基本圧縮デ
ータ55として各書体毎に、キャラクタジェネレータR
OM34内に記憶されている。基本圧縮データ55は、
図10に示すように、所定の文字の圧縮データを作成す
る際、基準フォントとなる他の文字の16×16ドット
の文字フォントをコンテキストとして利用している(詳
細後述)。The printing resolution of the tape printer 61 is 400 dpi. The basic character configuration is 16 × 16 dots as in the first embodiment, and the character font data of that size is converted into the basic compressed data 55 by the entropy encoder 58 similar to the first embodiment. Character generator R for each typeface
It is stored in the OM 34. The basic compressed data 55 is
As shown in FIG. 10, when creating compressed data of a predetermined character, a 16 × 16 dot character font of another character serving as a reference font is used as a context (details will be described later).
【0081】キャラクタジェネレータROM34内に
は、さらに図10に示す第1圧縮データ56と、第2圧
縮データ57とが記憶されている。第1圧縮データ56
は、32×32ドットの文字フォント(第1位文字ビッ
トマップフォント)を再生するために利用するもので、
図10に示すように、16×16ドットの文字フォント
と基準フォントとなる他の文字の32×32ドットの文
字フォントとをコンテキストとして利用して、32×3
2ドットの文字フォントのデータをエントロピー符号器
58によって圧縮して符号化したものである(詳細後
述)。The character generator ROM 34 further stores first compressed data 56 and second compressed data 57 shown in FIG. First compressed data 56
Is used to reproduce a 32 x 32 dot character font (first character bitmap font).
As shown in FIG. 10, a character font of 16 × 16 dots and a character font of 32 × 32 dots of another character serving as a reference font are used as contexts,
This is data obtained by compressing and encoding 2-dot character font data by the entropy encoder 58 (described later in detail).
【0082】また、第2圧縮データ57は、64×64
ドットの文字フォント(第2位文字ビットマップフォン
ト)のデータを、32×32ドットの文字フォントと、
基準フォントとなる他の文字の64×64ドットの文字
フォントとを、コンテキストとして利用して、エントロ
ピー符号器58によって圧縮して符号化したものである
(詳細は後述)。なお、各エントロピー符号器58は、
共に同一構成となっている。したがって、基本圧縮デー
タ55、第1圧縮データ56および第2圧縮データ57
は、1つのエントロピー符号器58によって生成するよ
うにしても良い。The second compressed data 57 is 64 × 64
Data of a dot character font (second character bitmap font) is converted into a 32 × 32 dot character font,
A character font of 64 × 64 dots of another character serving as a reference font is compressed and encoded by the entropy encoder 58 using as a context (details will be described later). Note that each entropy encoder 58 is
Both have the same configuration. Therefore, the basic compressed data 55, the first compressed data 56, and the second compressed data 57
May be generated by one entropy encoder 58.
【0083】ここで、第1圧縮データ56およびや第2
圧縮データ57の生成は、基本圧縮データ55の生成と
同様にテープ印字装置61の外で行われ、基本圧縮デー
タ55と共にキャラクタジェネレータROM34に入力
させられ記憶させられる。例えば、「林」の文字を記憶
させる場合、小さなドット数で同一文字の「林」の文字
と、この「林」に対する基準フォントとなる文字、例え
ば「桂」の文字を参照して(コンテキストとして利用し
て)圧縮し、そのデータをキャラクタジェネレータRO
M34に入力させることにより行う。この「桂」は、こ
の場合、基準フォントとなる基準文字に相当し、他の
「木」辺の文字を生成する場合のコンテキストとして利
用される。なお、基準フォントは、特定の文字ではな
く、所定の形状のビットマップデータとしても良い。Here, the first compressed data 56 and the second
The generation of the compressed data 57 is performed outside the tape printer 61 in the same manner as the generation of the basic compressed data 55, and is input to the character generator ROM 34 together with the basic compressed data 55 and stored. For example, in the case of storing the character of "Hayashi", the character of "Hayashi" of the same character with a small number of dots and the character which is the reference font for this "Hayashi", for example, the character of "Katsura" are referred to ) And compress the data into a character generator RO
This is done by inputting to M34. In this case, “Katsura” corresponds to a reference character serving as a reference font, and is used as a context when another character on the “tree” side is generated. The reference font may be bitmap data of a predetermined shape instead of specific characters.
【0084】一方、文字フォント再生手段ともなるCP
U31には、図11に示すエントリピー復号器59が内
蔵または接続されている。そして、このCPU31での
文字フォントの再生制御は、次のようにして行われる。On the other hand, the CP serving as the character font reproducing means
The U31 has a built-in or connected entrypy decoder 59 shown in FIG. The reproduction control of the character font in the CPU 31 is performed as follows.
【0085】16×16ドットの文字を再生するとき
は、基本圧縮データ55をエントロピー復号器59に入
力し、既に復号または内蔵された16×16ドットの基
準フォントをコンテキストとして利用して再生する(詳
細は後述)。32×32ドットの文字を再生するとき
は、既に復号された16×16ドットの同一文字のフォ
ントと、32×32ドットの基準フォントとをコンテキ
ストとして利用して、第1圧縮データ56をエントロピ
ー復号器59によって32×32ドットの文字フォント
(第1位文字ビットマップフォント)として再生する
(詳細後述)。When reproducing characters of 16 × 16 dots, the basic compressed data 55 is input to the entropy decoder 59, and reproduced using the already decoded or built-in 16 × 16 dot reference font as a context ( Details will be described later). When reproducing a character of 32 × 32 dots, the first compressed data 56 is entropy-decoded using the already decoded font of the same character of 16 × 16 dots and a reference font of 32 × 32 dots as a context. The character is reproduced as a 32 × 32 dot character font (first character bitmap font) by the device 59 (details will be described later).
【0086】64×64ドットの文字を再生するとき
は、上述のステップによって32×32ドットの文字フ
ォントのデータを得、その後32×32ドットの同一文
字のフォントのデータをコンテキストとして利用すると
共に既に復号または内蔵された64×64ドットの基準
フォントとをコンテキストとして利用し、64×64ド
ットの文字フォント(第2位文字ビットマップフォン
ト)を再生する。When reproducing a character of 64 × 64 dots, data of a character font of 32 × 32 dots is obtained by the above-described steps. The 64 × 64 dot character font (second character bitmap font) is reproduced using the decrypted or built-in 64 × 64 dot reference font as a context.
【0087】再生された各データは、第1の実施の形態
と同様に、ヘッド駆動用のドライバ41を介してサーマ
ルヘッド17に伝えられ、それぞれの大きさの文字フォ
ントがテープ13に印字される。また、各データは、表
示駆動用のドライバ42を介して液晶表示部19に伝え
られ、表示される。The reproduced data is transmitted to the thermal head 17 via the head driving driver 41 in the same manner as in the first embodiment, and the character font of each size is printed on the tape 13. . Each data is transmitted to the liquid crystal display unit 19 via the display driving driver 42 and displayed.
【0088】先に示した16×16ドットの文字フォン
トや32×32ドットの文字フォント等の圧縮および3
2×32ドットや64×64ドット等の文字フォントの
再生すなわち復号に当たっては、圧縮率を高め復号効率
を高めるため、次のような技術を採用している。The compression of the character font of 16 × 16 dots, the character font of 32 × 32 dots, etc.
In reproducing or decoding character fonts such as 2 × 32 dots and 64 × 64 dots, the following techniques are employed in order to increase the compression rate and increase the decoding efficiency.
【0089】すなわち、16×16ドットの文字フォン
トのデータ、32×32ドットの文字フォントのデータ
および64×64ドットの文字フォントのデータは、図
12(A)に示される符号化システム171に画素デー
タ100Aとして入力され、エントロピー符号器58に
よって圧縮符号化され、符号化データ200として出力
される。この出力された符号化データ200がキャラク
タジェネレータROM34内に入れられる。That is, 16 × 16 dot character font data, 32 × 32 dot character font data and 64 × 64 dot character font data are supplied to the encoding system 171 shown in FIG. The data is input as data 100A, compression-encoded by the entropy encoder 58, and output as encoded data 200. The output encoded data 200 is stored in the character generator ROM 34.
【0090】この符号化システム171は、図7の符号
化システム170と基本的には同一構成となっている。
異なる点は、第3参照画素131のデータを状態信号等
としてエントロピー符号器58に入力させ圧縮率を高く
している点である。The encoding system 171 has basically the same configuration as the encoding system 170 shown in FIG.
The difference is that the data of the third reference pixel 131 is input to the entropy encoder 58 as a state signal or the like to increase the compression ratio.
【0091】この第3参照画素131のデータは、各ド
ット数の文字ビットマップフォントデータを圧縮する際
に生成され使用されるものである。そして、図12
(A)に示す基準フォントメモリ124中には、16×
16ドットや32×32ドットや64×64ドットの各
基準文字となる基準フォントのデータが格納されてい
る。そして、例えば、32×32ドットの文字フォント
のデータを符号化しようとするとき、その文字の基準フ
ォントとなる基準文字が検索抽出され、仮フォントメモ
リ126中に一旦記憶される。The data of the third reference pixel 131 is generated and used when compressing character bitmap font data of each dot number. And FIG.
The reference font memory 124 shown in FIG.
Reference font data serving as reference characters of 16 dots, 32 × 32 dots, and 64 × 64 dots is stored. Then, for example, when encoding data of a character font of 32 × 32 dots, a reference character serving as a reference font of the character is retrieved and extracted and temporarily stored in the temporary font memory 126.
【0092】そして、各文字フォントのデータを符号化
するとき、そのデータの参照画素(コンテキスト)とし
て仮フォントメモリ126中のデータを利用する。すな
わち、符号化するとき、従来のようにラインバッファ1
51から生成される参照画素110および対応する小さ
なドット数の同一文字から生成される参照画素130に
加え、生成しようとする大きさの文字フォントと同一大
きさの基準フォントの情報を利用して圧縮している。When encoding the data of each character font, the data in the temporary font memory 126 is used as a reference pixel (context) of the data. That is, when encoding, the line buffer 1
In addition to the reference pixel 110 generated from 51 and the corresponding reference pixel 130 generated from the same character having a small number of dots, compression is performed using information on a reference font having the same size as the character font to be generated. doing.
【0093】このように、通常の参照画素110に加
え、第2参照画素130および第3参照画素131が存
在するため、圧縮率が高くなる。なお、従来例のように
状態縮退器153を使用して状態信号140を発生させ
るものにもこの第2参照画素130および第3参照画素
131を利用することができる。この場合、状態信号1
40に加え、この第2参照画素130および第3参照画
素131をそのまま使用する方法と、状態信号140に
加え、第2参照画素130および第3参照画素131を
状態縮退器(図示省略)に入れ、第2の状態信号を生成
し利用する方法とが考えられる。As described above, since the second reference pixel 130 and the third reference pixel 131 exist in addition to the normal reference pixel 110, the compression ratio is increased. Note that the second reference pixel 130 and the third reference pixel 131 can also be used for generating the state signal 140 using the state degenerate unit 153 as in the conventional example. In this case, the status signal 1
40, a method of using the second reference pixel 130 and the third reference pixel 131 as they are, a method of putting the second reference pixel 130 and the third reference pixel 131 into a state degenerate unit (not shown) in addition to the state signal 140. , A second state signal may be generated and used.
【0094】一方、符号化システム171によって符号
化された符号化データ200は、図12(B)に示す復
号化システム181によって、画素データ100Bとな
る文字ビットマップフォントのデータとして復号化され
る。この復号化システム181は、図7の復号化システ
ム170と基本的には同一構成となっている。異なる点
は、第3参照画素131のデータを状態信号等としてエ
ントロピー復号器59に入力させ復号効率を高めている
点である。On the other hand, the encoded data 200 encoded by the encoding system 171 is decoded by the decoding system 181 shown in FIG. 12B as character bitmap font data that becomes pixel data 100B. This decoding system 181 has basically the same configuration as the decoding system 170 of FIG. The difference is that the data of the third reference pixel 131 is input to the entropy decoder 59 as a state signal or the like to increase the decoding efficiency.
【0095】この第3参照画素131のデータは、各ド
ット数の文字ビットマップフォントを再生する場合、例
えば、32×32ドットの文字ビットマップフォントを
再生する場合は、既に復号または内蔵された32×32
ドットの基準フォントのデータを検索抽出し、仮フォン
トメモリ146に入れられたものである。そして、この
データを、第3参照画素131のデータとしてエントロ
ピー復号器54に入れる。なお、基準フォントメモリ1
44には、既に復号された基準フォントを入れるように
しても良い(図12の点線参照)が、予め基準フォント
のみ各ドット数に合わせて保存しておくようにしても良
い。The data of the third reference pixel 131 is used for reproducing a character bitmap font of each dot number, for example, for reproducing a character bitmap font of 32 × 32 dots. × 32
The data of the reference font of the dot is retrieved and extracted, and is stored in the temporary font memory 146. Then, this data is input to the entropy decoder 54 as data of the third reference pixel 131. The reference font memory 1
The reference font that has already been decoded may be inserted into 44 (see the dotted line in FIG. 12), but only the reference font may be stored in advance according to the number of dots.
【0096】そして、符号化データ200を符号化する
とき、仮フォントメモリ146中には、基準フォントメ
モリ144のデータから復号しようとする文字の基準と
なる基準フォントのデータが検索抽出された後、一時的
に記憶される。その後、その符号化データ200の参照
画素として、仮フォントメモリ146中のデータが利用
される。すなわち、符号化するとき、従来のようにライ
ンバファ161から生成される参照画素110に加え、
再生しようとする文字より小さい同一文字のビットマッ
プフォントの情報および同一大きさの基準フォントの情
報を利用して再生している。When the encoded data 200 is encoded, data of a reference font serving as a reference of a character to be decoded is retrieved and extracted from the data of the reference font memory 144 in the temporary font memory 146. Stored temporarily. After that, the data in the temporary font memory 146 is used as a reference pixel of the encoded data 200. That is, when encoding, in addition to the reference pixel 110 generated from the line buffer 161 as in the related art,
The reproduction is performed using the information of the bitmap font of the same character smaller than the character to be reproduced and the information of the reference font of the same size.
【0097】このように、通常の参照画素110に加
え、第2参照画素130および第3参照画素131が存
在するため、復号効率が良くなる。なお、従来例のよう
に、状態縮退器163を使用して状態信号140を発生
させるものにも、この第2参照画素130および第3参
照画素131を利用することができる。この場合、状態
信号140に加え、この第2参照画素130および第3
参照画素131をそのまま使用する方法と、状態信号1
40に加え、第2参照画素130および第3参照画素1
31を状態縮退器(図示省略)に入れ、第2の状態信号
を生成し利用する方法とが考えられる。As described above, since the second reference pixel 130 and the third reference pixel 131 exist in addition to the normal reference pixel 110, decoding efficiency is improved. Note that the second reference pixel 130 and the third reference pixel 131 can also be used for generating the state signal 140 using the state degeneracy unit 163 as in the conventional example. In this case, in addition to the state signal 140, the second reference pixel 130 and the third
The method of using the reference pixel 131 as it is and the state signal 1
40, a second reference pixel 130 and a third reference pixel 1
It is conceivable to put 31 in a state degenerate unit (not shown) and generate and use a second state signal.
【0098】以上のように、符号化や復号化の際に、小
さい文字の情報および同一大きさの基準フォントの情報
を利用しているので、参照画素の数や状態信号を多くと
れ圧縮率が向上し、復号効率が上がる。しかも、小さい
同一文字の情報や同一大きさの基準フォントの情報を利
用できるということは、第1の実施の形態と同様に、復
号化しようとしている画素以前の画素の情報ばかりでな
く、その画素以後の画素の情報も使用できることとな
る。As described above, since information on small characters and information on a reference font having the same size are used at the time of encoding and decoding, the number of reference pixels and the state signal can be increased, and the compression ratio can be increased. It improves the decoding efficiency. In addition, the fact that information of a small identical character and information of a reference font having the same size can be used means that, as in the first embodiment, not only the information of the pixel before the pixel to be decoded but also that pixel Subsequent pixel information can also be used.
【0099】次に、本発明の第3の実施の形態につい
て、図13から図15に基づいて説明する。この実施の
形態は、第1および第2の実施の形態のテープ印字装置
1,61と同様なテープ印字装置となっており、その装
置内に組み込まれるドット数の種類が異なるものとなっ
ている。このため、テープ印字装置の構成についての説
明は省略すると共に、第1および第2の実施の形態と同
じ部材には同一符号を付して説明することとする。Next, a third embodiment of the present invention will be described with reference to FIGS. This embodiment is a tape printer similar to the tape printers 1 and 61 of the first and second embodiments, and differs in the type of the number of dots incorporated in the printer. . Therefore, the description of the configuration of the tape printing apparatus will be omitted, and the same members as those in the first and second embodiments will be described with the same reference numerals.
【0100】この第3の実施の形態におけるキャラクタ
ジェネレータROM34内には、図13に示す基準圧縮
データ50と、第1圧縮データ71と、第2圧縮データ
72と、第3圧縮データ73と、第4圧縮データ74と
が記憶されている。第1圧縮データ71は、1.5倍フ
ォントとなる24×24ドットの文字フォント(第1位
文字ビットマップフォント)を再生するために利用する
もので、図13に示すように、24×24ドットの文字
フォントのデータをエントロピー符号器53に入力して
圧縮する際、同一文字の16×16ドットのデータを利
用している。In the character generator ROM 34 of the third embodiment, reference compressed data 50, first compressed data 71, second compressed data 72, third compressed data 73, 4 compressed data 74 are stored. The first compressed data 71 is used for reproducing a character font of 24 × 24 dots (first character bitmap font) which is a 1.5-fold font. As shown in FIG. When the dot character font data is input to the entropy encoder 53 and compressed, 16 × 16 dot data of the same character is used.
【0101】また、第2圧縮データ72は、2倍フォン
トとなる32×32ドットの文字フォント(第2位文字
ビットマップフォント)のデータをエントロピー符号器
53に入力し、対応する同一文字の16×16ドットの
情報をコンテキストとして利用して圧縮することにより
得られる。さらに、第3圧縮データ73は、32×32
ドットの1.5倍フォントとなる48×48ドットの文
字フォント(第3位文字ビットマップフォント)のデー
タをエントロピー符号器53に入力し、対応する同一文
字の32×32ドットの情報をコンテキストとして利用
して、圧縮することにより得られる。As the second compressed data 72, data of a character font of 32 × 32 dots (second character bitmap font), which is a double font, is input to the entropy encoder 53, and the corresponding 16 characters of the same character are input. It is obtained by compressing using information of × 16 dots as context. Further, the third compressed data 73 is 32 × 32
Data of a 48 × 48 dot character font (third-order character bitmap font), which is 1.5 times the dot font, is input to the entropy encoder 53, and the corresponding 32 × 32 dot information of the same character is used as a context. Utilization and compression.
【0102】さらに、第4圧縮データ74は、32×3
2ドットの2倍フォントとなる6464ドットの文字フ
ォント(第4位文字ビットマップフォント)のデータを
エントロピー符号器53に入力し、対応する同一文字の
32×32ドットの情報をコンテキストとして利用して
圧縮することにより得られる。なお、各エントロピー符
号器53は、共に同一構成となっている。よって、1つ
のエントロピー符号器53のみによって、各圧縮データ
50,71,72,73,74を生成するようにしても
良い。Further, the fourth compressed data 74 is 32 × 3
Data of a 6464 dot character font (fourth character bitmap font), which is a double font of 2 dots, is input to the entropy encoder 53, and the corresponding 32 × 32 dot information of the same character is used as a context. Obtained by compression. Each of the entropy encoders 53 has the same configuration. Therefore, each of the compressed data 50, 71, 72, 73, 74 may be generated by only one entropy encoder 53.
【0103】各圧縮データ71,72,73,74の生
成は、基本圧縮データ50の生成と同様に、テープ印字
装置の外で行われ、基本圧縮データ50と共にキャラク
タジェネレータROM34に入力させられ記憶させられ
る。なお、圧縮の方法としては、各種の方法を採用でき
るが、ここでは第1の実施の形態と同様に算術符号化を
採用している。具体的には、図7に記載される符号化シ
ステム170と同様なものを使用している。The generation of each of the compressed data 71, 72, 73, 74 is performed outside the tape printing apparatus in the same manner as the generation of the basic compressed data 50, and is input and stored together with the basic compressed data 50 into the character generator ROM 34. Can be Although various methods can be adopted as the compression method, arithmetic coding is employed here as in the first embodiment. Specifically, the same one as the encoding system 170 described in FIG. 7 is used.
【0104】ここで、1.5倍の大きさのドット数の文
字フォントを圧縮する際、小さいドット数の文字の情報
をどのようにして利用するかについて説明する。Here, how to use information of a character having a small number of dots when compressing a character font having a number of dots 1.5 times the size will be described.
【0105】例えば、16×16ドットのデータや、3
2×32ドットのデータが、図15(A)に示すデータ
構成を有しているとする。すなわち、画素Wが白で、画
素X,Y,Zが黒とする。このようなデータを1.5倍
の大きさのドット数のもので表そうとすると、4つの画
素を9つに分割する必要がある。このため、このテープ
印字装置1,61では、4つの画素からなる正方形状の
画素を単位として分割するようにしている。すなわち、
画素W,X,Y,Zは、9つの新画素S1〜S9に分割
される。そして、小さいドット数の画素のデータを利用
するには、小さいドット数の画素をそのまま利用する方
法と、小さいドット数の画素から9つの画素に分割した
情報を利用する方法と、これら2つの方法を同時に利用
する方法の計3つの方法がある。この点は、第1の実施
の形態と同様である。For example, 16 × 16 dot data, 3
It is assumed that 2 × 32 dot data has the data configuration shown in FIG. That is, the pixel W is white and the pixels X, Y, and Z are black. In order to represent such data with a dot number 1.5 times as large, it is necessary to divide four pixels into nine. For this reason, the tape printers 1 and 61 are divided into square pixels each composed of four pixels. That is,
Pixels W, X, Y, and Z are divided into nine new pixels S1 to S9. In order to use data of a pixel having a small number of dots, a method of using a pixel having a small number of dots as it is, a method of using information obtained by dividing a pixel having a small number of dots into nine pixels, and these two methods are available. There are a total of three methods of using the same at the same time. This is the same as in the first embodiment.
【0106】この中で、小さいドット数の4画素を9画
素にどのようにして分割するかについて説明する。例え
ば、大きなドット数の角部の4つの新画素S1,S3,
S7,S9は、それぞれ小さいドット数の画素W,X,
Y,Zの色とされる。このため、新画素S1が白で、新
画素S3,S7,S9は黒となる。新画素S2は2つの
元の画素W,X、新画素S4は2つの元の画素W,Y、
新画素S6は2つの元の画素X,Z、新画素S8は2つ
の元の画素Y,Zを参照して色を確定している。この実
施の形態では、例えば、黒を優先することにより、2つ
とも白のときのみ新画素が白となる。このため、図15
(A)が小さいドット数のデータである場合、大きいド
ット数の新画素S2,S4,S6,S8はすべて黒とな
る。The following describes how to divide four pixels having a small number of dots into nine pixels. For example, four new pixels S1, S3, at the corner of a large number of dots
S7 and S9 represent pixels W, X, and
The colors are Y and Z. Therefore, the new pixel S1 is white, and the new pixels S3, S7, and S9 are black. The new pixel S2 has two original pixels W and X, the new pixel S4 has two original pixels W and Y,
The new pixel S6 determines the color with reference to the two original pixels X and Z, and the new pixel S8 determines the color with reference to the two original pixels Y and Z. In this embodiment, for example, by giving priority to black, the new pixel becomes white only when both are white. Therefore, FIG.
When (A) is data with a small number of dots, the new pixels S2, S4, S6, and S8 with a large number of dots are all black.
【0107】中央の新画素S5は、小さいドット数の4
つの画素W,X,Y,Zすべてを参照して色が決定され
る。この実施の形態では、黒を優先しており、元の画素
が2つ以上黒であると黒としている。この結果、この図
15(A)のデータ構成の場合、新画素S5は黒とな
る。The central new pixel S5 has a small dot number of 4
The color is determined with reference to all the pixels W, X, Y, and Z. In this embodiment, black is prioritized, and if two or more original pixels are black, black is set. As a result, in the case of the data configuration of FIG. 15A, the new pixel S5 becomes black.
【0108】このように、16×16ドットの文字フォ
ントの4画素分を1.5倍フォントとなる24×24ド
ットの文字フォントの9画素にすることにより、圧縮の
際の利用が容易となる。この関係は、32×32ドット
を同様に1.5倍フォントの48×48ドットの文字フ
ォントの圧縮に利用する場合にも適用することができ
る。As described above, by using four pixels of a character font of 16 × 16 dots as nine pixels of a character font of 24 × 24 dots which becomes 1.5 times font, it becomes easy to use the data for compression. . This relationship can also be applied to a case where 32 × 32 dots are similarly used to compress a 1.5 × font 48 × 48 dot character font.
【0109】なお、小さいドット数の文字の4画素分を
9画素に分割する際の、その各画素の決定方法として
は、先に述べたように小さいドット数の画素W,X,
Y,Zそのものを利用したり、分割後の周辺の画素を参
照したり、分割前の周辺の画素を参照したりする方法等
がある。例えば、大きなドット数の新画素S2を決定す
るに際し、小さいドット数の画素W,Xの上の画素U,
Vを参照したり、新画素S2の周りの新画素SA,S
B,SC,S1,S3,S4,S5,S6を参照するよ
うにしても良い。分割の際の参照画素としては、これら
以外に各種の方法を採用することができる。なお、第1
の実施の形態で、小さいドット数の文字の1画素分を4
画素に分割する際の、その各画素の決定方法も、同様に
各種の方法を採用することができる。When dividing four pixels of a character having a small number of dots into nine pixels, the method of determining each pixel is as described above.
There are methods of using Y and Z themselves, referring to peripheral pixels after division, and referring to peripheral pixels before division. For example, when determining a new pixel S2 having a large number of dots, the pixels U,
V and new pixels SA and S around the new pixel S2.
B, SC, S1, S3, S4, S5, and S6 may be referred to. As a reference pixel at the time of division, various methods other than these can be adopted. The first
In the embodiment, one pixel of a character having a small number of dots is
Various methods can be employed for the method of determining each pixel when dividing into pixels.
【0110】一方、文字フォントの再生は、次のように
して行われる。なお、基本的には、図5に示す第1の実
施の形態同様のアルゴリズムおよび装置で再生される
が、1.5倍フォントとも呼べる24×24ドットや4
8×48ドットの文字フォントの再生が加わっている点
がわずかに異なる。On the other hand, the reproduction of the character font is performed as follows. Basically, reproduction is performed by the same algorithm and apparatus as in the first embodiment shown in FIG.
The difference is that the reproduction of the character font of 8 × 48 dots is added.
【0111】16×16ドットの文字を再生するとき
は、基本圧縮データ50をそのままエントロピー復号器
54に入力して再生する。24×24ドットの文字を再
生するときは、16×16ドットの情報をコンテキスト
として利用し、第1圧縮データ71をエントロピー復号
器54で24×24ドットの文字フォントに復号する。
同様にして、32×32ドットの文字は、第2圧縮デー
タ72と16×16ドットの情報から再生し、48×4
8ドットの文字は、第3圧縮データ73と32×32ド
ットの情報とから再生し、64×64ドットの文字は、
第4圧縮データ74と32×32ドットの情報とから再
生している。When reproducing characters of 16.times.16 dots, the basic compressed data 50 is directly input to the entropy decoder 54 and reproduced. When reproducing a character of 24 × 24 dots, the first compressed data 71 is decoded into a character font of 24 × 24 dots by the entropy decoder 54 using information of 16 × 16 dots as a context.
Similarly, a character of 32 × 32 dots is reproduced from the second compressed data 72 and information of 16 × 16 dots,
An 8-dot character is reproduced from the third compressed data 73 and 32 × 32 dot information, and a 64 × 64 dot character is
Reproduction is performed from the fourth compressed data 74 and information of 32 × 32 dots.
【0112】この第3の実施の形態における再生時のシ
ステムは、図7の復号化システム180と同様のものを
使用している。なお、4画素を9画素に分割する際等の
色の決定、例えば白、黒の決定に当たっては、上述した
各基準を表としておき、キャラクタジェネレータROM
34またはその他のROMやEPROM等に記憶させて
おくのが好ましい。The system at the time of reproduction according to the third embodiment uses the same system as the decoding system 180 shown in FIG. Note that in determining colors when dividing four pixels into nine pixels, for example, determining white and black, the above-described respective criteria are set in a table, and the character generator ROM is used.
34 or another ROM or EPROM.
【0113】なお、上述の各実施の形態は、本発明の好
適な実施の形態の例であるが、これに限定されるもので
はなく、本発明の要旨を逸脱しない範囲において、種々
変形実施可能である。例えば、上述の第1から第3の実
施の形態では、文字の大きさを一番小さな文字の1.5
倍や2倍にしたり、それらを組み合わせたりしたものに
しているが、1.2倍、1.4倍、1.7倍等種々の大
きさの文字にも本発明を適用することができる。さら
に、各ドット数の文字としては、縦横同じではなく、例
えば、縦に対して、横は2倍のものとしたり、横に対し
縦を2倍のものとしたりする等、縦横が異なるドット数
のものとしても良い。The above embodiments are only examples of preferred embodiments of the present invention, but the present invention is not limited to these embodiments, and various modifications can be made without departing from the spirit of the present invention. It is. For example, in the above-described first to third embodiments, the size of the character is set to 1.5 times that of the smallest character.
The present invention can be applied to characters of various sizes, such as 1.2 times, 1.4 times, and 1.7 times, although they are doubled, doubled, or a combination thereof. Further, the characters of each dot number are not the same in the vertical and horizontal directions. For example, the number of dots in the vertical and horizontal directions is twice as large as the vertical one, and twice as large as the vertical one. It is good as well.
【0114】また、基準フォントとなる同一の大きさの
基準文字としては、かんむりや辺部分等、文字の一部が
同一な文字から一つ抽出してくるのが好ましいが、文字
の一部が同一な文字群から二つ以上を基準文字として抽
出したり、文字の一部が同一とならない全く異なる文字
を基準文字としても良い。さらには、文字ではなくドッ
トの集まりからなる単なる図形を基準フォントとしても
良い。Further, as reference characters having the same size as the reference font, it is preferable to extract one character from the same character, such as a crown or a side portion. Two or more characters may be extracted from the same character group as reference characters, or completely different characters in which some of the characters are not identical may be used as reference characters. Furthermore, a simple figure composed of a group of dots instead of characters may be used as the reference font.
【0115】さらに、復号化の際、参照するものとし
て、小さなドット数の同一文字等ではなく、小さなドッ
ト数の基準フォントとしても良い。また、小さなドット
数の基準フォントと、各実施の形態で述べたものとを組
み合わせて参照するようにしても良い。Further, at the time of decoding, a reference font having a small number of dots may be used instead of the same character having a small number of dots as a reference. Further, the reference font having a small number of dots may be referred to in combination with the font described in each embodiment.
【0116】また、上述の各実施の形態では、テープ印
字装置にこの発明の文字フォント再生方法を使用した例
を示したが、ワードプロセッサやパソコン等の文書作成
機にも適用することができる。Further, in each of the above embodiments, an example is shown in which the character font reproducing method of the present invention is used in a tape printer, but the present invention can also be applied to a document processor such as a word processor or a personal computer.
【0117】[0117]
【発明の効果】以上説明したように、請求項1から3記
載の文字フォント再生方法では、文字のフォントの大き
さが複数となっても、使用するメモリの容量をそれ程増
加させずに、複数の大きさの文字をきれいに再生するこ
とができる。また、再生される文字のためのデータ量を
小さくできるので、文字品質が良いにも拘わらず再生速
度を向上させることができる。加えて、再生に当たっ
て、同じ文字で小さいドット数の文字の情報や同じ大き
さの基準フォントの情報を利用しているので、復号効率
が良いものとなる。As described above, in the character font reproducing method according to any one of claims 1 to 3, even if the font size of the character is plural, the character font can be reproduced without increasing the capacity of the memory used so much. Size characters can be reproduced beautifully. Also, since the amount of data for the characters to be reproduced can be reduced, the reproduction speed can be improved despite good character quality. In addition, at the time of reproduction, information of characters having the same character and a small number of dots or information of a reference font having the same size is used, so that decoding efficiency is improved.
【0118】さらに、請求項4から6記載のテープ印字
装置や請求項7から9記載の文書作成機では、文字ビッ
トマップデータ用のメモリには、十分圧縮された各ドッ
ト数のビットマップフォントのデータが記憶されるの
で、各ドット数の文字をきれいな形で再生することがで
きる。このため、低価格にも拘わらず品質の良い文字を
高速で再生できるテープ印字装置や文書作成機とするこ
とができる。加えて、再生に当たって、同じ文字で小さ
いドット数の文字の情報や同じ大きさの基準フォントの
情報を利用しているので、復号効率が良いものとなる。Further, in the tape printer according to the fourth and sixth aspects and the document creator according to the seventh to ninth aspects, the memory for the character bitmap data has a sufficiently compressed bitmap font of each dot number. Since the data is stored, characters of each dot number can be reproduced in a beautiful form. For this reason, it is possible to provide a tape printer or a document creator capable of reproducing high-quality characters at high speed despite low prices. In addition, at the time of reproduction, information of characters having the same character and a small number of dots or information of a reference font having the same size is used, so that decoding efficiency is improved.
【図1】本発明の第1の実施の形態のテープ印字装置の
外観斜視図である。FIG. 1 is an external perspective view of a tape printing apparatus according to a first embodiment of the present invention.
【図2】図1のテープ印字装置の蓋を開けた状態の要部
斜視図である。FIG. 2 is a perspective view of a main part of the tape printer of FIG. 1 in a state where a lid is opened.
【図3】図1のテープ印字装置の制御系を示す概略ブロ
ック図である。FIG. 3 is a schematic block diagram illustrating a control system of the tape printing apparatus of FIG.
【図4】図1のテープ印字装置内に入力される文字再生
用の圧縮データを生成する方法を説明するための図であ
る。FIG. 4 is a diagram for explaining a method of generating compressed data for character reproduction input into the tape printer of FIG. 1;
【図5】図1のテープ印字装置によって各種の大きさの
文字を再生する方法を説明するための図である。FIG. 5 is a diagram for explaining a method of reproducing characters of various sizes by the tape printer of FIG. 1;
【図6】図1のテープ印字装置内のドット数の異なる文
字の画素関係を示す図である。FIG. 6 is a diagram illustrating a pixel relationship of characters having different numbers of dots in the tape printer of FIG. 1;
【図7】図1のテープ印字装置に使用されるデータの符
号化および復号化の各システムを示す図で、(A)は図
1のテープ印字装置内に格納される符号化データを生成
する符号化システムを示す図で、(B)は図1のテープ
印字装置中に設けられる復号化システムを示す図であ
る。FIGS. 7A and 7B are diagrams showing respective systems for encoding and decoding data used in the tape printer of FIG. 1; FIG. 7A shows an example of generating encoded data stored in the tape printer of FIG. 1; FIG. 2B is a diagram illustrating an encoding system, and FIG. 2B is a diagram illustrating a decoding system provided in the tape printer of FIG. 1.
【図8】図1のテープ印字装置でデータが復号される際
の参照画素を説明するための図で、(A)は符号化対象
画素と参照画素の状態を示し、(B)はドット数を大き
くした場合に小さなドット数の画素を参照する場合を示
し、(C)は小さなドット数の画素をそのまま参照する
場合を示している。8A and 8B are diagrams for explaining reference pixels when data is decoded by the tape printing apparatus in FIG. 1, wherein FIG. 8A shows the state of the encoding target pixel and the reference pixels, and FIG. The case where the pixel having a small number of dots is referred to when is increased, and the case where the pixel having a small number of dots is referred to as is shown in FIG.
【図9】本発明の第2の実施の形態を示す図で、蓋を開
いた状態の外観斜視図である。FIG. 9 is a view showing a second embodiment of the present invention, and is an external perspective view in a state where a lid is opened.
【図10】図9のテープ印字装置内に入力される文字再
生用の圧縮データを生成する方法を説明するための図で
ある。FIG. 10 is a diagram for explaining a method for generating compressed data for character reproduction input into the tape printer of FIG. 9;
【図11】図9のテープ印字装置によって各種の大きさ
の文字を再生する方法を説明するための図である。11 is a diagram for explaining a method of reproducing characters of various sizes by the tape printer of FIG. 9;
【図12】図9のテープ印字装置に使用されるデータの
符号化および復号化の各システムを示す図で、(A)は
図9のテープ印字装置内に格納される符号化データを生
成する符号化システムを示す図で、(B)は図9のテー
プ印字装置中に設けられる復号化システムを示す図であ
る。12A and 12B are diagrams showing respective systems for encoding and decoding data used in the tape printing apparatus of FIG. 9; FIG. 12A shows the generation of encoded data stored in the tape printing apparatus of FIG. 9; FIG. 10B is a diagram illustrating an encoding system, and FIG. 10B is a diagram illustrating a decoding system provided in the tape printer of FIG. 9;
【図13】本発明の第3の実施の形態のテープ印字装置
で使用される文字フォントのための圧縮データを生成す
る方法を説明するための図である。FIG. 13 is a diagram for explaining a method of generating compressed data for a character font used in the tape printer according to the third embodiment of the present invention.
【図14】本発明の第3の実施の形態のテープ印字装置
で使用される文字フォント再生方法を説明するための図
である。FIG. 14 is a diagram for explaining a character font reproducing method used in the tape printer according to the third embodiment of the present invention.
【図15】本発明の第3の実施の形態のテープ印字装置
で使用される大きな文字(1.5倍文字)のフォント
と、小さな文字(1倍文字)のフォントとの関係を説明
するための図である。FIG. 15 illustrates a relationship between a large character (1.5 times characters) font and a small characters (1 times characters) font used in the tape printer according to the third embodiment of the present invention. FIG.
【図16】従来の画像の符号化システムおよび復号化シ
ステムのブロック図である。FIG. 16 is a block diagram of a conventional image encoding and decoding system.
【図17】従来の符号化対象画素データに対する参照画
素データの説明図である。FIG. 17 is an explanatory diagram of reference pixel data with respect to conventional encoding target pixel data.
【図18】状態縮退器を有する従来の画像の符号化シス
テムおよび復号化システムのブロック図である。FIG. 18 is a block diagram of a conventional image encoding and decoding system having a state degeneration unit.
【図19】従来の縮退テーブルの一例を示す図である。FIG. 19 is a diagram showing an example of a conventional degeneration table.
【図20】従来の算術符号型のエントロピー符号器およ
びエントロピー復号器の説明図である。FIG. 20 is an explanatory diagram of a conventional arithmetic code type entropy coder and entropy decoder.
1 テープ印字装置 2 キーボード(入力手段) 3 テープ(記録媒体) 17 サーマルヘッド(印字手段) 18 駆動軸(搬送手段) 19 液晶表示部(表示手段) 31 CPU(文字フォント再生手段) 33 RAM(記憶手段) 50 基本圧縮データ 51 第1圧縮データ 52 第2圧縮データ 53 エントロピー符号器 54 エントロピー復号器 55 基本圧縮データ 56 第1圧縮データ 57 第2圧縮データ 58 エントロピー符号器 59 エントロピー復号器 61 テープ印字装置 120 下位フォントメモリ 122 仮フォントメモリ 124 基準フォントメモリ 126 仮フォントメモリ 130 第2参照画素 131 第3参照画素 140 生成下位フォントメモリ 142 仮フォントメモリ 144 基準フォントメモリ 146仮フォントメモリ DESCRIPTION OF SYMBOLS 1 Tape printer 2 Keyboard (input means) 3 Tape (recording medium) 17 Thermal head (printing means) 18 Drive shaft (conveying means) 19 Liquid crystal display part (display means) 31 CPU (character font reproducing means) 33 RAM (storage) Means) 50 Basic compressed data 51 First compressed data 52 Second compressed data 53 Entropy encoder 54 Entropy decoder 55 Basic compressed data 56 First compressed data 57 Second compressed data 58 Entropy encoder 59 Entropy decoder 61 Tape printing device 120 Lower font memory 122 Temporary font memory 124 Reference font memory 126 Temporary font memory 130 Second reference pixel 131 Third reference pixel 140 Generated lower font memory 142 Temporary font memory 144 Reference font memory 146 Temporary font memory Li
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI G09G 5/22 670 G09G 5/26 630Z 5/24 620 B41J 3/12 C 5/26 630 G06F 15/20 562C ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 6 Identification code FI G09G 5/22 670 G09G 5/26 630Z 5/24 620 B41J 3/12 C 5/26 630 G06F 15/20 562C
Claims (9)
のビットマップフォントを復号化して再生する文字フォ
ント再生方法において、ドット数の大きな文字のビット
マップフォントのデータを復号化する際、復号化するビ
ットの参照画素として、既に復号されているドット数の
小さな同一文字のビットマップフォントの情報を利用す
ることを特徴とする文字フォント再生方法。In a character font reproducing method for decoding and reproducing bitmap fonts of characters of at least two different sizes, decoding is performed when decoding bitmap font data of a character having a large number of dots. A character font reproducing method characterized by using bitmap font information of the same character already decoded and having a small number of dots as a bit reference pixel.
のビットマップフォントを復号化して再生する文字フォ
ント再生方法において、ドット数の大きな文字のビット
マップフォントのデータを復号化する際、復号化するビ
ットの参照画素として、上記ドット数の大きな文字と同
一の大きさの基準フォントの情報を利用することを特徴
とする文字フォント再生方法。2. In a character font reproducing method for decoding and reproducing at least bitmap fonts of characters of two different sizes, when decoding bitmap font data of a character having a large number of dots, decoding is performed. A character font reproducing method characterized by using, as a bit reference pixel, information of a reference font having the same size as the character having a large number of dots.
プフォントのデータを復号化する際、復号化するビット
の参照画素として、前記ドット数の大きな文字と同一の
大きさの基準フォントの情報も利用することを特徴とす
る請求項1記載の文字フォント再生方法。3. When decoding bitmap font data of a character having a large number of dots, information of a reference font having the same size as the character having a large number of dots is also used as a reference pixel of a bit to be decoded. 2. The character font reproducing method according to claim 1, wherein the character font is reproduced.
入力された文書データを記憶する記憶手段と、入力され
た文書データ等の表示を行う表示手段と、テープ状の記
録媒体を搬送する搬送手段と、上記記憶手段に記憶され
ている文書データ等を上記搬送手段によって搬送される
上記記録媒体に印字する印字手段とを有するテープ印字
装置において、少なくとも、2つの異なる大きさの文字
のビットマップフォントを復号化して再生する文字フォ
ント再生手段を設け、ドット数の大きな文字のビットマ
ップフォントのデータを復号化する際、復号化するビッ
トの参照画素として、既に復号されているドット数の小
さな同一文字のビットマップフォントの情報を利用する
ことを特徴とするテープ印字装置。4. An input means for inputting character data or the like,
Storage means for storing the input document data, display means for displaying the input document data, etc., transport means for transporting a tape-shaped recording medium, and document data stored in the storage means. A tape printing apparatus having a printing means for printing on the recording medium conveyed by the conveyance means, wherein at least character font reproducing means for decoding and reproducing bitmap fonts of characters of two different sizes is provided; When decoding bitmap font data of a large number of characters, information of the bitmap font of the same character having a small number of dots already decoded is used as a reference pixel of a bit to be decoded. Tape printer.
入力された文書データを記憶する記憶手段と、入力され
た文書データ等の表示を行う表示手段と、テープ状の記
録媒体を搬送する搬送手段と、上記記憶手段に記憶され
ている文書データ等を上記搬送手段によって搬送される
上記記録媒体に印字する印字手段とを有するテープ印字
装置において、少なくとも、2つの異なる大きさの文字
のビットマップフォントを復号化して再生する文字フォ
ント再生手段を設け、ドット数の大きな文字のビットマ
ップフォントのデータを復号化する際、復号化するビッ
トの参照画素として、上記ドット数の大きな文字と同一
の大きさの基準フォントの情報を利用することを特徴と
するテープ印字装置。5. An input means for inputting character data or the like,
Storage means for storing the input document data; display means for displaying the input document data; transport means for transporting a tape-shaped recording medium; and document data stored in the storage means. A tape printing apparatus having a printing means for printing on the recording medium conveyed by the conveyance means, wherein at least character font reproducing means for decoding and reproducing bitmap fonts of characters of two different sizes is provided; A tape characterized in that when decoding bitmap font data of a large number of characters, information of a reference font having the same size as the character having a large number of dots is used as a reference pixel of a bit to be decoded. Printing device.
プフォントのデータを復号化する際、復号化するビット
の参照画素として、前記ドット数の大きな文字と同一の
大きさの基準フォントの情報も利用することを特徴とす
る請求項4記載のテープ印字装置。6. When decoding bitmap font data of a character having a large number of dots, information of a reference font having the same size as the character having a large number of dots is also used as a reference pixel of a bit to be decoded. 5. The tape printing apparatus according to claim 4, wherein:
力された文字データを記憶する記憶手段と、入力された
文字データの表示を行う表示手段と、上記文字データを
記録媒体に印刷する印字手段とを有する文書作成機にお
いて、少なくとも、2つの異なる大きさの文字のビット
マップフォントを復号化して再生する文字フォント再生
手段を設け、ドット数の大きな文字のビットマップフォ
ントのデータを復号化する際、復号化するビットの参照
画素として、既に復号されているドット数の小さな同一
文字のビットマップフォントの情報を利用することを特
徴とする文書作成機。7. Input means for inputting character data, storage means for storing input character data, display means for displaying the input character data, and printing for printing the character data on a recording medium And a character font reproducing means for decoding and reproducing bitmap fonts of characters of at least two different sizes, and decoding bitmap font data of a character having a large number of dots. In this case, as a reference pixel of a bit to be decoded, information of a bitmap font of the same character having a small number of dots that has already been decoded is used.
力された文字データを記憶する記憶手段と、入力された
文字データの表示を行う表示手段と、上記文字データを
記録媒体に印刷する印字手段とを有する文書作成機にお
いて、少なくとも、2つの異なる大きさのドット数の文
字のビットマップフォントを復号化して再生する文字フ
ォント再生手段を設け、ドット数の大きな文字のビット
マップフォントのデータを復号化する際、復号化するビ
ットの参照画素として、上記ドット数の大きな文字と同
一の大きさの基準フォントの情報を利用することを特徴
とする文書作成機。8. An input unit for inputting character data, a storage unit for storing the input character data, a display unit for displaying the input character data, and a print for printing the character data on a recording medium. A character font reproducing means for decoding and reproducing at least two bitmap fonts of characters having different numbers of dots, and reproducing bitmap font data of characters having a large number of dots. A document creator, characterized in that at the time of decoding, information of a reference font having the same size as a character having a large number of dots is used as a reference pixel of a bit to be decoded.
プフォントのデータを復号化する際、復号化するビット
の参照画素として、前記ドット数の大きな文字と同一の
大きさの基準フォントの情報も利用することを特徴とす
る請求項7記載の文書作成機。9. When decoding bitmap font data of a character having a large number of dots, information of a reference font having the same size as the character having a large number of dots is also used as a reference pixel of a bit to be decoded. The document creator according to claim 7, wherein:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9285474A JPH10312185A (en) | 1997-03-12 | 1997-10-17 | Character font reproducing method, tape printer and document creator |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9-57848 | 1997-03-12 | ||
JP5784897 | 1997-03-12 | ||
JP9285474A JPH10312185A (en) | 1997-03-12 | 1997-10-17 | Character font reproducing method, tape printer and document creator |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH10312185A true JPH10312185A (en) | 1998-11-24 |
Family
ID=26398937
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP9285474A Withdrawn JPH10312185A (en) | 1997-03-12 | 1997-10-17 | Character font reproducing method, tape printer and document creator |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH10312185A (en) |
-
1997
- 1997-10-17 JP JP9285474A patent/JPH10312185A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5329616A (en) | Compressed image stores for high resolution computer graphics | |
JP3737177B2 (en) | Document generation method and apparatus | |
JPH06169405A (en) | Method and device for data compressing/expanding | |
JP3045008B2 (en) | Halftone image compression method | |
JPH06344601A (en) | Outputting apparatus and outputting method | |
JPH10312185A (en) | Character font reproducing method, tape printer and document creator | |
US7091985B1 (en) | System and method for compressing color data using expandable color palette | |
JPH117274A (en) | Character font compression method, character font compression apparatus, character font reproduction method, tape printer, and document creator | |
JP4936524B2 (en) | Image processing system and image processing method | |
JPH10282944A (en) | Character font reproducing method, tape printer and document creator | |
JP2972466B2 (en) | Dot pattern compression method and apparatus and output method and apparatus | |
JP3683667B2 (en) | Printer controller | |
JPH10282946A (en) | Character font reproducing method, tape printer and document creator | |
US5585829A (en) | Apparatus and method for printing characters utilizing stored algorithms | |
JPH11227263A (en) | Printing system, printing equipment and printing controller | |
JPH0981546A (en) | Method for coding of documet with text character and method for transmission of document coded by said method | |
JP3109727B2 (en) | Character processing method and character processing device | |
JPH0230561A (en) | Image processing device | |
JP2584893B2 (en) | Image recording device | |
JP2965429B2 (en) | Character output device | |
JPH06202610A (en) | Method and device for pattern compression | |
JPH0527741A (en) | Generation system for high-quality character | |
JPH04365175A (en) | Picture storage and reproduction device | |
JPH08279915A (en) | Method for compressing data in page printer | |
JPS608517B2 (en) | Text/figure composite display method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20050104 |