JP2018014603A - Information processing apparatus, control method and program of information processing apparatus - Google Patents
Information processing apparatus, control method and program of information processing apparatus Download PDFInfo
- Publication number
- JP2018014603A JP2018014603A JP2016142726A JP2016142726A JP2018014603A JP 2018014603 A JP2018014603 A JP 2018014603A JP 2016142726 A JP2016142726 A JP 2016142726A JP 2016142726 A JP2016142726 A JP 2016142726A JP 2018014603 A JP2018014603 A JP 2018014603A
- Authority
- JP
- Japan
- Prior art keywords
- data
- application
- font
- information processing
- processing apparatus
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Facsimiles In General (AREA)
Abstract
Description
本発明は、例えばWebサーバーに接続され当該Webサーバーにより提供される操作画面を表示するWebブラウザー等を備えた情報処理装置および情報処理装置の制御方法、プログラムに関する。 The present invention relates to an information processing apparatus including a web browser that is connected to a web server and displays an operation screen provided by the web server, a control method for the information processing apparatus, and a program.
PCや携帯電話などの情報処理装置がネットワーク上のWebサーバーに接続し、Webサーバー上のWebアプリケーションにより提供される操作画面を情報処理装置が備えるWebブラウザー上に表示することが知られている。この場合、まず情報処理装置のWebブラウザーがWebサーバー上のWebアプリケーションに対して操作画面を要求する。そしてWebアプリケーションが情報処理装置からの要求に応えて、Webブラウザーに操作画面を表示させるためのWebコンテンツ(HTMLデータやJavaScript(登録商標)、Webコンテンツ内で利用する拡張フォントデータを含む)を情報処理装置に応答する。情報処理装置のWebブラウザーは受信したWebコンテンツを解析し、その記述に基づいた画面を表示する。ユーザーがWebブラウザーに表示された操作画面を介して指示を入力すると、入力された指示をWebブラウザーがWebサーバーに対して通知する。そして、この通知を受けたWebサーバー上のWebアプリケーションは入力された指示に従って処理を実行する。 It is known that an information processing apparatus such as a PC or a mobile phone is connected to a Web server on a network and an operation screen provided by a Web application on the Web server is displayed on a Web browser provided in the information processing apparatus. In this case, first, the Web browser of the information processing apparatus requests an operation screen from the Web application on the Web server. Information on Web contents (including HTML data, JavaScript (registered trademark), and extended font data used in the Web contents) for the Web application to display an operation screen on the Web browser in response to a request from the information processing apparatus Respond to the processing unit. The Web browser of the information processing apparatus analyzes the received Web content and displays a screen based on the description. When the user inputs an instruction via the operation screen displayed on the Web browser, the Web browser notifies the input instruction to the Web server. The Web application on the Web server that has received this notification executes processing in accordance with the input instruction.
さらに、上述したWebブラウザー機能と同等の機能を持ち、情報処理装置上のアプリケーションを構成する要素として利用可能なWebViewと呼ばれるGUIコンポーネントがある。情報処理装置上のアプリケーションは、このWebViewを利用してアプリケーション画面上でWebブラウザーと同等の表現や機能を実現できる。 Furthermore, there is a GUI component called WebView that has a function equivalent to the Web browser function described above and can be used as an element constituting an application on the information processing apparatus. An application on the information processing apparatus can realize the same expression and function as a Web browser on the application screen using this WebView.
ところで、WebブラウザーやWebviewには、表示するWebコンテンツで利用するフォントを動的に拡張できる機能を備えているものがある。Webアプリケーションはこのフォント拡張機能を利用することで画面の表現力を拡張し、ユーザーの操作性を向上させることができる。また、例えばアプリケーション画面を構成する複数の領域におけるフォント利用方法として、それぞれの領域で利用するフォントをユーザー設定に基づき決定し表現するといったものがある(特許文献1)。 Some Web browsers and Webviews have a function that can dynamically expand fonts used in Web content to be displayed. By using this font expansion function, the Web application can expand the expressive power of the screen and improve user operability. Further, for example, as a method of using fonts in a plurality of areas constituting an application screen, there is a method of determining and expressing a font used in each area based on user settings (Patent Document 1).
従来の方法のように、Webブラウザー上に表示するHTMLデータに基づく画面自体が複数の領域に分割されている場合に、それぞれの領域にて表現する内容に応じたフォントを選択し利用することはできる。 When the screen itself based on the HTML data displayed on the Web browser is divided into a plurality of areas as in the conventional method, it is possible to select and use a font corresponding to the contents expressed in each area. it can.
しかし、アプリケーションの画面が、WebViewとそれ以外のGUIコンポーネントとを併用して構成された場合を考えると、WebViewの領域上でしかフォント拡張機能を利用できないといった課題がある。このため、アプリケーション画面において、WebView以外の画面領域でもフォント拡張機能を利用できる方法が望まれている。 However, considering the case where the screen of the application is configured using both WebView and other GUI components, there is a problem that the font extension function can be used only on the WebView area. For this reason, there is a demand for a method that can use the font expansion function in a screen area other than WebView on the application screen.
本発明は上記従来例に鑑みて成されたもので、アプリケーションが利用するGUIコンポーネントの種類にかかわらずフォント拡張機能を利用できる情報処理装置及び方法とプログラムを提供することを目的とする。 The present invention has been made in view of the above conventional example, and an object thereof is to provide an information processing apparatus, method, and program that can use a font expansion function regardless of the type of GUI component used by an application.
上記目的を達成するために本発明は以下の構成を有する。 In order to achieve the above object, the present invention has the following configuration.
アプリケーションに対して描画機能を提供する、描画方法が互いに異なる第1の描画手段および第2の描画手段と、
前記第1の描画手段および前記第2の描画手段により描画された画像を表示する表示手段とを有し、
前記第1の描画手段は、該第1の描画手段により第1のデータを描画するために取得された拡張フォントデータが新たに登録された場合に、前記第2の描画手段に対して拡張フォント登録通知を通知し、
前記第2の描画手段は、前記拡張フォント登録通知に応じて、登録された前記拡張フォントデータを取得し、前記第2の描画手段により描画する第2のデータを、前記拡張フォントデータを用いて描画することを特徴とする。
A first drawing unit and a second drawing unit, which provide a drawing function for an application and have different drawing methods;
Display means for displaying an image drawn by the first drawing means and the second drawing means;
The first drawing means is configured to add an extended font to the second drawing means when the extended font data acquired for drawing the first data by the first drawing means is newly registered. Notification of registration notification,
The second drawing means acquires the registered extended font data in response to the extended font registration notification, and uses the extended font data to obtain second data to be drawn by the second drawing means. It is characterized by drawing.
本発明によれば、アプリケーションが利用するGUIコンポーネントの種類にかかわらずフォント拡張機能を利用できる。これによりアプリケーション画面の表現力を拡張すると共に、アプリケーションの操作性を向上させることが可能となる。 According to the present invention, the font extension function can be used regardless of the type of GUI component used by the application. As a result, the expressive power of the application screen can be expanded and the operability of the application can be improved.
以下、本発明を実施するための形態について図面を用いて説明する。 Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.
[実施形態1]
<システム構成>
図1は本実施形態に係る発明の画像処理装置を用いたシステムの構成例である。本システムはネットワーク101とインターネット102を介して接続されるMFP100と、Webサーバー103とを有する。ネットワーク101は各装置間で通信を行うための基盤であって、インターネット102に接続されている。画像処理装置である多機能周辺機器(MFP)100はWebブラウザーおよびWebview機能を有する。なおWebView機能は、オペレーティングシステムによって提供され、アプリケーションがその機能を利用するものなので、WebブラウザーやWebview機能を有する機器あればMFPに代えて利用でき、MFPに限定されるものではない。さらに、MFP100はローカルなIPアドレスで管理されていても良い。その場合ネットワーク101とMFP100との間にゲートウェイ(不図示)が存在し、ゲートウェイはアドレス変換を行う。例えばゲートウェイにはルーターが含まれる。また前記ゲートウェイや、MFP100がファイアウォール機能を備えていても良い。Webサーバー103は、Webコンテンツをネットワーク経由で配信する機能を持っており、MFP100からのリクエストに応じてWebコンテンツを返す。各装置及びネットワークはインターネットに必ずしも接続されている必要はなく、ローカルネットワーク上に存在してもよい。
[Embodiment 1]
<System configuration>
FIG. 1 is a configuration example of a system using an image processing apparatus according to the present invention. This system includes an MFP 100 and a
<装置のハードウェア構成>
図2は本実施例のMFP100、Webサーバー103内のハードウェア構成の一例である。これら装置を構成する構成要素には、プログラムを実行してMFP100やWebサーバー103を制御するCPU201、CPU201へワークエリアを提供するRAM202、本実施形態に係るプログラムや様々な設定を記憶する記憶装置203(HDD、SSD、NVRAM等でもよい)が含まれる。さらに、ユーザーがコマンドの入力を行うためのユーザー入力装置204、画面表示を行うUI表示装置205、他機器とネットワークによる通信を行うネットワーク装置206、メインバス200により構成されている。
<Hardware configuration of the device>
FIG. 2 shows an example of a hardware configuration in the MFP 100 and the
尚、本実施例は特に断らない限りMFP100やWebサーバー103ではCPU201がメインバス200を介してRAM202、記憶装置203、ユーザー入力装置204、UI表示装置205、ネットワーク装置206を制御する。また、タッチパネルディスプレイのようにUI表示装置205がユーザー入力装置204を兼ねても良い。ただし、Webサーバー103は、ユーザー入力装置204やUI表示装置205を有していなくても良い。また、MFP100は図示の構成要素以外として画像読取装置や画像印刷装置がメインバス200に接続されていても良い。
In this embodiment, unless otherwise specified, in the
<ソフトウェア構成>
図3は本実施例におけるMFP100に搭載されるソフトウェアのモジュール群の一例である。図3に示すモジュール群は、MFP100内のCPU201がプログラムとして実行する。
<Software configuration>
FIG. 3 shows an example of a software module group installed in the
実際にユーザーが操作するモジュールとしては、アプリケーションプラットホーム303上で動作するアプリケーション300や、アプリケーションプラットホーム303からは独立したWebブラウザー307などがある。これらアプリケーション300やWebブラウザー307はUI表示装置205上へ画面を表示することが可能である。また、ユーザーの操作に応じて、アプリケーションプラットホーム303がアプリケーション300をインストール/アンインストールすることができる。なお、アプリケーションプラットホーム303上で動作するアプリケーションは複数であってもよい。この場合アプリケーション300はアプリケーションを識別するためにアプリケーション識別情報などを持ってもよい。これらのソフトウェアモジュールは、不図示のオペレーティングシステムによりその資源を管理される。また、WebView機能もそのオペレーティングシステムにより提供される。
Modules that are actually operated by the user include an
アプリケーション300が画面を構築する際に利用する構成要素としては、GUIコントロール301やWebView302などがある。WebView302や前述のWebブラウザー307は、前述したように表示するためのwebコンテンツを、ネットワーク装置206を介してWebサーバー103から取得し表示することができる。表示するWebコンテンツの内容は、例えばMFP100の画面で表示する操作画面などである。また、操作画面を介して入力されたユーザーからの入力情報を基にMFPのデバイス機能(不図示)を実行することも可能である。GUIコントロール301はWebエンジン304により、WebView302はアプリケーションプラットホーム303により実行されて描画が行われるので、Webエンジン304およびアプリケーションプラットホーム303は、描画機能を提供するものということもできる。
Examples of components used when the
Webコンテンツを扱う際、WebView302やWebブラウザー307はMFP100内の共通モジュールであるWebエンジン304やフォントエンジン305を利用してWebコンテンツに含まれるHTMLをレンダリングし、JavaScript(登録商標)を実行することができる。なお、Webエンジン304はWebサーバー103から取得したWebコンテンツに拡張フォントデータが含まれていた場合、その拡張フォントデータを、フォントエンジン305を利用してフォントデータ306に追加で格納することができる。フォントデータ306には、図5に示す管理テーブルや、フォントデータを収めたフォントファイルなどが含まれる。なお、本例ではWebView302はHTMLの表記法に従って表記されたデータをレンダリングし、表示するが、他のマークアップ言語で記述されたデータをレンダリングの対象にしてもよい。
When handling Web content, the
このフォントデータ306に保存されているデータは、フォントエンジン305とアプリケーションプラットホーム303を経由してアプリケーション300のGUIコントロール301でも利用可能である。このため、Webサーバー103から取得したWebコンテンツ中に拡張フォントデータが存在した場合には、フォントデータ306に拡張フォントデータを登録すると共に、Webエンジン304がアプリケーションプラットホーム303に対してその旨を通知する。この通知のことをここではフォント拡張通知と呼ぶことにする。
The data stored in the
また、アプリケーションプラットホーム303は、前述のフォント拡張通知をWebエンジン304から受けた場合には、フォント拡張通知受信後にアプリケーション300のGUIコントロール301を再度描画する。さらにアプリケーションプラットホーム303は、アプリケーション300がアプリケーションプラットホーム303上からアンインストールされた際、必要に応じてフォントデータ306内の拡張フォントデータを削除する。
Further, when the
なお、上述したWebコンテンツはWebサーバー103が提供するものに限定しない。同様に、Webサーバー103の形態もHTTPプロトコルに従ってリクエスト/レスポンスを送受信するWebサーバーに限定するものではない。また、各ソフト・モジュール群を実装するための言語は、JavaやCなど特定の言語に限定するものではない。
Note that the Web content described above is not limited to that provided by the
<フォントデータの情報管理テーブル>
図4は本発明の実施形態におけるフォントデータの情報管理テーブルの例である。情報管理テーブルには少なくとも、フォントの名称と、フォントのファイルが配置されているパスの情報と、フォントを利用するアプリケーションの識別情報とが含まれる。扱うフォントの種類としてはMFP100内に必ず存在するデフォルトフォントデータ400と、Webコンテンツの取得に基づき合わせて取得する拡張フォントデータ401とがある。拡張フォントデータ401は、前述したように、Webサーバー103から取得したWebコンテンツ中に含まれており、Webエンジン304がフォントエンジン305を経由してアプリケーション識別情報と共にフォントデータ306に追加登録することができる。またアプリケーション300がアンインストールされる際には、アプリケーション識別情報を利用することで、削除されるアプリケーションに紐づけられた拡張フォントデータ401を削除することもできる。なお、ここで示したフォント管理テーブルの要素群は一例であり、たとえば他の構成要素を含めてもよいし、あるいはアプリケーションとの紐づけをしなのであればアプリケーション識別情報を含まなくともよい。
<Font data information management table>
FIG. 4 is an example of an information management table for font data in the embodiment of the present invention. The information management table includes at least a font name, information on a path where a font file is arranged, and identification information of an application using the font. The types of fonts to be handled include
<表示画面例およびフォント指定(別々のフォント利用)>
図5は本発明の実施形態におけるアプリケーション300がUI表示装置205に表示する画面の一例である。このアプリケーション300の画面例は、GUIコントロール301が表示する領域500と、WebView302が表示する領域501から構成されている。領域500と領域501では文字を表現するにあたって利用しているフォントが異なる。それぞれの領域でフォントを利用するための実装方法例について、図6および図7に後述する。
<Display screen example and font specification (using different fonts)>
FIG. 5 shows an example of a screen displayed on the
図6は図5中のGUIコントロール301が表示する領域500で表示するフォントを指定するJava(登録商標)ソースコード例である。ソースコード600の記述内容としては、GUIコントロール301がフォントデータ306に含まれるデフォルトフォント400中のSerifフォントを指定する形となっている。図6においては、その第3行目で文字列「あいうえお」を指定し、最終行でSerifフォントを指定している、図5の領域500に表示されている文字のフォントが、図6で指定されたSerifである。なお、ここで示したソースコードは一例でありアプリケーション300やGUIコントロール301を実装するための言語としてJava(登録商標)に限定するものではない。
FIG. 6 is an example of Java (registered trademark) source code for designating a font to be displayed in the
図7は図5中のWebView302が表示する領域501で表示するフォントを指定するHTMLソースコード例である。ソースコード700の記述内容としては、図4のWebView302がフォントデータ306に含まれる拡張フォントデータ401中のCanPopフォントを指定する形となっている(図7のソースコード3行目)。表示する文字列の記述は省略したが、図5に例示したように「たちつてと」などが指定されている。拡張フォントデータ401は、HTMLコード共にWebコンテンツとしてダウンロードされており、WebView302は、HTMLで指定された拡張フォントを図5の領域501のように表示することができる。なお、後述する図10の手順のうち、拡張フォントデータの追加登録が行わないとすると、例えば図6のJava(登録商標)ソースコード末行のフォント名"Serif"を図7のHTMLソースコードで指定されたフォントファイル名"CanPop"と書き換えたとしても、やはり図5のように表示される。それというのは、例えばJava(登録商標)で記述されたアプリケーション300を実行するアプリケーションプラットホーム303は、拡張フォントデータを取得していないと、拡張フォントが指定されても、例えばデフォルトとして指定されたフォントを用いて描画を行うためである。
FIG. 7 is an example of HTML source code for designating a font displayed in the
<表示画面例およびフォント指定(フォント拡張通知あり)>
図8は本実施形態における図10のフローチャート実行後のアプリケーション3
00がUI表示装置205に表示する画面の一例である。本例におけるフォントデータ306は、図4に示す管理テーブルおよびフォントファイルを含んでおり、図5の表示例と同様のフォントデータを利用している。この画面例は、図5と同様にGUIコントロール301が表示する領域800と、WebView302が表示する領域501から構成されている。図中の領域800と領域501では、文字を表現するにあたって利用しているフォントが同じであることがわかる。これを実現するため領域800の実装方法例について、図9に後述する。なお本画面の構成はあくまでも一例であり、複数のWebVie302を利用した領域802や領域803を持つアプリケーション801のようか形でもよい。この場合に全ての領域で同じフォントを利用するためには、それぞれの領域にて同じフォントを指定する必要がある。
<Display screen example and font specification (with font extension notification)>
FIG. 8 shows the application 3 after execution of the flowchart of FIG. 10 in this embodiment.
00 is an example of a screen displayed on the
図9は本実施形態における図8中の領域800で表示するフォントを指定するJavaソースコード例である。本実施形態におけるアプリケーション画面上のフォントを表現するにあたりJavaでフォントを指定するソースコード例である。ソースコード600とは異なり、ソースコード900ではソースコード700と同様に利用するフォントとしてデータ306に含まれる拡張フォントデータ401中のCanPopフォントを指定する例を示している。前述した領域800と領域501で同じ拡張フォントデータを利用するためには、その前提として本例のように同じフォントを利用する実装にする必要がある。すなわちWebViewで読み込むHTMLデータとアプリケーションプログラムとで同じフォントを用いるようそれぞれに記述しておく必要がある。なお、複数のフォントデータが存在する場合にはフォントデータのロードに対して優先順位を設けてもよい。また、拡張フォントデータがデフォルトフォントよりも優先的にロードされるのが好ましい。この場合、ソースコード900で指定した拡張フォントデータがフォントデータ306に存在しないとデフォルトフォント400が適応される。
FIG. 9 is an example of Java source code for designating a font to be displayed in the
<拡張フォント登録処理>
図10は、本発明の実施形態におけるWebエンジン304が拡張フォントデータ401を取得し、アプリケーションプラットホーム303がGUIコントロール301を再描画(及び再表示)するまでのフローチャートである。MFP100上のアプリケーション300で利用されているWebview302が、Webエンジン304を経由してWebサーバー103からWebコンテンツをダウンロードすると本フローチャートがスタートする。なおここでは、WebView302の利用以前に、アプリケーションプラットホーム303がGUIコントロール301による描画を行っているものとする。
<Extended font registration process>
FIG. 10 is a flowchart from when the
ステップS1000にて、Webエンジン304はダウロードしたWebコンテンツに拡張フォントデータが含まれているか否かを確認すなわち判定する。含まれていると判定した場合はステップS1001へ、含まれていないと判定した場合はステップS1007へ進む。
ステップS1001にて、Webエンジン304はフォントエンジン305に対して取得した拡張フォントデータの登録を命令しステップS1002へ進む。
In step S1000, the
In step S1001, the
ステップS1002にて、フォントエンジン305は拡張フォントデータをフォントデータ306に登録・保存処理しステップS1003へ進む。
In step S1002, the
ステップS1003にて、Webエンジン304は登録された拡張フォントデータを利用してWebView302上にHTMLコンテンツを描画し、ステップS1004へ進む。なお、WebView領域が複数ある場合は全てのWebView領域にて同処理を行ってもよい。
ステップS1004にて、Webエンジン304は拡張フォントデータを登録した旨(拡張フォント登録通知)をアプリケーションプラットホーム303へ通知し、ステップS1005へ進む。
In step S1003, the
In step S1004, the
ステップS1005にて、拡張フォント登録通知に応じて、アプリケーションプラットホーム303はフォントエンジン305に対して登録された拡張フォントデータの取得を命令し、ステップS1006へ進む。
In step S1005, in response to the extended font registration notification, the
ステップS1006にて、フォントエンジン305は、取得命令に応じた拡張フォントデータをアプリケーションプラットホーム303へ返信しステップS1007へ進む。
In step S1006, the
ステップS1007にて、アプリケーションプラットホーム303は取得した拡張フォントデータを利用してGUIコントロール301を描画し終了となる。GUIコントロール301はたとえばGUI(グラフィカルユーザインタフェース)を描画するためのひとまとまりのプログラムモジュールであってよく、ステップS1007では、それを再実行することで拡張フォントを含むGUIを描画する。ステップS1007の実行前にアプリケーションプラットホーム303によりGUIコントロール301が既に実行されている場合には、GUIは描画済みであるが、たとえばGUIで拡張フォントが指定されていてもその描画内容には拡張フォントは使用できず、デフォルトフォントで描画されている。S1007ではそれが再描画される。
In step S1007, the
本フローチャート実行後、画面表示は図5の状態から図8の状態となり、領域800と領域501にて同じフォントを利用した表現が可能となる。
After execution of this flowchart, the screen display changes from the state shown in FIG. 5 to the state shown in FIG. 8, and expression using the same font is possible in the
なお、図10のS1000で拡張フォントデータをダウンロードしていないと判定された場合にS1007に分岐しているが、これはアプリケーションプラットホーム303による描画および表示が行われることを示すための便宜であり、Webエンジン304による処理は終了してよい。アプリケーションプラットホーム303による描画は、Webエンジン304とは独立に行われる。
If it is determined in step S1000 in FIG. 10 that the extended font data has not been downloaded, the process branches to step S1007. This is a convenience for showing that the
また、ステップS1005、S1006でアプリケーションプラットホーム303がいったん取得したフォントデータは、その後はWebエンジンからの拡張フォントデータの追加登録通知がなくとも、アプリケーションプラットホーム303により描画可能となる。このため、たとえばアプリケーション300が呼び出したWebView302によりダウンロードされるHTMLデータが変更されて拡張フォントのダウンロードを伴わなくなったとしても、既に登録済みの拡張フォントを用いてGUIコントロール301による描画および表示は可能となる。
Further, the font data once acquired by the
<アプリケーションのアンインストール処理>
図11は本発明の実施形態におけるアプリケーションプラットホーム303上で動作するアプリケーション300をアンインストールした場合に、アプリケーション300が利用する拡張フォントデータを併せて削除するまでのフローチャートである。MFP100を利用するユーザーの要求によって、アプリケーションプラットホーム303がアプリケーション300をアンインストールすると本フローチャートがスタートする。
<Application uninstall process>
FIG. 11 is a flowchart until the extended font data used by the
ステップS1100にて、アプリケーションプラットホーム303はフォントデータ306内にアンインストール対象のアプリケーション識別情報に紐づく拡張フォントデータがあるか否かを確認(すなわち判定)する。あると判定した場合はステップS1101へ、ないと判定した場合は終了となる。
ステップS1101にて、アプリケーションプラットホーム303はフォントエンジン304へ、該当する拡張フォントデータの削除を命令しステップS1102へ進む。
In step S1100, the
In step S1101, the
ステップS1102にて、フォントエンジン304は命令に基づき、指定された拡張フォントデータを削除して終了となる。なお、ひとつの拡張フォントを、複数のアプリケーションプログラムに関連づけることができる場合には、ステップS1100では、アンインストール対象のアプリケーション識別子のみが紐づけられた拡張フォントデータを削除対象の拡張フォントデータであると判定してよい。
In step S1102, the
以上に示す構成によりアプリケーションの画面全体が複数の領域で構成され、各領域を表示するために利用するGUIコンポーネントとしてWebViewとそれ以外のGUIコンポーネントを併用する場合でも、相互のGUIコンポーネント上で同じフォントを利用できるようになる。これによりアプリケーション画面を表現する上での制限を緩和し表現力を拡張すると共に、アプリケーションの操作性を向上させることが可能となる。 With the configuration described above, the entire screen of the application is composed of a plurality of areas, and even when WebView and other GUI components are used together as GUI components used to display each area, the same font is used on the mutual GUI components. Will be available. As a result, the restriction on expressing the application screen can be relaxed, the expressive power can be expanded, and the operability of the application can be improved.
[第2の実施形態]
<拡張フォント登録処理の変形例>
図12は本発明の実施形態における図10中のステップS1007を拡張したフォローチャートである。たとえばMFPのような画像形成装置には、ディスプレイ上にはマルチウィンドウをサポートせず、アクティブな状態のアプリケーションのみが表示されるものがある。このため、表示されていないアプリケーションについて拡張フォントを再表示しても実際に表示されることはない。そこで本実施形態では表示されているアプリケーションに限って拡張フォントを再表示する。
[Second Embodiment]
<Modified example of extended font registration processing>
FIG. 12 is a follow chart obtained by expanding step S1007 in FIG. 10 according to the embodiment of the present invention. For example, some image forming apparatuses such as MFPs do not support multi-windows on the display and only display active applications. For this reason, even if the extended font is displayed again for an application that is not displayed, it is not actually displayed. Therefore, in this embodiment, the extended font is redisplayed only for the displayed application.
ステップS1006までは図10と同一であり、MFP100上にWebView302を利用したアプリケーションが複数存在する場合には、本フローチャートをスタートする。なおS1007に代えて、S1200およびS1201を実行してもよい。
Steps up to step S1006 are the same as those in FIG. 10, and when there are a plurality of applications using the
ステップS1200にて、アプリケーションプラットホーム303は現在MFP100のUI表示装置205上に表示されているアプリケーションのアプリケーション識別情報に紐づくすなわち関連付けられた拡張フォントがフォントデータ306内に格納されているか否か、すなわち存在するか否かを確認(判定)する。存在すると判定した場合はステップS1201へ、存在しないと判定した場合は終了となる。
ステップ1201にて、アプリケーションプラットホーム303は取得した拡張フォントデータを利用してGUIコントロール301を描画し終了となる。これによりその拡張フォントを利用するアプリケーションが複数ある場合には、現在表示されているアプリケーションについて拡張フォントが表示される。
In step S1200,
In step 1201, the
本実施形態によれば、第1実施形態に係る効果に加えて、現在表示されているアプリケーションについて拡張フォントを描画することで、処理負荷を軽減できる。 According to the present embodiment, in addition to the effects according to the first embodiment, the processing load can be reduced by drawing the extended font for the currently displayed application.
[その他の実施例]
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピューターにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
[Other Examples]
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
Claims (11)
前記第1の描画手段および前記第2の描画手段により描画された画像を表示する表示手段とを有し、
前記第1の描画手段は、該第1の描画手段により第1のデータを描画するために取得された拡張フォントデータが新たに登録された場合に、前記第2の描画手段に対して拡張フォント登録通知を通知し、
前記第2の描画手段は、前記拡張フォント登録通知に応じて、登録された前記拡張フォントデータを取得し、前記第2の描画手段により描画する第2のデータを、前記拡張フォントデータを用いて描画することを特徴とする情報処理装置。 A first drawing unit and a second drawing unit, which provide a drawing function for an application and have different drawing methods;
Display means for displaying an image drawn by the first drawing means and the second drawing means;
The first drawing means is configured to add an extended font to the second drawing means when the extended font data acquired for drawing the first data by the first drawing means is newly registered. Notification of registration notification,
The second drawing means acquires the registered extended font data in response to the extended font registration notification, and uses the extended font data to obtain second data to be drawn by the second drawing means. An information processing apparatus characterized by drawing.
前記第1の描画手段が、該第1の描画手段により第1のデータを描画するために取得された拡張フォントデータが新たに登録された場合に、前記第2の描画手段に対して拡張フォント登録通知を通知し、
前記第2の描画手段が、前記拡張フォント登録通知に応じて、登録された前記拡張フォントデータを取得し、前記第2の描画手段により描画する第2のデータを、前記拡張フォントデータを用いて描画することを特徴とする情報処理装置の制御方法。 First drawing means and second drawing means for providing drawing to an application and having different drawing methods, and display means for displaying an image drawn by the first drawing means and the second drawing means A method of controlling an information processing apparatus comprising:
When the first drawing unit newly registers the extended font data acquired for drawing the first data by the first drawing unit, the first drawing unit adds the extended font to the second drawing unit. Notification of registration notification,
The second drawing means obtains the registered extended font data in response to the extended font registration notification, and uses the extended font data as second data to be drawn by the second drawing means. A method for controlling an information processing apparatus, characterized by drawing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016142726A JP2018014603A (en) | 2016-07-20 | 2016-07-20 | Information processing apparatus, control method and program of information processing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016142726A JP2018014603A (en) | 2016-07-20 | 2016-07-20 | Information processing apparatus, control method and program of information processing apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2018014603A true JP2018014603A (en) | 2018-01-25 |
Family
ID=61021305
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016142726A Pending JP2018014603A (en) | 2016-07-20 | 2016-07-20 | Information processing apparatus, control method and program of information processing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2018014603A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11947895B2 (en) * | 2020-07-06 | 2024-04-02 | Canon Kabushiki Kaisha | Information processing apparatus for representing a web page using external fonts, and information processing method, and storage medium thereof |
-
2016
- 2016-07-20 JP JP2016142726A patent/JP2018014603A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11947895B2 (en) * | 2020-07-06 | 2024-04-02 | Canon Kabushiki Kaisha | Information processing apparatus for representing a web page using external fonts, and information processing method, and storage medium thereof |
JP7490472B2 (en) | 2020-07-06 | 2024-05-27 | キヤノン株式会社 | Information processing device, information processing method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2016202576B2 (en) | Techniques for evaluating applications through use of an auxiliary application | |
US20090030908A1 (en) | Centralized management type computer system | |
JP2016064591A (en) | Information processing device, control method for the same, and program | |
JP5709429B2 (en) | Image processing apparatus, control method therefor, and program | |
JP2019061611A (en) | Information processing system, image forming apparatus, and information processing method | |
JP2018014603A (en) | Information processing apparatus, control method and program of information processing apparatus | |
US10769351B2 (en) | Rendering based on a document object model | |
KR20040102996A (en) | Graphic User Interface Providing System And Method Wireless Terminal Applications | |
KR20150097190A (en) | A system for providing an application developing environment | |
JP2020107020A (en) | Program, information processor, and processing method | |
KR20150097181A (en) | A system for providing an application developing environment | |
KR20150098895A (en) | A device for providing an application developing environment | |
JP2021033513A (en) | Program, server, and display control method | |
JP2012014510A (en) | Application execution device and program | |
JP2018124819A (en) | Information processing device, information processing method, and program | |
KR20150097204A (en) | A system for providing an application developing environment | |
KR20150097150A (en) | A method for providing an application developing environment | |
KR20150097178A (en) | A system for providing an application developing environment | |
KR20150098877A (en) | A device for providing an application developing environment | |
KR20150097135A (en) | A device for providing an application developing environment | |
KR20150099287A (en) | A method for providing an application developing environment | |
KR20150097179A (en) | A system for providing an application developing environment | |
KR20150099325A (en) | A method for providing an application developing environment | |
KR20150097148A (en) | A method for providing an application developing environment | |
KR20150097106A (en) | A method for providing an application developing environment |