JP6083453B2 - Information processing apparatus, processing method thereof, and program - Google Patents
Information processing apparatus, processing method thereof, and program Download PDFInfo
- Publication number
- JP6083453B2 JP6083453B2 JP2015137700A JP2015137700A JP6083453B2 JP 6083453 B2 JP6083453 B2 JP 6083453B2 JP 2015137700 A JP2015137700 A JP 2015137700A JP 2015137700 A JP2015137700 A JP 2015137700A JP 6083453 B2 JP6083453 B2 JP 6083453B2
- Authority
- JP
- Japan
- Prior art keywords
- character
- width
- reduction ratio
- reduction rate
- reduction
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
- User Interface Of Digital Computer (AREA)
Description
本発明は、複数の部品を含む原稿を出力する情報処理装置と、その処理方法及びプログラムに関する。 The present invention relates to an information processing apparatus that outputs a document including a plurality of parts, a processing method thereof, and a program.
従来より、DTPソフトにおいて、原稿デザインに配置された部品内に文字列を表示する際、文字の幅を狭くし(以下、長体化と記す)、部品内に文字列を収める仕組みがある。
特許文献1には、部品内の文字数が多い場合、文字幅を縮小して長体化し、部品の幅に文字列を収める技術が記載されている。
Conventionally, in DTP software, when displaying a character string in a part arranged in an original design, there is a mechanism for narrowing the width of the character (hereinafter referred to as lengthening) and storing the character string in the part.
Japanese Patent Application Laid-Open No. H10-228561 describes a technique for reducing the character width to make it longer when the number of characters in the component is large, and storing the character string within the width of the component.
しかし、特許文献1のシステムでは、文字列全体が長体化されているため、文字列に小数点など、幅の狭い文字(以下、幅狭文字と記す)が含まれる場合、小数点の幅が細くなりすぎて見えづらくなってしまう課題がある。また、小数点だけでなく、ピリオド、句読点、i(英小文字アイ)、l(英小文字エル)、数字の1、!(エクスクラメーションマーク)など幅狭文字については、長体化すると読みづらくなってしまう。
However, in the system of
そこで、本発明は、文字列の出力において、文字幅の縮小率または出力形式を変えることで、ユーザにとって識別しやすい文字列を出力する仕組みを提供することを目的とする。 SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a mechanism for outputting a character string that is easy for a user to identify by changing a character width reduction rate or an output format in outputting a character string.
複数の部品を含む原稿を出力することが可能な情報処理装置であって、前記部品内に出力する文字データを取得する文字データ取得手段と、前記文字データ取得手段により取得された文字データの文字数を取得する文字数取得手段と、前記部品内に出力する文字データの文字数に対応付けて、文字データを縮小して出力する第1の縮小率を管理する第1縮小率管理手段と、前記第1縮小率管理手段から、前記文字数取得手段により取得された文字数に応じた第1の縮小率を取得する第1縮小率取得手段と、前記文字データ取得手段により取得した文字データを出力する文字データ出力手段と、前記文字データに含まれる文字が、第1の縮小率を適用する文字か否かを判定する判定手段とを備え、前記文字データ出力手段は、前記判定手段により、第1の縮小率を適用する文字であると判定した場合、前記第1縮小率取得手段により取得された第1の縮小率を用いて文字幅を縮小して当該文字を出力し、第1の縮小率を適用する文字でないと判定した場合、第2の縮小率を用いて当該文字を出力することを特徴とする情報処理装置。 An information processing apparatus capable of outputting a document including a plurality of parts, the character data obtaining means for obtaining character data to be output in the parts, and the number of characters of the character data obtained by the character data obtaining means A first reduction ratio management means for managing a first reduction ratio for reducing and outputting character data in association with the number of characters of the character data to be output in the component, A first reduction rate acquisition unit that acquires a first reduction rate according to the number of characters acquired by the character number acquisition unit, and a character data output that outputs the character data acquired by the character data acquisition unit from the reduction rate management unit Means for determining whether or not the character included in the character data is a character to which the first reduction ratio is applied, and the character data output means is based on the determination means. If the character is determined to be a character to which the first reduction ratio is applied, the character width is reduced using the first reduction ratio acquired by the first reduction ratio acquisition means, and the character is output. An information processing apparatus that outputs a character using the second reduction rate when it is determined that the character is not a character to which the reduction rate is applied.
本発明によれば、文字列の出力において、文字幅の縮小率または出力形式を変えることで、ユーザにとって識別しやすい文字列を出力する仕組みを提供することができる。 ADVANTAGE OF THE INVENTION According to this invention, the mechanism which outputs the character string which is easy for a user to identify can be provided by changing the reduction rate or output format of a character width in the output of a character string.
複数の部品を含む原稿を出力することが可能な情報処理装置であって、前記部品内に出力する文字データを取得する文字データ取得手段と、前記文字データ取得手段により取得された文字データの文字数を取得する文字数取得手段と、前記部品内に出力する文字データの文字数に対応付けて、文字データを縮小して出力する第1の縮小率を決定する第1縮小率決定手段と、前記第1縮小率決定手段から、前記文字数取得手段により取得された文字数に対応付けられた第1の縮小率を取得する第1縮小率取得手段と、前記文字データに含まれる文字が、第1の縮小率を適用しない所定の文字か否かを判定する判定手段と、前記判定手段により、第1の縮小率を適用する文字であると判定した場合、前記第1縮小率取得手段により取得された第1の縮小率を用いて文字幅を縮小して当該文字を前記部品内に出力し、第1の縮小率を適用しない所定の文字であると判定した場合、第1の縮小率を用いた時よりも大きくなるように当該所定の文字を前記部品内に出力する文字データ出力手段とを備え、前記判定手段は、前記文字データに含まれる文字の文字幅が所定の値より大きい場合、第1の縮小率を適用する文字であると判定し、所定の値より小さい場合、第1の縮小率を適用しない所定の文字であると判定することを特徴とする情報処理装置。
An information processing apparatus capable of outputting a document including a plurality of parts, the character data obtaining means for obtaining character data to be output in the parts, and the number of characters of the character data obtained by the character data obtaining means A first reduction ratio determining means for determining a first reduction ratio for reducing and outputting character data in association with the number of characters of character data to be output in the component; and A first reduction rate acquisition unit that acquires a first reduction rate associated with the number of characters acquired by the character number acquisition unit from a reduction rate determination unit; and a character included in the character data is a first reduction rate. When the determination unit determines whether the character is a predetermined character to which the first reduction rate is applied, the determination unit that determines whether the character is a predetermined character that does not apply the first reduction rate acquisition unit. If the character width is reduced using the reduction ratio and the character is output in the part, and it is determined that the character is a predetermined character to which the first reduction ratio is not applied, than when the first reduction ratio is used Character data output means for outputting the predetermined character in the component so as to increase , and the determination means performs the first reduction when the character width of the character included in the character data is larger than a predetermined value. An information processing apparatus that determines a character to which a rate is applied and determines that the character is a predetermined character to which the first reduction rate is not applied when the character is smaller than a predetermined value .
図1に示すように、本実施形態に情報処理システムは、情報処理装置101とニュース配信サーバ102が、ネットワーク103により通信可能に接続された構成をとる。
As shown in FIG. 1, the information processing system according to the present embodiment has a configuration in which an
情報処理装置101は、新聞または雑誌の原稿作成ツールがインストールされており、ニュース配信サーバ102から配信された記事データを基にした紙面の作成を行う端末である。
以下、図2を用いて、図1に示した情報処理装置101に適用可能なハードウエア構成の一例について説明する。
The
Hereinafter, an example of a hardware configuration applicable to the
図2において、201はCPUで、システムバス204に接続される各デバイスやコントローラを統括的に制御する。また、ROM203あるいは外部メモリ211には、CPU201の制御プログラムであるBIOS(Basic Input / Output System)やオペレーティングシステムプログラム(以下、OS)や、各サーバ或いは各PCの実行する機能を実現するために必要な各種プログラム等が記憶されている。
In FIG. 2,
202はRAMで、CPU201の主メモリ、ワークエリア等として機能する。CPU201は、処理の実行に際して必要なプログラム等をROM203あるいは外部メモリ211からRAM202にロードして、該ロードしたプログラムを実行することで各種動作を実現するものである。
A
また、205は入力コントローラで、入力装置209等からの入力を制御する。206はビデオコントローラで、液晶ディスプレイ等のディスプレイ装置210への表示を制御する。なお、ディスプレイ装置は、液晶ディスプレイに限られず、CRTディスプレイなどであっても良い。これらは必要に応じてクライアントが使用するものである。
An
207はメモリコントローラで、ブートプログラム,各種のアプリケーション,フォントデータ,ユーザファイル,編集ファイル,各種データ等を記憶するハードディスク(HD)や、フレキシブルディスク(FD)、或いはPCMCIAカードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)メモリ等の外部メモリ211へのアクセスを制御する。
A
208は通信I/Fコントローラで、ネットワーク103を介して外部機器と接続・通信するものであり、ネットワークでの通信制御処理を実行する。例えば、TCP/IPを用いた通信等が可能である。
A communication I /
なお、CPU201は、例えばRAM202内の表示情報用領域へアウトラインフォントの展開(ラスタライズ)処理を実行することにより、ディスプレイ装置210上での表示を可能としている。また、CPU201は、ディスプレイ装置210上の不図示のマウスカーソル等でのユーザ指示を可能とする。
Note that the
ハードウエア上で動作する各種プログラムは、外部メモリ211に記録されており、必要に応じてRAM202にロードされることによりCPU201によって実行されるものである。
なお、全ての装置がこれらの構成を備えているわけではなく、必要なものを夫々備えていればよい。
Various programs that operate on the hardware are recorded in the
It should be noted that not all devices have these configurations, and it is only necessary to provide necessary devices.
図3は、情報処理装置101の機能構成の一例を示すブロック図である。
部品幅取得部301は、部品の幅を取得する機能部である。
文字データ取得部302は、部品内に出力する文字データを取得する機能部である。
文字データ出力部303は、部品幅取得部301により取得した部品の幅に収まるように、文字データ取得部302により取得した文字データを出力する機能部である。
判定部304は、文字データに含まれる文字が、第1の縮小率を適用する文字か否かを判定する機能部である。
FIG. 3 is a block diagram illustrating an example of a functional configuration of the
The component
The character
The character
The
文字データ出力部303は、判定部304により、第1の縮小率を適用する文字であると判定した場合、第1の縮小率を用いて文字幅を縮小して当該文字を出力し、第1の縮小率を適用する文字でないと判定した場合、第2の縮小率を用いて当該文字を出力する機能部である。
文字数取得部305は、文字データ取得部302により取得された文字データの文字数を取得する機能部である。
When the
The character
第1縮小率管理部306は、部品内に出力する文字データの文字数に対応付けて、文字データを縮小して出力する第1の縮小率を管理する機能部である。
文字データ出力部303は、第1の縮小率を適用する文字でないと判定した場合、当該文字の文字幅を縮小せず出力する機能部である。
判定部304は、当該文字の文字幅が所定の値より大きい場合、第1の縮小率を適用する文字であると判定し、当該文字の文字幅が所定の値より小さい場合、第1の縮小率を適用する文字でないと判定する機能部である。
The first reduction
The character
When the character width of the character is larger than a predetermined value, the
文字データ出力部303は、文字データに含まれる文字のうち、文字幅が所定の値より小さい文字が縮小され過ぎないように、第1の縮小率に比べて、緩和した第2の縮小率を用いて文字幅を縮小して当該文字を出力する機能部である。
文字幅下限値管理部307は、文字の幅の下限値を管理する機能部である。
文字データ出力部303は、文字の幅が文字幅下限値管理部307により管理されている下限値よりも小さくならないように出力する機能部である。
第2縮小率管理部308は、文字の幅に対応付けて、文字データを縮小して出力する縮小率を管理する機能部である。
The character
The character width lower
The character
The second reduction
図4は、情報処理装置101にインストールされている原稿作成ツールにおける、原稿デザイン編集画面400の一例を示す図である。
原稿デザイン編集画面400において、原稿デザインの編集を行い、原稿デザインにおける部品402に記事データ401を出力することで原稿を作成する。その原稿の印刷プレビュー画面が図4の403である。
また、印刷プレビュー画面403における「出来高」列を拡大図が、図4の405と406である。
FIG. 4 is a diagram illustrating an example of a document
On the manuscript
Further, enlarged views of the “volume” column in the
図4の405は、「出来高」列に表示する記事データの文字列すべてに一律の縮小率を適用して文字幅を縮めた拡大図である。この場合、幅の狭い文字である小数点についても幅を縮めているため、ユーザにとっては小数点が見づらくなっている。 405 in FIG. 4 is an enlarged view in which the character width is reduced by applying a uniform reduction ratio to all the character strings of the article data displayed in the “volume” column. In this case, since the width of the decimal point, which is a narrow character, is also reduced, it is difficult for the user to see the decimal point.
図4の406は、「出来高」列に表示する記事データの文字列のうち、小数点には縮小率を適用せず(つまり縮小せずに)出力した拡大図である。この場合、数字の幅は縮小し、小数点の幅は縮小していないため、レイアウトが崩れることなく、かつ、ユーザにとっても識別しやすい文字列を出力することができている。以下、図5〜図8を用いて、図4の406を実現する仕組みについて説明する。
図7は、原稿印刷処理の一例を示すフローチャートである。また、図5は、長体設定画面の一例を示す図であり、図6は、部品編集画面の一例を示す図である。図6で設定された各項目の値は、各項目と対応づけて外部メモリ211に記憶する。図7のフローチャートについて説明しながら、図4〜図6を参照する。
なお、以下の図7および図8の各処理は、情報処理装置101のCPU201がすべて行うものとする。
FIG. 7 is a flowchart illustrating an example of the document printing process. FIG. 5 is a diagram illustrating an example of a long body setting screen, and FIG. 6 is a diagram illustrating an example of a component editing screen. The value of each item set in FIG. 6 is stored in the
7 and 8 are all performed by the
また、以下においては、「長体率」という言葉を使用するが、一般的な「長体率」は、文字幅を20%縮小することを長体率80%と記述するが、この実施形態においては長体率20%と記す、つまり、この実施形態における「長体率」とは「縮小率」と同じことを意味する。
ステップS701において、ユーザによって指定された原稿デザインを開き、ディスプレイ装置210に原稿デザイン編集画面400を表示する。
In the following description, the term “long body ratio” is used. As a general “long body ratio”, reducing the character width by 20% is described as 80% long body ratio. In this embodiment, the length ratio is 20%, that is, the “length ratio” in this embodiment means the same as the “reduction ratio”.
In step S <b> 701, the document design designated by the user is opened, and the document
ステップS702において、開かれた原稿デザインに対応する記事データを取得する。具体的には、記事データはCSVファイルのようなテキストデータであり、原稿デザインの各部品の中に表示する文字列が記載されている。記事データの文字列をどの部品内に表示するかは、部品の通し番号と文字列の順番を結び付けるなど方法がある。
ステップS703において、開かれた原稿デザイン内の部品数分だけ、ステップS704〜ステップS706を繰り返す。
In step S702, article data corresponding to the opened document design is acquired. Specifically, the article data is text data such as a CSV file, and a character string to be displayed is described in each part of the manuscript design. The part in which the character string of the article data is displayed can be determined by linking the serial number of the part and the order of the character string.
In step S703, steps S704 to S706 are repeated for the number of parts in the opened document design.
ステップS704において、原稿デザインから当該部品の部品情報を取得し、RAM202に記憶する。具体的には、部品の位置、部品の名称、部品のサイズ、部品内に表示する記事データのフォントサイズ・フォント書体、長体適用範囲、縮小率算出設定等を取得し、RAM202に記憶する。
In step S <b> 704, the component information of the component is acquired from the document design and stored in the
この実施例においては、「出来高」部品402の位置は、原稿デザインから座標を取得し、部品名称601(図6)=「出来高」、部品内に表示する記事データのフォントサイズ602=6ポイント、フォント書体603=新ゴシックR、長体適用範囲ラジオボタン604=「小数点の長体率を0%にする」が取得される。
In this embodiment, the position of the “volume”
長体適用範囲ラジオボタン604は、「小数点の長体率を0%にする」「小数点に別の長体率を設定する」「小数点に長体率を調整しない」のいずれかを選択できる。
The long body application
なお、この実施形態においては、長体適用範囲として、対象文字が「小数点」か否かに限定しているが、「小数点」と同様に幅の狭い文字、例えば、ピリオド、句読点、i(英小文字アイ)、l(英小文字エル)、数字の1、!(エクスクラメーションマーク)などは、長体化すると見づらくなってしまうため、「小数点」に限定せず、「幅狭文字(幅の狭い文字)」と置き換えてもよい。以上により、長体を施した文字列においても、幅狭文字については長体化を行わないよう設定できるため、ユーザにとって見やすくなる。
In this embodiment, the length application range is limited to whether the target character is “decimal point” or not. However, as with “decimal point”, narrow characters such as a period, punctuation mark, i (English Lowercase eye), l (lowercase letter L),
なお、「幅狭文字」か否かの判定方法については、長体適用範囲ラジオボタン604において「幅狭文字」をユーザが定義するようにしてもよいし、または、文字を出力する前に情報処理装置101が当該文字の文字幅を取得し、所定の値より文字幅が小さい文字を「幅狭文字」と判定してもよい。
以上により、図6にて「小数点」と記載している文言を、「幅狭文字」と読み替える。
As for a method of determining whether or not the character is “narrow character”, the user may define “narrow character” in the long range
As described above, the wording “decimal point” in FIG. 6 is read as “narrow character”.
長体適用範囲ラジオボタン604の設定値について説明する。
1つ目の「小数点の長体率を0%にする」とは、幅狭文字は長体化しない(縮小しない、縮小率を適用しない、縮小率=0%を適用する)という意味である。
また、2つ目の「小数点に別の長体率を設定する」とは、幅狭文字には他の文字列に適用する縮小率とは別の縮小率を適用するという意味である。例えば、幅狭文字以外には40%の縮小率を適用する場合、幅狭文字には別の縮小率、ここでは10%(図6の605)を適用することで、幅狭文字の幅が小さくなり過ぎないようにする場合に使用する。よって、図6の605の縮小率は、図5の縮小率502よりも、縮小が緩和される値が入力されるべきである。つまり、縮小率605<縮小率502となるような入力制限を縮小率605に設けるとより良い。以上により、長体を施した文字列においても、幅狭文字については長体化を緩和することができるため、ユーザにとって見やすくなる。
A setting value of the long body application
The first “decrease decimal point length ratio to 0%” means that narrow characters are not lengthened (no reduction, no reduction ratio is applied, reduction ratio = 0% is applied). .
The second “set another length ratio at the decimal point” means that a narrowing rate different from the shrinking rate applied to other character strings is applied to narrow characters. For example, when a reduction rate of 40% is applied to characters other than narrow characters, the width of the narrow characters can be reduced by applying another reduction rate to narrow characters, here 10% (605 in FIG. 6). Used to prevent it from becoming too small. Therefore, a value that reduces the reduction should be input as the
また、3つ目の「小数点の長体率を調整しない」とは、他の文字列に適用する縮小率を幅狭文字にも適用するという意味である。つまり、この場合、当該部品内に表示する文字列は、幅狭文字であるか否かに関わらず、すべての文字に同じ縮小率を適用するという意味である。この設定にした場合、「幅の狭い文字については、長体化すると読みづらくなってしまう」という本発明の課題は解決できないが、文字の識別しやすさよりも、文字列全体のバランスを重視する場合、例えば、幅狭文字が長体化されないことで文字列全体のバランスが崩れることを嫌う場合に、この設定を使用する。 The third “do not adjust the fractional length ratio” means to apply the reduction ratio applied to other character strings to narrow characters. That is, in this case, the character string displayed in the component means that the same reduction ratio is applied to all characters regardless of whether or not the characters are narrow characters. When this setting is used, the problem of the present invention that “it becomes difficult to read narrow characters when they become long” cannot be solved, but importance is placed on the balance of the entire character string rather than ease of character identification. In this case, for example, this setting is used when the user does not want to lose the balance of the entire character string because narrow characters are not lengthened.
縮小率算出設定606は、「自動」「手動」を選択できる。「自動」の場合、記事幅wが部品幅Wに収まるように、記事データ内の文字列の幅を縮小する。「手動」は、図5で事前に設定した長体率定義を図6の607で選択することで、記事データの文字数に応じた長体率を適用することができる。
ここで、図5の長体率定義画面について説明する。
この画面においては、文字数に応じた長体率の組み合わせを定義することができる。
The reduction rate calculation setting 606 can select “automatic” or “manual”. In the case of “automatic”, the width of the character string in the article data is reduced so that the article width w falls within the component width W. “Manual” can apply the length ratio corresponding to the number of characters of the article data by selecting the length ratio definition set in advance in FIG. 5 at 607 in FIG. 6.
Here, the long body ratio definition screen in FIG. 5 will be described.
In this screen, a combination of length ratios according to the number of characters can be defined.
長体名称501「朝刊_株価_値右4」について、この長体定義を適用した部品内に表示する文字列の桁数に応じて、縮小率502を設定することができる。なお、「桁数」とは部品内に表示する文字列の文字数のことである。すなわち、図5の長体率定義画面は、部品内に出力する文字データの文字数に対応付けて、文字データを縮小して出力する第1の縮小率を管理する手段の一例である。
For the
例えば、文字列が1桁の場合は、縮小率502=31%であり、(一般的な)長体率503=69%である。つまり、この長体定義を適用した部品内に1桁の文字列を表示する場合、各文字の幅を31%縮小する、言い換えると、各文字の本来の幅の69%にまで狭めて表示するということである。
For example, when the character string has one digit, the
同様に、文字列が15桁の場合は、縮小率502=70%であり、(一般的な)長体率503=30%である。つまり、この長体定義を適用した部品内に15桁の文字列を表示する場合、各文字の幅を70%縮小する、言い換えると、各文字の本来の幅の30%にまで狭めて表示するということである。
Similarly, when the character string has 15 digits, the
この画面において、更新ボタン504または終了ボタン505が押下されることにより、長体名称501における、文字数に応じた縮小率502の定義が外部メモリ211に記憶される。
以上で、図5の長体率定義画面、および図6の部品編集画面についての説明を終了し、図7の説明に戻る。
When the
The description of the long body ratio definition screen in FIG. 5 and the component editing screen in FIG. 6 is completed, and the description returns to FIG.
ステップS705において、当該部品内に表示する記事データを特定し、特定した記事データの文字列をRAM202に記憶する。すなわち、ステップS705は、部品内に出力する文字データを取得する処理の一例を示すステップである。具体的には、「出来高」部品402の場合、「出来高」列の上から6番目であるため、当該部品内に出力する記事データは出来高リストの上から6番目「1076.2」である。
In step S705, article data to be displayed in the component is specified, and a character string of the specified article data is stored in the
ステップS706において、ステップS704にて取得した部品情報を用いて、当該部品内にステップS705にて特定した記事データを表示する。この処理の詳細は、図8にて説明する。
ステップS707において、原稿デザイン上に出力された記事データを印刷する。
以上で、図7の原稿印刷処理についての説明を終了する。
In step S706, the article data specified in step S705 is displayed in the part using the part information acquired in step S704. Details of this processing will be described with reference to FIG.
In step S707, the article data output on the document design is printed.
This is the end of the description of the document printing process in FIG.
図8は、部品内記事データ出力処理の一例を示すフローチャートである。
ステップS801において、ステップS704にてRAM202に記憶した当該部品の部品情報から、部品幅Wを取得する。すなわち、ステップS801は、部品の幅を取得する処理の一例を示すステップである。この実施例においては、「出来高」部品402(図4)の幅W=20ポイントとする。
FIG. 8 is a flowchart illustrating an example of the in-part article data output process.
In step S801, the component width W is acquired from the component information of the component stored in the
ステップS802において、ステップS704にてRAM202に記憶した当該部品の部品情報から、部品フォントサイズFを取得する。この実施例においては、「出来高」部品402のフォントサイズF=6ポイントである。
ステップS803において、ステップS705にてRAM202に記憶した当該部品内に表示する記事データを取得し、記事データの文字数nを取得する。
In step S802, the component font size F is acquired from the component information of the component stored in the
In step S803, article data to be displayed in the part stored in the
ステップS804において、ステップS704にてRAM202に記憶した当該部品における縮小率算出設定606を取得し、縮小率算出設定606の値について、「自動」「手動」を判定する。「自動」と判定された場合はステップS805に進み、「手動」と判定された場合はステップS808に進む。
In step S804, the reduction rate calculation setting 606 for the part stored in the
ステップS805において、当該部品内に表示する文字の幅を縮小する必要があるか否かを判定するために,ステップS803にて取得した当該部品内に表示する記事データを、フォント書体603、部品フォントサイズFで表示した場合の記事幅wを算出する。なお、この算出は、ディスプレイ装置210に記事データを表示することなく、外部メモリ211に記憶されているフォントデータを用いてVRAM上に仮想的に描画することで算出する。
In step S805, in order to determine whether or not it is necessary to reduce the width of the character displayed in the part, the article data displayed in the part acquired in step S803 is converted into the
例えば、VRAM上の仮想ディスプレイ領域に、フォント書体603、部品フォントサイズFで記事データを描画し、その描画した結果を1つの画像として取扱い、画像の幅を検出する。具体的には、「出来高」部品402の、フォント書体603=新ゴシックR、フォントサイズF=6ポイントで文字列「1076.2」をVRAM上で描画し、描画した文字列画像の幅を記事幅wとして算出する。ここでは、文字列「1076.2」の画像の幅、つまり記事幅w=19ポイントが算出されたとする。
For example, article data is drawn with a
ステップS806において、ステップS801にて取得した当該部品の部品幅Wと、ステップS805にて算出した記事幅wを比較し、W≧wの場合は、記事データの文字の幅を縮小しなくても、部品内に収まっていることを示しているため、ステップS828に進み、記事データの出力を行う。W<wの場合は、記事データの文字幅を縮小する必要があることを示しているため、ステップS807に進み、ステップS809〜ステップS827において文字幅の縮小率の算出を行う。 In step S806, the part width W of the part acquired in step S801 is compared with the article width w calculated in step S805. If W ≧ w, the character width of the article data need not be reduced. Since it indicates that it is within the part, the process proceeds to step S828, and article data is output. If W <w, it indicates that it is necessary to reduce the character width of the article data. Therefore, the process proceeds to step S807, and the reduction ratio of the character width is calculated in steps S809 to S827.
ステップS807において、仮の縮小率としてP=0%を代入する。ここで、Pとは当該部品内に表示する文字の幅を縮める縮小率である。なお、縮小率0%とは、文字の幅を縮めないということである。つまり、文字幅を縮めずにステップS809〜ステップS823で記事幅wを算出し、ステップS826またはステップS827で部品幅Wに収めるための縮小率を情報処理装置101が自動で算出する仕組みである。
In step S807, P = 0% is substituted as a temporary reduction ratio. Here, P is a reduction ratio for reducing the width of characters displayed in the part. A reduction rate of 0% means that the character width is not reduced. In other words, the
ステップS808において、縮小率算出設定606=「手動」であるため、ステップS803にて取得した文字数nに対応する縮小率P(長体率503)を外部メモリ211から取得する。すなわち、ステップS808は、取得された文字数に応じた第1の縮小率を取得する処理の一例を示すステップである。
In step S808, since the reduction ratio calculation setting 606 = “manual”, the reduction ratio P (long body ratio 503) corresponding to the number of characters n acquired in step S803 is acquired from the
具体的には、「出来高」部品402の場合、「出来高」列の上から6番目であるため、当該部品内に出力する記事データは出来高リストの上から6番目「1076.2」である。なお、「1076.2」は6桁の文字列であるため、長体率定義画面500の縮小率502から、縮小率P=56%であることがわかる。
Specifically, since the “volume”
ステップS809において、長体化記事幅w=0、幅狭文字幅の合計w‘=0、当該記事データ文字列における文字の通し番号i=1を代入して、RAM202に記憶する。
ステップS810において、ステップS803にて取得した文字数n回分だけ、ステップS811〜ステップS823を繰り返す。
In step S809, the long article width w = 0, the narrow character width total w ′ = 0, and the character serial number i = 1 in the article data character string are substituted and stored in the
In step S810, steps S811 to S823 are repeated for the number n of characters acquired in step S803.
ステップS811において、ステップS802にて取得したフォントサイズFで描いた、i文字目の文字幅w[i]を算出する。なお、この算出方法は、ステップS805と同様である。 In step S811, the character width w [i] of the i-th character drawn with the font size F acquired in step S802 is calculated. This calculation method is the same as that in step S805.
具体的には、i=1の場合、「出来高」部品402のフォント書体603=新ゴシックR、フォントサイズF=6ポイントで「1076.2」の1文字目「1」を描いた場合の文字幅w[i]を算出する。ここでは、1文字目「1」の場合、文字幅w[1]=2ポイントが算出されたとする。同様にして、w[2]=4ポイント、w[3]=4ポイント、w[4]=4ポイント、w[5]=1ポイント、w[6]=4ポイントが算出されたとする。
Specifically, when i = 1, the
ステップS812において、RAM202に記憶されている長体適用範囲ラジオボタン604の値を取得し判定する。長体適用範囲ラジオボタン604の値が「小数点に長体率を調整しない」の場合は、「すべての文字に同じ縮小率を適用する」という意味であるため、ステップS813に進む。長体適用範囲ラジオボタン604の値が「小数点に別の長体率を設定する」の場合は、「幅狭文字には別の縮小率を適用する」という意味であるため、ステップS815に進む。長体適用範囲ラジオボタン604の値が「小数点の長体率を0%にする」の場合は、「幅狭文字には縮小率を適用しない」という意味であるため、ステップS818に進む。この実施例においては、長体適用範囲ラジオボタン604に「小数点の長体率を0%にする」が設定されているとする。
In step S812, the value of the long body application
ステップS813において、すべての文字に同じ縮小率を適用するため、i文字目の縮小率p[i]=Pとする。ここで、Pは縮小率算出設定606=「自動」の場合はステップS807からP=0%であり、縮小率算出設定606=「手動」の場合はステップS808で取得した値である。すなわち、ステップS813は、第1の縮小率を適用する文字であると判定した場合、第1の縮小率を用いて文字幅を縮小する処理の一例を示すステップである。 In step S813, in order to apply the same reduction ratio to all characters, the reduction ratio p [i] = P is set for the i-th character. Here, P is 0% from step S807 when the reduction ratio calculation setting 606 = “automatic”, and the value acquired at step S808 when the reduction ratio calculation setting 606 = “manual”. That is, step S813 is a step showing an example of a process for reducing the character width using the first reduction ratio when it is determined that the character applies the first reduction ratio.
ステップS814において、縮小率p[i]を用いて幅を縮小した、i文字目の文字幅w[i]を取得する。すなわち、ステップS814は、第1の縮小率を適用する文字でないと判定した場合、第2の縮小率を用いて当該文字を出力する処理の一例を示すステップである。文字幅の取得方法は、ステップS805と同様である。なお、文字列画像の幅に(1−縮小率p[i])を掛けることで、縮小した文字列画像の幅が得られる。
ステップS815において、幅狭文字用の縮小率p(図6の605)を取得する。
In step S814, the character width w [i] of the i-th character obtained by reducing the width using the reduction ratio p [i] is acquired. That is, step S814 is a step showing an example of a process of outputting the character using the second reduction ratio when it is determined that the character is not to which the first reduction ratio is applied. The method for acquiring the character width is the same as in step S805. Note that the width of the character string image is obtained by multiplying the width of the character string image by (1−reduction ratio p [i]).
In step S815, the reduction ratio p (605 in FIG. 6) for narrow characters is acquired.
ステップS816において、i文字目の文字が幅狭文字か否かを判定する。なお、幅狭文字か否かの判定は、文字幅が所定の値以下か否かで判定し、幅狭文字であると判定した場合はステップS817に進み、幅狭文字でないと判定した場合はステップS813に進む。すなわち、ステップS816は、文字データに含まれる文字が、第1の縮小率を適用する文字か否かを判定する処理の一例を示すステップである。 In step S816, it is determined whether or not the i-th character is a narrow character. Whether the character is a narrow character is determined by whether the character width is equal to or smaller than a predetermined value. If it is determined that the character is a narrow character, the process proceeds to step S817. The process proceeds to step S813. That is, step S816 is a step showing an example of processing for determining whether or not the character included in the character data is a character to which the first reduction ratio is applied.
例えば、所定の値を2ポイントとすると、「1076.2」の1桁目「1」の文字幅=2ポイント、2桁目「0」の文字幅=4ポイント、3桁目「7」の文字幅=4ポイント、4桁目「6」の文字幅=4ポイント、5桁目「.」の文字幅=1ポイント、6桁目「2」の文字幅=4ポイントであるため、幅狭文字は、1桁目「1」と5桁目「.」の2文字となる。すなわち、ステップS816は、文字の文字幅が所定の値より大きい場合、第1の縮小率を適用する文字であると判定し、当該文字の文字幅が所定の値より小さい場合、第1の縮小率を適用する文字でないと判定する処理の一例を示すステップである。 For example, if the predetermined value is 2 points, the character width of the first digit “1” of “1076.2” = 2 points, the character width of the second digit “0” = 4 points, and the third digit “7”. Character width = 4 points, character width of 4th digit "6" = 4 points, character width of 5th digit "." = 1 point, character width of 6th digit "2" = 4 points, narrower The characters are two characters, the first digit “1” and the fifth digit “.”. That is, step S816 determines that the character to which the first reduction ratio is applied when the character width of the character is larger than a predetermined value, and the first reduction when the character width of the character is smaller than the predetermined value. It is a step which shows an example of the process which determines that it is not the character which applies a rate.
ここで所定の値は2ポイントとしたが、この値は当システムにおいて事前に設定された値としてもよいし、ユーザがシステムの設定画面において設定できるとしてもよい。また、部品編集画面600において、部品毎に設定できるとしてもよい。この所定の値を、ユーザが設定可能にすることで、より柔軟にかつ簡単に長体化する範囲を増減させることが可能になる。
Here, the predetermined value is 2 points, but this value may be a value set in advance in the system, or may be set by the user on the setting screen of the system. Further, it may be set for each part on the
ステップS817において、幅狭文字に別の縮小率を適用するため、i文字目の縮小率p[i]=pとする。ここで、pはステップS815にて取得した幅狭文字用の縮小率p(図6の605)である。すなわち、ステップS817は、第1の縮小率を適用する文字でないと判定した場合、第2の縮小率を用いて当該文字を出力する処理の一例を示すステップである。また、ステップS817は、文字幅が所定の値より小さい文字が縮小され過ぎないように、第1の縮小率に比べて、緩和した第2の縮小率を用いて文字幅を縮小する処理の一例を示すステップである。 In step S817, in order to apply another reduction ratio to narrow characters, the reduction ratio p [i] = p is set for the i-th character. Here, p is the reduction ratio p (605 in FIG. 6) for narrow characters acquired in step S815. That is, step S817 is a step showing an example of a process of outputting the character using the second reduction ratio when it is determined that the character is not the first reduction ratio. Step S817 is an example of processing for reducing the character width using the relaxed second reduction ratio as compared with the first reduction ratio so that characters having a character width smaller than a predetermined value are not reduced too much. It is a step which shows.
ステップS818において、i文字目の文字が幅狭文字か否かを判定する。なお、幅狭文字か否かの判定方法はステップS816と同様である。幅狭文字であると判定した場合はステップS819に進み、幅狭文字でないと判定した場合はステップS813に進む。すなわち、ステップS818は、文字データに含まれる文字が、第1の縮小率を適用する文字か否かを判定する処理の一例を示すステップである。 In step S818, it is determined whether the i-th character is a narrow character. The method for determining whether or not the character is narrow is the same as in step S816. If it is determined that the character is a narrow character, the process proceeds to step S819. If it is determined that the character is not a narrow character, the process proceeds to step S813. That is, step S818 is a step showing an example of processing for determining whether or not the character included in the character data is a character to which the first reduction ratio is applied.
ステップS819において、幅狭文字には縮小率を適用しないため、i文字目の縮小率p[i]=0%とする。つまり、幅狭文字は長体化しない、縮小しないということである。すなわち、ステップS819は、第1の縮小率を適用する文字でないと判定した場合、当該文字の文字幅を縮小せず出力する処理の一例を示すステップである。 In step S819, since the reduction ratio is not applied to narrow characters, the reduction ratio p [i] of the i-th character is set to 0%. In other words, narrow characters are not lengthened or reduced. That is, step S819 is a step showing an example of a process of outputting the character width of the character without reducing it when it is determined that the character does not apply the first reduction ratio.
ステップS820において、縮小率p[i]を用いて幅を縮小した、i文字目の文字幅w[i]を取得する。文字幅の取得方法は、ステップS814と同様である。 In step S820, the character width w [i] of the i-th character obtained by reducing the width using the reduction ratio p [i] is acquired. The method for acquiring the character width is the same as in step S814.
ステップS821において、幅狭文字幅の合計w‘に、w’+w[i]を計算して代入する。なお、幅狭文字幅の合計w‘は、記事データの文字幅を縮小する必要がある場合、部品幅Wに収めるための新たな縮小率を算出する処理(ステップS826またはステップS827)に用いる。 In step S821, w '+ w [i] is calculated and substituted for the total width w' of narrow character widths. Note that the total width w ′ of the narrow character width is used for processing (step S826 or step S827) for calculating a new reduction ratio to fit in the component width W when the character width of the article data needs to be reduced.
ステップS822において、長体化記事幅wに、w+w[i]を計算して代入する。なお、記事幅wは、記事データの文字列が部品内に収まっているか否かを判定する処理(ステップS824)、および、記事データの文字幅を縮小する必要がある場合、部品幅Wに収めるための新たな縮小率を算出する処理(ステップS826またはステップS827)に用いる。 In step S822, w + w [i] is calculated and substituted for the lengthened article width w. Note that the article width w is included in the component width W when it is necessary to reduce the character width of the article data (step S824) in which it is determined whether the character string of the article data is contained within the component. This is used for the processing (step S826 or step S827) for calculating a new reduction ratio for the purpose.
ステップS823において、当該記事データ文字列における文字の通し番号iに、i+1を計算して代入することで、次の文字の処理に進む。i=nになるまで、ステップS811〜ステップS823を繰り返す。 In step S823, the processing proceeds to the next character by calculating and substituting i + 1 for the serial number i of the character in the article data character string. Steps S811 to S823 are repeated until i = n.
ステップS824において、ステップS801にて取得した当該部品の部品幅Wと、ステップS811〜ステップS823にて算出した長体化した記事幅wを比較し、W≧wの場合は、部品内に収まっていることを示しているため、ステップS828に進み、記事データの出力を行う。W<wの場合は、記事データの文字幅を更に縮小する必要があることを示しているため、ステップS825に進み、ステップS826またはステップS827において文字幅の縮小率の算出を行う。 In step S824, the part width W of the part acquired in step S801 is compared with the elongated article width w calculated in steps S811 to S823. If W ≧ w, the part width W is within the part. In step S828, article data is output. If W <w, it indicates that it is necessary to further reduce the character width of the article data. Therefore, the process proceeds to step S825, and the reduction ratio of the character width is calculated in step S826 or step S827.
ステップS825において、RAM202に記憶されている長体適用範囲ラジオボタン604の値を取得し判定する。長体適用範囲ラジオボタン604の値が「小数点に長体率を調整しない」の場合は、「すべての文字に同じ縮小率を適用する」という意味であるため、ステップS826に進む。長体適用範囲ラジオボタン604の値が「小数点に別の長体率を設定する」「小数点の長体率を0%にする」の場合は、ステップS827に進む。
In step S825, the value of the long body application
ステップS826において、新たな縮小率Pに1−W(1−P)/wを計算して代入する。なお、この算出式の詳細については、説明を省略するが、部品幅W<記事幅wであるため、長体率にW/wを掛けて、更に記事幅を狭くする縮小率を算出している。 In step S826, 1-W (1-P) / w is calculated and substituted for the new reduction ratio P. Although the details of this calculation formula are omitted, since the component width W <the article width w, the reduction ratio for further narrowing the article width is calculated by multiplying the body ratio by W / w. Yes.
ステップS827において、新たな縮小率Pに1−(W−w’)(1−P)/(w−w’)を計算して代入する。なお、この算出式の詳細については、説明を省略するが、部品幅W<記事幅wであるため、更に記事幅を狭くする縮小率を導出したいが、幅狭文字幅の合計w‘は縮小できないため、部品幅Wと記事幅wからw’を引いた数字を用いて、縮小率を算出している。 In step S827, 1− (W−w ′) (1−P) / (w−w ′) is calculated and substituted for the new reduction ratio P. Although details of this calculation formula are omitted, since component width W <article width w, it is desired to derive a reduction ratio for further narrowing the article width, but the total w ′ of narrow character widths is reduced. Therefore, the reduction ratio is calculated using a number obtained by subtracting w ′ from the component width W and the article width w.
ステップS826またはステップS827において、新たな縮小率Pを算出した後、ステップS809に戻り、新たな縮小率Pを用いて、記事文字列の長体化を行う。これにより、幅狭文字を長体化しないようにした場合に、部品幅に文字列が収まらなくなってしまう課題もクリアすることができる。
ステップS828において、当該記事データ文字列における文字の通し番号i=1を代入して、RAM202に記憶する。
ステップS829において、ステップS803にて取得した文字数n回分だけ、ステップS830〜ステップS831を繰り返す。
After calculating a new reduction ratio P in step S826 or step S827, the process returns to step S809, and the article character string is lengthened using the new reduction ratio P. Thereby, when narrow characters are not lengthened, the problem that the character string does not fit in the component width can be cleared.
In step S828, the character serial number i = 1 in the article data character string is substituted and stored in the
In step S829, steps S830 to S831 are repeated for the number n of characters acquired in step S803.
ステップS830において、ステップS802にて取得したフォントサイズFで描いた、i文字目の文字の文字幅を縮小率p[i]で縮め、ステップS704にて、RAM202に記憶した部品の位置(座標)に出力する。すなわち、ステップS830は、取得した部品の幅に収まるように、取得した文字データを出力する処理の一例を示すステップである。
In step S830, the character width of the i-th character drawn with the font size F acquired in step S802 is reduced by the reduction ratio p [i], and the position (coordinates) of the component stored in the
ステップS831において、当該記事データ文字列における文字の通し番号iに、i+1を計算して代入することで、次の文字の処理に進む。i=nになるまで、ステップS830〜ステップS831を繰り返す。
以上で、図8の部品内記事データ出力処理についての説明を終了する。
In step S831, the process proceeds to the next character by calculating and substituting i + 1 for the serial number i of the character in the article data character string. Steps S830 to S831 are repeated until i = n.
This is the end of the description of the in-part article data output process of FIG.
以上により、文字列の出力において、文字幅の縮小率を変えることで、幅の狭い文字について長体化すると読みづらくなってしまう課題を解決することができ、ユーザにとって識別しやすい文字列を出力する仕組みを提供することができる。 As described above, by changing the reduction ratio of the character width in the output of the character string, it is possible to solve the problem that it becomes difficult to read if the length of the narrow character is lengthened, and the character string that is easy for the user to output is output. Can be provided.
なお、この実施形態においては、新聞の原稿を例に挙げたが、新聞に限定するものではなく、原稿作成であれば、雑誌、Webページ、電子書籍などの原稿作成であってもよい。 In this embodiment, a newspaper manuscript has been described as an example. However, the present invention is not limited to a newspaper, and as long as a manuscript is created, a manuscript may be created such as a magazine, a Web page, or an electronic book.
〔第2の実施形態〕
次に、図9〜図11を用いて、第2の実施形態について説明する。
図9は、第2の実施形態に係る部品編集画面の一例を示す図である。図10は、第2の実施形態に係る部品内記事データ出力処理の一例を示すフローチャートである。図9で設定された各項目の値は、各項目と対応づけて外部メモリ211に記憶する。図11は、第2の実施形態に係る長体化処理の一例を示すフローチャートである。
なお、第2の実施形態では、第1の実施形態における図6の部品編集画面に図9の901〜910を追加している。
図9について、簡単に説明しておく。
[Second Embodiment]
Next, a second embodiment will be described with reference to FIGS.
FIG. 9 is a diagram illustrating an example of a component editing screen according to the second embodiment. FIG. 10 is a flowchart illustrating an example of the in-part article data output process according to the second embodiment. The value of each item set in FIG. 9 is stored in the
In the second embodiment, 901 to 910 in FIG. 9 are added to the component editing screen in FIG. 6 in the first embodiment.
FIG. 9 will be briefly described.
長体適用範囲ラジオボタン604のうち、「小数点に別の長体率を設定する」が選択された場合は、「一定の長体率ラジオボタン901」「文字幅に応じて長体率を変えるラジオボタン902」のどちらかをONに設定できるようにする。なお、「文字幅に応じて長体率を変えるラジオボタン902」をONに設定した場合は、文字幅に応じて長体率を設定するダイアログ(不図示)を表示し、ユーザの入力に応じて、「文字幅に応じた長体率設定911」(図9)のような表を外部メモリ211に記憶できるようにする。
すなわち「文字幅に応じた長体率設定911」は、文字の幅に対応付けて、文字データを縮小して出力する縮小率を管理する手段の一例である。
When “Set another length ratio to the decimal point” is selected from the long range
That is, the “length ratio setting 911 according to the character width” is an example of a unit that manages a reduction ratio for reducing and outputting character data in association with the character width.
長体適用範囲ラジオボタン604のうち、「小数点に長体率を調整しない」が選択された場合は、「太字にするチェックボックス904」「別のフォントを用いるチェックボックス905」「別の文字に置換するチェックボックス907」をON/OFFの設定ができるようにする。
When “Do not adjust the body length ratio to the decimal point” is selected from the long range
また、第1の実施形態における図8のフローチャートを図10に置き換え、第1の実施形態のステップと同じ処理については、同じステップ番号を付与し説明を省略する。なお、以下の処理は、情報処理装置101のCPU201がすべて行うものとする。
Further, the flowchart of FIG. 8 in the first embodiment is replaced with FIG. 10, and the same process as the step of the first embodiment is given the same step number and the description is omitted. Note that the following processing is all performed by the
図9を参照しながら。図10および図11のフローチャートについて説明する。なお、図10および図11の各処理は、情報処理装置101のCPU201がすべて行うものとする。
Referring to FIG. The flowcharts of FIGS. 10 and 11 will be described. 10 and 11 are all performed by the
図10のステップS1001において、部品内に表示する記事データのフォントサイズ602、長体適用範囲ラジオボタン604および図9の901〜910の値に応じた長体化処理(図11)を行う。
In step S1001 in FIG. 10, the lengthening process (FIG. 11) is performed according to the
図11のステップS1101において、RAM202に記憶されている長体適用範囲ラジオボタン604の値を取得し判定する。長体適用範囲ラジオボタン604の値が「小数点に長体率を調整しない」の場合は、「すべての文字に同じ縮小率を適用する」という意味であるため、ステップS1102に進む。長体適用範囲ラジオボタン604の値が「小数点に別の長体率を設定する」の場合は、「幅狭文字には別の縮小率を適用する」という意味であるため、ステップS1114に進む。長体適用範囲ラジオボタン604の値が「小数点の長体率を0%にする」の場合は、「幅狭文字には縮小率を適用しない」という意味であるため、ステップS1112に進む。この実施例においては、長体適用範囲ラジオボタン604に「小数点の長体率を0%にする」が設定されているとする。
In step S1101 of FIG. 11, the value of the long body application
ステップS1102において、i文字目の文字が幅狭文字か否かを判定する。なお、幅狭文字か否かの判定方法はステップS816と同様である。幅狭文字であると判定した場合はステップS1103に進み、幅狭文字でないと判定した場合はステップS1113に進む。すなわち、ステップS1102は、文字データに含まれる文字が、第1の縮小率を適用する文字か否かを判定する処理の一例を示すステップである。 In step S1102, it is determined whether or not the i-th character is a narrow character. The method for determining whether or not the character is narrow is the same as in step S816. If it is determined that the character is a narrow character, the process proceeds to step S1103. If it is determined that the character is not a narrow character, the process proceeds to step S1113. That is, step S1102 is a step showing an example of processing for determining whether or not the character included in the character data is a character to which the first reduction ratio is applied.
ステップS1103において、RAM202に記憶されている「太字にするチェックボックス904」の値がONかOFFを判定する。ONと判定した場合はステップS1104に進み、OFFと判定した場合はステップS1105に進む。
In step S1103, it is determined whether the value of the “bold check box 904” stored in the
ステップS1104において、i文字目の文字を太字にする。すなわち、ステップS1104は、第1の縮小率を適用する文字でないと判定した場合、第1の縮小率を適用する文字とは異なる形式を用いて出力する処理の一例を示すステップである。以上により、長体を施した文字列においても、幅狭文字については太字で表示されるため、ユーザにとって見やすくなる。 In step S1104, the i-th character is bolded. That is, step S1104 is a step showing an example of a process of outputting using a format different from that of the character to which the first reduction ratio is applied when it is determined that the character is not to be applied with the first reduction ratio. As described above, even in a long character string, narrow characters are displayed in bold, making it easier for the user to see.
ステップS1105において、RAM202に記憶されている「別のフォントを用いるチェックボックス905」の値がONかOFFを判定する。ONと判定した場合はステップS1106に進み、OFFと判定した場合はステップS1108に進む。
ステップS1106において、RAM202に記憶されている「別のフォントテキストボックス906」の値を取得する。
In step S1105, it is determined whether the value of the “
In step S1106, the value of “another
ステップS1107において、i文字目の文字にステップS1106にて取得した「別のフォントテキストボックス906」の値が示すフォント(長体化されても見やすいフォント)を用いる。すなわち、ステップS1107は、第1の縮小率を適用する文字でないと判定した場合、第1の縮小率を適用する文字とは異なる形式を用いて出力する処理の一例を示すステップである。以上により、長体を施した文字列においても、幅狭文字については長体化されても見やすいフォントで表示されるため、ユーザにとって見やすくなる。
In step S1107, the i-th character uses the font indicated by the value of “another
ステップS1108において、RAM202に記憶されている「別の文字に置換するチェックボックス907」の値がONかOFFを判定する。ONと判定した場合はステップS1109に進み、OFFと判定した場合はステップS1113に進む。
ステップS1109において、RAM202に記憶されている「別の文字テキストボックス908」の値を取得する。
In step S1108, it is determined whether the value of the “replace with another
In step S 1109, the value of “another
ステップS1110において、i文字目の文字にステップS1109にて取得した「別の文字テキストボックス908」の値が示す文字(長体化されても見やすい代替文字)を用いる。すなわち、ステップS1110は、第1の縮小率を適用する文字でないと判定した場合、第1の縮小率を適用する文字とは異なる形式を用いて出力する処理の一例を示すステップである。以上により、長体を施した文字列においても、幅狭文字については長体化されても見やすい代替文字で表示されるため、ユーザにとって見やすくなる。
In step S1110, the character indicated by the value of “another
ステップS1111において、すべての文字に同じ縮小率を適用するため、i文字目の縮小率p[i]=Pとする。ここで、Pは縮小率算出設定606=「自動」の場合はステップS807からP=0%であり、縮小率算出設定606=「手動」の場合はステップS808で取得した値である。すなわち、ステップS1111は、第1の縮小率を適用する文字であると判定した場合、第1の縮小率を用いて文字幅を縮小する処理の一例を示すステップである。 In step S1111, the reduction ratio p [i] = P is set for the i-th character in order to apply the same reduction ratio to all characters. Here, P is 0% from step S807 when the reduction ratio calculation setting 606 = “automatic”, and the value acquired at step S808 when the reduction ratio calculation setting 606 = “manual”. That is, step S1111 is a step showing an example of a process for reducing the character width using the first reduction ratio when it is determined that the character applies the first reduction ratio.
ステップS1112において、i文字目の文字が幅狭文字か否かを判定する。なお、幅狭文字か否かの判定方法はステップS816と同様である。幅狭文字であると判定した場合はステップS1113に進み、幅狭文字でないと判定した場合はステップS1111に進む。すなわち、ステップS1112は、文字データに含まれる文字が、第1の縮小率を適用する文字か否かを判定する処理の一例を示すステップである。 In step S1112, it is determined whether or not the i-th character is a narrow character. The method for determining whether or not the character is narrow is the same as in step S816. If it is determined that the character is a narrow character, the process proceeds to step S1113. If it is determined that the character is not a narrow character, the process proceeds to step S1111. That is, step S1112 is a step showing an example of processing for determining whether or not the character included in the character data is a character to which the first reduction ratio is applied.
ステップS1113において、幅狭文字には縮小率を適用しないため、i文字目の縮小率p[i]=0%とする。つまり、幅狭文字は長体化しない、縮小しないということである。すなわち、ステップS1113は、第1の縮小率を適用する文字でないと判定した場合、当該文字の文字幅を縮小する処理の一例を示すステップである。
ステップS1114において、幅狭文字用の縮小率p(図6の605)を取得する。
In step S1113, since the reduction ratio is not applied to narrow characters, the reduction ratio p [i] of the i-th character is set to 0%. In other words, narrow characters are not lengthened or reduced. That is, step S1113 is a step showing an example of processing for reducing the character width of the character when it is determined that the character does not apply the first reduction ratio.
In step S1114, the reduction ratio p (605 in FIG. 6) for narrow characters is acquired.
ステップS1115において、i文字目の文字が幅狭文字か否かを判定する。なお、幅狭文字か否かの判定方法はステップS816と同様である。幅狭文字であると判定した場合はステップS1116に進み、幅狭文字でないと判定した場合はステップS1111に進む。すなわち、ステップS1115は、文字データに含まれる文字が、第1の縮小率を適用する文字か否かを判定する処理の一例を示すステップである。 In step S1115, it is determined whether or not the i-th character is a narrow character. The method for determining whether or not the character is narrow is the same as in step S816. If it is determined that the character is a narrow character, the process proceeds to step S1116. If it is determined that the character is not a narrow character, the process proceeds to step S1111. That is, step S1115 is a step showing an example of processing for determining whether or not the character included in the character data is a character to which the first reduction ratio is applied.
ステップS1116において、RAM202に記憶されている「一定の長体率ラジオボタン901」「文字幅に応じて長体率を変えるラジオボタン902」のどちらがONかを判定する。「一定の長体率ラジオボタン901」がONと判定した場合はステップS1117に進み、「文字幅に応じて長体率を変えるラジオボタン902」がONと判定した場合はステップS1119に進む。
In step S <b> 1116, it is determined which one of the “constant length
ステップS1117において、幅狭文字に別の縮小率を適用するため、i文字目の縮小率p[i]=pとする。ここで、pはステップS815にて取得した幅狭文字用の縮小率p(図6の605)である。すなわち、ステップS1117は、第1の縮小率を適用する文字でないと判定した場合、第2の縮小率を用いて当該文字を出力する処理の一例を示すステップである。また、ステップS1117は、文字幅が所定の値より小さい文字が縮小され過ぎないように、第1の縮小率に比べて、緩和した第2の縮小率を用いて文字幅を縮小する処理の一例を示すステップである。 In step S1117, in order to apply another reduction ratio to narrow characters, the reduction ratio p [i] = p is set for the i-th character. Here, p is the reduction ratio p (605 in FIG. 6) for narrow characters acquired in step S815. That is, step S1117 is a step showing an example of a process for outputting the character using the second reduction ratio when it is determined that the character is not to be applied with the first reduction ratio. Step S1117 is an example of a process for reducing the character width using the relaxed second reduction ratio as compared with the first reduction ratio so that characters having a character width smaller than a predetermined value are not reduced too much. It is a step which shows.
ステップS1118において、ステップS811にて算出した縮小前のi文字目の文字幅w[i]に応じた縮小率p‘を取得する。具体的には、外部メモリ211に記憶した「文字幅に応じた長体率設定911」から、文字幅w[i]に応じた縮小率p‘を取得する。例えば、i文字目の文字が小数点などの幅狭文字であり、文字幅が2ptの場合、外部メモリ211に記憶した「文字幅に応じた長体率設定911」から、縮小率p‘=10%を取得する。
In step S1118, a reduction rate p ′ corresponding to the character width w [i] of the i-th character before reduction calculated in step S811 is acquired. Specifically, the reduction rate p ′ corresponding to the character width w [i] is acquired from the “length ratio setting 911 corresponding to the character width” stored in the
ステップS1119において、i文字目の縮小率p[i]=p‘とする。すなわち、ステップS1119は、第1の縮小率を適用する文字でないと判定した場合、第2の縮小率を用いて当該文字を出力する処理の一例を示すステップである。また、ステップS1119は、文字の幅に対応付けて管理されている縮小率を用いる処理の一例を示すステップである。 In step S1119, the reduction ratio p [i] = p ′ of the i-th character is set. That is, step S1119 is a step showing an example of a process of outputting the character using the second reduction ratio when it is determined that the character is not the first reduction ratio. Step S1119 is a step showing an example of processing using a reduction ratio managed in association with the character width.
ステップS1120において、それぞれの縮小率を用いて幅を縮小した(ステップS1113の場合は縮小しない)、i文字目の文字幅w[i]を取得する。文字幅の取得方法は、ステップS814と同様である。
ステップS1121において、ステップS1120にて取得したi文字目の文字幅w[i]が、RAM202に記憶されている文字幅下限値910
In step S1120, the width is reduced using the respective reduction ratios (not reduced in the case of step S1113), and the character width w [i] of the i-th character is acquired. The method for acquiring the character width is the same as in step S814.
In step S1121, the character width w [i] of the i-th character acquired in step S1120 is the character width
より小さいか否かを判定し、文字幅下限値910より小さい場合はステップS1122に進み、文字幅下限値910以上の場合はステップS1123に進む。すなわち、「文字幅下限値910」は、文字の幅の下限値を管理する手段の一例である。
If it is smaller than the character width
ステップS1122において、i文字目の文字幅w[i]=文字幅下限値910になるように縮小する。すなわち、ステップS1122は、文字の幅が下限値よりも小さくならないように出力する処理の一例を示すステップである。
In step S1122, the character width is reduced so that the character width w [i] of the i-th character = character width
ステップS1123において、長体化記事幅wに、w+w[i]を計算して代入する。なお、記事幅wは、記事データの文字列が部品内に収まっているか否かを判定する処理(ステップS824)、および、記事データの文字幅を縮小する必要がある場合、部品幅Wに収めるための新たな縮小率を算出する処理(ステップS826またはステップS827)に用いる。
以上で、図10の第2の実施形態に係る部品内記事データ出力処理、および図11の第2の実施形態に係る長体化処理についての説明を終了する。
In step S1123, w + w [i] is calculated and substituted for the lengthened article width w. Note that the article width w is included in the component width W when it is necessary to reduce the character width of the article data (step S824) in which it is determined whether the character string of the article data is contained within the component. This is used for the processing (step S826 or step S827) for calculating a new reduction ratio for the purpose.
The description of the in-part article data output process according to the second embodiment in FIG. 10 and the lengthening process according to the second embodiment in FIG.
以上により、文字列の出力において、文字幅の縮小率または出力形式を変えることで、幅の狭い文字について長体化すると読みづらくなってしまう課題を解決することができ、ユーザにとって識別しやすい文字列を出力する仕組みを提供することができる。 As described above, in character string output, the character width reduction rate or output format can be changed to solve the problem that it becomes difficult to read when a narrow character is lengthened. A mechanism for outputting a column can be provided.
なお、この実施形態においては、新聞の原稿を例に挙げたが、新聞に限定するものではなく、原稿作成であれば、雑誌、Webページ、電子書籍などの原稿作成であってもよい。
以上で、第2の実施形態の説明を終了する。
In this embodiment, a newspaper manuscript has been described as an example. However, the present invention is not limited to a newspaper, and as long as a manuscript is created, a manuscript may be created such as a magazine, a Web page, or an electronic book.
This is the end of the description of the second embodiment.
以上のように、前述した実施形態の機能を実現するプログラムを記録した記録媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記録媒体に格納されたプログラムを読み出し、実行することによっても本発明の目的が達成されることは言うまでもない。 As described above, a recording medium that records a program that implements the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU or MPU) of the system or apparatus stores the program stored in the recording medium. It goes without saying that the object of the present invention can also be achieved by reading and executing.
この場合、記録媒体から読み出されたプログラム自体が本発明の新規な機能を実現することになり、そのプログラムを記録した記録媒体は本発明を構成することになる。 In this case, the program itself read from the recording medium realizes the novel function of the present invention, and the recording medium recording the program constitutes the present invention.
プログラムを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、DVD−ROM、磁気テープ、不揮発性のメモリカード、ROM、EEPROM、シリコンディスク等を用いることが出来る。 As a recording medium for supplying the program, for example, a flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, DVD-ROM, magnetic tape, nonvolatile memory card, ROM, EEPROM, silicon A disk or the like can be used.
また、コンピュータが読み出したプログラムを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Further, by executing the program read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on an instruction of the program is actually It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the processing and the processing is included.
さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Furthermore, after the program read from the recording medium is written to the memory provided in the function expansion board inserted into the computer or the function expansion unit connected to the computer, the function expansion board is based on the instructions of the program code. It goes without saying that the case where the CPU or the like provided in the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
また、本発明は、複数の機器から構成されるシステムに適用しても、ひとつの機器から成る装置に適用しても良い。また、本発明は、システムあるいは装置にプログラムを供給することによって達成される場合にも適応できることは言うまでもない。この場合、本発明を達成するためのプログラムを格納した記録媒体を該システムあるいは装置に読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。 The present invention may be applied to a system constituted by a plurality of devices or an apparatus constituted by a single device. Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or apparatus. In this case, by reading a recording medium storing a program for achieving the present invention into the system or apparatus, the system or apparatus can enjoy the effects of the present invention.
上記プログラムの形態は、オブジェクトコード、インタプリタにより実行されるプログラムコード、OS(オペレーティングシステム)に供給されるスクリプトデータ等の形態から成ってもよい。 The form of the program may be in the form of object code, program code executed by an interpreter, script data supplied to an OS (operating system), and the like.
さらに、本発明を達成するためのプログラムをネットワーク上のサーバ、データベース等から通信プログラムによりダウンロードして読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。なお、上述した各実施形態およびその変形例を組み合わせた構成も全て本発明に含まれるものである。 Furthermore, by downloading and reading a program for achieving the present invention from a server, database, etc. on a network using a communication program, the system or apparatus can enjoy the effects of the present invention. In addition, all the structures which combined each embodiment mentioned above and its modification are also included in this invention.
101 情報処理装置
102 ニュース配信サーバ
103 ネットワーク
101
Claims (9)
前記部品内に出力する文字データを取得する文字データ取得手段と、
前記文字データ取得手段により取得された文字データの文字数を取得する文字数取得手段と、
前記部品内に出力する文字データの文字数に対応付けて、文字データを縮小して出力する第1の縮小率を決定する第1縮小率決定手段と、
前記第1縮小率決定手段から、前記文字数取得手段により取得された文字数に対応付けられた第1の縮小率を取得する第1縮小率取得手段と、
前記文字データに含まれる文字が、第1の縮小率を適用しない所定の文字か否かを判定する判定手段と、
前記判定手段により、第1の縮小率を適用する文字であると判定した場合、前記第1縮小率取得手段により取得された第1の縮小率を用いて文字幅を縮小して当該文字を前記部品内に出力し、第1の縮小率を適用しない所定の文字であると判定した場合、第1の縮小率を用いた時よりも大きくなるように当該所定の文字を前記部品内に出力する文字データ出力手段と
を備え、
前記判定手段は、
前記文字データに含まれる文字の文字幅が所定の値より大きい場合、第1の縮小率を適用する文字であると判定し、所定の値より小さい場合、第1の縮小率を適用しない所定の文字であると判定すること
を特徴とする情報処理装置。 An information processing apparatus capable of outputting a document including a plurality of parts,
Character data acquisition means for acquiring character data to be output in the component;
A character number obtaining unit for obtaining the number of characters of the character data obtained by the character data obtaining unit;
First reduction rate determining means for determining a first reduction rate for reducing and outputting character data in association with the number of characters of character data to be output in the component;
A first reduction rate acquisition unit that acquires a first reduction rate associated with the number of characters acquired by the character number acquisition unit from the first reduction rate determination unit;
Determining means for determining whether or not a character included in the character data is a predetermined character to which the first reduction rate is not applied;
If the determination unit determines that the character is to be applied with the first reduction rate, the character width is reduced using the first reduction rate acquired by the first reduction rate acquisition unit, and the character is If it is determined that the character is a predetermined character that is output in the part and does not apply the first reduction ratio, the predetermined character is output in the part so as to be larger than when the first reduction ratio is used. Character data output means ,
The determination means includes
When the character width of the character included in the character data is larger than a predetermined value, the character is determined to be a character to which the first reduction ratio is applied. When the character width is smaller than the predetermined value, the first reduction ratio is not applied. An information processing apparatus characterized by being determined to be a character.
前記文字データ出力手段は、
前記判定手段により、第1の縮小率を適用しない文字であると判定した場合、第1の縮小率を用いて長体化した時よりも文字幅が大きくなるように当該所定の文字を前記部品内に出力すること
を特徴とする請求項1に記載の情報処理装置。 The reduction is to lengthen a character,
The character data output means includes
When the determination means determines that the character does not apply the first reduction ratio, the predetermined character is placed in the component so that the character width is larger than when the first reduction ratio is used to make the character longer. The information processing apparatus according to claim 1, wherein the information processing apparatus outputs the information to the inside.
前記判定手段により、第1の縮小率を適用しない文字であると判定した場合、文字幅が所定の値より小さい文字が縮小され過ぎないように、第1の縮小率に比べて緩和した第2の縮小率を用いて、文字幅を縮小して当該文字を出力すること
を特徴とする請求項1または2に記載の情報処理装置。 The character data output means includes
When it is determined by the determination means that the character does not apply the first reduction ratio, the second that is relaxed compared to the first reduction ratio so that a character whose character width is smaller than a predetermined value is not reduced too much. The information processing apparatus according to claim 1, wherein the character width is reduced and the character is output by using the reduction ratio.
前記文字データ出力手段は、
前記判定手段により、第1の縮小率を適用しない文字であると判定した場合、前記第2縮小率管理手段により管理されている、当該文字の文字幅に対応する第2の縮小率を用いて、文字幅を縮小して当該文字を出力すること
を特徴とする請求項3に記載の情報処理装置。 A second reduction rate management means for managing the second reduction rate in association with the character width;
The character data output means includes
When the determination unit determines that the character does not apply the first reduction rate, the second reduction rate corresponding to the character width of the character managed by the second reduction rate management unit is used. The information processing apparatus according to claim 3, wherein the character width is reduced and the character is output.
前記第1縮小率取得手段は、
前記第1の縮小率を自動で算出する場合は、前記部品幅取得手段により取得した部品の幅と、当該部品に設定されたフォントサイズで描いた前記文字データの幅とに従って決定した前記第1の縮小率を取得すること
を特徴とする請求項1乃至4のいずれか1項に記載の情報処理装置。 It further comprises component width acquisition means for acquiring the width of the component,
The first reduction rate acquisition means includes:
When automatically calculating the first reduction rate, the first width determined in accordance with the width of the component acquired by the component width acquisition means and the width of the character data drawn with the font size set for the component. the information processing apparatus according to any one of claims 1 to 4, characterized in that to obtain the reduction ratio.
前記文字データ出力手段は、
文字幅が前記文字幅下限値管理手段により管理されている下限値よりも小さくならないように文字を出力すること
を特徴とする請求項1乃至5のいずれか1項に記載の情報処理装置。 A character width lower limit value managing means for managing the lower limit value of the character width;
The character data output means includes
The information processing apparatus according to any one of claims 1 to 5 characters width and outputting the characters not less than the lower limit value managed by the character width lower limit management means.
を特徴とする請求項1乃至6のいずれか1項に記載の情報処理装置。 Predetermined characters that do not apply the first reduction ratio are decimal point, period, punctuation mark, i (lowercase letter A), l (lowercase letter E), number 1,! (Exclamation mark) The information processing apparatus according to any one of claims 1 to 6, characterized in that it comprises at least one of.
前記情報処理装置が、
前記部品内に出力する文字データを取得する文字データ取得ステップと、
前記文字データ取得ステップにより取得された文字データの文字数を取得する文字数取得ステップと、
前記部品内に出力する文字データの文字数に対応付けて、文字データを縮小して出力する第1の縮小率を決定する第1縮小率決定ステップと、
前記第1縮小率決定ステップから、前記文字数取得ステップにより取得された文字数に対応付けられた第1の縮小率を取得する第1縮小率取得ステップと、
前記文字データに含まれる文字が、第1の縮小率を適用しない所定の文字か否かを判定する判定ステップと、
前記判定ステップにより、第1の縮小率を適用する文字であると判定した場合、前記第1縮小率取得ステップにより取得された第1の縮小率を用いて文字幅を縮小して当該文字を前記部品内に出力し、第1の縮小率を適用しない所定の文字であると判定した場合、第1の縮小率を用いた時よりも大きくなるように当該所定の文字を前記部品内に出力する文字データ出力ステップと
を実行し、
前記判定ステップは、
前記文字データに含まれる文字の文字幅が所定の値より大きい場合、第1の縮小率を適用する文字であると判定し、所定の値より小さい場合、第1の縮小率を適用しない所定の文字であると判定すること
を特徴とする処理方法。 A processing method in an information processing apparatus capable of outputting a document including a plurality of parts,
The information processing apparatus is
A character data acquisition step of acquiring character data to be output in the component;
A character number obtaining step for obtaining the number of characters of the character data obtained by the character data obtaining step;
A first reduction rate determination step for determining a first reduction rate for reducing and outputting character data in association with the number of characters of character data to be output in the component;
A first reduction rate acquisition step of acquiring a first reduction rate associated with the number of characters acquired by the character number acquisition step from the first reduction rate determination step;
A determination step of determining whether or not a character included in the character data is a predetermined character to which the first reduction rate is not applied;
When the determination step determines that the character is a character to which the first reduction ratio is applied, the character width is reduced using the first reduction ratio acquired by the first reduction ratio acquisition step, and the character is If it is determined that the character is a predetermined character that is output in the part and does not apply the first reduction ratio, the predetermined character is output in the part so as to be larger than when the first reduction ratio is used. Execute the character data output step ,
The determination step includes
When the character width of the character included in the character data is larger than a predetermined value, the character is determined to be a character to which the first reduction ratio is applied. When the character width is smaller than the predetermined value, the first reduction ratio is not applied. A processing method characterized by determining that the character is a character.
前記情報処理装置を、
前記部品内に出力する文字データを取得する文字データ取得手段と、
前記文字データ取得手段により取得された文字データの文字数を取得する文字数取得手段と、
前記部品内に出力する文字データの文字数に対応付けて、文字データを縮小して出力する第1の縮小率を決定する第1縮小率決定手段と、
前記第1縮小率決定手段から、前記文字数取得手段により取得された文字数に対応付けられた第1の縮小率を取得する第1縮小率取得手段と、
前記文字データに含まれる文字が、第1の縮小率を適用しない所定の文字か否かを判定する判定手段と、
前記判定手段により、第1の縮小率を適用する文字であると判定した場合、前記第1縮小率取得手段により取得された第1の縮小率を用いて文字幅を縮小して当該文字を前記部品内に出力し、第1の縮小率を適用しない所定の文字であると判定した場合、第1の縮小率を用いた時よりも大きくなるように当該所定の文字を前記部品内に出力する文字データ出力手段
として機能させ、
前記判定手段は、
前記文字データに含まれる文字の文字幅が所定の値より大きい場合、第1の縮小率を適用する文字であると判定し、所定の値より小さい場合、第1の縮小率を適用しない所定の文字であると判定すること
を特徴とするプログラム。
A program executable by an information processing apparatus capable of outputting a document including a plurality of parts,
The information processing apparatus;
Character data acquisition means for acquiring character data to be output in the component;
A character number obtaining unit for obtaining the number of characters of the character data obtained by the character data obtaining unit;
First reduction rate determining means for determining a first reduction rate for reducing and outputting character data in association with the number of characters of character data to be output in the component;
A first reduction rate acquisition unit that acquires a first reduction rate associated with the number of characters acquired by the character number acquisition unit from the first reduction rate determination unit;
Determining means for determining whether or not a character included in the character data is a predetermined character to which the first reduction rate is not applied;
If the determination unit determines that the character is to be applied with the first reduction rate, the character width is reduced using the first reduction rate acquired by the first reduction rate acquisition unit, and the character is If it is determined that the character is a predetermined character that is output in the part and does not apply the first reduction ratio, the predetermined character is output in the part so as to be larger than when the first reduction ratio is used. Function as character data output means ,
The determination means includes
When the character width of the character included in the character data is larger than a predetermined value, the character is determined to be a character to which the first reduction ratio is applied. When the character width is smaller than the predetermined value, the first reduction ratio is not applied. A program characterized by determining that it is a character.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015137700A JP6083453B2 (en) | 2014-07-11 | 2015-07-09 | Information processing apparatus, processing method thereof, and program |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014143688 | 2014-07-11 | ||
JP2014143688 | 2014-07-11 | ||
JP2015137700A JP6083453B2 (en) | 2014-07-11 | 2015-07-09 | Information processing apparatus, processing method thereof, and program |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2016028322A JP2016028322A (en) | 2016-02-25 |
JP2016028322A5 JP2016028322A5 (en) | 2016-04-07 |
JP6083453B2 true JP6083453B2 (en) | 2017-02-22 |
Family
ID=55360750
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015137700A Expired - Fee Related JP6083453B2 (en) | 2014-07-11 | 2015-07-09 | Information processing apparatus, processing method thereof, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6083453B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110800040B (en) * | 2017-07-05 | 2022-06-03 | 三菱电机株式会社 | Drawing device and drawing method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2802855B2 (en) * | 1992-04-28 | 1998-09-24 | 大日本スクリーン製造株式会社 | A typesetting method that adjusts the arrangement of character groups according to a virtual layout rectangle |
JP2001195395A (en) * | 2000-01-11 | 2001-07-19 | Matsushita Electric Ind Co Ltd | Method and device for outputting character string information |
JP4289856B2 (en) * | 2002-09-25 | 2009-07-01 | キヤノン株式会社 | Document printing system and method |
-
2015
- 2015-07-09 JP JP2015137700A patent/JP6083453B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2016028322A (en) | 2016-02-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6433339B2 (en) | Information processing system, server device, control method, and program | |
JP2016162190A5 (en) | ||
JP6083453B2 (en) | Information processing apparatus, processing method thereof, and program | |
JP5361572B2 (en) | Information processing apparatus, information processing method, and program | |
JP5991365B2 (en) | Form system, information processing apparatus, processing method thereof, and program | |
JP4413952B2 (en) | Method, apparatus, program, and program medium for display control | |
JP6795767B2 (en) | Information processing device and its processing method and program | |
JP2017027319A (en) | Display/editing/storage method, device, and processing program of document documentation data | |
JP6536007B2 (en) | Information processing apparatus, control method and program thereof | |
JP4090784B2 (en) | Scroll bar display control method, scroll bar display control device, scroll bar display control program, and recording medium | |
JP6320146B2 (en) | Information processing system, information processing apparatus, information processing method, and program | |
JP7421137B2 (en) | Information processing device, information processing method and program | |
JP2018101237A (en) | Program generation device, processing method thereof and program | |
JP6845437B2 (en) | Information processing device and its processing method and program | |
CN111625303B (en) | Event processing method, device, equipment and readable storage medium | |
JP2005165452A (en) | Information processor, client terminal equipment, information processing method, its program and recording medium | |
JP2018106333A (en) | Information processing apparatus, information processing system, and control method and program therefor | |
EP3502922A1 (en) | Method for previewing a document during editing, and a computer program product and apparatus therefor | |
JP6111661B2 (en) | Information processing apparatus, information processing method, and computer program | |
JP2017010485A (en) | Document system, information processing device, processing method thereof, and program | |
JP2020107020A (en) | Program, information processor, and processing method | |
JP6206463B2 (en) | Information processing apparatus, control method and program thereof, and information processing system, control method and program thereof | |
JP2016004394A (en) | Information processor, control method thereof and program | |
JP5028395B2 (en) | Object editing apparatus, object editing method, and recording medium | |
JP2021063863A (en) | Information processing apparatus, program, and information processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20151222 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160122 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160921 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20161004 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20161101 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20161101 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20161201 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20161227 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170109 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6083453 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |