JP6501454B2 - INFORMATION PROCESSING APPARATUS, CONTROL METHOD THEREOF, PROGRAM, AND STORAGE MEDIUM - Google Patents

INFORMATION PROCESSING APPARATUS, CONTROL METHOD THEREOF, PROGRAM, AND STORAGE MEDIUM Download PDF

Info

Publication number
JP6501454B2
JP6501454B2 JP2014089308A JP2014089308A JP6501454B2 JP 6501454 B2 JP6501454 B2 JP 6501454B2 JP 2014089308 A JP2014089308 A JP 2014089308A JP 2014089308 A JP2014089308 A JP 2014089308A JP 6501454 B2 JP6501454 B2 JP 6501454B2
Authority
JP
Japan
Prior art keywords
font
character string
character
information
icon
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.)
Active
Application number
JP2014089308A
Other languages
Japanese (ja)
Other versions
JP2015206986A5 (en
JP2015206986A (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 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 JP2014089308A priority Critical patent/JP6501454B2/en
Publication of JP2015206986A publication Critical patent/JP2015206986A/en
Publication of JP2015206986A5 publication Critical patent/JP2015206986A5/ja
Application granted granted Critical
Publication of JP6501454B2 publication Critical patent/JP6501454B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Processing Or Creating Images (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

本発明はフォントを用いて文字を描画する処理に関する。   The present invention relates to processing for drawing characters using fonts.

従来、指示された文字列を、フォントを用いて描画する技術が知られている。ここでフォントとは、レイアウトの基準となる情報と文字コードに対応するインデックス、インデックスに関連付けられた字形のデータと字形のレイアウトに関する情報を持つデータを差す。従って、指示された文字列の字形をどのようにレイアウトするか、上部・下部にどの程度空白を持たせるか、などのデザインは個々のフォントのデザインに従って決定される。   Conventionally, there is known a technique for drawing a designated character string using a font. Here, the font refers to data having reference information on layout, an index corresponding to a character code, data of a character form associated with the index, and data on information on a layout of the character form. Thus, the design of how to lay out the indicated character form of the character, how much space at the top and bottom, etc. is determined according to the design of the individual font.

同一のフォントを有さない複数の装置では、同じ文字列を、同一の見た目となるように描画することが困難となる。特許文献1では、搭載するフォントが異なるPCとプリンタで、描画結果の見た目の整合性をとるため、PCで決定されたフォントをプリンタが持たない場合には、プリンタ上のフォントのサイズをPCで決定されたフォントに近づくようにスケールする。   In a plurality of devices not having the same font, it is difficult to draw the same character string so as to have the same appearance. According to Patent Document 1, since the consistency of the appearance of the drawing result is maintained between a PC and a printer with different fonts, if the printer does not have the font determined by the PC, the font size on the printer is PC Scale to get closer to the determined font.

特開2012−190461号公報JP 2012-190461 A

単一のフォントが全ての文字コードに対して字形の情報を持っているとは限らない。従って、任意の入力文字列を単一のフォントで描画しようとしても、全ての文字を描画できない場合がある。このような場合に対応するため、フォントリスト技術が知られている。ここでいうフォントリスト技術では、あるフォントに対して、当該フォントが描画できない文字を代わりに描画させる他の複数のフォントが優先順のリスト状で関連付けられている。つまり、指定されたフォントが特定の文字コードに対応する字形をフォントが含まない場合、そのフォントに関連付けられた他のフォントを優先度の順番で選択し、該当する文字コードの字形を検索し、見つかった字形を用いて描画処理を実行する。   A single font may not have glyph information for all character codes. Therefore, even if an arbitrary input string is drawn with a single font, all characters may not be drawn. In order to cope with such a case, font list technology is known. In the font list technology referred to herein, a plurality of other fonts that cause a font to render characters that can not be rendered by the font are associated in the form of a list in the order of priority. That is, if the specified font does not include a glyph corresponding to a particular character code, the font is selected in order of priority from other fonts associated with that font, and a character glyph of the corresponding character code is searched. Execute drawing processing using the found glyphs.

文字列を描画させる際には、文字サイズを指示したり字形を斜体にしたりなどの見た目の装飾に関する指示を、ある程度まとまった文字列毎に指示することが広く行われている。しかしながら、従来技術では、フォントリストなどにより、複数のフォントが混在した文字列を描画する場合、複数のフォント同士の見た目の整合性を管理することができず、描画結果の視認性が低下するという課題があった。   When rendering a character string, it is widely used to designate an instruction on appearance decoration such as designation of character size or italicization of a character shape for each character string grouped to some extent. However, in the prior art, when drawing a character string in which a plurality of fonts are mixed by a font list or the like, the visual consistency between the plurality of fonts can not be managed, and the visibility of the drawing result decreases. There was a problem.

そこで本発明では、複数のフォントが混在した文字列のフォント同士の見た目の整合性を管理することを目的とする。   In the present invention, therefore, it is an object to manage the visual consistency between fonts of a character string in which a plurality of fonts are mixed.

本発明は、上記課題を鑑みてなされたものであり、複数のフォントを用いてアイコンを含む文字列を描画可能な情報処理装置であって、描画処理の対象となる文字列に対応する情報を取得する文字列取得手段と、前記複数のフォントのうち、少なくとも1つの特定のフォントに対して個別に設定された第1のフォントスタイルを示す情報と、前記文字列のうちアイコンを描画するための指定されるフォントであって、前記特定のフォントに個別に設定された第1のフォントスタイルが適用されないフォントであるアイコンフォントに適用される第2のフォントスタイルを示す情報とを取得する描画情報取得手段と、前記文字列取得手段によって取得された情報に基づいて、前記描画処理の対象となる文字列に含まれる各文字及びアイコンについて、前記複数のフォントのうち、描画に用いるフォントを特定する特定手段と、前記特定手段によって特定されたフォントが前記少なくとも1つの特定のフォントである場合に、前記特定されたフォントに対して前記第1のフォントスタイルを反映して前記描画処理の対象となる文字列に含まれる文字を描画し、前記特定手段によって特定されたフォントが前記アイコンフォントである場合に、前記第2のフォントスタイルを反映して前記描画処理の対象となる文字列に含まれるアイコンを描画する描画手段と、を備える。 The present invention has been made in view of the above problems, and is an information processing apparatus capable of drawing a character string including an icon using a plurality of fonts, which corresponds to information corresponding to a character string to be subjected to drawing processing. Character string acquiring means for acquiring, information indicating a first font style individually set for at least one specific font among the plurality of fonts, and for drawing an icon among the character strings a font that is specified, drawing information acquisition to acquire the information indicating the second font style applied to icon font is a font that does not apply the first font style set individually to the specific font and means, based on the information obtained by the character string obtaining means, each character and icon Nitsu in the string to be the rendering process And a specifying unit for specifying a font to be used for drawing among the plurality of fonts, and the font specified by the specifying unit is the at least one specified font, for the specified font. reflecting the first font style to draw the characters in the character string to be the rendering process, if the font specified by said specifying means is the icon font, the second font style And drawing means for drawing an icon included in the character string to be reflected and subjected to the drawing process .

本発明により、複数のフォントが混在した文字列のフォント同士の見た目の整合性を管理することができる。   According to the present invention, it is possible to manage the visual consistency between fonts of a character string in which a plurality of fonts are mixed.

実施例1における情報処理装置を含むシステムの構成の一例を示す模式図。FIG. 1 is a schematic view showing an example of the configuration of a system including an information processing apparatus according to a first embodiment. 実施例1の情報処理装置の処理の流れの一例を示すフローチャート。6 is a flowchart illustrating an example of the flow of processing of the information processing apparatus of the first embodiment. 変形例の情報処理装置の処理の流れの一例を示すフローチャート。The flowchart which shows an example of the flow of processing of the information processor of a modification. 描画設定情報としてフォントスタイルを設定した場合の例を示す図。FIG. 6 is a diagram showing an example in which a font style is set as drawing setting information. 描画設定情報としてベースラインを設定した場合の例を示す図。FIG. 7 is a diagram showing an example in which a baseline is set as drawing setting information. 描画設定情報としてフォントサイズあるいはサイズ比率を設定した場合の例を示す図。FIG. 6 is a view showing an example in which a font size or a size ratio is set as drawing setting information.

以下、本発明の実施形態について、図面を参照して説明する。なお、以下の実施の形態は特許請求の範囲に関る本発明を限定するものではなく、また、本実施の形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。なお、同一な構成については、同じ符号を付して説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. The following embodiments do not limit the present invention according to the claims, and all combinations of the 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>
本実施例では、複数のフォントが混在した文字列に対して、フォントスタイル、フォントサイズ、レイアウト等見た目を変化させるための情報が設定された場合に、フォント毎に、設定された情報を反映するか否かを管理する例を説明する。
Example 1
In the present embodiment, when information such as font style, font size and layout is set for a character string in which a plurality of fonts are mixed, the set information is reflected for each font. An example of managing whether or not it will be described.

図1(a)は本実施例に係る情報処理装置100の概要を示した構成図である。CPU(Central Processing Unit)101は、システム制御部であり、システムバス108を介して、接続された各要素を制御する。ROM(Read−Only Memory)102は、CPUの制御プログラムや、情報処理装置100が描画可能なフォントのデータなど各種固定データを格納するものである。RAM(Random Access Memory)103は、SRAM、DRAM等で構成され、プログラム制御変数等を格納するためのものである。また、各種設定パラメータ、各種ワーク用バッファもRAM103に格納されるものである。記憶装置104はハードディスク等で構成され、文書や画像などのファイルデータを格納するためのものである。入力部105は、キーボード、タッチパネル等で構成され、操作者が各種入力操作を行うためのものである。表示部106は、LCD、LED等で操作者に表示通知するためのものである。通信インターフェース107は、ネットワークに接続するためのインターフェースである。接続方法としてはLAN、USB等がある。同図に示した構成は、本発明の実施例に係る情報処理装置の一部を示したものであり、装置によっては、この他、スキャナ部、プリンタ部、モデム、スピーカ等が装置の構成に加わる場合がある。また、各構成要素は、必ずしも装置内で接続される構成に限定されず、各種インターフェースを介して接続された外部装置であっても構わない。   FIG. 1A is a configuration diagram showing an outline of the information processing apparatus 100 according to the present embodiment. A central processing unit (CPU) 101 is a system control unit, and controls each element connected via a system bus 108. The ROM (Read-Only Memory) 102 stores various fixed data such as a control program of the CPU and data of a font that can be rendered by the information processing apparatus 100. A random access memory (RAM) 103 is configured by an SRAM, a DRAM, and the like, and is for storing program control variables and the like. Further, various setting parameters and various work buffers are also stored in the RAM 103. The storage device 104 is configured by a hard disk or the like, and is for storing file data such as a document or an image. The input unit 105 includes a keyboard, a touch panel, and the like, and is used by the operator to perform various input operations. The display unit 106 is for notifying the operator of the display by an LCD, an LED, or the like. The communication interface 107 is an interface for connecting to a network. There are LAN, USB, etc. as a connection method. The configuration shown in the figure shows a part of the information processing apparatus according to the embodiment of the present invention, and depending on the apparatus, a scanner unit, a printer unit, a modem, a speaker, etc. May join. Further, each component is not necessarily limited to the configuration connected within the device, and may be an external device connected via various interfaces.

図1(b)は、情報処理装置100の機能構成の一例を示すブロック図である。各機能部は、CPU101が、ROM102に格納されたプログラムをRAM103に展開し、後述する各フローチャートに従った処理を実行することで実現されている。ただし、本発明は、これらの機能部をハードウェアで実現する情報処理装置によっても同様に実現可能である。以下、各要素について説明する。   FIG. 1B is a block diagram showing an example of a functional configuration of the information processing apparatus 100. Each functional unit is realized by the CPU 101 developing a program stored in the ROM 102 in the RAM 103 and executing processing according to each flowchart to be described later. However, the present invention can also be realized by an information processing apparatus that realizes these functional units in hardware. Each element will be described below.

文字列取得部111は、入力部105を介してユーザ操作により入力された指示に従ったり、構造化文書を読み込んで解析したりすることで、表示部106が表示する表示画面を構成する要素から、描画対象となる文字列を取得する。また、本実施例では、取得した文字列を描画するために指定されたフォントを指定する情報を取得する。本実施形態では、表示画面の構成要素として、描画すべき文字列が複数存在する場合でも、1つ1つの要素ごとに文字列の情報を取得し、描画処理を行うことを繰り返す。   The character string acquisition unit 111 follows the instruction input by the user operation via the input unit 105, or reads and analyzes the structured document, and thereby the elements constituting the display screen displayed by the display unit 106. , Get the character string to be drawn. Further, in the present embodiment, information specifying a font designated to draw the acquired character string is acquired. In the present embodiment, even when there are a plurality of character strings to be drawn as the components of the display screen, information on the character strings is acquired for each element one by one, and the drawing process is repeated.

描画情報取得部112は、入力部105を介してユーザ操作により入力された指示に従ったり、構造化文書を読み込んで解析したりすることで、描画する文字列に対して、見た目の変化を指示するために設定された描画設定情報を取得する。さらに、本実施例では、情報処理装置100が描画可能なフォントのうち、少なくとも1つの特定のフォントに対して、個別に設定された描画設定情報を取得する。なお、本実施例において、フォントに個別に設定される描画設定情報は、表示画面の設計段階で予め定められた情報であって、個々の文字列の描画に当該フォントが使用されるか否かに関わらず、設定に従って取得される。ただし、情報処理装置100の操作者によって任意に変更可能な、言語環境などに従って定められてもよい。本実施例で扱う描画設定情報は、フォントスタイル、飾り文字、フォントカラー、フォントサイズ等、文字の見た目を変化させるための情報のうち、必要に応じて設計者が設定したものである。   The drawing information acquisition unit 112 instructs the character string to be drawn to change in appearance by following an instruction input by a user operation via the input unit 105 or reading and analyzing a structured document. Get the drawing setting information set to Furthermore, in the present embodiment, drawing setting information individually set is acquired for at least one specific font among fonts that can be drawn by the information processing apparatus 100. In the present embodiment, drawing setting information individually set for the font is information predetermined in the design stage of the display screen, and whether the font is used for drawing each character string or not Regardless of, it is acquired according to the setting. However, it may be determined in accordance with a language environment or the like which can be arbitrarily changed by the operator of the information processing apparatus 100. The drawing setting information handled in the present embodiment is set by the designer as needed among information for changing the appearance of characters such as font style, decorative characters, font color, font size and the like.

特定部113は、文字列取得部111が取得した文字列の各文字について、描画に用いるフォントを特定する。そして、文字列を文字コードの配列から、各文字の描画に用いるフォントに応じたインデックスの配列に変換する。本実施例では、取得された文字列の全ての文字が、文字列取得部111に取得された情報で指示された通りのフォントで描画できない場合は、フォントリスト技術を用いて、当該文字を描画するフォントを選択する。つまり、本実施例では、ある文字について指定されたフォントが、当該文字に対応する字形を持たない場合、フォントリスト技術を用いて、優先順に他のフォントのデータを参照し、該当する文字の字形を有する他のフォントを特定する。従って、1つの文字列であっても、複数のフォントの字形が混在するように描画される場合がある。このとき、同じ文字であっても、フォントよって、対応する字形のインデックスは一致するとは限らない。例えば文字「A」に対応する字形のインデックスが、あるフォントでは10となり、別のフォントでは100となることがある。そのため、字形のインデックスは用いられるフォントの情報と合わせて管理される。以下、生成した字形のインデックスの配列をグリフインデックス列、グリフインデックス列とそれに対応するフォント情報を合わせてグリフインデックス列情報と表記する。   The identifying unit 113 identifies, for each character of the character string acquired by the character string acquiring unit 111, a font used for drawing. Then, the character string is converted from the array of character codes into an array of indexes corresponding to the font used for drawing each character. In the present embodiment, when all the characters of the acquired character string can not be drawn with the font indicated by the information acquired by the character string acquisition unit 111, the character is drawn using font list technology. Select the font you want to That is, in the present embodiment, when the font designated for a certain character does not have a character form corresponding to the character, the font list technology is used to refer to data of other fonts in priority order, and the character shape of the corresponding character Identify other fonts that have Therefore, even if it is one character string, it may be drawn so that the glyph of a plurality of fonts may be mixed. At this time, even if the characters are the same, the indexes of corresponding glyphs do not always match due to the font. For example, the index of the glyph corresponding to the letter "A" may be 10 in one font and 100 in another font. Therefore, the index of the character is managed together with the information of the font used. Hereinafter, an array of generated glyph indexes is referred to as glyph index string information, and the glyph index string and the corresponding font information are collectively referred to as glyph index string information.

描画部114は、変換された配列情報に基づいて、文字列のうち、同一のフォントで描画される部分毎に、描画設定情報を反映した描画を繰り返し行うことで、文字列全体の描画処理を実行する。特に本実施例では、描画に用いるフォントに個別に描画設定情報が設定されている文字(部分配列)は、文字列全体に設定されたフォントに依存しない描画設定情報を反映せずに、フォントに個別に設定された描画設定情報を反映して描画する。一方で、描画に用いるフォントに個別に描画設定情報が設定されていない文字(部分配列)は、文字列全体に設定されたフォントに依存しない描画設定情報を反映して描画する。つまり、描画対象の文字が、描画情報取得部112によって、個別に設定された描画設定情報が取得された少なくとも1つの特定のフォントであるか否かに応じて、描画の際に反映する描画設定情報を変える。判定部115は、グリフインデックス列情報と描画情報取得部112が取得した情報とに基づいて、描画対象とされている部分配列に、当該フォントに個別に描画設定情報が設定されているか否かを判定し、描画部114の処理を切り替えさせる。   The drawing unit 114 performs drawing processing of the entire character string by repeatedly performing drawing that reflects the drawing setting information for each of the portions of the character string drawn with the same font based on the converted array information. Run. In particular, in the present embodiment, characters (partial arrays) in which drawing setting information is individually set for the font used for drawing do not reflect drawing setting information that does not depend on the font set for the entire character string, Draws reflecting drawing setting information set individually. On the other hand, characters (partial arrays) for which drawing setting information is not set individually for the font used for drawing are drawn by reflecting drawing setting information that does not depend on the font set for the entire character string. That is, according to whether or not the character to be drawn is at least one specific font for which drawing setting information individually set by the drawing information acquiring unit 112 is acquired, the drawing setting to be reflected in drawing Change information The determination unit 115 determines, based on the glyph index string information and the information acquired by the drawing information acquisition unit 112, whether or not drawing setting information is individually set for the font in the partial array to be drawn. The determination is made, and the processing of the drawing unit 114 is switched.

保持部116は、描画部114が、個別に描画設定情報が設定されたフォントの描画を行っている間、文字列全体に設定されたフォントに依存しない描画設定情報文字列全体に設定されたフォントに依存しない描画設定情報を保持する。   While the drawing unit 114 is drawing the font for which the drawing setting information is set individually, the holding unit 116 sets the font set for the entire drawing setting information character string independent of the font set for the whole character string. Holds drawing setting information independent of.

以下、図2のフローチャートに沿って実施例の動作を説明する。本実施例では、表示部106に表示される画面において画面遷移、または更新が実行されるトリガーとなるイベントが発生したことに応じて、文字列の描画処理が呼び出される。図2のフローチャートは、遷移後(更新後)の画面を表示するために描画すべき文字列の情報が、所定の単位毎(例えば、個々のGUI部品に描画される文字列毎)にアプリケーション等から通知される度に実行される。   Hereinafter, the operation of the embodiment will be described along the flowchart of FIG. In the present embodiment, in response to the occurrence of an event serving as a trigger for screen transition or updating on the screen displayed on the display unit 106, the drawing process of the character string is called. In the flowchart of FIG. 2, information of a character string to be drawn for displaying a screen after transition (after updating) is applied for each predetermined unit (for example, each character string drawn in each GUI component) It is executed each time notified by.

ステップS201では、描画情報取得部112が、情報処理装置100が描画可能なフォントのうち少なくとも1つの特定のフォントに対して、見た目の変化を指示するために設定された描画設定情報を取得する。本実施例では、描画設定情報の一例として、フォントスタイルの指示を取得する。フォントスタイルとは、フォントを使って文字を描画する際に指示することが可能な、見た目の変形をいう。第1実施例の情報処理装置100では、フォントスタイルとして、通常の(見た目の変化が無い状態の)フォントより字形の幅を細くする長体、通常のフォントより字形の幅を太くする平体、字形を傾ける斜体などを指示することが可能である。フォントスタイルは、数値や名称を示す文字列といった定数の指定を受けることで決定される。予め、ROMなどの記憶手段において、通常の字形をもったフォントに対して、フォントスタイルに合わせて変形された字形をもったフォントが対応付けられていることがある。このような1以上のフォントのまとまりはフォントファミリと呼ばれる。指示されたフォントスタイルに対応するフォントがフォントファミリにある場合、そのフォントが描画に使用される。一方で、フォントスタイルに対応するフォントがフォントファミリに存在しない場合には、フォントスタイルに応じた変形処理を、通常のフォントの字形に対して行い描画することもある。例えば平体のフォントスタイルが決定された場合、通常の字形を水平方向に拡大もしくは垂直方向に縮小して描画を行う。例えば長体のフォントスタイルが決定された場合、通常の字形を水平方向に縮小もしくは垂直方向に拡大して描画を行う。拡大率・縮小率は描画環境に応じて定められる。拡大率・縮小率はレイアウトや、文字列を入力するユーザの決定に応じて動的に変更してもよい。一例として、実施例1の情報処理装置100では、長体のフォントスタイルが決定された場合、水平方向の縮小率が0.5で描画される。   In step S201, the drawing information acquisition unit 112 acquires, for at least one specific font of the fonts that can be drawn by the information processing apparatus 100, drawing setting information set to indicate a change in appearance. In the present embodiment, a font style instruction is acquired as an example of drawing setting information. A font style is a visual modification that can be instructed when drawing a character using a font. In the information processing apparatus 100 according to the first embodiment, as a font style, a long body that makes the width of the character smaller than that of a normal font (in the absence of a change in appearance), a flat that makes the width of the character wider than the normal font, It is possible to indicate an inclination etc. which inclines the character. The font style is determined by receiving designations of constants such as numerical values and character strings indicating names. In a storage means such as a ROM, a font having a letter shape modified according to the font style may be associated with a font having a normal letter shape. Such a collection of one or more fonts is called a font family. If the font corresponding to the indicated font style is in the font family, that font is used for drawing. On the other hand, when the font corresponding to the font style does not exist in the font family, the transformation process according to the font style may be performed for the glyph of the normal font. For example, when the font style of the flat is determined, drawing is performed by enlarging or reducing the usual letter shape horizontally or vertically. For example, when the font style of the long body is determined, drawing is performed by reducing the size of the normal character in the horizontal direction or enlarging it in the vertical direction. The enlargement / reduction ratio is determined according to the drawing environment. The enlargement / reduction ratio may be dynamically changed according to the layout or the user's decision to input a character string. As an example, in the information processing apparatus 100 according to the first embodiment, when the long font style is determined, the reduction ratio in the horizontal direction is drawn at 0.5.

なお、描画設定情報として取得されるのは、フォントスタイルに限らない。例えば、文字のベースラインの位置やフォントのサイズのように、字形をレイアウトする基準を絶対値で決定する情報も、ステップS201において、描画設定情報として取得される。   Note that what is acquired as drawing setting information is not limited to the font style. For example, information such as the position of a character baseline or the size of a font, which determines the basis for laying out a character by an absolute value is also acquired as drawing setting information in step S201.

ステップS202では、描画情報取得部112が、描画すべき表示画面において設定されている、アイコンに依存しない描画設定情報を取得する。そして、取得した描画設定情報を、描画コンテキストに設定する。   In step S202, the drawing information acquisition unit 112 acquires drawing setting information that does not depend on the icon, which is set on the display screen to be drawn. Then, the acquired drawing setting information is set in the drawing context.

ステップS203では、文字列取得部111が、描画する文字列の各文字を示す情報と、指定されたフォントを示す情報を取得する。具体的には、文字コードの配列と、それらを描画するために指定された1以上のフォントを示す情報を取得する。   In step S203, the character string acquisition unit 111 acquires information indicating each character of the character string to be drawn and information indicating the designated font. Specifically, information indicating an array of character codes and one or more fonts designated for drawing them is acquired.

ステップS204では、特定部113が、取得した文字列の各文字を描画するフォントを特定し、文字列の文字コードの配列から、特定されたフォントのデータに格納された字形のインデックスの配列に変換する。具体的には、ROM102に記憶された複数のフォントの情報のうち、ステップS203で情報を取得したフォントの情報を参照して、取得した文字列の各文字の文字コードに対応するインデックスを探索する。文字コードに対応するインデックスがある場合、指定されたフォントを、描画に用いるフォントとして特定し、グリフインデックス列情報を生成する。文字コードに対応するインデックスが存在しない場合、フォントリスト技術を用いて、優先順に他のフォントのデータを参照し、該当する文字コードについての字形を有する他のフォントからインデックスを得る。これにより、全ての文字について、いずれかのフォントを特定し、特定されたフォントに応じたインデックスからなるグリフインデックス列を生成することができる。いずれのフォントのデータにおいても字形が見つからない場合は、当該文字は、ミッシンググリフとして、不明な文字用にフォントで定義された字形のインデックスを使用して、グリフインデックス列が生成される。なお本実施例では、指定されたフォントの代替として用いるフォントを決定する方法として、フォントリスト技術を用いる例を説明したが、これに限らない。例えば、予め、特定の文字コードに対しては、特定のフォントから字形を取得するように設定しておくこともできる。なお、描画する文字列が定型文である場合、文字列取得部111は、文字列を文字コードの配列ではなく、数値や文字列で表現される定数として、取得する場合もある。その場合も、ROM102に記憶された情報を参照して、取得した定数に対応するグリフインデックス列情報を生成する。ただし、参照先はROM102に限らず、記憶装置104が保持するフォントを参照してもよいし、通信インターフェース107経由で、外部装置からフォントデータを取得し、RAM103に展開して参照してもよい。   In step S204, the identifying unit 113 identifies a font for drawing each character of the acquired character string, and converts the array of character codes of the character string into an array of indices of glyphs stored in the specified font data Do. Specifically, among the information of the plurality of fonts stored in the ROM 102, the information on the font for which the information is acquired in step S203 is referred to, and the index corresponding to the character code of each character of the acquired character string is searched. . If there is an index corresponding to the character code, the specified font is specified as the font used for drawing, and glyph index string information is generated. If there is no index corresponding to the character code, font list technology is used to refer to data of other fonts in order of priority, and to obtain indexes from other fonts having glyphs for the corresponding character code. This makes it possible to identify any font for all characters and generate a glyph index sequence consisting of an index according to the identified font. If no glyph is found in any font data, the character is generated as a missing glyph using a glyph index defined in the font for the unknown character to generate a glyph index sequence. In the present embodiment, an example of using font list technology has been described as a method of determining a font to be used as a substitute for a designated font, but the present invention is not limited to this. For example, for a specific character code, it may be set in advance to acquire a character form from a specific font. When the character string to be drawn is a fixed phrase, the character string acquisition unit 111 may acquire the character string not as an array of character codes but as a constant represented by a numerical value or a character string. Also in this case, with reference to the information stored in the ROM 102, glyph index string information corresponding to the acquired constant is generated. However, the reference destination is not limited to the ROM 102, and may refer to a font held by the storage device 104, or font data may be acquired from an external device via the communication interface 107 and expanded on the RAM 103 for reference. .

また、描画環境がアラビア語などの右から左に描画する文字列が含まれる言語向けである場合や、受け取った文字列の一部にアラビア語が含まれるなどの場合には、文字列の論理的な順序と、描画する順序が異なる場合がある。こうした場合、特定部113は、Unicode Standard Annex #9(http://www.unicode.org/reports/tr9/tr9−29.html)の仕様に従い、まず文字を、描画する順序に並び替える。そして、指定されたフォントの情報を参照して、並び替え後の文字列をグリフインデックス列情報へ変換する。なお本実施例では、横書きの文字列は、より左側に配置される文字から順に描画し、縦書きの文字列は、より上側に配置される文字から順に描画を行う。   In addition, if the drawing environment is for a language that includes a string that draws right to left, such as Arabic, or if part of the received string contains Arabic, the logic of the string is Order may differ from the drawing order. In such a case, the identification unit 113 first rearranges the characters in the drawing order according to the specification of Unicode Standard Annex # 9 (http://www.unicode.org/reports/tr9/tr9-29.html). Then, referring to the specified font information, the rearranged character string is converted into glyph index string information. In the present embodiment, the horizontal writing character string is drawn in order from the characters arranged on the left side, and the vertical writing character string is drawn in order from the characters arranged on the upper side.

ステップS205では、描画部114が、グリフインデックス列から、描画順に沿って、同一のフォントで描画される部分配列を選択し、描画処理の処理対象とする。   In step S205, the drawing unit 114 selects, from the glyph index string, a partial array drawn with the same font along the drawing order, and sets it as a processing target of the drawing processing.

ステップS206では、判定部115が、グリフインデックス列情報に基づいて、選択した部分配列に相当する文字を描画するフォントを特定し、特定したフォントに対して個別に描画設定情報が決定されているかどうかを判定する。選択した部分配列に相当する文字を描画するフォントに、個別に描画設定情報が決定されている場合(ステップS206でYES)、ステップS207に進む。一方、選択した部分配列に相当する文字を描画するフォントに、個別に描画設定情報が決定されていない場合(ステップS206でNO)は、ステップS209に進む。ステップS207において、描画部114は、描画コンテキストにセットされた描画設定情報を、保持部116に保持させる。つまり、フォントに個別に設定された描画設定情報を用いて描画をする間、フォントに依存せず文字列全体に対して設定された描画設定情報の情報を退避させる。   In step S206, the determination unit 115 specifies a font for drawing characters corresponding to the selected partial array based on the glyph index string information, and whether drawing setting information is individually determined for the specified font Determine If drawing setting information is individually determined for the font for drawing characters corresponding to the selected partial array (YES in step S206), the process advances to step S207. On the other hand, if drawing setting information is not determined individually for the font for drawing the characters corresponding to the selected partial array (NO in step S206), the process proceeds to step S209. In step S207, the drawing unit 114 causes the holding unit 116 to hold the drawing setting information set in the drawing context. That is, while drawing is performed using drawing setting information set individually for the font, information of drawing setting information set for the entire character string is saved independently of the font.

ステップS208において、描画部114は、選択した部分配列に相当する文字を描画するフォントに個別に設定された描画設定情報を取得し、描画コンテキストの描画設定情報を更新する。ステップS206〜ステップS208の処理により、フォントに個別に描画設定情報が設定されている場合は当該描画設定情報が、フォントに個別に描画設定情報が設定されていない場合は文字列全体に設定された描画設定情報が、描画コンテキストに設定される。   In step S208, the drawing unit 114 acquires drawing setting information individually set for the font for drawing characters corresponding to the selected partial array, and updates the drawing setting information of the drawing context. The drawing setting information is set to the entire character string when drawing setting information is set individually for the font by the processing in step S206 to step S208, and when the drawing setting information is not set individually for the font. Drawing setting information is set in the drawing context.

ステップS209では、描画部114が、描画コンテキストに設定された描画設定情報を反映するように、部分配列に対応する文字列を描画する。本実施例では、フォントスタイルに応じた変形や変化が施された文字が描画されることとなる。   In step S209, the drawing unit 114 draws a character string corresponding to the partial array so as to reflect the drawing setting information set in the drawing context. In this embodiment, characters which have been subjected to deformation or change in accordance with the font style are drawn.

ステップS210では、判定部115が再び、選択されている部分配列に対応する文字を描画するフォントに、個別に設定された描画設定情報があるか否かを判定する。設定されていると判定された場合(ステップS210でYES)、ステップS211に進む。一方、設定されていないと判定された場合(ステップS210でNO)、ステップS212に進む。ステップS211では、描画部114が、保持部116に保持されていた描画設定情報を読み出して、描画コンテキストに設定する。なお、ステップS210では、描画部114が、保持部116に描画設定情報が保持されているか、すなわち、ステップS207において退避させた描画設定情報があるかを判定しても構わない。この場合は、ステップS211において、描画コンテキストの設定を更新した段階で、保持部116が保持していた情報を破棄(初期化)する処理を加える。   In step S210, the determination unit 115 determines again whether there is individually set drawing setting information in the font for drawing characters corresponding to the selected partial array. If it is determined that the setting is made (YES in step S210), the process proceeds to step S211. On the other hand, when it is determined that the setting is not made (NO in step S210), the process proceeds to step S212. In step S211, the drawing unit 114 reads out the drawing setting information held in the holding unit 116, and sets it in the drawing context. In step S210, the drawing unit 114 may determine whether the drawing setting information is held in the holding unit 116, that is, whether there is drawing setting information saved in step S207. In this case, in step S211, when the setting of the drawing context is updated, a process of discarding (initializing) the information held by the holding unit 116 is added.

そして、ステップS212では、描画部114が、グリフインデックス列情報に基づいて、文字列全体の描画が終了したかを判定する。終了していないと判定される場合(ステップS212でNO)は、ステップS205に戻り、描画順に沿って順次部分配列を選択する。一方、終了したと判定された場合(ステップS212でYES)は、処理を終了する。   Then, in step S212, the drawing unit 114 determines whether the drawing of the entire character string is completed based on the glyph index string information. If it is determined that the process has not ended (NO in step S212), the process returns to step S205, and a partial array is sequentially selected in the drawing order. On the other hand, if it is determined that the process has ended (YES in step S212), the process ends.

ここで、図4を参照して、本実施例の処理に従って描画される文字列の具体例を説明する。以下では、GUI(Graphical User Interface)のための表示画面が描画される場面を想定し、図2のフローチャートが1回実行されることで、1つのGUI部品に対応する文字列の描画が行われるとする。例えば、GUI部品である1つのボタンに、「Quality」という英単語と、扇形の図形のアイコンとが描画される例を説明する。   Here, a specific example of the character string drawn according to the process of the present embodiment will be described with reference to FIG. In the following, assuming that a display screen for GUI (Graphical User Interface) is drawn, the flow chart of FIG. 2 is executed once, whereby a character string corresponding to one GUI component is drawn. I assume. For example, an example will be described in which an English word "Quality" and a fan-shaped graphic icon are drawn on one button which is a GUI component.

まず、従来のように、複数のフォントが混在することを考慮せず、文字列フォントスタイルの適応した場合の描画結果の例を示す。文字列を構成する全ての文字を、「ノーマル」のフォントスタイルで描画した場合、描画結果は図4(c)のようになる。例えば、GUI画面の設計者が、ボタンオブジェクトをデザインするにあたり、文字列を描画する幅をより狭くしたいと考え、この文字列に対して「長体」のフォントスタイルを設定したとする。この指示に従い、全ての文字を長体のフォントスタイルで描画した場合、通常の字形に対して水平方向に0.5の縮小率が適用され、描画結果は図4(a)のようになる。この時、複数のフォントが混在することを考慮しなければ、扇形の図形のアイコンに対しても「長体」のフォントスタイルが適応され、扇形が歪んでしまう。多くの場合、絵文字など図形は、フォントスタイルを適応すると、異なる図形との識別能力が低下してしまうなど、視認性が低下する。しかしながら、アイコンの部分のフォントスタイルを後から解除したり、英単語の部分とアイコン部分とを別の文字列として、それぞれにフォントスタイルを設定したり、するのは設計者にとって煩わしい作業となる。   First, an example of a drawing result in the case where the character string font style is applied is shown without considering that a plurality of fonts are mixed as in the prior art. When all the characters constituting the character string are drawn in the "normal" font style, the drawing result is as shown in FIG. 4 (c). For example, it is assumed that the designer of the GUI screen sets the font style of “long body” to this character string in order to narrow the width for drawing the character string in designing the button object. According to this instruction, when all characters are drawn in the long font style, a reduction ratio of 0.5 is applied to the normal character shape in the horizontal direction, and the drawing result is as shown in FIG. 4 (a). At this time, if it is not taken into consideration that a plurality of fonts are mixed, the “long body” font style is also applied to the fan-shaped graphic icon, and the fan shape is distorted. In many cases, when a font style is applied to a figure such as a pictogram, its visibility decreases, for example, the ability to distinguish between different figures decreases. However, releasing the font style of the icon part later, setting the font style for each of the English word part and the icon part as separate character strings, and the like are bothersome tasks for the designer.

そこで、本実施例では、予めアイコンフォント自体に描画設定情報を設定することで、アイコンを含む文字列に対してどのようなフォントスタイルが指示された場面であっても、アイコン自体の見た目が常に同一となることを可能とする。例えば、アイコンフォントに対して個別に「ノーマル」(変形なし)を示すフォントスタイルが設定する。   Therefore, in the present embodiment, by setting the drawing setting information to the icon font itself in advance, the appearance of the icon itself is always constant regardless of what font style is instructed for the character string including the icon. It is possible to be the same. For example, a font style indicating “normal” (no deformation) is set individually for the icon font.

上述した具体例に、本実施例を適応した場合に図2のフローチャートの各ステップで実行される処理を説明する。まず、画面遷移により、GUI画面の描画が指示されたことに応じて、画面の設計情報が解析され、該当するボタンオブジェクトの文字列の情報が通知される。まず、ステップS201において、描画情報取得部112によって、アイコンフォントに対して設定された「ノーマル」を示すフォントスタイルが取得される。なお、ここでは個別の設定が行われるフォントはアイコンフォントのみとするが、他にも個別設定がなされたフォントの情報を取得しても構わない。次に、ステップS202において、文字列全体に対して設定された「長体」のフォントスタイルが取得され、描画コンテキストに設定される。次に、ステップS203において、文字列取得部111が、英語表記の描画用にデザインされたフォントでの描画が指定された「Quality」という文字列と、アイコンフォントでの描画が指定された扇形の図形アイコンの文字列の文字コードを取得する。なお、以下、英語表記の描画用にデザインされたフォントを単に英語フォントという。次に、ステップS204において、特定部113が、取得された文字コードの配列を、グリフインデックス列に変換する。ここで配列は、英語フォントのグリフインデックス列情報と、アイコンフォントのグリフインデックス列情報とで構成される。   The process executed in each step of the flowchart of FIG. 2 when the present embodiment is applied to the above-described specific example will be described. First, in accordance with screen transition, in response to an instruction to draw a GUI screen, design information of the screen is analyzed, and information of a character string of the corresponding button object is notified. First, in step S201, the drawing information acquisition unit 112 acquires a font style indicating “normal” set for the icon font. Here, only the icon font is used as the font for which the individual setting is performed, but it is also possible to acquire information on the font for which the individual setting is made. Next, in step S202, the "long body" font style set for the entire character string is acquired and set as the drawing context. Next, in step S203, the character string acquisition unit 111 designates a character string "Quality" for which drawing in a font designed for drawing in English is specified and a fan shape for which drawing in icon font is specified. Get character code of character string of graphic icon. In the following, a font designed for drawing in English is simply referred to as an English font. Next, in step S204, the specification unit 113 converts the acquired character code array into a glyph index string. Here, the array is composed of glyph index string information of English font and glyph index string information of icon font.

次にステップS205では、描画部114により、描画順に従い、英語フォントのグリフインデックス列情報(「Quality」部分の文字列)が処理対象の部分配列として選択される。英語フォントには個別の描画設定情報は設定されていないので、ステップS209において、描画部114により、「長体」のフォントスタイルを反映した描画が実行される。描画コンテキストの更新はなく、文字列の描画が終了していないことから、再びステップS205で、描画部114により、アイコンフォントのグリフインデックス列情報(扇形の図形部分の文字列)が処理対象の部分配列として選択される。ここでアイコンフォントには、個別に「ノーマル」のフォントスタイルが設定されている。従って、ステップS207において、「長体」のフォントスタイルの情報が保持部116に退避され、ステップS208において、描画コンテキストの描画設定情報が「ノーマル」に更新される。ステップS209では、描画部114により、「ノーマル」のフォントスタイルを反映した描画が実行される。ステップS211において、退避されていた「長体」のフォントスタイルが再び描画コンテキストに設定され、取得された文字列全体の描画が終了したことから、ステップS212において、YESと判定され、一連の処理が終了する。以上の処理による描画結果は図4(b)のようになる。個々の文字列に対して設定される描画設定情報によらず、アイコンフォントで描画される文字は、常にノーマルのフォントスタイルで描画することが可能になる。   Next, in step S205, the drawing unit 114 selects glyph index string information (character string of "Quality" portion) of the English font as a partial array to be processed according to the drawing order. Since individual drawing setting information is not set in the English font, in step S209, the drawing unit 114 executes drawing that reflects the "long body" font style. Since the drawing context has not been updated, and the drawing of the character string has not been completed, the drawing unit 114 again processes the glyph index string information of the icon font (the character string of the fan-shaped graphic portion) at step S205. Selected as an array. Here, "Normal" font style is individually set to the icon font. Therefore, in step S207, the information on the font style of the "long body" is saved to the holding unit 116, and in step S208, the drawing setting information of the drawing context is updated to "normal". In step S 209, the drawing unit 114 executes drawing that reflects the “normal” font style. In step S211, the font style of the "long body" that has been evacuated is again set as the drawing context, and drawing of the entire acquired character string is completed, so YES is determined in step S212, and a series of processing finish. The drawing result by the above processing is as shown in FIG. Regardless of the drawing setting information set for each character string, characters drawn with the icon font can always be drawn with the normal font style.

次に、図5を参照して、描画設定情報として文字のベースラインを設定し、複数のフォントが混在する文字列の見た目の整合性を管理する具体例を説明する。ベースラインとは、文字列を構成する字形を並べる際に、配置の基準とする線のことである。ベースラインに対して、字形をどのように配置するかは、通常、フォントに応じて異なるデザインがなされている。例えば日本語フォントで横書きの文字列を描画する場合は、漢字がベースラインより上にくるようにデザインされることが多い。一方で、中国語フォントでは、漢字の下側の一部が、ベースラインを越えるようにデザインされていることがある。このとき、図5のように、日本語フォントが指定された「東京」という文字列と、中国語フォントが指定された「香港」の文字列を描画することを想定する。従来のように、日本語フォントと中国語フォントのグリフインデックス列が混在することを考慮しなければ、描画結果は図5(a)のようになる。図5(a)では、各フォントについて、ベースラインと文字との位置関係は、デザインされた条件に従っているが、一見すれば、漢字が上下にずれ、見た目の整合背が損なわれたように見えてしまう。   Next, with reference to FIG. 5, a concrete example will be described in which a character baseline is set as drawing setting information, and the visual consistency of a character string in which a plurality of fonts are mixed is managed. A baseline is a line used as a reference of arrangement, when arranging the character form which constitutes a character string. How to arrange the glyphs with respect to the baseline is usually designed differently depending on the font. For example, when drawing a horizontal character string in Japanese font, it is often designed so that the kanji comes above the baseline. On the other hand, in Chinese fonts, part of the lower part of the kanji may be designed to go beyond the baseline. At this time, as shown in FIG. 5, it is assumed that a character string “Tokyo” in which a Japanese font is designated and a character string “Hong Kong” in which a Chinese font is designated are drawn. As in the prior art, the drawing result is as shown in FIG. 5A if it is not considered that the glyph index sequence of the Japanese font and the Chinese font is mixed. In FIG. 5A, for each font, the positional relationship between the baseline and the characters conforms to the designed conditions, but at first glance, it appears that the kanji has shifted up and down, and the visual matching height has been lost. It will

そこで本実施例では、予め、中国語フォントに対して、個別に設定する描画設定情報として、ベースラインの位置を設定決定することで、このような課題を解決できる。すなわち、中国語フォントの漢字がベースラインを上にずらすように指示する情報を設定する。これにより、描画結果は図5(b)のようになる。これにより、日本語フォントと中国語フォントが混在する文字列であっても、見た目の整合性を損なわずに描画することができる。漢字の並びが揃って見えるので、閲覧者にとっては視認性が低下せず、読みやすい文字列を描画することができる。なお、ベースラインをずらす量は、設計者が予め任意に決定した値を、取得することができる。さらには、隣接して描画される2つのフォントのデータを解析することにより、自動的に、特定のフォントのベースラインの位置を算出することもできる。例えばフォントのデータから、字形を配置する際に、ベースラインより下に出る部分の長さを取得し、その分だけ上にずらしてもよい。また、フォントに含まれる字形データを全て取得し、字形が全てベースラインより上に来るようにベースラインのずらす量の値を算出することもできる。このように、算出により、特定のフォントに個別に設定される描画設定情報を取得することで、設計者の作業を簡略化させることができる。   Therefore, in the present embodiment, such a problem can be solved by setting and determining the position of the baseline in advance as drawing setting information to be set individually for Chinese fonts. That is, information is set to instruct that Chinese characters of Chinese font shift the baseline upward. As a result, the drawing result is as shown in FIG. As a result, even a character string in which Japanese fonts and Chinese fonts are mixed can be drawn without losing the visual consistency. Since the arrangement of kanji characters looks uniform, it is possible to draw easy-to-read text without reducing the visibility for the viewer. In addition, the amount which shifts a baseline can acquire the value which the designer determined arbitrarily beforehand. Furthermore, by analyzing data of two fonts drawn adjacent to each other, it is also possible to automatically calculate the baseline position of a particular font. For example, when arranging the character form from the data of the font, the length of the part that goes below the baseline may be obtained and shifted upward by that amount. In addition, it is also possible to acquire all character data included in the font and calculate the value of the baseline shift amount so that all the characters are above the baseline. As described above, the designer's operation can be simplified by acquiring the drawing setting information individually set for the specific font by the calculation.

次に、図6(a)及び(b)を参照して、描画設定情報として文字の描画サイズを設定し、複数のフォントが混在する文字列の見た目の整合性を管理する具体例を説明する。描画部114は、字形データに対して、指定を受けたフォントサイズに応じた拡縮を行い描画する。拡縮の基準としては、フォントが持つunitsPerEMやmax−heightの値が使用される。unitsPerEMはデザインの基準となる数値、max−heightはフォントに含まれる字形の最大高さの値である。例えば字形データがベクトルデータで、サイズ20で描画される場合、ベクトルデータがもつ値をunitsPerEMで割り、20を掛けた結果が実際の描画に使用する値になる。unitsPerEMの代わりにmax−heightで割ってもよい。ただし、unitsPerEMに対してどのように字形をデザインするかはフォントのデザイナに任されている。例えば英語表記を描画する為のフォントでは、アルファベットの大文字の高さがunitsPerEMに近くなるようにデザインされる。一方で、アラビア語表記を描画する為のフォントでは、一般的な文字の上側に装飾文字と呼ばれる部分が存在する場合があるために、多くの字形の高さはunitsPerEMの半分程度になることもある。ここで従来のように、文字列に複数のフォントが混在することを考慮せずに、文字列全体に一律の文字サイズを設定した場合を例示する。英語とアラビア語の表記をどちらも含む文字列を、同じフォントサイズの「18」で描画した結果は図6(a)のようになり、英語に対してアラビア語の見た目が小さく見えてしまう。これに対し、本実施例では、予め、アラビア語フォントに個別に描画設定情報としてフォントサイズを「32」と設定しておくことが可能となる。その上で本実施例を適応した場合の描画結果は図6(b)のようになり、英語フォントに対するアラビア語フォントの見た目のバランスを向上させることができる。ここで、一般的に使用頻度がより高い英語表記では、アルファベットには様々な装飾を加えて描画することが求められる。従って、比較的使用頻度が低いアラビア語フォントに対して、個別の設定を行うことで、使用頻度の高い言語のフォントに対する自由度を確保した上で、より効率的な画面設計が可能となる。ただし、英語フォントに対して個別の設定を行うことももちろん可能である。   Next, with reference to FIGS. 6A and 6B, a concrete example will be described in which the drawing size of characters is set as drawing setting information, and the visual consistency of a character string in which a plurality of fonts are mixed is managed. . The drawing unit 114 performs drawing on the character data by scaling according to the designated font size. As the scaling standard, the values of units PerEM and max-height which the font has are used. unitsPerEM is a numerical value which is a standard of design, and max-height is a value of the maximum height of the glyph included in the font. For example, if character data is vector data and is drawn at size 20, the value of the vector data is divided by unitsPerEM, and the result of multiplying by 20 becomes the value to be used for actual drawing. Instead of units Per EM, it may be divided by max-height. However, how to design glyphs for unitsPerEM is left to the font designer. For example, in the font for drawing English notation, the capital letters of the alphabet are designed to be close to unitsPerEM. On the other hand, in the font for drawing Arabic notation, the height of many glyphs may be about half that of unitsPerEM, because there may be a part called a decorative character above the general character. is there. Here, as in the prior art, the case where a uniform character size is set for the entire character string without taking into consideration that a plurality of fonts are mixed in the character string is exemplified. As a result of drawing a character string including both English and Arabic notations with “18” of the same font size, the result is as shown in FIG. 6 (a), and the appearance of Arabic for English looks smaller. On the other hand, in this embodiment, it is possible to set the font size to "32" as drawing setting information individually for the Arabic font in advance. Then, the drawing result in the case where the present embodiment is applied is as shown in FIG. 6B, and it is possible to improve the balance of the appearance of the Arabic font with respect to the English font. Here, in the English notation generally used more frequently, the alphabet is required to be drawn with various decorations. Therefore, by setting individual settings for the relatively infrequently used Arabic font, it is possible to design the screen more efficiently while securing the degree of freedom for the frequently used language font. However, it is of course possible to set individual settings for the English font.

さらに、上記の例で個別に設定したフォントサイズ「32」は、画面の設計者が任意に決定することを想定したが、フォントや字形の情報から自動的に算出し、算出結果を描画設定情報として決定してもよい。例えば、英語フォントのunitsPerEMとアラビア語フォントのmax−heightが同じになるように、字形データを比較して、設定すべきフォントサイズを求めてもよい。また、フォントが持つベースラインに対する高さのひとつであるascendのunitsPerEMに対する比率が同じになるようにフォントサイズを算出してもよい。また、英語フォントとアラビア語フォントで同じ文字に対する字形がないか検索し、見つかった場合はその字形の外接矩形が同じ大きさになるようにフォントサイズを算出してもよい。   Furthermore, although the font size “32” individually set in the above example was assumed to be determined arbitrarily by the designer of the screen, it is automatically calculated from the information of the font and character, and the calculation result is drawn setting information It may be determined as For example, font data to be set may be determined by comparing character data so that units PerEM of English font and max-height of Arabic font become the same. In addition, the font size may be calculated so that the ratio of ascend, which is one of the heights of the font to the baseline, to the unitsPerEM is the same. Also, the font size may be calculated so that the glyph for the same character is searched in the English font and the Arabic font, and if it is found, the bounding rectangle of the character has the same size.

以上説明したように、本実施例によれば、複数のフォントが混在する文字列を描画させる場合に、文字の変化を指示する情報の設定作業の手間数を低減させつつ、複数のフォントの見た目の整合性を管理することができる。それにより、描画結果の文字列の視認性を低下させず、様々な装飾を施した文字列をデザインすることが可能となる。   As described above, according to this embodiment, when drawing a character string in which a plurality of fonts are mixed, the appearance of the plurality of fonts can be reduced while reducing the number of setting operations of the information instructing change of characters. Can manage the integrity of As a result, it is possible to design a character string with various decorations without reducing the visibility of the character string of the drawing result.

<変形例>
実施例1では、描画設定情報を定数または絶対値で設定する方法について説明した。その変形例として、描画設定情報を相対値で決定する例について説明する。
<Modification>
In the first embodiment, the method of setting drawing setting information with a constant or an absolute value has been described. As a modification, an example in which the drawing setting information is determined by the relative value will be described.

変形例にかかる情報処理装置100のハードウェア構成、および機能構成は実施例1に準じるため詳細説明を省略する。ただし、変形例において、描画情報取得部112は、相対値を含む描画設定情報を取得する。また、判定部115は、保持部116に保持した描画設定情報を累積するか否かを判定し、描画部114の描画を制御する。   The hardware configuration and the functional configuration of the information processing apparatus 100 according to the modification conform to the first embodiment, and thus the detailed description will be omitted. However, in the modification, the drawing information acquisition unit 112 acquires drawing setting information including a relative value. Further, the determination unit 115 determines whether or not the drawing setting information held in the holding unit 116 is accumulated, and controls the drawing of the drawing unit 114.

以下、図3のフローチャートに沿って実施例の動作を説明する。なお、図2のフローチャートと同じ処理を行うステップには同番号を付して適宜説明を省略し、実施例1と異なる点を中心に簡潔に説明する。   Hereinafter, the operation of the embodiment will be described along the flowchart of FIG. The same steps as those in the flowchart of FIG. 2 will be assigned the same reference numerals and descriptions thereof will be omitted as appropriate, and points different from the first embodiment will be briefly described.

ステップS201aにおいて、描画情報取得部112は、特定のフォントに対して個別に設定された描画設定情報を取得する。ただし、変形例では、ステップS201において取得する描画設定情報に、相対値が含まれる。例えば、アラビア語フォントについて個別に設定された描画設定情報として、デフォルトの英語フォントに設定されたフォントサイズに対するサイズ倍率を取得する。上述したように、英語フォントではアルファベットの大文字の高さがunitsPerEMに近くなるようにデザインされるのに対し、アラビア語フォントでは装飾文字が存在するため、多くの字形の高さはunitsPerEMの半分程度にデザインされている。そのため、英語フォントとアラビア語フォントを同じサイズで描画するとアラビア語が図6(a)のように小さく見えるので、例えば設計時に、アラビア語フォントのサイズ倍率を2.0に設定する。この場合、英語フォントに対して設定されたフォントサイズの値を2.0倍した値が、アラビア語フォントに個別に設定された描画設定情報としての、フォントサイズとなる。なお、ここでは一例として、浮動小数点数値を一つ決定するが、X方向とY方向で異なる倍率を決定してもよい。
なお、一例としてサイズ倍率を2.0としたが、描画情報取得部112が、フォントや字形の情報から自動的に算出し、算出結果を相対値としてもよい。例えば、英語フォントとアラビア語フォントで同じ文字に対する字形がないか検索し、見つかった場合はその字形の外接矩形が同じ大きさになるようにサイズ倍率を算出する。また、フォントが持つベースラインに対する高さのひとつであるascendのunitsPerEMに対する比率が同じになるようにサイズ倍率を算出してもよい。
In step S201a, the drawing information acquisition unit 112 acquires drawing setting information individually set for a specific font. However, in the modification, the drawing setting information acquired in step S201 includes a relative value. For example, as drawing setting information set individually for the Arabic font, a size scaling factor for the font size set for the default English font is acquired. As mentioned above, while the English font is designed so that the capital letter height of the alphabet is close to unitsPerEM, the decorative letters exist in the Arabic font, so the height of many glyphs is about half that of unitsPerEM It is designed to Therefore, if the English font and the Arabic font are drawn in the same size, the Arabic language looks small as shown in FIG. 6A. For example, at the time of design, the size magnification of the Arabic font is set to 2.0. In this case, the value obtained by multiplying the value of the font size set for the English font by 2.0 is the font size as the drawing setting information set individually for the Arabic font. Here, as one example, one floating point value is determined, but different magnifications may be determined in the X direction and the Y direction.
Although the size magnification is set to 2.0 as an example, the drawing information acquisition unit 112 may automatically calculate the information from fonts and glyphs, and may use the calculation result as a relative value. For example, a search is made as to whether there is a glyph for the same character in the English font and the Arabic font, and if found, the size magnification is calculated so that the bounding rectangle of the glyph has the same size. Also, the size scaling factor may be calculated so that the ratio of ascend, which is one of the height of the font to the baseline, to the unitsPerEM is the same.

ステップS202aでは、描画情報取得部112が、描画すべき表示画面において設定されている、アイコンに依存しない描画設定情報を取得する。変形例では、ステップS202aにおいても、取得さる描画設定情報に、相対値が含まれる。そして、取得した描画設定情報と相対値とに基づいて定まるを、描画設定情報を描画コンテキストに設定する。例えば、サイズ倍率1.0が取得されたとすると、アラビア語以外の文字は、指定されたフォントサイズのままで描画される。   In step S202a, the drawing information acquisition unit 112 acquires drawing setting information that does not depend on the icon, which is set on the display screen to be drawn. In the modification, the drawing setting information to be acquired also includes a relative value in step S202a. Then, the drawing setting information is set in the drawing context as determined based on the acquired drawing setting information and the relative value. For example, if a size magnification of 1.0 is acquired, characters other than Arabic are drawn with the specified font size.

ステップS203aでは、文字列取得部111が、描画する文字列の各文字を示す情報と、指定されたフォントを示す情報、及び相対値で示された描画設定情報に対する基準値を取得する。具体的には、文字コードの配列と、それらを描画するために指定された1以上のフォントを示す情報、及び文字列に対して指定されたフォントサイズ等の絶対値を取得する。例えば、文字を入力したユーザが文字列に、英語フォントとフォントサイズ「18」を設定した場合、指定されたフォントは英語フォント、基準値は「18」となる。ステップS204〜ステップS207の処理は実施例1と同内容であるため、詳細な説明を省略する。   In step S203a, the character string acquisition unit 111 acquires information indicating each character of the character string to be drawn, information indicating the designated font, and a reference value for the drawing setting information indicated by the relative value. Specifically, an array of character codes, information indicating one or more fonts designated for drawing them, and an absolute value such as a font size designated for a character string are acquired. For example, when the user who has input characters sets the English font and the font size “18” in the character string, the designated font is the English font and the reference value is “18”. The processes of steps S204 to S207 have the same contents as those of the first embodiment, and thus detailed description will be omitted.

変形例では、ステップS207において、描画部114が、描画コンテキストにセットされた描画設定情報を、保持部116に保持させると、処理はステップS301に進む。   In the modification, in step S207, when the drawing unit 114 causes the holding unit 116 to hold the drawing setting information set in the drawing context, the process proceeds to step S301.

ステップS301では、判定部115が、描画設定情報を累積して用いるかを判定する。つまり、この時点で描画コンテキストに設定されている描画設定情報に含まれる相対値と、特定のフォントに個別に設定された相対値を累積した値を、描画に反映するか否かを判断する。本変形例では、表示画面の設計時に予め、累積して用いることを前提とした相対値が設定されているか、累積しないで用いる相対値が設定されているかを示す情報がフラグ等で用意されており、判定部115はそれに基づいて判定を行う。また、設計時の決定結果に限らず、情報処理装置100のユーザによる設定に応じて切り替えられても良い。累積すると判定された場合(ステップS301でYES)には、ステップS302に進み、累積しないと判定された場合(ステップS301でNO)には、ステップS208に進む。ステップS208以降の処理は実施例1と共通するため説明を省略する。   In step S301, the determination unit 115 determines whether drawing setting information is accumulated and used. That is, it is determined whether or not the value obtained by accumulating the relative value included in the drawing setting information set in the drawing context at this point in time and the relative value individually set for the specific font is reflected in the drawing. In this modification, information indicating whether a relative value based on the assumption that it is to be accumulated and used is set in advance or a relative value to be used without being accumulated is set by a flag or the like when designing the display screen. The determination unit 115 makes a determination based on that. Moreover, it may be switched according to the setting by the user of the information processing apparatus 100 as well as the determination result at the time of design. If it is determined to be cumulative (YES in step S301), the process proceeds to step S302, and if it is determined not to be cumulative (NO in step S301), the process proceeds to step S208. The processes after step S208 are the same as those in the first embodiment, and thus the description thereof is omitted.

ステップS302に進んだ場合、描画部114は、描画コンテキストに設定されていた相対値と、選択されている部分配列に対応するフォントの個別の相対値とを累積する。なお、相対値が積によって累積されるか、和によって累積されるかは描画設定情報の種類や描画環境、デザインの方針、ユーザの指示などにより予め設定された方法に従う。ここでは一例として、アラビア語フォントを描画する場合には、ステップS202aで取得されたサイズ倍率の1.0に対し、アラビア語フォントのサイズ倍率である2.0が積算され、累積値は2.0となるとする。ステップS303において、描画部114は、累積した相対値を含む描画設定情報(選択されている部分配列に対応するフォントの描画設定情報)を描画コンテキストに設定する。そして、ステップS209に進む。   When the process proceeds to step S302, the drawing unit 114 accumulates the relative values set in the drawing context and the individual relative values of the font corresponding to the selected partial array. Whether the relative values are accumulated by a product or a sum depends on a type of drawing setting information, a drawing environment, a design policy, a method preset by a user's instruction or the like. Here, as an example, in the case of drawing the Arabic font, 2.0 which is the size magnification of the Arabic font is integrated with 1.0 of the size magnification obtained in step S 202 a, and the cumulative value is 2. Suppose that it becomes 0. In step S303, the drawing unit 114 sets drawing setting information (drawing setting information of a font corresponding to the selected partial array) including the accumulated relative value as a drawing context. Then, the process proceeds to step S209.

ステップS209では、描画部114によって、文字列に対して指定されたフォントサイズに対し、相対値が反映されたフォントサイズで、文字の描画が実行される。   In step S209, the drawing unit 114 executes character drawing with the font size in which the relative value is reflected with respect to the font size designated for the character string.

ここまで説明している具体例では、英語フォントのサイズ倍率は1.0で、アラビア語フォントのサイズ倍率は2.0である。従って、例えば、ユーザが文字列に、英語フォントとフォントサイズ「18」が設定された場合、アラビア語フォントは2.0倍されたフォントサイズ「36」で描画される。描画した結果は図6(c)のようになり、従来例の図6(a)に対しては、英語フォントに対するアラビア語フォントの見た目のバランスが向上するという効果が得られる。以降の処理は実施例1と共通するため、詳細な説明を省略する。   In the example described so far, the size magnification of the English font is 1.0 and the size magnification of the Arabic font is 2.0. Therefore, for example, when the user sets the English font and the font size “18” in the character string, the Arabic font is drawn with the font size “36” multiplied by 2.0. The result of drawing is as shown in FIG. 6C. With respect to FIG. 6A of the conventional example, an effect of improving the balance of appearance of the Arabic font with respect to the English font is obtained. The subsequent processing is the same as in the first embodiment, and thus the detailed description is omitted.

以上説明したように、変形例においても、複数のフォントが混在する文字列を描画させる場合に、文字の装飾を指示する作業工数を低減させつつ、複数のフォントの見た目の整合性を管理することができる。それにより、描画結果の文字列の視認性を低下させず、様々な装飾を施した文字列をデザインすることが可能となる。   As described above, also in the modified example, when drawing a character string in which a plurality of fonts are mixed, the appearance consistency of the plurality of fonts is managed while reducing the number of operation steps for instructing the decoration of characters. Can. As a result, it is possible to design a character string with various decorations without reducing the visibility of the character string of the drawing result.

なお、上述した変形例では、フォントに依存しない描画設定情報も、相対値で示された情報を含むとしたが、これに限らない。例えば、フォントに依存しない描画設定情報は絶対値として取得され、その絶対値を、ステップS203aで取得される基準値に相当する値として扱うことも可能である。   In addition, in the modification mentioned above, although drawing setting information which does not depend on a font also included the information shown by the relative value, it is not restricted to this. For example, drawing setting information not dependent on font may be acquired as an absolute value, and the absolute value may be treated as a value corresponding to the reference value acquired in step S203a.

なお、描画設定情報を定数または絶対値で設定する実施例1と、描画設定情報に相対値を用いる実施例1の変形例の処理は、排他的に実施されることもできるが、組み合わせることもできる。例えば、描画設定情報のうち、フォントスタイルは絶対値、フォントサイズについては相対値で示された値に基づく処理を行う。また例えば、フォント毎に、絶対値あるいは相対値のいずれか適切な値で描画設定情報が設定されてもよい。   The process of the first embodiment in which the drawing setting information is set by a constant or an absolute value and the process of the modification of the first embodiment in which a relative value is used for the drawing setting information can be implemented exclusively. it can. For example, of the drawing setting information, the font style performs processing based on the value indicated by the absolute value, and the font size indicates the relative value. Also, for example, drawing setting information may be set with an appropriate value, either an absolute value or a relative value, for each font.

<その他の実施例>
本発明の目的は前述した実施例の機能を実現するソフトウェアの文字描画プログラムコードを記録した記録媒体を、システムあるいは装置に供給してもよい。そのシステムあるいは装置のコンピュータ(またはCPUまたはMPU)が記録媒体に格納された文字描画プログラムコードを読み出し実行することによっても、達成されることは言うまでもない。
この場合、記憶媒体から読み出された文字描画プログラムコード自体が前述した実施形態の機能を実現することとなり、その文字描画プログラムコードを記憶した記憶媒体は本発明を構成することになる。
<Other Embodiments>
The object of the present invention is to provide a system or apparatus with a recording medium having recorded thereon a character drawing program code of software for realizing the functions of the above-described embodiment. It is needless to say that the computer (or CPU or MPU) of the system or the apparatus reads out and executes the character drawing program code stored in the recording medium.
In this case, the character drawing program code itself read from the storage medium implements the functions of the above-described embodiments, and the storage medium storing the character drawing program code constitutes the present invention.

文字描画プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM、DVDなどを用いることができる。
また、コンピュータが読み出した文字描画プログラムコードを実行することにより、前述した実施例の機能が実現されてもよい。更にその文字描画プログラムコードの指示に基づき、コンピュータ上で稼動しているOperating System(OS)などが実際の処理の一部または全部を行ってもよい。その処理によって前述した実施例の機能が実現される場合も含まれることは言うまでもない。
As a storage medium for supplying the character drawing program code, for example, a flexible disk, a hard disk, an optical disk, a magnetooptical disk, a CD-ROM, a CD-R, a magnetic tape, a non-volatile memory card, a ROM, a DVD, etc. are used. be able to.
Further, the functions of the above-described embodiments may be realized by executing the character drawing program code read by the computer. Furthermore, an operating system (OS) or the like operating on a computer may perform part or all of the actual processing based on the instructions of the character drawing program code. It goes without saying that the case where the functions of the above-described embodiment are realized by the processing is included.

さらに、記憶媒体から読み出された文字描画プログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書きこまれてもよい。その後、その文字描画プログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Furthermore, the character drawing program code read out from the storage medium may be written into a memory provided in a function expansion board inserted in the computer or a function expansion unit connected to the computer. Thereafter, based on an instruction of the character drawing program code, a CPU or the like provided in the function expansion board or the function expansion unit performs part or all of the actual processing, and the processing of the above-described embodiment is realized by the processing. It goes without saying that it is also included.

111 文字列取得部
112 描画情報取得部
113 特定部
114 描画部
115 判定部
116 保持部
111 Character string acquisition unit 112 Drawing information acquisition unit 113 Identification unit 114 Drawing unit 115 Determination unit 116 Holding unit

Claims (7)

複数のフォントを用いて、アイコンを含む文字列を描画可能な情報処理装置であって、
描画処理の対象となる文字列に対応する情報を取得する文字列取得手段と、
前記複数のフォントのうち、少なくとも1つの特定のフォントに対して個別に設定された第1のフォントスタイルを示す情報と、前記文字列のうちアイコンを描画するための指定されるフォントであって、前記特定のフォントに個別に設定された第1のフォントスタイルが適用されないフォントであるアイコンフォントに適用される第2のフォントスタイルを示す情報とを取得する描画情報取得手段と、
前記文字列取得手段によって取得された情報に基づいて、前記描画処理の対象となる文字列に含まれる各文字及びアイコンについて、前記複数のフォントのうち、描画に用いるフォントを特定する特定手段と、
前記特定手段によって特定されたフォントが前記少なくとも1つの特定のフォントである場合に、前記特定されたフォントに対して前記第1のフォントスタイルを反映して前記描画処理の対象となる文字列に含まれる文字を描画し、前記特定手段によって特定されたフォントが前記アイコンフォントである場合に、前記第2のフォントスタイルを反映して前記描画処理の対象となる文字列に含まれるアイコンを描画する描画手段と、を備えることを特徴とする情報処理装置。
An information processing apparatus capable of drawing a character string including an icon using a plurality of fonts,
Character string acquisition means for acquiring information corresponding to a character string to be subjected to drawing processing;
Information indicating a first font style individually set for at least one specific font among the plurality of fonts, and a font specified for drawing an icon among the character strings, Drawing information acquiring means for acquiring information indicating a second font style to be applied to an icon font which is a font to which the first font style individually set for the specific font is not applied;
Specifying means for specifying a font to be used for drawing out of the plurality of fonts for each character and icon included in the character string to be subjected to the drawing processing based on the information acquired by the character string acquiring means;
When the font specified by the specifying means is the at least one specific font, the first font style is reflected on the specified font to be included in the character string to be subjected to the drawing process draw the characters, rendering the font specified by the specifying means when a said icon font, to draw the icons included in the character string to be the second font style reflects in the drawing process An information processing apparatus comprising:
前記フォントスタイルは、ノーマル、長体、平体、斜体のいずれかないし複数で構成されることを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the font style includes one or more of a normal, a long, a flat, and an italic. 前記文字列取得手段は、前記文字列を示す情報として文字コードの配列を取得するとともに、前記文字列に対して指定されたフォントを示す情報を取得し、
前記特定手段は、前記取得された文字コードの配列を、前記取得されたフォントを示す情報に基づいて、グリフインデックス列に変換し、
前記描画手段は、前記グリフインデックス列に基づいて、前記描画処理の対象となる文字列のうち、同一のフォントで描画される部分毎に、描画処理を実行することを特徴とする請求項1または2に記載の情報処理装置。
The character string acquisition unit acquires an array of character codes as information indicating the character string, and acquires information indicating a font specified for the character string,
The specifying means converts the acquired array of character codes into a glyph index sequence based on the information indicating the acquired font,
2. The image processing apparatus according to claim 1, wherein the drawing unit executes the drawing process for each portion drawn with the same font in the character string to be subjected to the drawing process based on the glyph index string. The information processing apparatus according to 2.
前記特定手段は、前記文字列取得手段によって取得された配列に含まれる文字コードに対応する字形が、前記指定されたフォントのデータに存在しない場合、予め定められた優先順に従って、前記複数のフォントのうち、前記指定されたフォントとは異なるフォントを、前記文字コードに対応する文字を描画するフォントとして特定することを特徴とする請求項3に記載の情報処理装置。   The specifying unit is configured to set the plurality of fonts according to a predetermined priority when there is no character corresponding to the character code included in the array acquired by the character string acquiring unit in the data of the designated font. 4. The information processing apparatus according to claim 3, wherein a font different from the designated font is specified as a font for drawing a character corresponding to the character code. 複数のフォントを用いてアイコンを含む文字列を描画可能な情報処理装置の制御方法であって、
文字列取得手段により、描画処理の対象となる文字列に対応する情報を取得する文字列取得工程と、
描画情報取得手段により、前記複数のフォントのうち、少なくとも1つの特定のフォントに対して個別に設定された第1のフォントスタイルを示す情報と、前記文字列のうちアイコンを描画するための指定されるフォントであって、前記特定のフォントに個別に設定された第1のフォントスタイルが適用されないフォントであるアイコンフォントに適用される第2のフォントスタイルを示す情報とを取得する描画情報取得工程と、
特定手段により、前記文字列取得工程において取得された情報に基づいて、前記描画処理の対象となる文字列に含まれる各文字及びアイコンについて、前記複数のフォントのうち、描画に用いるフォントを特定する特定工程と、
描画手段により、前記特定工程において特定されたフォントが前記少なくとも1つの特定のフォントである場合に、前記特定されたフォントに対して前記第1のフォントスタイルを反映して前記描画処理の対象となる文字列に含まれる文字を描画し、前記特定手段によって特定されたフォントが前記アイコンフォントである場合に、前記第2のフォントスタイルを反映して前記描画処理の対象となる文字列に含まれるアイコンを描画する描画工程と、
を備えることを特徴とする情報処理装置の制御方法。
A control method of an information processing apparatus capable of drawing a character string including an icon using a plurality of fonts,
A character string acquisition step of acquiring information corresponding to a character string to be subjected to drawing processing by the character string acquisition means;
Information indicating a first font style individually set for at least one specific font of the plurality of fonts, and a specification for drawing an icon in the character string by the drawing information acquisition means a that font, the drawing information obtaining step of obtaining the information indicating the second font style applied to icon font is a font that does not apply the first font style set individually to the specific font ,
The font used for drawing is specified among the plurality of fonts for each character and icon included in the character string to be subjected to the drawing processing based on the information acquired in the character string acquiring step by the specifying means. A specific process,
When the font specified in the specifying step is the at least one specific font by the drawing unit, the first font style is reflected on the specified font to be the target of the drawing process draw the characters in the string, wherein when the font is specified by the specifying means is the icon font, icons included in the character string to be the rendering of the object to reflect the second font style Drawing process, and
A control method of an information processing apparatus, comprising:
コンピュータに読み取らせ実行させることによって、前記コンピュータに請求項5に記載の制御方法を実行させるプログラム。   A program that causes the computer to execute the control method according to claim 5 by making the computer read and execute. 請求項6に記載のプログラムが記憶されたコンピュータが読み取り可能な記憶媒体。   A computer readable storage medium storing the program according to claim 6.
JP2014089308A 2014-04-23 2014-04-23 INFORMATION PROCESSING APPARATUS, CONTROL METHOD THEREOF, PROGRAM, AND STORAGE MEDIUM Active JP6501454B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014089308A JP6501454B2 (en) 2014-04-23 2014-04-23 INFORMATION PROCESSING APPARATUS, CONTROL METHOD THEREOF, PROGRAM, AND STORAGE MEDIUM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014089308A JP6501454B2 (en) 2014-04-23 2014-04-23 INFORMATION PROCESSING APPARATUS, CONTROL METHOD THEREOF, PROGRAM, AND STORAGE MEDIUM

Publications (3)

Publication Number Publication Date
JP2015206986A JP2015206986A (en) 2015-11-19
JP2015206986A5 JP2015206986A5 (en) 2017-06-08
JP6501454B2 true JP6501454B2 (en) 2019-04-17

Family

ID=54603806

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014089308A Active JP6501454B2 (en) 2014-04-23 2014-04-23 INFORMATION PROCESSING APPARATUS, CONTROL METHOD THEREOF, PROGRAM, AND STORAGE MEDIUM

Country Status (1)

Country Link
JP (1) JP6501454B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7163644B2 (en) * 2018-07-10 2022-11-01 カシオ計算機株式会社 PRINT IMAGE CREATION DEVICE, PRINT IMAGE CREATION METHOD, AND PROGRAM

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0444160A (en) * 1990-06-12 1992-02-13 Casio Comput Co Ltd Document processor
JPH04127270A (en) * 1990-09-19 1992-04-28 Just Syst Corp Document processor
JPH05177901A (en) * 1992-01-06 1993-07-20 Brother Ind Ltd Printer
JP3509111B2 (en) * 1992-01-22 2004-03-22 株式会社日立製作所 Document output method and apparatus
JPH0624084A (en) * 1992-07-06 1994-02-01 Brother Ind Ltd Tape printer
JP3774478B2 (en) * 1993-05-13 2006-05-17 キヤノン株式会社 Document processing method and apparatus
JPH07191659A (en) * 1993-12-27 1995-07-28 Toshiba Corp Data conversion device
JP2004126311A (en) * 2002-10-03 2004-04-22 Seiko Epson Corp Character processor, character processing method, and image forming apparatus
JP4919245B2 (en) * 2005-01-14 2012-04-18 アドビ システムズ, インコーポレイテッド Line composition device, line composition program and recording medium recording the same
JP2007240848A (en) * 2006-03-08 2007-09-20 Seiko Epson Corp Display program, data structure and display device
JP2007245663A (en) * 2006-03-17 2007-09-27 Casio Comput Co Ltd Printer
JP5360488B2 (en) * 2009-09-30 2013-12-04 カシオ計算機株式会社 Printing device, creation method for creating printed matter, and computer-readable storage medium

Also Published As

Publication number Publication date
JP2015206986A (en) 2015-11-19

Similar Documents

Publication Publication Date Title
JP4065545B2 (en) Layout control method and apparatus and program thereof
JP4776995B2 (en) Computer apparatus and control method and program thereof
JP2005122728A (en) User interface for creation and editing of variable data document
JP2005122727A (en) Selective preview and proofing of document or layout containing variable data
JP2002507289A (en) Glyph drawing method using layout service library
US7773089B2 (en) Displaying character strings based on font information
US20170132484A1 (en) Two Step Mathematical Expression Search
US8122351B2 (en) Document edit device and storage medium
CN107729297B (en) Method and device for generating font with changeable style
JP3083314B2 (en) Document processing method and apparatus
JP6501454B2 (en) INFORMATION PROCESSING APPARATUS, CONTROL METHOD THEREOF, PROGRAM, AND STORAGE MEDIUM
JP5255483B2 (en) Method, apparatus and program for facilitating object selection
US11030388B2 (en) Live text glyph modifications
US20070263010A1 (en) Large-scale visualization techniques
JP5330714B2 (en) Search support device and search support program
JP5645481B2 (en) Apparatus, method, and program
JP5612975B2 (en) Serif data generation apparatus, serif data generation method, and program
JP2005311729A (en) Device and program for preparing file name
JP5361315B2 (en) Information processing apparatus and information processing method
EP1835415A1 (en) Display, display control method, and information storage medium
JP2015210417A (en) Information processing device, control method thereof, computer program, and storage medium
JP2014063439A (en) Plotting processor and method for controlling the same
JP6253387B2 (en) Character size acquisition device, character size acquisition method, and character size acquisition program
JP2013191106A (en) Input support program, input support device and input support method
JP2008293112A (en) Character input device and computer program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170420

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170420

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180313

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180510

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181002

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181115

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: 20190219

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190319

R151 Written notification of patent or utility model registration

Ref document number: 6501454

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151