JP2001195395A - Character string information output method and apparatus - Google Patents
Character string information output method and apparatusInfo
- Publication number
- JP2001195395A JP2001195395A JP2000002264A JP2000002264A JP2001195395A JP 2001195395 A JP2001195395 A JP 2001195395A JP 2000002264 A JP2000002264 A JP 2000002264A JP 2000002264 A JP2000002264 A JP 2000002264A JP 2001195395 A JP2001195395 A JP 2001195395A
- Authority
- JP
- Japan
- Prior art keywords
- character
- output
- character string
- size
- length
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Studio Circuits (AREA)
- Controls And Circuits For Display Device (AREA)
- Document Processing Apparatus (AREA)
Abstract
(57)【要約】
【課題】 限られた出力領域に文字列データを出力する
際、文字品質を損ねることなく、欠落する文字をできる
かぎり少なくする。
【解決手段】 出力すべき文字列を取得する出力文字列
取得手段101と、文字列の出力領域サイズを取得する
出力領域サイズ取得手段102と、文字列の全ての文字
を出力時に認識可能なサイズとするための文字縮小許容
範囲情報を保持する文字縮小許容範囲情報保持手段10
3と、文字サイズを標準サイズにしたとき文字列の長さ
と出力領域の長さとを比較し、文字サイズを文字列の長
さが出力領域の長さを超えない場合には標準サイズに設
定し、文字列の長さが出力領域の長さを超える場合には
文字縮小許容範囲情報に基づいて設定する文字サイズ設
定手段104と、この設定された文字サイズに応じて文
字列データの生成出力を行う文字データ出力手段105
とを備えている。
(57) [Summary] To output character string data to a limited output area, reduce missing characters as much as possible without deteriorating character quality. SOLUTION: An output character string obtaining means 101 for obtaining a character string to be output, an output area size obtaining means 102 for obtaining an output area size of the character string, and a size capable of recognizing all characters of the character string at the time of output Character reduction allowable range information holding means 10 for storing character reduction allowable range information for
Compare the length of the character string to the length of the output area when the character size is set to the standard size, and set the character size to the standard size if the length of the character string does not exceed the length of the output area. If the length of the character string exceeds the length of the output area, the character size setting means 104 sets the character string based on the allowable character reduction range information, and generates and outputs character string data according to the set character size. Character data output means 105 to be performed
And
Description
【0001】[0001]
【発明の属する技術分野】本発明は、例えばデジタル放
送受信端末における電子番組表の表示のように低解像度
の民生用テレビモニタに文字列を表示する場合等の文字
列情報の表示や印字を行う文字列情報出力方法および装
置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention displays and prints character string information, for example, when displaying a character string on a low-resolution consumer television monitor such as an electronic program guide display in a digital broadcast receiving terminal. The present invention relates to a method and apparatus for outputting character string information.
【0002】[0002]
【従来の技術】従来の技術として、例えば特開平7−8
5366号公報記載のものがある。図7は従来の文字列
情報出力装置の構成図の一例であり、20は文字列情報
出力装置、201は出力する文字列を取得する出力文字
列取得手段、202は出力文字列取得手段201で取得
された文字列を出力する領域のサイズを取得する出力領
域サイズ取得手段、203は出力文字列取得手段201
で取得された文字列情報を出力する時の文字縮小率を、
出力領域サイズ取得手段202で取得した出力領域サイ
ズをもとに算出する文字縮小率算出手段、204は文字
縮小率算出手段203で算出された文字縮小率に基づい
て縮小された文字形状データの生成および出力を行う文
字データ出力手段、2041は文字の形状データを保持
する文字形状データ保持手段、2042は文字縮小率算
出手段203で算出された文字縮小率に基づいて文字形
状データ保持手段2041に保持された文字形状データ
を縮小したデータを準備する出力文字データ準備手段、
2043は出力文字データ準備手段2042で準備され
た文字データを出力する文字データ出力制御手段であ
る。2. Description of the Related Art As a conventional technique, for example, Japanese Unexamined Patent Publication No.
No. 5366 is disclosed. FIG. 7 is an example of a configuration diagram of a conventional character string information output device, 20 is a character string information output device, 201 is an output character string acquisition unit that acquires a character string to be output, and 202 is an output character string acquisition unit 201. An output area size obtaining means for obtaining the size of an area for outputting the obtained character string;
The character reduction ratio when outputting the character string information obtained in
A character reduction ratio calculation unit 204 that calculates based on the output region size acquired by the output region size acquisition unit 202 generates character shape data that is reduced based on the character reduction ratio calculated by the character reduction ratio calculation unit 203. And a character data output unit 204 for outputting character data, a character shape data holding unit 2041 for holding character shape data, and a character shape data holding unit 2041 based on the character reduction ratio calculated by the character reduction ratio calculation unit 203. Output character data preparing means for preparing data obtained by reducing the obtained character shape data,
Reference numeral 2043 denotes character data output control means for outputting the character data prepared by the output character data preparation means 2042.
【0003】次に図7に示された文字列情報出力装置2
0の動作の一例について図8のフローチャートを参照し
て説明する。ここでは横書きの「憂鬱な日々」という5
文字の文字列を、テレビモニタ上の幅50ドット、高さ
16ドットの矩形の出力領域に出力する場合を考える。
なお標準文字サイズは16×16ドットとする。Next, a character string information output device 2 shown in FIG.
An example of operation 0 will be described with reference to the flowchart in FIG. Here is the horizontal 5 "Depressed Days"
Consider a case where a character string of a character is output to a rectangular output area having a width of 50 dots and a height of 16 dots on a television monitor.
The standard character size is 16 × 16 dots.
【0004】(ステップS401)出力文字列取得手段
201で、出力すべき文字列を取得する。ここでは「憂
鬱な日々」という文字列が取得される。(Step S401) The output character string obtaining means 201 obtains a character string to be output. Here, a character string “Depressed Days” is acquired.
【0005】(ステップS402)出力領域サイズ取得
手段202で、出力領域のサイズを取得する。ここでは
幅50ドット、高さ16ドットというサイズが取得され
る。(Step S402) The output area size obtaining means 202 obtains the size of the output area. Here, a size of 50 dots in width and 16 dots in height is obtained.
【0006】(ステップS403)文字縮小率算出手段
203で、まず取得した出力文字列の文字数をカウント
する。ここでは5文字とカウントされる。(Step S403) The character reduction ratio calculating means 203 first counts the number of characters of the obtained output character string. Here, it is counted as five characters.
【0007】(ステップS404)文字縮小率算出手段
203の次の処理として、「文字数×標準文字幅」とい
う算出式で文字列幅を算出する。ここでは文字数5、標
準文字幅16ドットなので、5×16で80ドットと算
出される。(Step S404) As the next process of the character reduction ratio calculating means 203, a character string width is calculated by a calculation formula of “number of characters × standard character width”. In this case, since the number of characters is 5 and the standard character width is 16 dots, 80 dots are calculated as 5 × 16.
【0008】(ステップS405)文字縮小率算出手段
203の次の処理として、文字列幅と出力領域の幅を比
較してその結果で処理を分岐する。ここでは「文字列幅
80>出力領域の幅50」の条件が満たされるのでステ
ップS406に分岐する。これは標準文字幅では出力領
域内に出力しきれないで溢れることを意味しており、次
のステップで出力領域内におさまる文字縮小率を算出し
て縮小した文字を出力することになる。(Step S405) As the next processing of the character reduction ratio calculating means 203, the character string width is compared with the width of the output area, and the processing branches according to the result. Here, since the condition of “character string width 80> output area width 50” is satisfied, the flow branches to step S406. This means that the standard character width overflows without being able to be output in the output area. In the next step, the character reduced in the output area is calculated and the reduced character is output.
【0009】(ステップS406)文字縮小率算出手段
203の次の処理として、「出力領域の幅/文字列幅」
で文字縮小率を算出する。ここでは50/80で文字縮
小率5/8と算出される。文字縮小率5/8で16ドッ
トサイズの文字を縮小すると10ドットサイズとなり、
10ドット×5文字で50ドット幅の出力領域に出力す
ることが可能となる。(Step S 406) As the next process of the character reduction ratio calculating means 203, “width of output area / width of character string”
To calculate the character reduction ratio. Here, the character reduction ratio is calculated to be 5/8 at 50/80. When a character of 16 dot size is reduced at a character reduction ratio of 5/8, it becomes 10 dot size,
It is possible to output 10 dots × 5 characters to an output area having a width of 50 dots.
【0010】(ステップS408)文字縮小率算出手段
203の次の処理として、算出された文字縮小率で文字
列を出力するよう文字データ出力手段204に指示す
る。ここでは文字縮小率5/8なので「標準文字サイズ
16×文字縮小率5/8」で10ドットサイズの文字の
生成と出力を文字データ出力手段204に指示する。出
力文字データ準備手段2042は、文字形状データ保持
手段2041から「憂鬱な日々」という文字列に含まれ
る5文字の形状データを取り出し10ドットのサイズに
縮小する。文字形状データは、アウトラインデータとよ
ばれる輪郭データまたはドットデータとよばれるイメー
ジデータ、どちらの形式で保持されていてもよい。保持
形式によって縮小処理方法は異なる。(Step S 408) As the next processing of the character reduction ratio calculating unit 203, the character data output unit 204 is instructed to output a character string at the calculated character reduction ratio. Here, since the character reduction ratio is 5/8, the character data output unit 204 is instructed to generate and output a character of 10 dot size with “standard character size 16 × character reduction ratio 5/8”. The output character data preparing means 2042 takes out the shape data of five characters included in the character string “Depressed Days” from the character shape data holding means 2041 and reduces the size to 10 dots. The character shape data may be held in either form of outline data called outline data or image data called dot data. The reduction processing method differs depending on the holding format.
【0011】(ステップS409)文字データ出力制御
手段2043で、縮小された文字列データの出力領域へ
の出力を行う。(Step S409) The character data output control means 2043 outputs the reduced character string data to the output area.
【0012】上記で説明したように、従来技術は、出力
すべき文字列が長く、指定された領域の中に全て出力す
ることができない場合に、文字を縮小して出力すること
により、文字列の一部が切れて出力されなくなるという
欠点を解決するものである。As described above, in the prior art, when a character string to be output is long and cannot be completely output in a specified area, the character string is reduced and output, thereby This is to solve the drawback that part of the output is cut off and no longer is output.
【0013】[0013]
【発明が解決しようとする課題】しかしながら、このよ
うな従来の技術では、低解像度の民生用テレビモニタに
表示する場合などに、文字の縮小によって文字がつぶれ
て読めなくなる場合が発生するという問題があった。例
えば「憂鬱な日々」の「鬱」は非常に複雑な形状である
ため16ドットでは識別可能だが、10ドットに縮小す
るとつぶれて識別不可能となってしまう。しかし識別の
ために文字品質を重視して、5文字全てを16ドットサ
イズで出力すると、50ドット幅の出力領域には3文字
分しか出力できず最後の2文字が欠落してしまうという
別の問題が生じる。However, in such a conventional technique, when displaying on a low-resolution consumer television monitor, there is a problem that characters may be crushed and become unreadable due to character reduction. there were. For example, "depression" in "depressive days" has a very complicated shape, so it can be identified by 16 dots, but if it is reduced to 10 dots, it is crushed and cannot be identified. However, if all five characters are output in 16-dot size with emphasis on character quality for identification, only three characters can be output in a 50-dot width output area, and the last two characters are lost. Problems arise.
【0014】本発明は上記課題を解決するものであり、
文字品質を損ねることなく、出力領域において欠落する
文字をできるかぎり少なくすることができる文字列情報
出力方法および装置を目的とする。The present invention solves the above problems,
It is an object of the present invention to provide a character string information output method and apparatus capable of minimizing missing characters in an output area without deteriorating character quality.
【0015】[0015]
【課題を解決するための手段】請求項1記載の文字列情
報出力方法は、出力すべき複数の文字からなる文字列お
よび文字列が出力される領域のサイズである出力領域サ
イズを取得し、文字サイズを予め設定された標準サイズ
にしたときの文字列の長さと出力領域の長さとを比較
し、文字列の長さが出力領域の長さを超える場合に文字
列の文字を標準サイズより小さく縮小した文字列データ
を作成し出力する文字列情報出力方法であって、文字列
の文字を標準サイズより小さく縮小する際、文字列の各
文字を出力時に認識可能なサイズを限度として小さくす
ることを特徴とする。According to a first aspect of the present invention, there is provided a character string information output method comprising: obtaining a character string including a plurality of characters to be output and an output area size which is the size of an area where the character string is output; Compare the length of the character string when the character size is set to the preset standard size with the length of the output area, and if the length of the character string exceeds the length of the output area, change the character of the character string from the standard size. A character string information output method for creating and outputting small and reduced character string data, wherein when reducing the character of a character string to a size smaller than a standard size, each character of the character string is reduced to a size that can be recognized at the time of output. It is characterized by the following.
【0016】この方法によれば、標準サイズでは文字列
の長さが出力領域の長さを超える場合に文字列の文字を
標準サイズより小さく縮小する際、文字列の各文字を出
力時に認識可能なサイズを限度として小さくすることに
より、文字品質を損ねることなく、また出力領域におい
て欠落する文字をできるかぎり少なくすることができ
る。According to this method, when the character of the character string is reduced to a size smaller than the standard size when the length of the character string exceeds the length of the output area in the standard size, each character of the character string can be recognized at the time of output. By making the size as small as possible, it is possible to reduce the number of missing characters in the output area as much as possible without deteriorating the character quality.
【0017】請求項2記載の文字列情報出力方法は、請
求項1記載の文字列情報出力方法において、文字列の各
文字を出力時に認識可能なサイズを限度として小さくす
る際、文字毎の文字縮小限界値に応じて縮小することを
特徴とする。According to a second aspect of the present invention, in the character string information output method according to the first aspect, when each character of the character string is reduced to a size that can be recognized at the time of output, each character has its own character. It is characterized in that the image is reduced according to the reduction limit value.
【0018】これにより、文字品質を損ねることなく、
また出力領域において欠落する文字をできるかぎり少な
くすることができる。Thus, without deteriorating the character quality,
Further, the number of missing characters in the output area can be reduced as much as possible.
【0019】請求項3記載の文字列情報出力方法は、請
求項1記載の文字列情報出力方法において、文字列の各
文字を出力時に認識可能なサイズを限度として小さくす
る際、全ての文字に対する文字縮小限界値に応じて縮小
したときの文字列の長さを算出し、この算出した文字列
の長さが出力領域の長さを超えない場合には全ての文字
に対する文字縮小限界値に応じて縮小し、算出した文字
列の長さが出力領域の長さを超える場合には文字毎の文
字縮小限界値に応じて縮小することを特徴とする。According to a third aspect of the present invention, in the character string information output method according to the first aspect, when each character of the character string is reduced to a maximum size that can be recognized at the time of output, all the characters are output. Calculate the length of the character string when reduced according to the character reduction limit value, and if the calculated character string length does not exceed the length of the output area, calculate the character string limit value for all characters. When the length of the calculated character string exceeds the length of the output area, the character string is reduced according to the character reduction limit value for each character.
【0020】これにより、全ての文字に対する文字縮小
限界値および文字毎の文字縮小限界値を選択して縮小す
ることができ、全ての文字に対する文字縮小限界値に応
じて縮小すると、文字毎の文字縮小限界値に応じて縮小
するよりも、処理が簡単で処理時間が早く、出力サイズ
が大きくなり、認識しやすく(読みやすく)なる。Thus, the character reduction limit value for all characters and the character reduction limit value for each character can be selected and reduced. When the character reduction limit value for all characters is reduced, the character The processing is simpler, the processing time is faster, the output size is larger, and it is easier to recognize (read) than to reduce the image according to the reduction limit value.
【0021】請求項4記載の文字列情報出力方法は、請
求項1記載の文字列情報出力方法において、文字列の各
文字を出力時に認識可能なサイズを限度として小さくす
る際、文字グループ毎の文字縮小限界値に応じて縮小し
たときの文字列の長さを算出し、この算出した文字列の
長さが出力領域の長さを超えない場合には文字グループ
毎の文字縮小限界値に応じて縮小し、算出した文字列の
長さが出力領域の長さを超える場合には文字毎の文字縮
小限界値に応じて縮小することを特徴とする。According to a fourth aspect of the present invention, in the character string information output method according to the first aspect, when each character of the character string is reduced to a size that can be recognized at the time of output, each character group has Calculate the length of the character string when reduced according to the character reduction limit value, and if the calculated length of the character string does not exceed the length of the output area, calculate the length according to the character reduction limit value for each character group. When the length of the calculated character string exceeds the length of the output area, the character string is reduced according to the character reduction limit value for each character.
【0022】これにより、文字グループ毎の文字縮小限
界値および文字毎の文字縮小限界値を選択して縮小する
ことができ、文字グループ毎の文字縮小限界値に応じて
縮小すると、文字毎の文字縮小限界値に応じて縮小する
よりも、処理が簡単で処理時間が早く、出力サイズが大
きくなり、認識しやすく(読みやすく)なる。また、請
求項3の場合と比較して限られた出力領域により多くの
文字を出力することが可能となる。Thus, the character reduction limit value for each character group and the character reduction limit value for each character can be selected and reduced. When the character reduction limit value for each character group is reduced, the character The processing is simpler, the processing time is faster, the output size is larger, and it is easier to recognize (read) than to reduce the image according to the reduction limit value. Further, it is possible to output more characters in a limited output area as compared with the case of the third aspect.
【0023】請求項5記載の文字列情報出力方法は、請
求項1記載の文字列情報出力方法において、文字列の各
文字を出力時に認識可能なサイズを限度として小さくす
る際、全ての文字に対する文字縮小限界値に応じて縮小
したときの文字列の長さを算出し、この算出した文字列
の長さが出力領域の長さを超えない場合には全ての文字
に対する文字縮小限界値に応じて縮小し、算出した文字
列の長さが出力領域の長さを超える場合には文字グルー
プ毎の文字縮小限界値に応じて縮小したときの文字列の
長さを算出し、この算出した文字列の長さが出力領域の
長さを超えない場合には文字グループ毎の文字縮小限界
値に応じて縮小し、算出した文字列の長さが出力領域の
長さを超える場合には文字毎の文字縮小限界値に応じて
縮小することを特徴とする。According to a fifth aspect of the present invention, in the character string information output method according to the first aspect, when each character of the character string is reduced to a maximum size that can be recognized at the time of output, all the characters are output. Calculate the length of the character string when reduced according to the character reduction limit value, and if the calculated character string length does not exceed the length of the output area, calculate the character string limit value for all characters. If the length of the calculated character string exceeds the length of the output area, the length of the character string when reduced according to the character reduction limit value for each character group is calculated, and the calculated character If the length of the string does not exceed the length of the output area, it is reduced according to the character reduction limit value for each character group, and if the calculated character string length exceeds the length of the output area, Character reduction according to the character reduction limit To.
【0024】これにより、全ての文字に対する文字縮小
限界値、文字グループ毎の文字縮小限界値および文字グ
ループ毎の文字縮小限界値を選択して縮小することがで
きる。Thus, the character reduction limit value for all characters, the character reduction limit value for each character group, and the character reduction limit value for each character group can be selected and reduced.
【0025】請求項6記載の文字列情報出力装置は、出
力すべき複数の文字からなる文字列を取得する出力文字
列取得手段と、文字列が出力される領域のサイズである
出力領域サイズを取得する出力領域サイズ取得手段と、
文字列の各文字を出力時に認識可能なサイズとするため
の文字縮小許容範囲情報を保持する文字縮小許容範囲情
報保持手段と、文字サイズを予め設定された標準サイズ
にしたときの出力文字列取得手段で取得した文字列の長
さと出力領域サイズ取得手段で取得した出力領域の長さ
とを比較し、文字列の長さが出力領域の長さを超えない
場合には文字サイズを標準サイズに設定し、文字列の長
さが出力領域の長さを超える場合には文字サイズを文字
縮小許容範囲情報に基づいて設定する文字サイズ設定手
段と、文字サイズ設定手段により設定された文字サイズ
に応じて文字列データの生成出力を行う文字データ出力
手段とを備えている。According to a sixth aspect of the present invention, there is provided a character string information output device, comprising: an output character string obtaining unit for obtaining a character string including a plurality of characters to be output; and an output area size which is the size of the area where the character string is output. Output area size obtaining means to obtain;
Character reduction allowable range information holding means for storing character reduction allowable range information for making each character of a character string a recognizable size at the time of output, and obtaining an output character string when the character size is set to a preset standard size Compare the length of the character string obtained by the means with the length of the output area obtained by the output area size obtaining means, and if the length of the character string does not exceed the length of the output area, set the character size to the standard size If the length of the character string exceeds the length of the output area, the character size is set according to the character size set based on the character reduction allowable range information and the character size set by the character size setting unit. And character data output means for generating and outputting character string data.
【0026】この構成によれば、標準サイズでは文字列
の長さが出力領域の長さを超える場合に、文字サイズ設
定手段が、文字縮小許容範囲情報保持手段に保持された
文字列の各文字を出力時に認識可能なサイズとするため
の文字縮小許容範囲情報に基づいて文字サイズを設定す
ることにより、文字データ出力手段から出力される文字
列データの文字品質を損ねることなく、また出力領域に
おいて欠落する文字をできるかぎり少なくすることがで
きる。According to this configuration, when the length of the character string exceeds the length of the output area in the standard size, the character size setting means can determine each character of the character string held in the character reduction allowable range information holding means. By setting the character size based on the character reduction allowable range information for making the size recognizable at the time of output, without deteriorating the character quality of the character string data output from the character data output means, and in the output area Missing characters can be minimized.
【0027】請求項7記載の文字列情報出力装置は、請
求項6記載の文字列情報出力装置において、文字縮小許
容範囲情報保持手段が文字縮小許容範囲情報として文字
毎の文字縮小限界値を保持することを特徴とする。According to a seventh aspect of the present invention, in the character string information output device according to the sixth aspect, the character reduction allowable range information holding means holds a character reduction limit value for each character as character reduction allowable range information. It is characterized by doing.
【0028】これにより、文字品質を損ねることなく、
また出力領域において欠落する文字をできるかぎり少な
くすることができる。Thus, without deteriorating the character quality,
Further, the number of missing characters in the output area can be reduced as much as possible.
【0029】請求項8記載の文字列情報出力装置は、請
求項6記載の文字列情報出力装置において、文字縮小許
容範囲情報保持手段が文字縮小許容範囲情報として文字
毎の文字縮小限界値および全ての文字に対する文字縮小
限界値を保持し、文字サイズ設定手段が全ての文字に対
する文字縮小限界値と文字毎の文字縮小限界値とを選択
可能であることを特徴とする。The character string information output device according to claim 8 is the character string information output device according to claim 6, wherein the character reduction allowable range information holding means stores the character reduction limit value for each character as the character reduction allowable range information. The character size setting means can select the character reduction limit value for all characters and the character reduction limit value for each character.
【0030】これにより、全ての文字に対する文字縮小
限界値および文字毎の文字縮小限界値を選択して縮小す
ることができ、全ての文字に対する文字縮小限界値に応
じて縮小すると、文字毎の文字縮小限界値に応じて縮小
するよりも、処理が簡単で処理時間が早く、出力サイズ
が大きくなり、認識しやすく(読みやすく)なる。Thus, the character reduction limit value for all characters and the character reduction limit value for each character can be selected and reduced. When the character reduction limit value for all characters is reduced, the character The processing is simpler, the processing time is faster, the output size is larger, and it is easier to recognize (read) than to reduce the image according to the reduction limit value.
【0031】請求項9記載の文字列情報出力装置は、請
求項6記載の文字列情報出力装置において、文字縮小許
容範囲情報保持手段が文字縮小許容範囲情報として文字
毎の文字縮小限界値および文字グループ毎の文字縮小限
界値を保持し、文字サイズ設定手段が文字グループ毎の
文字縮小限界値と文字毎の文字縮小限界値とを選択可能
であることを特徴とする。According to a ninth aspect of the present invention, in the character string information output apparatus according to the sixth aspect, the character reduction allowable range information holding means includes a character reduction limit value for each character and a character reduction allowable range information as character reduction allowable range information. A character reduction limit value for each group is held, and the character size setting means can select a character reduction limit value for each character group and a character reduction limit value for each character.
【0032】これにより、文字グループ毎の文字縮小限
界値および文字毎の文字縮小限界値を選択して縮小する
ことができ、文字グループ毎の文字縮小限界値に応じて
縮小すると、文字毎の文字縮小限界値に応じて縮小する
よりも、処理が簡単で処理時間が早く、出力サイズが大
きくなり、認識しやすく(読みやすく)なる。また、請
求項8の場合と比較して限られた出力領域により多くの
文字を出力することが可能となる。Thus, the character reduction limit value for each character group and the character reduction limit value for each character can be selected and reduced. When the character reduction limit value for each character group is reduced, the character The processing is simpler, the processing time is faster, the output size is larger, and it is easier to recognize (read) than to reduce the image according to the reduction limit value. Further, it is possible to output more characters in a limited output area as compared with the case of the eighth aspect.
【0033】請求項10記載の文字列情報出力装置は、
請求項6記載の文字列情報出力装置において、文字縮小
許容範囲情報保持手段が文字縮小許容範囲情報として文
字毎の文字縮小限界値,文字グループ毎の文字縮小限界
値および全ての文字に対する文字縮小限界値を保持し、
文字サイズ設定手段が全ての文字に対する文字縮小限界
値と文字グループ毎の文字縮小限界値と文字毎の文字縮
小限界値とを選択可能であることを特徴とする。The character string information output device according to claim 10 is
7. The character string information output device according to claim 6, wherein the character reduction allowable range information holding means includes a character reduction limit value for each character, a character reduction limit value for each character group, and a character reduction limit for all characters as character reduction allowable range information. Hold the value,
The character size setting means can select a character reduction limit value for all characters, a character reduction limit value for each character group, and a character reduction limit value for each character.
【0034】これにより、全ての文字に対する文字縮小
限界値、文字グループ毎の文字縮小限界値および文字毎
の文字縮小限界値を選択して縮小することができる。Thus, the character reduction limit value for all characters, the character reduction limit value for each character group, and the character reduction limit value for each character can be selected and reduced.
【0035】[0035]
【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて説明する。Embodiments of the present invention will be described below with reference to the drawings.
【0036】(第1の実施の形態)図1は本発明の第1
の実施の形態における文字列情報出力装置の構成図であ
り、10は文字列情報出力装置である。(First Embodiment) FIG. 1 shows a first embodiment of the present invention.
FIG. 2 is a configuration diagram of a character string information output device according to the embodiment, and reference numeral 10 denotes a character string information output device.
【0037】この文字列情報出力装置10は、出力文字
列取得手段101、出力領域サイズ取得手段102、文
字縮小許容範囲情報保持手段103、文字サイズ設定手
段104および文字データ出力手段105からなる。ま
た文字データ出力手段105は、文字形状データ保持手
段1051、出力文字データ準備手段1052および文
字データ出力制御手段1053からなる。出力文字列取
得手段101は、出力すべき複数の文字からなる文字列
を取得する。出力すべき文字列は、デジタル放送の電子
番組表データや文字放送データのように外部から送られ
てくる場合もあれば、ユーザが入力する場合もある。The character string information output device 10 comprises an output character string obtaining means 101, an output area size obtaining means 102, a character reduction allowable range information holding means 103, a character size setting means 104, and a character data output means 105. The character data output unit 105 includes a character shape data holding unit 1051, an output character data preparation unit 1052, and a character data output control unit 1053. The output character string obtaining unit 101 obtains a character string including a plurality of characters to be output. The character string to be output may be sent from the outside like electronic program guide data of digital broadcasting or teletext data, or may be input by the user.
【0038】出力領域サイズ取得手段102は、文字列
を出力すべき領域のサイズを取得する。一般的には矩形
領域の幅と高さ情報および出力位置で構成される場合が
多い。なお、出力領域のサイズや位置は表示システム
(ソフト)が管理している場合が一般的であり、また外
部から送られてくる場合も考えられるが、いずれにして
も、文字列と出力領域のサイズおよび位置がペアで与え
られる。The output area size obtaining means 102 obtains the size of the area to output the character string. Generally, it is often composed of width and height information of a rectangular area and an output position. The size and position of the output area are generally managed by a display system (software), and may be sent from the outside. Size and location are given in pairs.
【0039】文字縮小許容範囲情報保持手段103は、
各文字毎に縮小した場合の許容範囲(文字縮小限界値)
を示す情報、例えば識別可能な文字品質を保証できる最
低サイズ等を保持する。The character reduction allowable range information holding means 103
Tolerable range when reduced for each character (character reduction limit value)
, For example, the minimum size that can guarantee identifiable character quality.
【0040】文字サイズ設定手段104は、出力文字列
取得手段101で取得した文字列が標準文字サイズで出
力領域サイズ取得手段102で取得した出力領域に欠落
なく出力できるかを判断し、欠落が生じる場合には、文
字縮小許容範囲情報保持手段103で保持されている文
字縮小許容範囲情報を参照して出力文字列を構成する各
文字のサイズを決定する。欠落が生じない場合には、標
準文字サイズを各文字のサイズに決定する。なお、標準
文字サイズは予め設定された文字サイズである。The character size setting means 104 determines whether the character string obtained by the output character string obtaining means 101 can be output to the output area obtained by the output area size obtaining means 102 with a standard character size without any omission, and the omission occurs. In this case, the size of each character constituting the output character string is determined with reference to the character reduction allowable range information held by the character reduction allowable range information holding unit 103. If no dropout occurs, the standard character size is determined to be the size of each character. Note that the standard character size is a character size set in advance.
【0041】文字データ出力手段105は、文字サイズ
設定手段104で決定した各文字のサイズに基づき縮小
された文字データを出力する。具体的には、文字形状デ
ータ保持手段1051は、各文字ごとの文字形状データ
をメモリやディスク等に保持する。出力文字データ準備
手段1052は、文字形状データ保持手段1051から
出力文字列を構成する文字に対応する文字形状データを
取り出し、文字サイズ設定手段104で決定した各文字
のサイズに基づき縮小データを作成する。文字データ出
力制御手段1053は、出力文字データ準備手段105
2が作成した文字列データの出力処理を行う。The character data output means 105 outputs character data reduced based on the size of each character determined by the character size setting means 104. Specifically, the character shape data holding unit 1051 holds character shape data for each character in a memory, a disk, or the like. The output character data preparation unit 1052 extracts character shape data corresponding to characters constituting the output character string from the character shape data holding unit 1051, and creates reduced data based on the size of each character determined by the character size setting unit 104. . Character data output control means 1053
2 performs output processing of the character string data created.
【0042】次に図1に示された文字列情報出力装置1
0の動作の一例について図2のフローチャートを参照し
て説明する。ここでは横書きの「憂鬱な日々」という文
字列を、テレビモニタ上の幅50ドット、高さ16ドッ
トの矩形の出力領域に出力する場合を考える。なお標準
文字サイズは16×16ドットとする。また文字縮小許
容範囲情報保持手段103で保持される各文字毎の文字
縮小許容範囲情報の一例を図3に示す。Next, the character string information output device 1 shown in FIG.
An example of operation 0 will be described with reference to the flowchart in FIG. Here, a case is considered in which a character string of "horizontal days" written horizontally is output to a rectangular output area having a width of 50 dots and a height of 16 dots on a television monitor. The standard character size is 16 × 16 dots. FIG. 3 shows an example of the character reduction allowable range information for each character held by the character reduction allowable range information holding unit 103.
【0043】(ステップS501)出力文字列取得手段
101で、出力すべき文字列を取得する。ここでは「憂
鬱な日々」という文字列が取得される。(Step S501) The output character string obtaining means 101 obtains a character string to be output. Here, a character string “Depressed Days” is acquired.
【0044】(ステップS502)出力領域サイズ取得
部102で、出力領域のサイズを取得する。ここでは幅
50ドット、高さ16ドットというサイズが取得され
る。(Step S502) The output area size obtaining section 102 obtains the size of the output area. Here, a size of 50 dots in width and 16 dots in height is obtained.
【0045】(ステップS503)文字サイズ設定手段
104で、まず取得した出力文字列の文字数をカウント
する。ここでは5文字とカウントされる。(Step S503) The character size setting means 104 first counts the number of characters of the obtained output character string. Here, it is counted as five characters.
【0046】(ステップS504)文字サイズ設定手段
104の次の処理として、「文字数×標準文字幅」とい
う算出式で文字列幅を算出する。ここでは文字数5、標
準文字幅16ドットなので、5×16で80ドットと算
出される。(Step S 504) As the next processing of the character size setting means 104, the character string width is calculated by the calculation formula “number of characters × standard character width”. In this case, since the number of characters is 5 and the standard character width is 16 dots, 80 dots are calculated as 5 × 16.
【0047】(ステップS505)文字サイズ設定手段
104の次の処理として、文字列幅と出力領域の幅を比
較してその結果で処理を分岐する。ここでは文字列幅が
80ドット、出力領域の幅が50ドットで「文字列幅>
出力領域の幅」の条件が満たされるのでステップS50
6に分岐する。これは標準文字幅では出力領域内に出力
しきれないで溢れることを意味しており、次のステップ
以降で文字品質を損なわない範囲で最大限縮小した文字
データの作成および出力をすることになる。なお、「文
字列幅>出力領域の幅」の条件が満たされない場合、す
なわち、標準文字幅で全ての文字を出力領域内に出力で
きる場合には、ステップS508に分岐して各文字のサ
イズ幅を標準文字サイズの幅に設定する。(Step S505) As the next processing of the character size setting means 104, the character string width is compared with the width of the output area, and the processing branches according to the result. Here, the character string width is 80 dots, the width of the output area is 50 dots, and “character string width>
Since the condition of "width of output area" is satisfied, step S50 is executed.
Branch to 6. This means that the standard character width overflows the output area beyond the output area, and will create and output the character data that has been reduced as much as possible without impairing the character quality after the next step. . If the condition of "character string width> width of output area" is not satisfied, that is, if all characters can be output in the output area with the standard character width, the flow branches to step S508 to execute the size width of each character. To the width of the standard font size.
【0048】(ステップS506)文字サイズ設定手段
104の次の処理として、文字縮小許容範囲情報保持手
段103から出力する文字列を構成する各文字の文字縮
小許容範囲情報を取得する。ここでは文字縮小許容範囲
情報保持手段103に、出力文字列「憂鬱な日々」を構
成する5文字に対して一例として図3の情報が保持され
ている場合を考える。この場合、「憂:12ドット」、
「鬱:14ドット」、「な:8ドット」、「日:7ドッ
ト」、「々:7ドット」という情報が取得される。これ
らの数値は文字品質を損なわない範囲で縮小できるサイ
ズの限界値(文字毎の文字縮小限界値)を示している。
例えば「鬱」は複雑な形状なので14ドットより小さく
縮小するとつぶれて識別できなくなることを示してい
る。また「日」や「々」は単純な形状で7ドットまで縮
小可能であることを示している。(Step S 506) As the next processing of the character size setting means 104, character reduction allowable range information of each character constituting the character string output from the character reduction allowable range information holding means 103 is obtained. Here, it is assumed that the character reduction allowable range information holding unit 103 holds the information in FIG. 3 as an example for five characters constituting the output character string “depressive days”. In this case, "you: 12 dots"
Information such as “depression: 14 dots”, “na: 8 dots”, “date: 7 dots”, and “each: 7 dots” is acquired. These numerical values indicate the limit value of the size that can be reduced within a range that does not impair the character quality (character reduction limit value for each character).
For example, “depression” has a complicated shape, and indicates that if it is reduced to less than 14 dots, it will be crushed and cannot be identified. Also, “day” and “each” have a simple shape and can be reduced to 7 dots.
【0049】(ステップS507)文字サイズ設定手段
104の次の処理として、ステップS506で取得した
文字縮小許容範囲情報を参照して各文字のサイズを設定
する。ここでは出力文字列を構成する5文字のサイズの
合計が12+14+8+7+7の合計で48ドットであ
り、出力領域サイズの幅50ドット以内におさまるので
これらの数値を各文字に対して文字サイズ幅として設定
する。なお出力領域の高さが16ドットであるので、文
字サイズ高さは標準サイズの16ドットに設定する。な
お、許容範囲で最大限縮小しても領域からあふれる場合
は一部文字が欠落することになるが、文字品質が損なわ
れることはなく、また、欠落文字も5文字全てを標準サ
イズで出力する場合と比較して最小限に減らすことがで
きる。なお出力領域に少し余裕があり文字縮小許容範囲
の限界まで縮小する必要の無い場合は、このステップで
サイズを微調整するようにしてもよい。例えばこの例で
は出力領域サイズの幅は50ドットであるが最終出力幅
は48ドットで2ドットの余裕がある。例えば7ドット
と最もサイズの小さくなった「日」と「々」を1ドット
ずつ微調整してそれぞれ8ドット幅とすることで、50
ドット幅を最大限に活用して読みやすさをさらに向上さ
せることができる。(Step S507) As the next process of the character size setting means 104, the size of each character is set by referring to the character reduction allowable range information acquired in step S506. Here, the total size of the five characters constituting the output character string is 48 dots in total of 12 + 14 + 8 + 7 + 7, which falls within the output region size width of 50 dots. . Since the height of the output area is 16 dots, the character size height is set to the standard size of 16 dots. If the area overflows even if the area is reduced as much as possible within the allowable range, some characters will be lost. However, the character quality is not impaired, and all five missing characters are output in a standard size. It can be reduced to a minimum compared to the case. If the output area has some margin and it is not necessary to reduce the size to the limit of the character reduction allowable range, the size may be finely adjusted in this step. For example, in this example, the width of the output area size is 50 dots, but the final output width is 48 dots, with a margin of 2 dots. For example, by finely adjusting one day each of “day” and “at” of 7 dots and the smallest size to 8 dots width, 50
Readability can be further improved by making full use of the dot width.
【0050】(ステップS509)文字サイズ設定手段
104の次の処理として、設定した文字サイズで文字列
を出力するよう文字データ出力手段105に指示する。
ここでは文字サイズ高さが全て16ドット、文字サイズ
幅がそれぞれ12、14、8、7、7で出力するよう指
示する。出力文字データ準備手段1052は、文字形状
データ保持手段1052から「憂鬱な日々」という文字
列に含まれる5文字の形状データを取り出し、それぞれ
幅を12、14、8、7、7ドットのサイズに縮小す
る。文字形状データは、アウトラインデータとよばれる
輪郭データまたはドットデータとよばれるイメージデー
タ、どちらの形式で保持されていてもよい。保持形式に
よって縮小処理方法は異なる。(Step S509) As the next processing of the character size setting means 104, the character data output means 105 is instructed to output a character string with the set character size.
Here, it is instructed that the character size height is 16 dots and the character size width is 12, 14, 8, 7, 7 respectively. The output character data preparation unit 1052 extracts the shape data of five characters included in the character string “Depressed Days” from the character shape data holding unit 1052, and sets the width to the size of 12, 14, 8, 7, and 7 dots, respectively. to shrink. The character shape data may be held in either form of outline data called outline data or image data called dot data. The reduction processing method differs depending on the holding format.
【0051】(ステップS510)文字データ出力制御
手段1053で、縮小された文字列データの出力領域へ
の出力を行う。(Step S510) The character data output control means 1053 outputs the reduced character string data to the output area.
【0052】本実施の形態によれば、標準サイズでは文
字列の長さ(文字列幅)が出力領域の長さ(出力領域の
幅)を超える場合に文字列の文字を標準サイズより小さ
く縮小する際、「鬱」など複雑な形状の文字でもその文
字品質を損ねることなく、限られた出力領域により多く
の文字を出力することが可能となり、欠落する文字をで
きるかぎり少なくすることができる。According to the present embodiment, when the length of the character string (character string width) exceeds the length of the output area (width of the output area) in the standard size, the characters of the character string are reduced to a size smaller than the standard size. In such a case, it is possible to output more characters to a limited output area without deteriorating the character quality of a character having a complicated shape such as "depression", and it is possible to reduce missing characters as much as possible.
【0053】なお、本実施の形態では、横書きの文字列
を表示する場合について説明したものであるが、縦書き
の文字列を表示する場合も同様にして文字列を出力する
ことが可能である。上記説明中の文字列幅、出力領域の
幅はそれぞれ文字が横方向に並んだ方向に対する文字列
の長さ、出力領域の長さであるが、縦書きの文字列を表
示する場合には、文字が縦方向に並んだ方向に対する文
字列の長さ、出力領域の長さを考えればよい。ただしこ
の場合、文字列の長さは文字サイズ高さに依存するた
め、上記説明において、文字サイズの高さと幅との説明
を逆に考えればよい。このことは、以下の第2の実施の
形態以降の実施の形態についても同様である。 (第2の実施の形態)第2の実施の形態は第1の実施の
形態とほとんど同様であるが図1の文字サイズ設定手段
104の内容が一部異なる。第1の実施の形態における
図2のフローチャートに代えて、第2の実施の形態では
図4のフローチャートとなる。図4では、図2のフロー
チャートにS706〜S708およびS711の各ステ
ップが追加される。また図2のS501〜S505、S
506〜S507、S508〜S510の各ステップは
図4のS701〜S705、S709〜S710、S7
12〜S714にそれぞれ対応しており各処理内容は同
じである。また文字縮小許容範囲情報保持手段103に
保持される情報として、図5に示すように、図3の情報
の他に、文字セット縮小許容範囲の情報が追加される。
この情報は全ての文字に対する縮小限界サイズ(全ての
文字に対する文字縮小限界値)を示している。ここでは
14ドットが設定されており、これは全ての文字を品質
を損なうことなく14ドットまでは一律に縮小して問題
ないことを示している。In this embodiment, the case where a horizontally written character string is displayed has been described. However, when a vertically written character string is displayed, the character string can be output in the same manner. . The character string width and the width of the output area in the above description are the length of the character string and the length of the output area, respectively, in the direction in which the characters are arranged in the horizontal direction, but when displaying a character string in vertical writing, The length of the character string and the length of the output area in the direction in which the characters are arranged in the vertical direction may be considered. However, in this case, since the length of the character string depends on the height of the character size, in the above description, the description of the height and the width of the character size may be considered in reverse. This is the same for the following second and subsequent embodiments. (Second Embodiment) The second embodiment is almost the same as the first embodiment, but partially differs in the contents of the character size setting means 104 in FIG. Instead of the flowchart of FIG. 2 in the first embodiment, the flowchart of FIG. 4 is used in the second embodiment. 4, steps S706 to S708 and S711 are added to the flowchart of FIG. S501 to S505 and S505 in FIG.
Steps 506 to S507 and S508 to S510 correspond to steps S701 to S705, S709 to S710, and S7 in FIG.
12 to S714, and the processing contents are the same. As shown in FIG. 5, in addition to the information shown in FIG. 3, information on a character set reduction allowable range is added as information held in the character reduction allowable range information holding unit 103.
This information indicates the reduction limit size for all characters (character reduction limit value for all characters). Here, 14 dots are set, which indicates that there is no problem in uniformly reducing all characters to 14 dots without deteriorating the quality.
【0054】次に第2の実施の形態の動作を図4のフロ
ーチャートを参照して第1の実施の形態と異なる点を中
心に説明する。なおここでは出力領域サイズの幅を72
ドットとする。Next, the operation of the second embodiment will be described with reference to the flowchart of FIG. 4 focusing on the differences from the first embodiment. Here, the width of the output area size is 72
Dots.
【0055】(ステップS706)文字サイズ設定手段
104の次の処理として、文字縮小許容範囲情報保持手
段103からの文字セット縮小許容範囲情報を取得す
る。ここでは14ドットという情報が取得される。(Step S706) As the next processing of the character size setting means 104, the character set reduction allowable range information from the character reduction allowable range information holding means 103 is acquired. Here, information of 14 dots is obtained.
【0056】(ステップS707)文字サイズ設定手段
104の次の処理として、「文字数×文字セット縮小許
容範囲」で文字列幅算出する。ここでは5文字×14ド
ットで70ドットと算出される。(Step S707) As the next process of the character size setting means 104, the character string width is calculated by “number of characters × character set reduction allowable range”. Here, 5 characters × 14 dots are calculated as 70 dots.
【0057】(ステップS708)文字サイズ設定手段
104の次の処理として、文字列幅と出力領域の幅を比
較してその結果で処理を分岐する。ここでは文字列幅が
70ドット、出力領域の幅が72ドットで、「文字列幅
>出力領域の幅」の条件が満たされないのでステップS
711に分岐する。これは文字サイズを文字セット縮小
許容範囲の14ドットとすることで出力領域内に出力が
おさまることを意味している。なお、「文字列幅>出力
領域の幅」の条件が満たされる場合には、ステップS7
09に分岐し、ステップS709,ステップS710の
あとステップS713へ進む。(Step S708) As the next processing of the character size setting means 104, the character string width is compared with the width of the output area, and the processing branches according to the result. Here, the character string width is 70 dots, the output area width is 72 dots, and the condition of “character string width> output area width” is not satisfied.
Branch to 711. This means that by setting the character size to the character set reduction allowable range of 14 dots, the output falls within the output area. If the condition of “character string width> width of output area” is satisfied, step S7
The process branches to step S09, and proceeds to step S713 after steps S709 and S710.
【0058】(ステップS711)文字サイズ設定手段
104の次の処理として、出力文字列を構成する各文字
のサイズ幅を14ドットに設定する。ステップS713
以降の処理は第1の実施の形態と同様である。(Step S711) As the next processing of the character size setting means 104, the size width of each character constituting the output character string is set to 14 dots. Step S713
Subsequent processing is the same as in the first embodiment.
【0059】第1の実施の形態と第2の実施の形態の異
なる点を整理すると以下のようになる。第1の実施の形
態では出力文字列が出力領域におさまらない場合、すぐ
に各文字毎の縮小許容範囲から各文字のサイズを計算す
る。「憂鬱な日々」という文字列の場合、出力領域の幅
が80ドットより小さい場合は標準サイズではおさまら
ないため各文字毎の縮小許容範囲より文字列幅48ドッ
トまで縮小される。しかし出力領域幅が第1の実施の形
態のように50ドットでなく70ドットや75ドットの
ようにもう少し大きい場合でも、各文字毎の参照を行い
48ドットまで縮小される。もちろん第1の実施の形態
のS508で補足したようにサイズに余裕がある場合は
サイズの微調整を行って出力領域を有効利用することが
可能であるが更に処理量が増加してしまう。The differences between the first embodiment and the second embodiment are summarized as follows. In the first embodiment, when the output character string does not fit in the output area, the size of each character is immediately calculated from the allowable reduction range for each character. In the case of the character string “Depressive Days”, if the width of the output area is smaller than 80 dots, the character size cannot be reduced to the standard size, and the character string width is reduced to 48 dots from the allowable reduction range for each character. However, even when the output area width is slightly larger, such as 70 dots or 75 dots, instead of 50 dots as in the first embodiment, each character is referred to and reduced to 48 dots. Of course, if the size has a margin as supplemented in S508 of the first embodiment, the size can be finely adjusted and the output area can be used effectively, but the processing amount is further increased.
【0060】これに対し、第2の実施の形態のように全
ての文字に対する縮小限界サイズが定められている場合
は、標準サイズによる出力と各文字毎の縮小限界値によ
る出力の間に、全ての文字に対する縮小限界サイズによ
る出力という中間の出力形態を選択することが可能とな
る。「憂鬱な日々」という文字列の場合、全ての文字に
対する縮小限界サイズを用いると文字列幅を70ドット
まで縮小可能である。しかも第1の実施の形態の各文字
毎の縮小許容範囲参照と比較して、処理が簡単で処理時
間が早く、出力サイズが大きいためより読みやすいとい
うメリットがある。従って出力領域サイズによって全て
の文字に対する縮小限界サイズによる出力を選択可能に
できることは非常に効果的である。「憂鬱な日々」とい
う文字列の場合は、出力領域幅が70ドット〜79ドッ
トの場合に、第2の実施の形態の効果があらわれる。そ
の他の場合は第1の実施の形態と同じになる。On the other hand, when the reduction limit size for all the characters is determined as in the second embodiment, the output between the standard size and the reduction limit value for each character is all It is possible to select an intermediate output form of output by the reduction limit size for the character of. In the case of a character string “Depressed Days”, the character string width can be reduced to 70 dots by using the reduction limit size for all characters. Moreover, as compared with the reduction allowable range reference for each character in the first embodiment, there is an advantage that the processing is simpler, the processing time is faster, and the output size is larger, so that the readability is higher. Therefore, it is very effective to be able to select the output based on the reduction limit size for all characters according to the output area size. In the case of the character string “Depressed Days”, the effect of the second embodiment appears when the output area width is 70 dots to 79 dots. In other cases, it is the same as the first embodiment.
【0061】以上のように、文字縮小許容範囲情報保持
手段103に文字セット縮小許容範囲情報を保持するこ
とにより、標準文字サイズでは出力領域におさまらない
が、文字セット縮小許容範囲値を用いると出力領域にお
さまる場合に、処理の簡素化による処理速度の向上およ
び、より大きな読みやすい文字の選択が可能となる。 (第3の実施の形態)第3の実施の形態は第2の実施の
形態とほとんど同様であるが、文字縮小許容範囲情報保
持手段103に保持する文字セット縮小許容範囲情報
を、文字をグループ化して、各文字グループ毎に設ける
ことにより、第2の実施の形態と同程度の処理の簡単さ
で、より出力できる文字数を増やすことが可能となる。As described above, by storing the character set reduction allowable range information in the character reduction allowable range information holding unit 103, the output area cannot be reduced to the standard character size. When it fits in the area, it is possible to improve the processing speed by simplifying the processing and to select a larger readable character. (Third Embodiment) The third embodiment is almost the same as the second embodiment, except that the character set reduction allowable range information held in the character reduction allowable range information holding means 103 is a group of characters. By providing each character group, the number of characters that can be output can be increased with the same level of processing simplicity as in the second embodiment.
【0062】図6は第3の実施の形態における文字縮小
許容範囲情報保持手段103に保持する情報の一例であ
る。このうち文字セット縮小許容範囲情報は、記号は1
2ドットまで、ひらがなは一律10ドットまで、カタカ
ナは一律8ドットまで、漢字は一律14ドットまで品質
を損ねることなく縮小可能であることを意味しており、
このように全ての文字を文字グループに分けて、文字グ
ループ毎に文字縮小限界値を設定している。この情報を
用いると第2の実施の形態におけるステップS707で
算出される「憂鬱な日々」の文字列幅は、第3の実施の
形態では14ドット(漢字)×4文字+10ドット(ひ
らがな)×1文字で66ドットとなり、第2の実施の形
態の場合と比較して4ドット少なくなる。ひらがなやカ
タカナの割合が多い文字列の場合はさらに効果が大きく
なる。これにより限られた出力領域により多くの文字を
出力することが可能となる。FIG. 6 shows an example of information held in the character reduction allowable range information holding means 103 according to the third embodiment. The character set reduction allowable range information is 1
Up to 2 dots, Hiragana up to 10 dots, Katakana up to 8 dots, Kanji up to 14 dots can be reduced without loss of quality,
As described above, all characters are divided into character groups, and a character reduction limit value is set for each character group. Using this information, the character string width of "depressive days" calculated in step S707 in the second embodiment is 14 dots (Kanji) x 4 characters + 10 dots (Hiragana) x in the third embodiment. One character has 66 dots, which is 4 dots less than in the second embodiment. In the case of a character string having a large ratio of hiragana and katakana, the effect is further enhanced. As a result, more characters can be output to a limited output area.
【0063】なお、図6に示された「記号」としては、
例えば≦,¥,%,※,☆などがある。また、記号とい
うのはグループ化の一例であり、他に数字、ローマ数
字、ギリシャ文字、アルファベット大文字、アルファベ
ット小文字、かっこ付数字など様々な場合がある。The "symbols" shown in FIG.
For example, ≤, △,%, *, ☆, etc. A symbol is an example of grouping, and there are various other cases such as numbers, Roman numerals, Greek letters, uppercase alphabets, lowercase alphabets, and numbers with parentheses.
【0064】さらに、文字縮小許容範囲情報保持手段1
03に、文字セット縮小許容範囲情報として、第2の実
施の形態で用いた全ての文字に対する文字セット縮小許
容範囲情報と、第3の実施の形態で用いた文字グループ
毎の文字セット縮小許容範囲情報との両方を保持するよ
うにしてもよい。Further, character reduction allowable range information holding means 1
03, character set reduction allowable range information for all characters used in the second embodiment and character set reduction allowable range for each character group used in the third embodiment are used as character set reduction allowable range information. You may make it hold | maintain both of information.
【0065】この場合、文字サイズ設定手段104の処
理が少し増える。図4において、ステップS706〜S
708およびS711は第2の実施の形態でも説明した
ように全ての文字に対する文字セット縮小許容範囲情報
を用いて行い、ステップS708とステップS709と
の間に、3つのステップ(以下、ステップSA,SB,
SCの順とする)が挿入され、さらにステップSCから
分岐するステップSDが設けられる。ステップS708
で「文字列幅>出力領域の幅」の条件が満たされる場合
にステップSAに分岐し、ステップSAで、文字グルー
プ毎の文字セット縮小許容範囲情報を取得し、次にステ
ップSBで、文字グループ毎の文字セット縮小許容範囲
情報を用いて前述の第3の実施の形態で説明したように
文字列幅を算出する。次にステップSCで、ステップS
Bで算出した文字列幅と出力領域の幅とを比較し、「文
字列幅>出力領域の幅」の条件が満たされる場合に、図
4のステップS709に分岐する。また、「文字列幅>
出力領域の幅」の条件が満たされない場合にはステップ
SDに分岐し、ステップSDで各文字のサイズをステッ
プSBで用いた文字セット縮小許容範囲に応じた値に設
定し、次に図4のステップS713に進むことになる。In this case, the processing of the character size setting means 104 is slightly increased. In FIG. 4, steps S706 to S706
Steps 708 and S711 are performed using the character set reduction allowable range information for all the characters as described in the second embodiment, and three steps (hereinafter, steps SA and SB) are performed between step S708 and step S709. ,
SC is inserted), and a step SD branching from the step SC is provided. Step S708
If the condition of “character string width> width of output area” is satisfied, the flow branches to step SA. In step SA, character set reduction allowable range information for each character group is obtained. The character string width is calculated using the character set reduction allowable range information for each character as described in the third embodiment. Next, in step SC, step S
The character string width calculated in B is compared with the width of the output area. If the condition of “character string width> width of output area” is satisfied, the flow branches to step S709 in FIG. Also, "Character string width>
If the condition of "width of output area" is not satisfied, the flow branches to step SD, and in step SD, the size of each character is set to a value corresponding to the character set reduction allowable range used in step SB. The process proceeds to step S713.
【0066】なお、ステップSBでは、各文字に対して
それがどの文字グループに属するかを判定し、その文字
グループに応じて値が設定されることになる。また、ス
テップSDではステップSBで算出した結果をそのまま
用いることになる。 (第4の実施の形態)第4の実施の形態では、上記第1
〜第3の実施の形態において、文字縮小許容範囲情報保
持手段103で保持する文字毎の縮小許容範囲情報をグ
ループ化して保持するようにしたものである。例えばひ
らがなを1グループとして同じ値を対応させたり、漢字
を複数のグループに分けてグループ毎に同じ属性を持た
せることが可能となる。これによって文字縮小許容範囲
情報保持手段103の保持領域を節約できると同時に、
処理の簡略化を行うことが可能となる。In step SB, it is determined which character group each character belongs to, and a value is set according to the character group. In step SD, the result calculated in step SB is used as it is. (Fourth Embodiment) In the fourth embodiment, the first
In the third to third embodiments, reduction allowable range information for each character held by the character reduction allowable range information holding unit 103 is grouped and stored. For example, it is possible to associate the same value with hiragana as one group, or to divide kanji into a plurality of groups and have the same attribute for each group. Thereby, the storage area of the character reduction allowable range information storage unit 103 can be saved, and at the same time,
Processing can be simplified.
【0067】[0067]
【発明の効果】以上説明したように本発明によれば、文
字品質を損ねることなく、出力領域により多くの文字を
出力することが可能となる。応用分野はデジタル放送に
おける電子番組表やデータ放送の表示の他、インターネ
ット情報のモニタ表示、DVDにおける字幕表示やクロ
ーズドキャプション表示、通信カラオケの文字表示、テ
レビゲームにおける文字情報表示など多岐にわたる。デ
ジタル化の更なる進行により家庭用テレビなど低解像度
モニタ上で多くの文字を出力する必要のある状況が増加
してきた場合、本発明による限られた出力領域へ文字品
質を損ねることなく、より多くの文字を出力できる文字
列情報出力方法は非常に効果的である。As described above, according to the present invention, more characters can be output to the output area without deteriorating the character quality. The application fields are various such as electronic program guide and data broadcast display in digital broadcasting, monitor display of Internet information, subtitle display and closed caption display on DVD, character display of communication karaoke, character information display in video games, and the like. As the situation of needing to output many characters on a low-resolution monitor such as a home television has increased due to the further progress of digitization, more characters can be output to a limited output area according to the present invention without impairing the character quality. Is very effective.
【図1】本発明の第1の実施の形態における文字列情報
出力装置の構成図。FIG. 1 is a configuration diagram of a character string information output device according to a first embodiment of the present invention.
【図2】本発明の第1の実施の形態における文字列情報
出力方法を示すフローチャート。FIG. 2 is a flowchart showing a character string information output method according to the first embodiment of the present invention.
【図3】本発明の第1の実施の形態における文字縮小許
容範囲情報の一例を示す図。FIG. 3 is a diagram showing an example of character reduction allowable range information according to the first embodiment of the present invention.
【図4】本発明の第2の実施の形態における文字列情報
出力方法を示すフローチャート。FIG. 4 is a flowchart illustrating a character string information output method according to a second embodiment of the present invention.
【図5】本発明の第2の実施の形態における文字縮小許
容範囲情報の一例を示す図。FIG. 5 is a diagram showing an example of character reduction allowable range information according to the second embodiment of the present invention.
【図6】本発明の第3の実施の形態における文字縮小許
容範囲情報の一例を示す図。FIG. 6 is a diagram illustrating an example of character reduction allowable range information according to a third embodiment of the present invention.
【図7】従来技術における文字列情報出力装置の構成
図。FIG. 7 is a configuration diagram of a character string information output device according to the related art.
【図8】従来技術における文字列情報出力方法を示すフ
ローチャート。FIG. 8 is a flowchart illustrating a character string information output method according to the related art.
10 文字列情報出力装置 101 出力文字列取得手段 102 出力領域サイズ取得手段 103 文字縮小許容範囲情報保持手段 104 文字サイズ設定手段 105 文字データ出力手段 1051 文字形状データ保持手段 1052 出力文字データ準備手段 1053 文字データ出力制御手段 DESCRIPTION OF SYMBOLS 10 Character string information output device 101 Output character string acquisition means 102 Output area size acquisition means 103 Character reduction allowable range information holding means 104 Character size setting means 105 Character data output means 1051 Character shape data storage means 1052 Output character data preparation means 1053 Characters Data output control means
Claims (10)
よび前記文字列が出力される領域のサイズである出力領
域サイズを取得し、文字サイズを予め設定された標準サ
イズにしたときの前記文字列の長さと前記出力領域の長
さとを比較し、前記文字列の長さが前記出力領域の長さ
を超える場合に前記文字列の文字を標準サイズより小さ
く縮小した文字列データを作成し出力する文字列情報出
力方法であって、 前記文字列の文字を標準サイズより小さく縮小する際、
前記文字列の各文字を出力時に認識可能なサイズを限度
として小さくすることを特徴とする文字列情報出力方
法。1. A character string when a character string composed of a plurality of characters to be output and an output area size that is the size of an area in which the character string is output are obtained, and the character size is set to a predetermined standard size. The length of the string is compared with the length of the output area, and when the length of the character string exceeds the length of the output area, character string data in which the characters of the character string are reduced to a size smaller than a standard size is output. Character string information output method, when reducing the characters of the character string to a size smaller than the standard size,
A character string information output method, wherein each character of the character string is reduced to a size that can be recognized at the time of output.
イズを限度として小さくする際、文字毎の文字縮小限界
値に応じて縮小することを特徴とする請求項1記載の文
字列情報出力方法。2. The character string information output according to claim 1, wherein, when each character of the character string is reduced to a size that can be recognized at the time of output, the character string is reduced according to a character reduction limit value for each character. Method.
イズを限度として小さくする際、全ての文字に対する文
字縮小限界値に応じて縮小したときの文字列の長さを算
出し、この算出した文字列の長さが出力領域の長さを超
えない場合には前記全ての文字に対する文字縮小限界値
に応じて縮小し、前記算出した文字列の長さが出力領域
の長さを超える場合には文字毎の文字縮小限界値に応じ
て縮小することを特徴とする請求項1記載の文字列情報
出力方法。3. When reducing the size of each character of a character string to a limit recognizable at the time of output, calculate the length of the character string when reduced according to the character reduction limit value for all characters. If the length of the calculated character string does not exceed the length of the output area, the character string is reduced according to the character reduction limit value for all the characters, and the length of the calculated character string exceeds the length of the output area. 2. The character string information output method according to claim 1, wherein the character string is reduced according to a character reduction limit value for each character.
イズを限度として小さくする際、文字グループ毎の文字
縮小限界値に応じて縮小したときの文字列の長さを算出
し、この算出した文字列の長さが出力領域の長さを超え
ない場合には前記文字グループ毎の文字縮小限界値に応
じて縮小し、前記算出した文字列の長さが出力領域の長
さを超える場合には文字毎の文字縮小限界値に応じて縮
小することを特徴とする請求項1記載の文字列情報出力
方法。4. When the size of each character in a character string is reduced to a limit that can be recognized at the time of output, the length of the character string when reduced according to the character reduction limit value for each character group is calculated. If the length of the calculated character string does not exceed the length of the output area, the character string is reduced according to the character reduction limit value for each character group, and if the calculated character string length exceeds the length of the output area. 2. The character string information output method according to claim 1, wherein the character string is reduced according to a character reduction limit value for each character.
イズを限度として小さくする際、全ての文字に対する文
字縮小限界値に応じて縮小したときの文字列の長さを算
出し、この算出した文字列の長さが出力領域の長さを超
えない場合には前記全ての文字に対する文字縮小限界値
に応じて縮小し、前記算出した文字列の長さが出力領域
の長さを超える場合には文字グループ毎の文字縮小限界
値に応じて縮小したときの文字列の長さを算出し、この
算出した文字列の長さが出力領域の長さを超えない場合
には前記文字グループ毎の文字縮小限界値に応じて縮小
し、前記算出した文字列の長さが出力領域の長さを超え
る場合には文字毎の文字縮小限界値に応じて縮小するこ
とを特徴とする請求項1記載の文字列情報出力方法。5. When reducing the size of each character of a character string to a limit recognizable at the time of output, calculate the length of the character string when reduced in accordance with the character reduction limit value for all characters. If the length of the calculated character string does not exceed the length of the output area, the character string is reduced according to the character reduction limit value for all the characters, and the length of the calculated character string exceeds the length of the output area. Calculates the length of the character string when reduced according to the character reduction limit value for each character group, and if the calculated length of the character string does not exceed the length of the output area, And reducing the character string according to the character reduction limit value for each character when the length of the calculated character string exceeds the length of the output area. How to output the described string information.
取得する出力文字列取得手段と、 前記文字列が出力される領域のサイズである出力領域サ
イズを取得する出力領域サイズ取得手段と、 前記文字列の各文字を出力時に認識可能なサイズとする
ための文字縮小許容範囲情報を保持する文字縮小許容範
囲情報保持手段と、 文字サイズを予め設定された標準サイズにしたときの前
記出力文字列取得手段で取得した文字列の長さと前記出
力領域サイズ取得手段で取得した出力領域の長さとを比
較し、前記文字列の長さが前記出力領域の長さを超えな
い場合には文字サイズを標準サイズに設定し、前記文字
列の長さが前記出力領域の長さを超える場合には前記文
字サイズを前記文字縮小許容範囲情報に基づいて設定す
る文字サイズ設定手段と、 前記文字サイズ設定手段により設定された文字サイズに
応じて文字列データの生成出力を行う文字データ出力手
段とを備えた文字列情報出力装置。6. An output character string obtaining means for obtaining a character string composed of a plurality of characters to be output, an output area size obtaining means for obtaining an output area size which is a size of an area where the character string is output, Character reduction allowable range information holding means for storing character reduction allowable range information for setting each character of the character string to a size recognizable at the time of output, and the output character when the character size is set to a predetermined standard size The length of the character string obtained by the column obtaining means is compared with the length of the output area obtained by the output area size obtaining means. If the length of the character string does not exceed the length of the output area, the character size is determined. A character size setting unit that sets the character size based on the character reduction allowable range information when the length of the character string exceeds the length of the output area. Character string information output apparatus and a character data output means for generating output character string data in accordance with the character size set by the character size setting means.
小許容範囲情報として文字毎の文字縮小限界値を保持す
ることを特徴とする請求項6記載の文字列情報出力装
置。7. The character string information output device according to claim 6, wherein the character reduction allowable range information holding means stores a character reduction limit value for each character as character reduction allowable range information.
小許容範囲情報として文字毎の文字縮小限界値および全
ての文字に対する文字縮小限界値を保持し、文字サイズ
設定手段が前記全ての文字に対する文字縮小限界値と前
記文字毎の文字縮小限界値とを選択可能であることを特
徴とする請求項6記載の文字列情報出力装置。8. A character reduction allowable range information holding unit stores a character reduction limit value for each character and a character reduction limit value for all characters as character reduction allowable range information, and a character size setting unit stores characters for all the characters. 7. The character string information output device according to claim 6, wherein a reduction limit value and a character reduction limit value for each character can be selected.
小許容範囲情報として文字毎の文字縮小限界値および文
字グループ毎の文字縮小限界値を保持し、文字サイズ設
定手段が前記文字グループ毎の文字縮小限界値と前記文
字毎の文字縮小限界値とを選択可能であることを特徴と
する請求項6記載の文字列情報出力装置。9. A character reduction allowable range information holding unit stores a character reduction limit value for each character and a character reduction limit value for each character group as character reduction allowable range information, and a character size setting unit stores the character reduction limit value for each character group. 7. The character string information output device according to claim 6, wherein a reduction limit value and a character reduction limit value for each character can be selected.
縮小許容範囲情報として文字毎の文字縮小限界値,文字
グループ毎の文字縮小限界値および全ての文字に対する
文字縮小限界値を保持し、文字サイズ設定手段が前記全
ての文字に対する文字縮小限界値と前記文字グループ毎
の文字縮小限界値と前記文字毎の文字縮小限界値とを選
択可能であることを特徴とする請求項6記載の文字列情
報出力装置。10. A character reduction allowable range information holding unit stores a character reduction limit value for each character, a character reduction limit value for each character group, and a character reduction limit value for all characters as character reduction allowable range information. 7. The character string information according to claim 6, wherein the setting unit can select a character reduction limit value for all of the characters, a character reduction limit value for each of the character groups, and a character reduction limit value for each of the characters. Output device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000002264A JP2001195395A (en) | 2000-01-11 | 2000-01-11 | Character string information output method and apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000002264A JP2001195395A (en) | 2000-01-11 | 2000-01-11 | Character string information output method and apparatus |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2001195395A true JP2001195395A (en) | 2001-07-19 |
Family
ID=18531398
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2000002264A Pending JP2001195395A (en) | 2000-01-11 | 2000-01-11 | Character string information output method and apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2001195395A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005244278A (en) * | 2004-02-24 | 2005-09-08 | Sharp Corp | Menu display method, video display device, and television device |
| JP2005244285A (en) * | 2004-02-24 | 2005-09-08 | Sharp Corp | Menu display method, video display device, and television device |
| JP2008152310A (en) * | 2006-12-14 | 2008-07-03 | Dainippon Printing Co Ltd | Variable printing document editing system and method |
| JP2016028322A (en) * | 2014-07-11 | 2016-02-25 | キヤノンマーケティングジャパン株式会社 | Information processing apparatus, and processing method and program for the same |
-
2000
- 2000-01-11 JP JP2000002264A patent/JP2001195395A/en active Pending
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005244278A (en) * | 2004-02-24 | 2005-09-08 | Sharp Corp | Menu display method, video display device, and television device |
| JP2005244285A (en) * | 2004-02-24 | 2005-09-08 | Sharp Corp | Menu display method, video display device, and television device |
| JP2008152310A (en) * | 2006-12-14 | 2008-07-03 | Dainippon Printing Co Ltd | Variable printing document editing system and method |
| JP2016028322A (en) * | 2014-07-11 | 2016-02-25 | キヤノンマーケティングジャパン株式会社 | Information processing apparatus, and processing method and program for the same |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4590433B2 (en) | Image processing apparatus, image processing method, and computer program | |
| EP0066139B1 (en) | Text processing system with displaying of formatted pages | |
| CN1784664B (en) | Document data display apparatus, output apparatus, printing apparatus, and related method | |
| JPH0250478B2 (en) | ||
| CA2114771A1 (en) | Method and apparatus for providing dual language captioning of a television program | |
| JPH09134157A (en) | Hinting method and font file configuration method | |
| US5717945A (en) | Method for creating documents with an open document architecture | |
| US5617115A (en) | Word processing unit with document display function | |
| CN112882678A (en) | Image-text processing method, display method, device, equipment and storage medium | |
| CN111723790A (en) | Method, device and equipment for screening video subtitles and storage medium | |
| JP5290433B2 (en) | Display processing device, display processing device control method, control program, and computer-readable recording medium recording control program | |
| JP7383882B2 (en) | Information processing device and information processing program | |
| JP2001195395A (en) | Character string information output method and apparatus | |
| JPH11272690A (en) | Data display device and method, and recording medium recording data display program | |
| KR100846157B1 (en) | Method and system for enabling the display of auxiliary information included in a television signal | |
| KR101050031B1 (en) | Closed Captioning System in Windows-based Graphics Systems | |
| US5760787A (en) | Data storage format | |
| JP2009032026A (en) | Display control apparatus, method, program, and recording medium | |
| CN100349203C (en) | Co-screen displaying device supporting scale chracter shape and method thereof | |
| JP2003348326A (en) | Document image conversion method, document image conversion program and document image converting apparatus | |
| JP5780726B2 (en) | Multi-column processing device, multi-column processing method, multi-column processing program, computer-readable recording medium, and content display device | |
| JPH08305867A (en) | Text image composite data display printing method and apparatus | |
| CN100594492C (en) | Processing Method of Embedded Font Library in Network System | |
| CN111596988A (en) | Terminal page image-text display method and device | |
| JP4381484B2 (en) | Image display control apparatus and method |