JP6083453B2 - Information processing apparatus, processing method thereof, and program - Google Patents

Information processing apparatus, processing method thereof, and program Download PDF

Info

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
Application number
JP2015137700A
Other languages
Japanese (ja)
Other versions
JP2016028322A5 (en
JP2016028322A (en
Inventor
大輔 釜塚
大輔 釜塚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Marketing Japan Inc
Canon IT Solutions Inc
Original Assignee
Canon Marketing Japan Inc
Canon IT Solutions Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Marketing Japan Inc, Canon IT Solutions Inc filed Critical Canon Marketing Japan Inc
Priority to JP2015137700A priority Critical patent/JP6083453B2/en
Publication of JP2016028322A publication Critical patent/JP2016028322A/en
Publication of JP2016028322A5 publication Critical patent/JP2016028322A5/ja
Application granted granted Critical
Publication of JP6083453B2 publication Critical patent/JP6083453B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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.

特開平5−307255号公報JP-A-5-307255

しかし、特許文献1のシステムでは、文字列全体が長体化されているため、文字列に小数点など、幅の狭い文字(以下、幅狭文字と記す)が含まれる場合、小数点の幅が細くなりすぎて見えづらくなってしまう課題がある。また、小数点だけでなく、ピリオド、句読点、i(英小文字アイ)、l(英小文字エル)、数字の1、!(エクスクラメーションマーク)など幅狭文字については、長体化すると読みづらくなってしまう。   However, in the system of Patent Document 1, since the entire character string is lengthened, when the character string includes a narrow character such as a decimal point (hereinafter referred to as a narrow character), the decimal point is narrow. There is a problem that becomes too difficult to see. In addition to decimal point, period, punctuation mark, i (lowercase letter A), l (lowercase letter L), number 1,! For narrow characters such as (exclamation mark), it becomes difficult to read if they are long.

そこで、本発明は、文字列の出力において、文字幅の縮小率または出力形式を変えることで、ユーザにとって識別しやすい文字列を出力する仕組みを提供することを目的とする。   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.

本発明の情報処理システムの構成の一例を示す図The figure which shows an example of a structure of the information processing system of this invention 情報処理装置101のハードウエア構成の一例を示す図The figure which shows an example of the hardware constitutions of the information processing apparatus 101 情報処理装置101の機能構成の一例を示すブロック図The block diagram which shows an example of a function structure of the information processing apparatus 101 原稿デザイン編集画面と印刷プレビュー画面の一例を示す図Diagram showing an example of the original design edit screen and print preview screen 長体率定義画面の一例を示す図The figure which shows an example of the length ratio definition screen 部品編集画面の一例を示す図Figure showing an example of the parts edit screen 原稿印刷処理の一例を示すフローチャートA flowchart showing an example of a document printing process 部品内記事データ出力処理の一例を示すフローチャートFlow chart showing an example of article data output processing in a component 第2の実施形態に係る部品編集画面の一例を示す図The figure which shows an example of the components edit screen which concerns on 2nd Embodiment 第2の実施形態に係る部品内記事データ出力処理の一例を示すフローチャートThe flowchart which shows an example of the article data output process in a part which concerns on 2nd Embodiment 第2の実施形態に係る長体化処理の一例を示すフローチャートThe flowchart which shows an example of the lengthening process which concerns on 2nd Embodiment

複数の部品を含む原稿を出力することが可能な情報処理装置であって、前記部品内に出力する文字データを取得する文字データ取得手段と、前記文字データ取得手段により取得された文字データの文字数を取得する文字数取得手段と、前記部品内に出力する文字データの文字数に対応付けて、文字データを縮小して出力する第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 information processing apparatus 101 and a news distribution server 102 are connected to be communicable via a network 103.

情報処理装置101は、新聞または雑誌の原稿作成ツールがインストールされており、ニュース配信サーバ102から配信された記事データを基にした紙面の作成を行う端末である。
以下、図2を用いて、図1に示した情報処理装置101に適用可能なハードウエア構成の一例について説明する。
The information processing apparatus 101 has a newspaper or magazine document creation tool installed therein, and is a terminal that creates a page based on article data distributed from the news distribution server 102.
Hereinafter, an example of a hardware configuration applicable to the information processing apparatus 101 illustrated in FIG. 1 will be described with reference to FIG.

図2において、201はCPUで、システムバス204に接続される各デバイスやコントローラを統括的に制御する。また、ROM203あるいは外部メモリ211には、CPU201の制御プログラムであるBIOS(Basic Input / Output System)やオペレーティングシステムプログラム(以下、OS)や、各サーバ或いは各PCの実行する機能を実現するために必要な各種プログラム等が記憶されている。   In FIG. 2, reference numeral 201 denotes a CPU that comprehensively controls each device and controller connected to the system bus 204. Further, the ROM 203 or the external memory 211 is necessary to realize a BIOS (Basic Input / Output System) or an operating system program (hereinafter referred to as an OS), which is a control program of the CPU 201, or a function executed by each server or each PC. Various programs are stored.

202はRAMで、CPU201の主メモリ、ワークエリア等として機能する。CPU201は、処理の実行に際して必要なプログラム等をROM203あるいは外部メモリ211からRAM202にロードして、該ロードしたプログラムを実行することで各種動作を実現するものである。   A RAM 202 functions as a main memory, work area, and the like for the CPU 201. The CPU 201 implements various operations by loading a program necessary for execution of processing from the ROM 203 or the external memory 211 into the RAM 202 and executing the loaded program.

また、205は入力コントローラで、入力装置209等からの入力を制御する。206はビデオコントローラで、液晶ディスプレイ等のディスプレイ装置210への表示を制御する。なお、ディスプレイ装置は、液晶ディスプレイに限られず、CRTディスプレイなどであっても良い。これらは必要に応じてクライアントが使用するものである。   An input controller 205 controls input from the input device 209 or the like. A video controller 206 controls display on a display device 210 such as a liquid crystal display. The display device is not limited to a liquid crystal display, and may be a CRT display or the like. These are used by clients as needed.

207はメモリコントローラで、ブートプログラム,各種のアプリケーション,フォントデータ,ユーザファイル,編集ファイル,各種データ等を記憶するハードディスク(HD)や、フレキシブルディスク(FD)、或いはPCMCIAカードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)メモリ等の外部メモリ211へのアクセスを制御する。   A memory controller 207 is connected to the hard disk (HD), flexible disk (FD), or PCMCIA card slot for storing a boot program, various applications, font data, user files, editing files, various data, etc. via an adapter. The access to the external memory 211 such as a compact flash (registered trademark) memory is controlled.

208は通信I/Fコントローラで、ネットワーク103を介して外部機器と接続・通信するものであり、ネットワークでの通信制御処理を実行する。例えば、TCP/IPを用いた通信等が可能である。   A communication I / F controller 208 is connected to and communicates with an external device via the network 103, and executes communication control processing on the network. For example, communication using TCP / IP is possible.

なお、CPU201は、例えばRAM202内の表示情報用領域へアウトラインフォントの展開(ラスタライズ)処理を実行することにより、ディスプレイ装置210上での表示を可能としている。また、CPU201は、ディスプレイ装置210上の不図示のマウスカーソル等でのユーザ指示を可能とする。   Note that the CPU 201 enables display on the display device 210 by executing outline font rasterization processing on a display information area in the RAM 202, for example. Further, the CPU 201 enables a user instruction with a mouse cursor (not shown) on the display device 210.

ハードウエア上で動作する各種プログラムは、外部メモリ211に記録されており、必要に応じてRAM202にロードされることによりCPU201によって実行されるものである。
なお、全ての装置がこれらの構成を備えているわけではなく、必要なものを夫々備えていればよい。
Various programs that operate on the hardware are recorded in the external memory 211 and are executed by the CPU 201 by being loaded into the RAM 202 as necessary.
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 information processing apparatus 101.
The component width acquisition unit 301 is a functional unit that acquires the width of a component.
The character data acquisition unit 302 is a functional unit that acquires character data to be output in the component.
The character data output unit 303 is a functional unit that outputs the character data acquired by the character data acquisition unit 302 so as to be within the width of the component acquired by the component width acquisition unit 301.
The determination unit 304 is a functional unit that determines whether a character included in the character data is a character to which the first reduction ratio is applied.

文字データ出力部303は、判定部304により、第1の縮小率を適用する文字であると判定した場合、第1の縮小率を用いて文字幅を縮小して当該文字を出力し、第1の縮小率を適用する文字でないと判定した場合、第2の縮小率を用いて当該文字を出力する機能部である。
文字数取得部305は、文字データ取得部302により取得された文字データの文字数を取得する機能部である。
When the determination unit 304 determines that the character data output unit 303 is a character to which the first reduction rate is applied, the character data output unit 303 outputs the character by reducing the character width using the first reduction rate. When it is determined that the character is not the character to which the reduction ratio is applied, the function unit outputs the character using the second reduction ratio.
The character number acquisition unit 305 is a functional unit that acquires the number of characters of the character data acquired by the character data acquisition unit 302.

第1縮小率管理部306は、部品内に出力する文字データの文字数に対応付けて、文字データを縮小して出力する第1の縮小率を管理する機能部である。
文字データ出力部303は、第1の縮小率を適用する文字でないと判定した場合、当該文字の文字幅を縮小せず出力する機能部である。
判定部304は、当該文字の文字幅が所定の値より大きい場合、第1の縮小率を適用する文字であると判定し、当該文字の文字幅が所定の値より小さい場合、第1の縮小率を適用する文字でないと判定する機能部である。
The first reduction rate management unit 306 is a functional unit that manages 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.
The character data output unit 303 is a functional unit that outputs the character width of the character without reducing it when it is determined that the character does not apply the first reduction ratio.
When the character width of the character is larger than a predetermined value, the determination unit 304 determines that the character is a character to which the first reduction ratio is applied, and when the character width of the character is smaller than the predetermined value, the first reduction is performed. It is a functional unit that determines that the character is not a character to which the rate is applied.

文字データ出力部303は、文字データに含まれる文字のうち、文字幅が所定の値より小さい文字が縮小され過ぎないように、第1の縮小率に比べて、緩和した第2の縮小率を用いて文字幅を縮小して当該文字を出力する機能部である。
文字幅下限値管理部307は、文字の幅の下限値を管理する機能部である。
文字データ出力部303は、文字の幅が文字幅下限値管理部307により管理されている下限値よりも小さくならないように出力する機能部である。
第2縮小率管理部308は、文字の幅に対応付けて、文字データを縮小して出力する縮小率を管理する機能部である。
The character data output unit 303 sets the relaxed second reduction rate compared to the first reduction rate so that characters included in the character data have a character width smaller than a predetermined value are not reduced too much. It is a functional unit that outputs the character after reducing the character width.
The character width lower limit management unit 307 is a functional unit that manages the lower limit value of the character width.
The character data output unit 303 is a functional unit that outputs the character width so that it does not become smaller than the lower limit value managed by the character width lower limit value management unit 307.
The second reduction rate management unit 308 is a functional unit that manages a reduction rate for reducing and outputting character data in association with the character width.

図4は、情報処理装置101にインストールされている原稿作成ツールにおける、原稿デザイン編集画面400の一例を示す図である。
原稿デザイン編集画面400において、原稿デザインの編集を行い、原稿デザインにおける部品402に記事データ401を出力することで原稿を作成する。その原稿の印刷プレビュー画面が図4の403である。
また、印刷プレビュー画面403における「出来高」列を拡大図が、図4の405と406である。
FIG. 4 is a diagram illustrating an example of a document design editing screen 400 in the document creation tool installed in the information processing apparatus 101.
On the manuscript design editing screen 400, manuscript design is edited, and the manuscript is created by outputting article data 401 to the part 402 in the manuscript design. The print preview screen of the original is 403 in FIG.
Further, enlarged views of the “volume” column in the print preview screen 403 are 405 and 406 in FIG. 4.

図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を実現する仕組みについて説明する。   Reference numeral 406 in FIG. 4 is an enlarged view of the character string of the article data displayed in the “volume” column that is output without applying the reduction ratio to the decimal point (that is, without reducing it). In this case, since the number width is reduced and the decimal point width is not reduced, a character string that is easy to identify for the user can be output without losing the layout. Hereinafter, a mechanism for realizing 406 in FIG. 4 will be described with reference to FIGS.

図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 external memory 211 in association with each item. The flowchart of FIG. 7 will be described with reference to FIGS.
7 and 8 are all performed by the CPU 201 of the information processing apparatus 101.

また、以下においては、「長体率」という言葉を使用するが、一般的な「長体率」は、文字幅を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 design editing screen 400 is displayed on the display device 210.

ステップ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 RAM 202. Specifically, the position of the part, the name of the part, the size of the part, the font size / font typeface of the article data to be displayed in the part, the long body application range, the reduction rate calculation setting, etc. are acquired and stored in the RAM 202.

この実施例においては、「出来高」部品402の位置は、原稿デザインから座標を取得し、部品名称601(図6)=「出来高」、部品内に表示する記事データのフォントサイズ602=6ポイント、フォント書体603=新ゴシックR、長体適用範囲ラジオボタン604=「小数点の長体率を0%にする」が取得される。   In this embodiment, the position of the “volume” part 402 is obtained from coordinates of the original design, the part name 601 (FIG. 6) = “volume”, the font size 602 of article data displayed in the part = 6 points, Font typeface 603 = New Gothic R, long body application range radio button 604 = “Set decimal point length to 0%” is acquired.

長体適用範囲ラジオボタン604は、「小数点の長体率を0%にする」「小数点に別の長体率を設定する」「小数点に長体率を調整しない」のいずれかを選択できる。   The long body application range radio button 604 can select one of “set the length ratio of the decimal point to 0%”, “set another length ratio for the decimal point”, and “do not adjust the length ratio for the decimal point”.

なお、この実施形態においては、長体適用範囲として、対象文字が「小数点」か否かに限定しているが、「小数点」と同様に幅の狭い文字、例えば、ピリオド、句読点、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), number 1,! (Exclamation mark) or the like becomes difficult to see when it is made longer, so it is not limited to “decimal point” and may be replaced with “narrow character (narrow character)”. As described above, even in a character string with a long character, it can be set so that narrow characters are not lengthened, so that it is easy for the user to see.

なお、「幅狭文字」か否かの判定方法については、長体適用範囲ラジオボタン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 coverage radio button 604, or information before outputting the character. The processing apparatus 101 may acquire the character width of the character and determine a character having a character width smaller than a predetermined value as a “narrow character”.
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 range radio button 604 will be described.
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 reduction ratio 605 in FIG. 6 than the reduction ratio 502 in FIG. That is, it is better to provide an input restriction in the reduction ratio 605 such that the reduction ratio 605 <the reduction ratio 502. As described above, even in a character string with a long character, it is possible to reduce the length of a narrow character so that it can be easily viewed by the user.

また、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 long body name 501 “morning paper_stock price_value right 4”, the reduction ratio 502 can be set according to the number of digits of the character string displayed in the part to which this long body definition is applied. “Number of digits” is the number of characters in the character string displayed in the component. That is, the long body rate definition screen in FIG. 5 is an example of a means for managing the 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.

例えば、文字列が1桁の場合は、縮小率502=31%であり、(一般的な)長体率503=69%である。つまり、この長体定義を適用した部品内に1桁の文字列を表示する場合、各文字の幅を31%縮小する、言い換えると、各文字の本来の幅の69%にまで狭めて表示するということである。   For example, when the character string has one digit, the reduction ratio 502 = 31% and the (general) length ratio 503 = 69%. That is, when a one-digit character string is displayed in a part to which this long definition is applied, the width of each character is reduced by 31%, in other words, the character width is reduced to 69% of the original width of each character. That's what it means.

同様に、文字列が15桁の場合は、縮小率502=70%であり、(一般的な)長体率503=30%である。つまり、この長体定義を適用した部品内に15桁の文字列を表示する場合、各文字の幅を70%縮小する、言い換えると、各文字の本来の幅の30%にまで狭めて表示するということである。   Similarly, when the character string has 15 digits, the reduction ratio 502 = 70% and the (general) length ratio 503 = 30%. That is, when a 15-digit character string is displayed in a part to which this long definition is applied, the width of each character is reduced by 70%, in other words, the character width is reduced to 30% of the original width of each character. That's what it means.

この画面において、更新ボタン504または終了ボタン505が押下されることにより、長体名称501における、文字数に応じた縮小率502の定義が外部メモリ211に記憶される。
以上で、図5の長体率定義画面、および図6の部品編集画面についての説明を終了し、図7の説明に戻る。
When the update button 504 or the end button 505 is pressed on this screen, the definition of the reduction ratio 502 corresponding to the number of characters in the long name 501 is stored in the external memory 211.
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 RAM 202. That is, step S705 is a step showing an example of processing for acquiring character data to be output in the component. Specifically, since the “volume” part 402 is the sixth from the top of the “volume” column, the article data to be output in the part is the sixth “1076.2” from the volume list.

ステップ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 RAM 202 in step S704. That is, step S801 is a step showing an example of processing for acquiring the width of a component. In this example, the width W of the “finished” part 402 (FIG. 4) is 20 points.

ステップ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 RAM 202 in step S704. In this embodiment, the font size F of the “finished” part 402 is 6 points.
In step S803, article data to be displayed in the part stored in the RAM 202 in step S705 is acquired, and the number of characters n of the article data is acquired.

ステップS804において、ステップS704にてRAM202に記憶した当該部品における縮小率算出設定606を取得し、縮小率算出設定606の値について、「自動」「手動」を判定する。「自動」と判定された場合はステップS805に進み、「手動」と判定された場合はステップS808に進む。   In step S804, the reduction rate calculation setting 606 for the part stored in the RAM 202 in step S704 is acquired, and “automatic” or “manual” is determined for the value of the reduction rate calculation setting 606. If it is determined as “automatic”, the process proceeds to step S805. If it is determined as “manual”, the process proceeds to step S808.

ステップ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 font typeface 603, the part font. The article width w when displayed in size F is calculated. This calculation is performed by virtually drawing on the VRAM using the font data stored in the external memory 211 without displaying the article data on the display device 210.

例えば、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 font typeface 603 and a part font size F in a virtual display area on the VRAM, the drawn result is handled as one image, and the width of the image is detected. Specifically, the character type “1076.2” is drawn on the VRAM with the font type 603 = new Gothic R and the font size F = 6 points of the “volume” part 402, and the width of the drawn character string image is described in the article. Calculated as the width w. Here, it is assumed that the image width of the character string “1076.2”, that is, the article width w = 19 points is calculated.

ステップ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 information processing apparatus 101 automatically calculates the article width w in steps S809 to S823 without reducing the character width, and the information processing apparatus 101 automatically calculates the reduction ratio to fit the component width W in step S826 or step S827.

ステップ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 external memory 211. That is, step S808 is a step showing an example of a process for acquiring the first reduction ratio according to the acquired number of characters.

具体的には、「出来高」部品402の場合、「出来高」列の上から6番目であるため、当該部品内に出力する記事データは出来高リストの上から6番目「1076.2」である。なお、「1076.2」は6桁の文字列であるため、長体率定義画面500の縮小率502から、縮小率P=56%であることがわかる。   Specifically, since the “volume” part 402 is the sixth from the top of the “volume” column, the article data to be output in the part is the sixth “1076.2” from the volume list. Since “1076.2” is a 6-digit character string, it can be seen from the reduction ratio 502 of the length ratio definition screen 500 that the reduction ratio P = 56%.

ステップ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 RAM 202.
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 font type 603 of the “volume” part 402 = new Gothic R, the character when the first character “1” of “1076.2” is drawn with the font size F = 6 points The width w [i] is calculated. Here, it is assumed that the character width w [1] = 2 points is calculated for the first character “1”. Similarly, it is assumed that w [2] = 4 points, w [3] = 4 points, w [4] = 4 points, w [5] = 1 point, and w [6] = 4 points.

ステップS812において、RAM202に記憶されている長体適用範囲ラジオボタン604の値を取得し判定する。長体適用範囲ラジオボタン604の値が「小数点に長体率を調整しない」の場合は、「すべての文字に同じ縮小率を適用する」という意味であるため、ステップS813に進む。長体適用範囲ラジオボタン604の値が「小数点に別の長体率を設定する」の場合は、「幅狭文字には別の縮小率を適用する」という意味であるため、ステップS815に進む。長体適用範囲ラジオボタン604の値が「小数点の長体率を0%にする」の場合は、「幅狭文字には縮小率を適用しない」という意味であるため、ステップS818に進む。この実施例においては、長体適用範囲ラジオボタン604に「小数点の長体率を0%にする」が設定されているとする。   In step S812, the value of the long body application range radio button 604 stored in the RAM 202 is acquired and determined. If the value of the long body application range radio button 604 is “do not adjust the long body ratio to the decimal point”, it means “apply the same reduction ratio to all characters”, and the process proceeds to step S813. If the value of the long body application range radio button 604 is “set another length ratio to the decimal point”, it means “use another reduction ratio for narrow characters”, and the process proceeds to step S815. . If the value of the long body application range radio button 604 is “set the length ratio of the decimal point to 0%”, it means “no reduction ratio is applied to narrow characters”, and the process proceeds to step S818. In this embodiment, it is assumed that “Set the decimal length ratio to 0%” is set in the long range application radio button 604.

ステップ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 part editing screen 600. By making this predetermined value settable by the user, it becomes possible to increase or decrease the range of lengthening more flexibly and easily.

ステップ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 range radio button 604 stored in the RAM 202 is acquired and determined. When the value of the long body application range radio button 604 is “Do not adjust the body length ratio to the decimal point”, it means “Apply the same reduction ratio to all characters”, and the process proceeds to step S826. If the value of the long body application range radio button 604 is “set another length ratio to the decimal point” or “set the decimal length ratio to 0%”, the process advances to step S827.

ステップ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 RAM 202.
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 RAM 202 in step S704. Output to. That is, step S830 is a step showing an example of a process for outputting the acquired character data so as to be within the width of the acquired component.

ステップ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 external memory 211 in association with each item. FIG. 11 is a flowchart illustrating an example of the lengthening process according to the second embodiment.
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 application radio buttons 604, “Constant length ratio radio button 901” “Change the length ratio according to the character width” One of the radio buttons 902 "can be set to ON. Note that when the “radio button 902 for changing the length ratio according to the character width” is set to ON, a dialog (not shown) for setting the length ratio according to the character width is displayed, and according to the user input. Thus, a table such as “length ratio setting 911 according to character width” (FIG. 9) can be stored in the external memory 211.
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 application radio button 604, “Bold check box 904”, “Use another font check box 905”, “Change to another character” The replacement check box 907 "can be set to ON / OFF.

また、第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 CPU 201 of the information processing apparatus 101.

図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 CPU 201 of the information processing apparatus 101.

図10のステップS1001において、部品内に表示する記事データのフォントサイズ602、長体適用範囲ラジオボタン604および図9の901〜910の値に応じた長体化処理(図11)を行う。   In step S1001 in FIG. 10, the lengthening process (FIG. 11) is performed according to the font size 602 of the article data to be displayed in the part, the length coverage radio button 604, and the values 901 to 910 in FIG.

図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 range radio button 604 stored in the RAM 202 is acquired and determined. If the value of the long body application range radio button 604 is “Do not adjust the body length ratio to the decimal point”, it means “Apply the same reduction ratio to all characters”, and the process proceeds to step S1102. If the value of the long body application range radio button 604 is “set another long body rate to the decimal point”, it means “use another reduction rate for narrow characters”, and the process proceeds to step S1114. . If the value of the long body application range radio button 604 is “set the length ratio of the decimal point to 0%”, it means “no reduction ratio is applied to narrow characters”, and the process proceeds to step S1112. In this embodiment, it is assumed that “Set the decimal length ratio to 0%” is set in the long range application radio button 604.

ステップ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 RAM 202 is ON or OFF. If it is determined to be ON, the process proceeds to step S1104. If it is determined to be OFF, the process proceeds to step S1105.

ステップ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 “check box 905 using another font” stored in the RAM 202 is ON or OFF. If it is determined to be ON, the process proceeds to step S1106. If it is determined to be OFF, the process proceeds to step S1108.
In step S1106, the value of “another font text box 906” stored in the RAM 202 is acquired.

ステップS1107において、i文字目の文字にステップS1106にて取得した「別のフォントテキストボックス906」の値が示すフォント(長体化されても見やすいフォント)を用いる。すなわち、ステップS1107は、第1の縮小率を適用する文字でないと判定した場合、第1の縮小率を適用する文字とは異なる形式を用いて出力する処理の一例を示すステップである。以上により、長体を施した文字列においても、幅狭文字については長体化されても見やすいフォントで表示されるため、ユーザにとって見やすくなる。   In step S1107, the i-th character uses the font indicated by the value of “another font text box 906” acquired in step S1106 (a font that is easy to see even if it is lengthened). That is, step S1107 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 character string with a long character, a narrow character is displayed in a font that is easy to see even if it is made long, so that it is easy for the user to see.

ステップ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 character check box 907” stored in the RAM 202 is ON or OFF. If it is determined to be ON, the process proceeds to step S1109. If it is determined to be OFF, the process proceeds to step S1113.
In step S 1109, the value of “another character text box 908” stored in the RAM 202 is acquired.

ステップS1110において、i文字目の文字にステップS1109にて取得した「別の文字テキストボックス908」の値が示す文字(長体化されても見やすい代替文字)を用いる。すなわち、ステップS1110は、第1の縮小率を適用する文字でないと判定した場合、第1の縮小率を適用する文字とは異なる形式を用いて出力する処理の一例を示すステップである。以上により、長体を施した文字列においても、幅狭文字については長体化されても見やすい代替文字で表示されるため、ユーザにとって見やすくなる。   In step S1110, the character indicated by the value of “another character text box 908” acquired in step S1109 (a substitute character that is easy to see even if it is lengthened) is used as the i-th character. That is, step S1110 is a step showing an example of a process of outputting using a format different from the character to which the first reduction ratio is applied when it is determined that the character is not the first reduction ratio. As described above, even in a character string with a long character, a narrow character is displayed with a substitute character that is easy to see even if it is made long, so that it is easy for the user to see.

ステップ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 ratio radio button 901” and “radio button 902 that changes the length ratio according to the character width” stored in the RAM 202 is ON. If it is determined that the “fixed length ratio radio button 901” is ON, the process proceeds to step S1117. If it is determined that “the radio button 902 that changes the length ratio according to the character width” is ON, the process proceeds to step S1119.

ステップ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 external memory 211. For example, when the i-th character is a narrow character such as a decimal point and the character width is 2 pt, the reduction rate p ′ = 10 from the “length ratio setting 911 according to the character width” stored in the external memory 211. Get%.

ステップ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 lower limit 910 stored in the RAM 202.

より小さいか否かを判定し、文字幅下限値910より小さい場合はステップS1122に進み、文字幅下限値910以上の場合はステップS1123に進む。すなわち、「文字幅下限値910」は、文字の幅の下限値を管理する手段の一例である。 If it is smaller than the character width lower limit value 910, the process proceeds to step S1122, and if it is greater than or equal to the character width lower limit value 910, the process proceeds to step S1123. That is, the “character width lower limit value 910” is an example of means for managing the lower limit value of 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 lower limit value 910. That is, step S1122 is a step showing an example of a process of outputting so that the character width does not become smaller than the lower limit value.

ステップ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 Information processing apparatus 102 News distribution server 103 Network

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.
文字幅に対応付けて、前記第2の縮小率を管理する第2縮小率管理手段を更に備え、
前記文字データ出力手段は、
前記判定手段により、第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乃至のいずれか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乃至のいずれか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の縮小率を適用しない所定の文字とは、小数点、ピリオド、句読点、i(英小文字アイ)、l(英小文字エル)、数字の1、!(エクスクラメーションマーク)のうち少なくとも1つを含むこと
を特徴とする請求項1乃至のいずれか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.
JP2015137700A 2014-07-11 2015-07-09 Information processing apparatus, processing method thereof, and program Expired - Fee Related JP6083453B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

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