JP2014063439A - Plotting processor and method for controlling the same - Google Patents

Plotting processor and method for controlling the same Download PDF

Info

Publication number
JP2014063439A
JP2014063439A JP2012209493A JP2012209493A JP2014063439A JP 2014063439 A JP2014063439 A JP 2014063439A JP 2012209493 A JP2012209493 A JP 2012209493A JP 2012209493 A JP2012209493 A JP 2012209493A JP 2014063439 A JP2014063439 A JP 2014063439A
Authority
JP
Japan
Prior art keywords
character
character string
character size
size
determined
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2012209493A
Other languages
Japanese (ja)
Inventor
Seiji Omori
誠司 大森
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 Inc
Original Assignee
Canon 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 Inc filed Critical Canon Inc
Priority to JP2012209493A priority Critical patent/JP2014063439A/en
Publication of JP2014063439A publication Critical patent/JP2014063439A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

PROBLEM TO BE SOLVED: To perform the plotting of characters to a related character string plotting region by reducing a feeling of incompatibility on design when there exist a plurality of character string plotting regions.SOLUTION: For each character string plotting region, a first character size is determined on the basis of a predetermined character size, the size of the character string plotting region and the information of a character string to be plotted in the character string plotting region, and the group of a plurality of related character string plotting regions is extracted on the basis of the layout information of the character string plotting regions. For each character string plotting region, the second character size of the character string plotting region is determined from the plurality of first character sizes of the plurality of character string plotting regions in the extracted group, and the plotting of characters is performed by using the second character size.

Description

本発明は、文字列の描画処理に関する。   The present invention relates to a character string drawing process.

従来、機器のグラフィカルユーザインタフェース等において、限られた描画領域に文字列を描画するために、文字のサイズや文字間を調整する方法がある(特許文献1および特許文献2)。これらの方法は、描画領域の幅や高さと、各文字の幅や高さの値から、文字列全体が描画領域に描画されるよう各文字の幅や高さを小さくするものであった。   2. Description of the Related Art Conventionally, there is a method of adjusting a character size or a character spacing in order to draw a character string in a limited drawing area in a graphical user interface of an apparatus (Patent Document 1 and Patent Document 2). In these methods, the width and height of each character are reduced so that the entire character string is drawn in the drawing area from the width and height of the drawing area and the values of the width and height of each character.

特開2007−47942号公報JP 2007-47942 A 特開平5−120286号公報Japanese Patent Laid-Open No. 5-120286

しかしながら、従来技術は、複数の文字列描画領域がある場合に、文字列描画領域ごとに文字サイズを決定するため、関連する文字列描画領域であっても、文字サイズが異なることがあった。そのため、例えば、ユーザにどちらか一方を選択させるための二者択一のダイアログ画面において、一方の文字列の文字サイズが大きくなり、あたかもユーザに一方の選択を促すかのような誤解を招く表示になる場合があった。
そこで本発明では、複数の文字列描画領域がある場合に、関連する文字列描画領域に対して、デザイン上の違和感を少なくして、描画可能にすることを目的とする。
However, in the related art, when there are a plurality of character string drawing areas, the character size is determined for each character string drawing area. Therefore, even in the related character string drawing areas, the character size may be different. Therefore, for example, in an alternative dialog screen for allowing the user to select one of them, the character size of one of the character strings increases, and the display is misleading as if the user is prompted to select one There was a case.
In view of the above, an object of the present invention is to reduce drawing discomfort in a related character string drawing area and enable drawing when there are a plurality of character string drawing areas.

上記課題を解決するために、本発明に係る描画処理装置は、文字列描画領域毎に、予め定められた文字サイズと、前記文字列描画領域の大きさと、前記文字列描画領域に描画する文字列の情報とに基づいて、第1の文字サイズを決定する第1文字サイズ決定手段と、前記文字列描画領域のレイアウト情報に基づいて、関連する複数の文字列描画領域のグループを抽出するグループ抽出手段と、前記抽出されたグループにおける複数の文字列描画領域の複数の第1の文字サイズから、前記文字列描画領域毎に、前記文字列描画領域の第2の文字サイズを決定する第2文字サイズ決定手段と、前記決定された第2の文字サイズを用いて、文字の描画を行う描画手段を有することを特徴とする。   In order to solve the above problems, the drawing processing apparatus according to the present invention provides a character size, a size of the character string drawing area, and a character to be drawn in the character string drawing area for each character string drawing area. First character size determining means for determining a first character size based on column information, and a group for extracting groups of a plurality of related character string drawing regions based on layout information of the character string drawing region A second character size determining unit configured to determine a second character size of the character string drawing region for each character string drawing region from an extracting unit and a plurality of first character sizes of the plurality of character string drawing regions in the extracted group; Character size determination means and drawing means for drawing characters using the determined second character size are provided.

本発明により、関連する文字列描画領域に対して、デザイン上の違和感を少なくして、描画可能である。   According to the present invention, it is possible to draw a related character string drawing region with less design discomfort.

本発明の第一および第二の実施形態による描画処理装置の構成を示すブロック図。The block diagram which shows the structure of the drawing processing apparatus by 1st and 2nd embodiment of this invention. 第一および第二の実施形態の描画処理装置における文字描画機能のモジュール構成を示した図。The figure which showed the module structure of the character drawing function in the drawing processing apparatus of 1st and 2nd embodiment. 描画処理装置の画面に表示されるダイアログ画面の一例。An example of the dialog screen displayed on the screen of a drawing processing apparatus. 第一の実施形態における文字列描画処理の概略を示したフローチャート。The flowchart which showed the outline of the character string drawing process in 1st embodiment. S401の処理の詳細を示したフローチャート。The flowchart which showed the detail of the process of S401. フォントデータのベースライン位置を示した図。The figure which showed the baseline position of font data. S402の処理の詳細を示したフローチャート。The flowchart which showed the detail of the process of S402. 第一の実施形態の描画処理装置の画面に表示されるダイアログ画面の一例。An example of the dialog screen displayed on the screen of the drawing processing apparatus of 1st embodiment. 描画処理装置の画面に表示されるテキストボックス画面の一例。An example of the text box screen displayed on the screen of a drawing processing apparatus. 第二の実施形態における文字列描画処理の概略を示したフローチャート。The flowchart which showed the outline of the character string drawing process in 2nd embodiment. S1003の処理の詳細を示したフローチャート。The flowchart which showed the detail of the process of S1003.

<第一の実施形態>
以下、本発明の第一の実施形態について、図面を参照して説明する。なお、以下の実施の形態は特許請求の範囲に関る本発明を限定するものではなく、また、本実施の形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。なお、同一な構成については、同じ符号を付して説明する。
<First embodiment>
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. The following embodiments do not limit the present invention related to the scope of claims, and all combinations of features described in the present embodiments are essential to the solution means of the present invention. Not necessarily. In addition, about the same structure, the same code | symbol is attached | subjected and demonstrated.

図1は本実施形態の描画処理装置の構成を示すブロック図である。   FIG. 1 is a block diagram showing the configuration of the drawing processing apparatus of this embodiment.

図1において、CPU101はシステム制御部であり装置全体を制御する。ROM102は、CPU101の制御プログラムや各種固定データを格納する読取専用のメモリである。RAM103は、SRAM、DRAM等で構成された書換え可能なメモリであり、プログラム制御変数等を格納するためのものである。各種設定パラメータ、各種ワーク用バッファ等もRAM103に格納されるものである。表示部104は、LCD等を用いて文字や画像等のグラフィックスを表示するためのものである。操作部105は、キーボードやポインティングデバイス等で構成され、オペレータが各種入力操作を行うためのものである。106は101〜105の各ユニットを通信可能に接続するシステムバスである。   In FIG. 1, a CPU 101 is a system control unit and controls the entire apparatus. The ROM 102 is a read-only memory that stores the control program of the CPU 101 and various fixed data. The RAM 103 is a rewritable memory composed of SRAM, DRAM, and the like, and stores program control variables and the like. Various setting parameters, various work buffers, and the like are also stored in the RAM 103. The display unit 104 is for displaying graphics such as characters and images using an LCD or the like. The operation unit 105 includes a keyboard, a pointing device, and the like, and is used by the operator to perform various input operations. A system bus 106 connects the units 101 to 105 so that they can communicate with each other.

図2は、本実施形態の描画処理装置における文字列描画機能のモジュール構成を示した図である。   FIG. 2 is a diagram showing a module configuration of a character string drawing function in the drawing processing apparatus of the present embodiment.

保持部201は、ROM102に相当し、画面を表示する際に必要なレイアウト情報を保持している。レイアウト情報は、文字列描画領域の領域情報(幅や高さなどのサイズ)、文字列の文字情報(文字サイズや、文字の数など)、描画文字列の開始座標、文字列の装飾情報、色情報、文字列描画領域の意味情報、フォントデータなどである。文字列の装飾情報とは、ボールド、イタリック、ドロップシャドウといった視覚的な装飾や、右寄せ、左寄せ、回転角度といったレイアウト上の装飾を示す情報である。文字列描画領域の意味情報とは、ボタン、タイトル、メニューといった領域の属性を示す情報である。尚、レイアウト情報は、本実施形態では、ユーザインタフェース(以下、UI)画面のレイアウト情報であるとする。一般に、UI画面デザイン定義では、文字描画領域ごとや画面ごとに文字サイズが指定されている。レイアウト情報に含まれる文字サイズとは、UI画面デザイン定義されている、元々の文字サイズに相当する。また、本実施形態における画面には、複数の文字列描画領域を有するとする。   The holding unit 201 corresponds to the ROM 102 and holds layout information necessary for displaying a screen. Layout information includes character string drawing area area information (size such as width and height), character string character information (character size, number of characters, etc.), drawing character string start coordinates, character string decoration information, Color information, semantic information of a character string drawing area, font data, and the like. The character string decoration information is information indicating visual decoration such as bold, italic, and drop shadow, and layout decoration such as right alignment, left alignment, and rotation angle. The semantic information of the character string drawing area is information indicating area attributes such as buttons, titles, and menus. In the present embodiment, the layout information is assumed to be layout information of a user interface (hereinafter referred to as UI) screen. In general, in the UI screen design definition, a character size is specified for each character drawing area and each screen. The character size included in the layout information corresponds to the original character size defined in the UI screen design. Further, it is assumed that the screen in this embodiment has a plurality of character string drawing areas.

第1文字サイズ決定部203は、文字列描画領域毎に、文字列描画領域の領域情報と、描画する文字列を構成する文字情報に基づいて、文字列描画領域に文字列が収まるような文字サイズ(第1の文字サイズ)を決定する。領域情報は、文字描画領域の幅や高さなどのサイズ情報であり、文字情報は、文字の数と各文字のサイズ情報である。ここでは、予め定められた文字サイズ(レイアウト情報に含まれる文字サイズ)で描画した際に文字列が描画領域をはみ出す場合には、文字描画領域に収まるよう、より小さい文字サイズを決定する。文字サイズの値は、ポイントやピクセルなどの単位を持つ値でも良いし、予め定められた文字サイズに対する文字の縮小率でも良い。また、X方向(水平方向)のみの縮小やY方向(垂直方向)のみの縮小であっても良い。   The first character size determination unit 203 determines, for each character string drawing area, a character that fits in the character string drawing area based on the area information of the character string drawing area and the character information constituting the character string to be drawn. Determine the size (first character size). The area information is size information such as the width and height of the character drawing area, and the character information is the number of characters and the size information of each character. Here, when a character string protrudes from the drawing area when drawing is performed with a predetermined character size (character size included in the layout information), a smaller character size is determined so as to fit in the character drawing area. The value of the character size may be a value having a unit such as points or pixels, or may be a character reduction ratio with respect to a predetermined character size. Further, reduction only in the X direction (horizontal direction) or reduction only in the Y direction (vertical direction) may be used.

グループ抽出部204は、レイアウト情報に基づいて、関連する文字描画領域をグループとして抽出する。また、グループとして抽出された文字描画領域を示した、関連領域リストを作成する。   The group extraction unit 204 extracts related character drawing areas as a group based on the layout information. In addition, a related area list indicating the character drawing areas extracted as a group is created.

第2文字サイズ決定部205は、最終的に画面に描画する文字サイズを決定する。ここでは、第1文字サイズ、関連領域リストに基づいて、描画文字サイズ(第2の文字サイズ)を決定する。   The second character size determination unit 205 finally determines the character size to be drawn on the screen. Here, the drawing character size (second character size) is determined based on the first character size and the related area list.

描画部206は、保持部201からフォントデータを取得し、第2文字サイズ決定部205で決定された描画文字サイズ(第2の文字サイズ)で文字を描画する。尚、フォントデータは、アウトライン形式またはビットマップ形式のフォントデータである。   The drawing unit 206 acquires font data from the holding unit 201 and draws characters with the drawing character size (second character size) determined by the second character size determination unit 205. The font data is outline format or bitmap format font data.

表示部208は、描画部206で描画した文字を表示する。ここでは、描画部206で描画した文字とレイアウト情報を用いてUI画面を表示する。   The display unit 208 displays the characters drawn by the drawing unit 206. Here, the UI screen is displayed using the characters drawn by the drawing unit 206 and the layout information.

図3は、描画処理装置の画面に表示されるダイアログ画面の一例である。図3は、本発明を適用していない場合の例であり、ボタン301とボタン302のどちらかを選択可能な二者択一ダイアログの画面である。図3では、ボタン302の文字列はボタンの文字列描画領域に収めるためにX方向に縮小されている。一方、ボタン301の文字列は、文字列描画領域に収まるため、予め定められた文字サイズで描画されている。その結果、ボタン301の文字がボタン302の文字より大きくなり、二者択一画面デザインのバランスを損なっている。   FIG. 3 is an example of a dialog screen displayed on the screen of the drawing processing apparatus. FIG. 3 is an example in the case where the present invention is not applied, and is a screen of an alternative dialog in which either the button 301 or the button 302 can be selected. In FIG. 3, the character string of the button 302 is reduced in the X direction so as to fit in the character string drawing area of the button. On the other hand, since the character string of the button 301 fits in the character string drawing area, it is drawn with a predetermined character size. As a result, the character of the button 301 becomes larger than the character of the button 302, and the alternative screen design balance is lost.

図4は、本実施形態における文字列描画処理の概略を示したフローチャートである。同図に示した通り、まず、グループ抽出部204が、UI画面中の複数の文字列描画領域の中から、関連する文字列描画領域のグループ(関連領域グループ)を抽出する(S401)。ここでは、一つの描画領域が複数の関連領域グループに属することはない。次に、第2文字サイズ決定部205が、関連領域グループごとに各描画領域の描画文字サイズ(第2文字サイズ)を決定する(S402)。そして、描画部206が、S402で決定した描画文字サイズに基づいて、各描画領域に文字列を描画する(S403)。S401およびS402の詳細な処理については後述する。   FIG. 4 is a flowchart showing an outline of the character string drawing process in this embodiment. As shown in the figure, first, the group extraction unit 204 extracts a group of related character string drawing areas (related area group) from a plurality of character string drawing areas on the UI screen (S401). Here, one drawing area does not belong to a plurality of related area groups. Next, the second character size determination unit 205 determines the drawing character size (second character size) of each drawing region for each related region group (S402). Then, the drawing unit 206 draws a character string in each drawing area based on the drawing character size determined in S402 (S403). Detailed processing of S401 and S402 will be described later.

図5は、S401の処理の詳細を示したフローチャートである。図5の処理は関連領域グループを意味する関連領域リストを作成する際の処理であって、ある文字列描画領域に対して、別の文字列描画領域が関連領域グループに含まれるか否かを判断するときの処理である。図5の処理は各文字列描画領域について実行されるものであるが、すでにいずれかの関連領域リストに属した文字列描画領域に対してはこの処理は実行されない。例えば、画面レイアウト作成時に、文字列描画領域Aと文字列描画領域Bが関連している旨の情報を付与し、その情報に基づいて文字サイズを一致させてもよい。図5の処理は、そのような明示的な情報がなくとも、各文字列描画領域に関する情報に基づいて、領域の関連性を判断するものである。   FIG. 5 is a flowchart showing details of the process of S401. The process of FIG. 5 is a process for creating a related area list meaning a related area group, and whether or not another character string drawing area is included in the related area group with respect to a certain character string drawing area. This is a process for making a judgment. The processing of FIG. 5 is executed for each character string drawing area, but this processing is not executed for character string drawing areas that already belong to any of the related area lists. For example, when the screen layout is created, information indicating that the character string drawing area A and the character string drawing area B are related may be given, and the character sizes may be matched based on the information. The processing of FIG. 5 determines the relevance of regions based on information about each character string drawing region without such explicit information.

図5において、まず、複数の文字列描画領域のうち、2つの文字列描画領域を選択する(S500)。選択された2つの文字列描画領域における、文字列の描画開始位置のY座標値が同一か否かを判断する(S501)。ここで、Y座標値が同一ではないと判断されれば、処理を終了する。S501でY座標値が同一と判断されれば、文字列描画領域に予め定められた文字サイズが同一か否かを判断する(S502)。ここで、予め定められた文字サイズが同一ではないと判断されれば、処理を終了する。   In FIG. 5, first, two character string drawing areas are selected from a plurality of character string drawing areas (S500). It is determined whether or not the Y coordinate values at the drawing start positions of the character strings in the two selected character string drawing areas are the same (S501). If it is determined that the Y coordinate values are not the same, the process ends. If it is determined in S501 that the Y coordinate values are the same, it is determined whether or not the character size predetermined in the character string drawing area is the same (S502). Here, if it is determined that the predetermined character sizes are not the same, the process is terminated.

S502で予め定められた文字サイズが同一と判断されれば、文字列装飾情報が同一か否かを判断する(S503)。文字列装飾情報とは、前述のとおり、ボールド、イタリック、右寄せなどの情報である。ここで、文字列装飾情報が同一ではないと判断されれば、処理を終了する。S503で文字列装飾情報が同一であると判断されれば、指定されたフォントデータのベースライン位置の相違が所定範囲内か否かを判断する(S504)。フォントデータのベースライン位置については図6で説明する。指定されたフォントデータが同一であれば、当然ベースライン位置も同一である。S504でフォントデータのベースライン位置の相違が所定範囲を超えると判断されれば、同図の処理を終了する。   If it is determined in S502 that the predetermined character size is the same, it is determined whether the character string decoration information is the same (S503). As described above, the character string decoration information is information such as bold, italic, and right justification. Here, if it is determined that the character string decoration information is not the same, the process ends. If it is determined in S503 that the character string decoration information is the same, it is determined whether or not the difference in the baseline position of the designated font data is within a predetermined range (S504). The baseline position of the font data will be described with reference to FIG. If the designated font data is the same, the baseline position is naturally the same. If it is determined in S504 that the difference in the baseline position of the font data exceeds the predetermined range, the processing in FIG.

S504でフォントデータのベースライン位置の相違が所定範囲内と判断されれば、S500で選択された2つの文字列描画領域は関連していると判断し、2つの文字列描画領域を関連するグループとして抽出し(S505)、終了する。   If the difference in the baseline position of the font data is determined to be within the predetermined range in S504, it is determined that the two character string drawing areas selected in S500 are related, and the two character string drawing areas are related to each other. (S505) and the process ends.

図5の処理は、複数の文字列描画領域における全ての組み合わせについて実行され、S505は、関連していると判断された複数の文字列描画領域に対して、グループ抽出を行う。   The processing in FIG. 5 is executed for all combinations in a plurality of character string drawing areas, and in S505, group extraction is performed on the plurality of character string drawing areas determined to be related.

図5においては、4種類の条件を用いて関連領域か否かを判断しているが、これらの他、描画開始位置のX座標、文字列描画領域の幅や高さ、文字列の色情報、日本語や英語といった言語情報が一致するか否かに基づいて判断しても良い。各文字列描画領域に、ボタン、メニュー、タイトル、本文といった意味付けの情報が存在するのであれば、それが一致するか否かを用いて判断しても良い。また、S501やS502等では同一か否かによって判断を行っているが、差が所定の範囲内か否かによって判断を行っても良い。   In FIG. 5, it is determined whether or not the region is a related region using four types of conditions. In addition to these, the X coordinate of the drawing start position, the width and height of the character string drawing region, and the color information of the character string Judgment may be made based on whether or not the language information such as Japanese and English matches. If there is semantic information such as buttons, menus, titles, and texts in each character string drawing area, it may be determined using whether or not they match. In S501 and S502, the determination is made based on whether or not they are the same, but the determination may be made based on whether or not the difference is within a predetermined range.

図6は、フォントデータのベースライン位置を示した図である。601および603は文字列描画領域を意味する枠である。破線602は日本語フォントのベースライン位置を示しており、破線604は英語(ラテン1)フォントのベースライン位置を示している。   FIG. 6 is a diagram showing the baseline position of the font data. Reference numerals 601 and 603 denote frames meaning character string drawing areas. A broken line 602 indicates the baseline position of the Japanese font, and a broken line 604 indicates the baseline position of the English (Latin 1) font.

一般に、アウトラインフォントデータはベースライン位置を基準にデザインされており、ベースライン位置はフォントによって異なる場合がある。日本語や中国語のフォントはベースライン位置が相対的に低めであり、英語(ラテン1)のフォントは相対的に高めである。組み版などにおいては、複数種類のフォントを用いた文字が同一行に存在する場合に、ベースライン位置を揃えて描画することがある。UI画面のボタンなど限られた領域に収まるように描画する場合には、図6に示したように、使用フォントによって描画領域に対するベースラインの相対位置を変えることがある。ベースライン位置は、フォントデータに含まれるアセンドやディセンドといったメトリクス情報から判断することができる。   In general, outline font data is designed based on a baseline position, and the baseline position may differ depending on the font. Japanese and Chinese fonts have relatively low baseline positions, and English (Latin 1) fonts are relatively high. In typesetting, etc., when characters using a plurality of types of fonts are present on the same line, they may be drawn with the same baseline position. When drawing so as to fit within a limited area such as a button on the UI screen, the relative position of the baseline with respect to the drawing area may be changed depending on the font used, as shown in FIG. The baseline position can be determined from the metric information such as ascend and descend included in the font data.

UI画面においては、ベースライン位置が異なるフォントを用いた文字列については、文字サイズが異なっていても違和感は少ない。一方、ラテン1(英語など)とラテン2(東欧系の言語)はベースライン位置の差が小さく、文字サイズが異なっていると違和感がある。S504においては日本語、英語といった言語名に基づいて判断しても良いが、文字列描画モジュールにおいては、言語名情報が失われ、よりプリミティブなフォント名などの情報しか取得できない場合がある。S504においてベースライン位置に基づいて判断しているのは、デザイン的な合理性とモジュール構成上の利便性を考慮したものである。   On the UI screen, a character string using fonts having different baseline positions is less uncomfortable even if the character sizes are different. On the other hand, Latin 1 (English, etc.) and Latin 2 (Eastern European languages) have a small difference in baseline position, and the character size is different. In S504, the determination may be based on language names such as Japanese and English. However, in the character string drawing module, the language name information may be lost and only information such as more primitive font names may be acquired. The determination in step S504 based on the baseline position takes into account design rationality and convenience in module configuration.

図7は、S402の処理の詳細を示したフローチャートである。   FIG. 7 is a flowchart showing details of the process of S402.

まず、UI画面中の各文字列描画領域の暫定文字サイズを決定する(S701)。暫定文字サイズとは文字列が描画領域に収まるようにした文字サイズのことであり、前述の第1文字サイズに相当する。次に、領域グループごとに最小の暫定文字サイズを判断し取得する(S702)。そして、UI画面中の最初の文字列描画領域の情報を取得する(S703)。以降は、各文字列描画領域に対して処理が行われるようにするための繰返し処理になっている。   First, the provisional character size of each character string drawing area in the UI screen is determined (S701). The provisional character size is a character size that allows a character string to fit in the drawing area, and corresponds to the first character size described above. Next, the minimum provisional character size is determined and acquired for each area group (S702). Then, the information of the first character string drawing area in the UI screen is acquired (S703). After that, iterative processing is performed so that processing is performed on each character string drawing area.

S704では、S703(または後述のS711)で取得した文字列描画領域がいずれかの領域グループに属しているか否かを判断する。S704において文字列描画領域がいずれかの領域グループに属していると判断されれば、文字列描画領域の暫定文字サイズが所定値以上か否かを判断する(S705)。ここで、所定値とは、あらかじめプログラム上で決められた値であり、文字列描画領域に描画される文字サイズの最大の値に相当する。   In S704, it is determined whether the character string drawing area acquired in S703 (or S711 described later) belongs to any area group. If it is determined in S704 that the character string drawing area belongs to any one of the area groups, it is determined whether or not the provisional character size of the character string drawing area is equal to or larger than a predetermined value (S705). Here, the predetermined value is a value determined in advance in the program, and corresponds to the maximum value of the character size drawn in the character string drawing area.

S704またはS705で否と判断されれば、暫定文字サイズを、その文字列描画領域の描画文字サイズとする(S707)。S705で、文字列描画領域の暫定文字サイズが所定値以上と判断されれば、その文字列描画領域が属している領域グループの最小暫定文字サイズが所定値以上か否かを判断する(S706)。ここで所定値はS705の所定値と同じである。S706で領域グループの最小暫定文字サイズが所定値以上でないと判断されれば、所定値をその文字列描画領域の描画文字サイズとする(S708)。S706において領域グループの最小暫定文字サイズが所定値以上であると判断されれば、領域グループの最小暫定文字サイズを描画文字サイズとする(S709)。ここまでの処理で、最初の文字列描画領域の描画文字サイズが決定されることになる。   If NO is determined in S704 or S705, the provisional character size is set as the drawing character size of the character string drawing region (S707). If it is determined in S705 that the provisional character size of the character string drawing area is equal to or larger than the predetermined value, it is determined whether or not the minimum provisional character size of the area group to which the character string drawing area belongs is equal to or larger than the predetermined value (S706). . Here, the predetermined value is the same as the predetermined value in S705. If it is determined in S706 that the minimum provisional character size of the area group is not equal to or larger than the predetermined value, the predetermined value is set as the drawn character size of the character string drawing area (S708). If it is determined in S706 that the minimum provisional character size of the area group is equal to or larger than the predetermined value, the minimum provisional character size of the area group is set as the drawing character size (S709). With the processing so far, the drawing character size of the first character string drawing area is determined.

続いて、UI画面中に次の文字列描画領域があるか否かを判断する(S710)。ここで、次の文字列描画領域があると判断されれば、その描画領域の情報を取得し(S711)、S704の処理に戻る。以降、UI画面中のすべての文字列描画領域の処理を終えるまで、S704からS710までの処理を繰り返すことになる。S710で次の文字列描画領域がないと判断されれば、画面中のすべての文字列描画領域の処理を終えたことになるので、処理を終了する。   Subsequently, it is determined whether or not there is a next character string drawing area in the UI screen (S710). If it is determined that there is a next character string drawing area, information on the drawing area is acquired (S711), and the process returns to S704. Thereafter, the processing from S704 to S710 is repeated until the processing of all the character string drawing areas in the UI screen is completed. If it is determined in S710 that there is no next character string drawing area, the process is completed because all the character string drawing areas in the screen have been processed.

図7の処理によって、同一の領域グループに属している文字列描画領域の文字列は、文字サイズが所定値より小さくなる場合を除いて、同一の文字サイズで描画することができる。文字列を領域に収めるために文字が小さくなることはやむをえないが、領域に余裕があるにも関わらず小さくすることは、逆にデザイン上の違和感を生じる。図7の処理において、文字サイズが所定値より小さくなる場合の処理を区別したのはそのためである。図7の処理では文字サイズが所定値以上かの判断を行い文字が必要以上に小さくなることを防いでいるが、描画領域の幅や高さに基づいて、余白が所定サイズ以上になる場合には、所定サイズの余白となるような文字サイズで描画するようにしても良い。   By the processing in FIG. 7, the character strings in the character string drawing areas belonging to the same area group can be drawn with the same character size except when the character size is smaller than a predetermined value. Although it is unavoidable that the characters become smaller in order to fit the character string in the region, reducing the size even though there is a margin in the region causes a sense of incongruity in design. This is why the processing in FIG. 7 is distinguished from the processing when the character size is smaller than the predetermined value. In the process of FIG. 7, it is determined whether the character size is equal to or larger than a predetermined value, and the character is prevented from becoming smaller than necessary. However, when the margin is equal to or larger than the predetermined size based on the width and height of the drawing area. May be drawn with a character size that provides a margin of a predetermined size.

また、S705、S706において、所定値以上であるかを判定したが、所定値より大きいかどうかを判定してもよい。   In S705 and S706, it is determined whether the value is equal to or greater than the predetermined value. However, it may be determined whether the value is greater than the predetermined value.

図7においては、S701において1種類の暫定文字サイズを決定しているが、例えば、漢字とひらがなで異なるサイズを使用する場合には、漢字用とひらがな用の2種類の暫定文字サイズを決定するようにしても良い。その場合、各々の暫定文字サイズについて、S702の処理を行い、漢字用とひらがな用の2種類の所定値についてS705、S706の評価を行うことになる。   In FIG. 7, one type of provisional character size is determined in S701. For example, when different sizes are used for kanji and hiragana, two types of provisional character sizes for kanji and hiragana are determined. You may do it. In that case, the processing of S702 is performed for each provisional character size, and the evaluations of S705 and S706 are performed for two types of predetermined values for kanji and hiragana.

図8は、本実施形態の描画処理装置の画面に表示されるダイアログ画面の一例である。図8は、本発明の処理を適用した描画結果である。同図に示した通り、ボタン801とボタン802は文字列描画領域の開始基準位置のY座標が一致するため、文字列のX方向の縮小率が同一となっている。その結果、二者択一ボタンの文字サイズが同じになり、バランスが取れたデザインになっている。   FIG. 8 is an example of a dialog screen displayed on the screen of the drawing processing apparatus of the present embodiment. FIG. 8 shows a drawing result obtained by applying the processing of the present invention. As shown in the drawing, the buttons 801 and 802 have the same reduction ratio in the X direction of the character string because the Y coordinate of the start reference position of the character string drawing area matches. As a result, the text size of the alternative buttons is the same, and the design is balanced.

一方、ボタン803、ボタン804、ボタン805の文字列描画領域のY座標は一致するものの、フォントデータのベースライン位置が異なるため、それぞれ別の文字サイズで描画されている。この場合は、文字サイズが違うものの、デザイン上の違和感は少ない。   On the other hand, although the Y coordinates of the character string drawing areas of the buttons 803, 804, and 805 match, the font data is drawn at different character sizes because the baseline position of the font data is different. In this case, although the character size is different, there is little discomfort in the design.

以上説明したように、本実施形態によれば、関連する文字列描画領域において、デザイン上の違和感を減らすことができる。特に、二者択一などのダイアログ画面において、関連する文字列描画領域のうち、一部の文字列が大きくなりユーザの誤解を招くようなケースを減らすことができる。   As described above, according to the present embodiment, a sense of incongruity in design can be reduced in the related character string drawing area. In particular, in a dialog screen such as an alternative, it is possible to reduce a case where a part of the character string in the related character string drawing area becomes large and causes misunderstanding of the user.

図9は、描画処理装置の画面に表示されるテキストボックス画面の一例である。このような複数行のテキストボックスでは、組込み機器UIの場合、1行ずつ別々に文字列をROM102に格納していたり、あらかじめ改行コードを含んだ文字列をROM102に格納していたりする。すなわち、図9の例では、各行で文字列描画領域が分かれており、計3つの文字列描画領域が存在することになる。   FIG. 9 is an example of a text box screen displayed on the screen of the drawing processing apparatus. In such a multi-line text box, in the case of the embedded device UI, a character string is stored in the ROM 102 separately for each line, or a character string including a line feed code is stored in the ROM 102 in advance. That is, in the example of FIG. 9, the character string drawing area is divided in each line, and there are a total of three character string drawing areas.

901は非縮小時の描画結果である。902は各文字列描画領域に対して、同じ割合で縮小した描画結果である。903は各行で領域に収まるよう縮小した第二文字サイズを用いた描画結果である。904は、本発明を適用した結果であり、特に、2行目と3行目の文字列は、図7のS705でYESと判定され、S706でNOと判定された場合の例である。   Reference numeral 901 denotes a drawing result at the time of non-reduction. Reference numeral 902 denotes a drawing result reduced at the same rate for each character string drawing area. Reference numeral 903 denotes a drawing result using the second character size reduced to fit in the area in each line. 904 is a result of applying the present invention. In particular, the character strings in the second and third lines are an example in which YES is determined in S705 of FIG. 7 and NO is determined in S706.

描画結果のデザイン性については個人差があるが、一般に以下のような傾向にある。902は、均一に縮小されているものの、2行目や3行目では文字を不必要に縮小させている印象を受ける。903では、3行目の文字列が目立って大きくなっておりバランスがよくない。904は、2行目や3行目では所定値を用いた文字サイズで描画しているため、不必要に小さくなっている印象はなく、全体としてバランスのとれた描画結果になっている。   There are individual differences in the design of the drawing result, but generally there is a tendency as follows. Although the image 902 is uniformly reduced, the user receives the impression that the characters are unnecessarily reduced in the second and third lines. In 903, the character string on the third line is conspicuously large, and the balance is not good. In the second and third lines, 904 is drawn with a character size using a predetermined value, so there is no impression that it is unnecessarily small, and the drawing result is balanced as a whole.

本実施形態では、二者択一ダイアログやテキストボックスを例に示したが、複数の文字列描画領域を有するメニュー画面や表画面等、様々な画面デザインに適用可能である。すなわち、複数の文字列描画領域を有する画面であれば、本実施形態を適用可能である。   In the present embodiment, an alternative dialog or a text box is shown as an example, but the present invention can be applied to various screen designs such as a menu screen and a front screen having a plurality of character string drawing areas. In other words, the present embodiment can be applied to any screen that has a plurality of character string drawing areas.

<第二の実施形態>
以下、本発明の第二の実施形態について、図面を参照して説明する。
<Second Embodiment>
Hereinafter, a second embodiment of the present invention will be described with reference to the drawings.

本実施形態の描画処理装置の構成は図1と同様である。また、本実施形態の描画処理装置における文字列描画機能のモジュール構成は図2と同様である。   The configuration of the drawing processing apparatus of this embodiment is the same as that shown in FIG. The module configuration of the character string drawing function in the drawing processing apparatus of this embodiment is the same as that shown in FIG.

図10は、本実施形態における文字列描画処理の概略を示したフローチャートである。同図において、S1001、S1002、S1004は、図4のS401、S402、S403とそれぞれ同じである。本実施形態においては、S1002において描画文字サイズを決定したあと、S1003で描画文字サイズの補正を行う。この補正は、文字列の大小関係を維持するためのものである。例えば、タイトル文字列はボタン文字列より大きく、氏名の文字列は住所の文字列より大きく、といった画面デザインを維持するためのものである。   FIG. 10 is a flowchart showing an outline of the character string drawing process in this embodiment. In the figure, S1001, S1002, and S1004 are the same as S401, S402, and S403 in FIG. 4, respectively. In the present embodiment, after the drawing character size is determined in S1002, the drawing character size is corrected in S1003. This correction is for maintaining the size relationship of the character strings. For example, the title character string is larger than the button character string, and the name character string is larger than the address character string to maintain the screen design.

図11は、S1003の処理の詳細を示したフローチャートである。   FIG. 11 is a flowchart showing details of the processing of S1003.

本実施形態では、S1001において、指定文字サイズ(予め定められた文字サイズ)に基づいて領域グループを作成している。すなわち、同一の領域グループに属する描画領域の指定文字サイズは同じである。また、本実施形態では、描画領域が一つしか属さない領域グループも存在する。すなわち、すべての文字列描画領域が、いずれかの領域グループに属していることになる。図11は画面中に2つの領域グループがある場合の処理であり、ここでは、各領域グループをそれぞれグループA、グループBと呼んでいる。図11においては、描画文字サイズが図7のS709で決定された描画領域のみを文字サイズ補正の対象とする。S707やS708で決定された文字サイズはすでに小さいサイズ(所定値)であるため補正の対象としない。   In this embodiment, in S1001, an area group is created based on a designated character size (predetermined character size). That is, the designated character sizes of the drawing areas belonging to the same area group are the same. In the present embodiment, there is an area group to which only one drawing area belongs. That is, all character string drawing areas belong to one of the area groups. FIG. 11 shows processing when there are two area groups on the screen. Here, the area groups are called group A and group B, respectively. In FIG. 11, only the drawing area whose drawing character size is determined in S709 of FIG. 7 is the target of character size correction. Since the character size determined in S707 or S708 is already a small size (predetermined value), it is not subject to correction.

図11に示したとおり、まず、グループAの指定文字サイズMと描画文字サイズPを取得する(S1101)。次に、グループBの指定文字サイズNと描画文字サイズQを取得する(S1102)。ここで、描画文字サイズPやQは、S709で決定された描画文字サイズである。   As shown in FIG. 11, first, the designated character size M and drawing character size P of group A are acquired (S1101). Next, the designated character size N and drawing character size Q of group B are acquired (S1102). Here, the drawing character sizes P and Q are the drawing character sizes determined in S709.

続いて、グループAの指定文字サイズMとグループBの指定文字サイズNの大きさを比較する(S1103)。S1103において、NがMより大きいと判断されれば、描画文字サイズPと描画文字サイズQの大きさを比較する(S1104)。PがQより大きいと判断されれば、PがQより小さくなるよう描画文字サイズPを補正し(S1105)、処理を終了する。S1104でQがPより大きいと判断されれば、描画文字サイズの大小関係は維持されていることになるため、補正は行わず処理を終了する。   Subsequently, the designated character size M of group A and the designated character size N of group B are compared (S1103). If it is determined in S1103 that N is larger than M, the drawing character size P is compared with the drawing character size Q (S1104). If it is determined that P is larger than Q, the drawing character size P is corrected so that P is smaller than Q (S1105), and the process is terminated. If it is determined in step S1104 that Q is larger than P, the size relationship of the drawn character size is maintained, and the process is terminated without correction.

S1103において、MがNより大きいと判断されれば、描画文字サイズPと描画文字サイズQの大きさを比較する(S1106)。S1106でQがPより大きいと判断されれば、QがPより小さくなるよう描画文字サイズQを補正し(S1107)、処理を終了する。S1106でPがQより大きいと判断されれば、描画文字サイズの大小関係は維持されていることになるため、補正は行わず処理を終了する。   If it is determined in S1103 that M is larger than N, the drawing character size P is compared with the drawing character size Q (S1106). If it is determined in S1106 that Q is larger than P, the drawing character size Q is corrected so that Q is smaller than P (S1107), and the process is terminated. If it is determined in step S1106 that P is greater than Q, the drawing character size relationship is maintained, so that the process is terminated without correction.

図11の処理によって、文字サイズが所定値より小さくなる場合を除いて、領域グループ間の文字の大小関係を維持することができる。領域グループが3個以上ある場合にも、図11の処理を順次行うことにより、領域グループ間の大小関係を維持することが可能となる。本実施形態においては、大小関係を維持する処理を説明したが、文字サイズの比率を維持するようにしても良い。   With the processing in FIG. 11, the size relationship between the character groups can be maintained except when the character size is smaller than a predetermined value. Even when there are three or more area groups, the size relationship between the area groups can be maintained by sequentially performing the processing of FIG. In the present embodiment, the processing for maintaining the magnitude relationship has been described, but the character size ratio may be maintained.

なお、これらの実施形態では、描画処理装置を例に説明したが、本発明は、印刷装置、デジタルカメラ、複写機、複合機、スキャナ、テレビ等、表示部を有するあらゆる装置に適用可能である。   In these embodiments, the drawing processing apparatus has been described as an example. However, the present invention is applicable to any apparatus having a display unit, such as a printing apparatus, a digital camera, a copying machine, a multifunction peripheral, a scanner, and a television. .

本発明はソフトウエアにより実現しても良い。すなわち、ソフトウエアのプログラムコードを記録した記録媒体をシステムあるいは装置に供給し、そのシステムあるいは装置のCPUが記録媒体に格納されたプログラムコードを読み出し実行することで実現しても良い。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することとなり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、磁気テープ、メモリカードなどを用いることができる。また、本発明は、プログラムコードの指示に基づき、コンピュータ上で稼動しているオペレーティングシステムなどが実際の処理の一部または全部を行い、その処理によって機能が実現される場合にも適用され得る。   The present invention may be realized by software. That is, a recording medium in which software program codes are recorded may be supplied to a system or apparatus, and a CPU of the system or apparatus may read and execute the program codes stored in the recording medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention. As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a magnetic tape, a memory card, and the like can be used. The present invention can also be applied to a case where an operating system or the like running on a computer performs part or all of actual processing based on an instruction of a program code, and a function is realized by the processing.

Claims (18)

文字列描画領域毎に、予め定められた文字サイズと、前記文字列描画領域の大きさと、前記文字列描画領域に描画する文字列の情報とに基づいて、第1の文字サイズを決定する第1文字サイズ決定手段と、
前記文字列描画領域のレイアウト情報に基づいて、関連する複数の文字列描画領域のグループを抽出するグループ抽出手段と、
前記抽出されたグループにおける複数の文字列描画領域の複数の第1の文字サイズから、前記文字列描画領域毎に、前記文字列描画領域の第2の文字サイズを決定する第2文字サイズ決定手段と、
前記決定された第2の文字サイズを用いて、文字の描画を行う描画手段を有することを特徴とする描画処理装置。
A first character size is determined for each character string drawing area based on a predetermined character size, the size of the character string drawing area, and information on the character string to be drawn in the character string drawing area. 1 character size determining means;
Group extraction means for extracting a group of a plurality of related character string drawing areas based on layout information of the character string drawing area;
Second character size determining means for determining, for each character string drawing area, a second character size of the character string drawing area from a plurality of first character sizes of the plurality of character string drawing areas in the extracted group. When,
A drawing processing apparatus comprising drawing means for drawing a character using the determined second character size.
前記第1の文字サイズは、前記文字列描画領域に前記文字列が収まるような文字サイズであることを特徴とする請求項1に記載の描画処理装置。   The drawing processing apparatus according to claim 1, wherein the first character size is a character size such that the character string fits in the character string drawing area. 前記文字列描画領域が、いずれかのグループに属しているかを判定する判定手段を有することを特徴とする請求項1又は請求項2に記載の描画処理装置。   The drawing processing apparatus according to claim 1, further comprising a determination unit configured to determine whether the character string drawing area belongs to any group. 前記判定手段が、前記文字列描画領域がいずれかのグループに属していると判定された場合は、前記第2文字サイズ決定手段は、前記グループにおける複数の文字列描画領域の複数の第1の文字サイズのいずれかを、前記第2の文字サイズと決定することを特徴とする請求項3に記載の描画処理装置。   If the determination means determines that the character string drawing area belongs to any group, the second character size determining means may include a plurality of first character strings in the plurality of character string drawing areas in the group. The drawing processing apparatus according to claim 3, wherein any one of the character sizes is determined as the second character size. 前記第2文字サイズ決定手段は、前記グループにおける複数の文字列描画領域の複数の第1の文字サイズのうち、最小の第1の文字サイズを、前記第2の文字サイズと決定することを特徴とする請求項4に記載の描画処理装置。   The second character size determining means determines a minimum first character size among the plurality of first character sizes of a plurality of character string drawing regions in the group as the second character size. The drawing processing apparatus according to claim 4. 前記判定手段が、前記文字列描画領域がいずれかのグループに属していないと判定された場合は、前記第2文字サイズ決定手段は、前記文字列描画領域の第1の文字サイズを、前記第2の文字サイズと決定することを特徴とする請求項3に記載の描画処理装置。   If the determination means determines that the character string drawing area does not belong to any group, the second character size determining means determines the first character size of the character string drawing area as the first character size. The drawing processing apparatus according to claim 3, wherein a character size of 2 is determined. 前記判定手段が、前記文字列描画領域がいずれかのグループに属していると判定された場合、前記文字列描画領域の第1文字サイズが、予め定められた値以上かを判定し、
前記文字列描画領域の第1文字サイズが、予め定められた値より小さいと判定された場合は、前記第2文字サイズ決定手段は、前記文字列描画領域の第1文字サイズを、前記第2の文字サイズと決定することを特徴とする請求項3に記載の描画処理装置。
When the determination unit determines that the character string drawing area belongs to any group, the first character size of the character string drawing area is determined to be greater than or equal to a predetermined value;
When it is determined that the first character size of the character string drawing area is smaller than a predetermined value, the second character size determining means sets the first character size of the character string drawing area to the second character size. The drawing processing apparatus according to claim 3, wherein the character size is determined.
前記判定手段が、前記文字列描画領域がいずれかのグループに属していると判定された場合、前記文字列描画領域の第1文字サイズが、予め定められた値以上かを判定し、
前記文字列描画領域の第1文字サイズが、予め定められた値以上であると判定された場合は、前記グループにおける複数の文字列描画領域の複数の第1の文字サイズのうち、最小の第1の文字サイズが、予め定められた値以上かを判定し、
前記グループにおける複数の文字列描画領域の複数の第1の文字サイズのうち、最小の第1の文字サイズが、予め定められた値より小さいと判定された場合、前記前記第2文字サイズ決定手段は、前記予め定められた値を、前記第2の文字サイズと決定することを特徴とする請求項3に記載の描画処理装置。
When the determination unit determines that the character string drawing area belongs to any group, the first character size of the character string drawing area is determined to be greater than or equal to a predetermined value;
When it is determined that the first character size of the character string drawing area is equal to or larger than a predetermined value, the smallest first character size among the plurality of first character sizes of the plurality of character string drawing areas in the group is determined. Determine whether the character size of 1 is greater than or equal to a predetermined value,
When it is determined that the minimum first character size among the plurality of first character sizes of the plurality of character string drawing regions in the group is smaller than a predetermined value, the second character size determining means The drawing processing apparatus according to claim 3, wherein the predetermined value is determined as the second character size.
描画処理装置の制御方法であって、
第1文字サイズ決定手段が、文字列描画領域毎に、予め定められた文字サイズと、前記文字列描画領域の大きさと、前記文字列描画領域に描画する文字列の情報とに基づいて、第1の文字サイズを決定する第1文字サイズ決定工程と、
グループ抽出手段が、前記文字列描画領域のレイアウト情報に基づいて、関連する複数の文字列描画領域のグループを抽出するグループ抽出工程と、
第2文字サイズ決定手段が、前記抽出されたグループにおける複数の文字列描画領域の複数の第1の文字サイズから、前記文字列描画領域毎に、前記文字列描画領域の第2の文字サイズを決定する第2文字サイズ決定工程と、
描画手段が、前記決定された第2の文字サイズを用いて、文字の描画を行う描画工程を有することを特徴とする描画処理装置の制御方法。
A method for controlling a drawing processing apparatus,
The first character size determining means, for each character string drawing area, based on a predetermined character size, the size of the character string drawing area, and information on the character string to be drawn in the character string drawing area. A first character size determining step for determining a character size of 1;
A group extracting step of extracting a group of a plurality of related character string drawing areas based on layout information of the character string drawing area;
The second character size determining means determines the second character size of the character string drawing area for each character string drawing area from the plurality of first character sizes of the plurality of character string drawing areas in the extracted group. A second character size determining step to determine;
A drawing processing apparatus control method, wherein a drawing means includes a drawing step of drawing a character using the determined second character size.
前記第1の文字サイズは、前記文字列描画領域に前記文字列が収まるような文字サイズであることを特徴とする請求項9に記載の描画処理装置の制御方法。   The control method of the drawing processing apparatus according to claim 9, wherein the first character size is a character size that fits the character string in the character string drawing area. 判定手段が、前記文字列描画領域が、いずれかのグループに属しているかを判定する判定工程を有することを特徴とする請求項9又は請求項10に記載の描画処理装置の制御方法。   The method according to claim 9 or 10, wherein the determination unit includes a determination step of determining whether the character string drawing area belongs to any group. 前記判定工程で、前記文字列描画領域がいずれかのグループに属していると判定された場合は、前記第2文字サイズ決定工程は、前記グループにおける複数の文字列描画領域の複数の第1の文字サイズのいずれかを、前記第2の文字サイズと決定することを特徴とする請求項11に記載の描画処理装置の制御方法。   If it is determined in the determination step that the character string drawing region belongs to any group, the second character size determining step includes a plurality of first character strings in the plurality of character string drawing regions in the group. 12. The method according to claim 11, wherein one of the character sizes is determined as the second character size. 前記第2文字サイズ決定工程は、前記グループにおける複数の文字列描画領域の複数の第1の文字サイズのうち、最小の第1の文字サイズを、前記第2の文字サイズと決定することを特徴とする請求項12に記載の描画処理装置の制御方法。   In the second character size determining step, a minimum first character size is determined as the second character size among a plurality of first character sizes of a plurality of character string drawing regions in the group. The method for controlling a drawing processing apparatus according to claim 12. 前記判定工程で、前記文字列描画領域がいずれかのグループに属していないと判定された場合は、前記第2文字サイズ決定工程は、前記文字列描画領域の第1の文字サイズを、前記第2の文字サイズと決定することを特徴とする請求項11に記載の描画処理装置の制御方法。   If it is determined in the determining step that the character string drawing area does not belong to any group, the second character size determining step sets the first character size of the character string drawing area to the first character size. 12. The method according to claim 11, wherein the character size is determined to be 2. 前記判定工程で、前記文字列描画領域がいずれかのグループに属していると判定された場合、前記文字列描画領域の第1文字サイズが、予め定められた値以上かを判定し、
前記文字列描画領域の第1文字サイズが、予め定められた値より小さいと判定された場合は、前記第2文字サイズ決定工程は、前記文字列描画領域の第1文字サイズを、前記第2の文字サイズと決定することを特徴とする請求項11に記載の描画処理装置の制御方法。
When it is determined in the determination step that the character string drawing area belongs to any group, it is determined whether the first character size of the character string drawing area is equal to or larger than a predetermined value;
When it is determined that the first character size of the character string drawing area is smaller than a predetermined value, the second character size determining step sets the first character size of the character string drawing area to the second character size. 12. The method of controlling a drawing processing apparatus according to claim 11, wherein the character size is determined as follows.
前記判定工程で、前記文字列描画領域がいずれかのグループに属していると判定された場合、前記文字列描画領域の第1文字サイズが、予め定められた値以上かを判定し、
前記文字列描画領域の第1文字サイズが、予め定められた値以上であると判定された場合は、前記グループにおける複数の文字列描画領域の複数の第1の文字サイズのうち、最小の第1の文字サイズが、予め定められた値以上かを判定し、
前記グループにおける複数の文字列描画領域の複数の第1の文字サイズのうち、最小の第1の文字サイズが、予め定められた値より小さいと判定された場合、前記前記第2文字サイズ決定工程は、前記予め定められた値を、前記第2の文字サイズと決定することを特徴とする請求項11に記載の描画処理装置の制御方法。
When it is determined in the determination step that the character string drawing area belongs to any group, it is determined whether the first character size of the character string drawing area is equal to or larger than a predetermined value;
When it is determined that the first character size of the character string drawing area is equal to or larger than a predetermined value, the smallest first character size among the plurality of first character sizes of the plurality of character string drawing areas in the group is determined. Determine whether the character size of 1 is greater than or equal to a predetermined value,
When it is determined that the minimum first character size among the plurality of first character sizes of the plurality of character string drawing regions in the group is smaller than a predetermined value, the second character size determining step The method according to claim 11, wherein the predetermined value is determined as the second character size.
コンピュータを、請求項1乃至8の何れか1項に記載の描画処理装置が有する各手段として機能させるためのプログラム。   The program for functioning a computer as each means which the drawing processing apparatus of any one of Claims 1 thru | or 8 has. 請求項17に記載のプログラムを格納した、コンピュータが読み取り可能な記憶媒体。   A computer-readable storage medium storing the program according to claim 17.
JP2012209493A 2012-09-24 2012-09-24 Plotting processor and method for controlling the same Pending JP2014063439A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012209493A JP2014063439A (en) 2012-09-24 2012-09-24 Plotting processor and method for controlling the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012209493A JP2014063439A (en) 2012-09-24 2012-09-24 Plotting processor and method for controlling the same

Publications (1)

Publication Number Publication Date
JP2014063439A true JP2014063439A (en) 2014-04-10

Family

ID=50618587

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012209493A Pending JP2014063439A (en) 2012-09-24 2012-09-24 Plotting processor and method for controlling the same

Country Status (1)

Country Link
JP (1) JP2014063439A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020504346A (en) * 2016-10-12 2020-02-06 ホアウェイ・テクノロジーズ・カンパニー・リミテッド Character string display method and terminal device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020504346A (en) * 2016-10-12 2020-02-06 ホアウェイ・テクノロジーズ・カンパニー・リミテッド Character string display method and terminal device
US10942621B2 (en) 2016-10-12 2021-03-09 Huawei Technologies Co., Ltd. Character string display method and terminal device

Similar Documents

Publication Publication Date Title
US20140085311A1 (en) Method and system for providing animated font for character and command input to a computer
EP3008621A1 (en) Layered z-order and hinted color fonts with dynamic palettes
JP2003308310A (en) Display method, display, display program, and recording medium recorded with display program
EP2410487B1 (en) Method for automatically modifying a graphics feature to comply with a resolution limit
JP2012008884A (en) Editing device, and layout editing method and program in editing device
JP2014063439A (en) Plotting processor and method for controlling the same
US8068239B2 (en) Image forming apparatus with adaptive automatic layout function
KR20110021714A (en) Method and apparatus for the page-by-page provision of an electronic document as a computer graphic
US10659648B2 (en) Printing apparatus and text input program
US8707165B2 (en) Information processing apparatus, control method, and storage medium for adjustment of alternate document layers to reduce printed pages
JP2014021694A (en) Portable information terminal, table display method for portable information terminal and table display program for portable information terminal
JP6617448B2 (en) Mobile terminal and program
JP5407647B2 (en) Information processing apparatus, information processing method, and program
JP6501454B2 (en) INFORMATION PROCESSING APPARATUS, CONTROL METHOD THEREOF, PROGRAM, AND STORAGE MEDIUM
US20220357841A1 (en) System and method for parallel multi-column text presentation and editing on a computer display
JP2851846B2 (en) Document processing method and apparatus
JP7067285B2 (en) Printing device and text input program
JP4062332B2 (en) Ruled line processing method and apparatus
JP2823162B2 (en) Document processing device
JP5747202B2 (en) Information processing apparatus, information processing method, and program
Shufflebotham InDesign in easy steps: Making InDesign accessible to all
JP3813499B2 (en) OUTPUT PROCESSING METHOD, OUTPUT PROCESSING DEVICE, OUTPUT PROCESSING PROGRAM, AND RECORDING MEDIUM CONTAINING OUTPUT PROCESSING PROGRAM
JP2014206712A (en) Character information output device
JP4183017B2 (en) Ruled line processing method and apparatus
JP4201056B2 (en) Ruled line processing method and apparatus