JP2022024629A - Information processor, processing method and program of information processor - Google Patents

Information processor, processing method and program of information processor Download PDF

Info

Publication number
JP2022024629A
JP2022024629A JP2020127330A JP2020127330A JP2022024629A JP 2022024629 A JP2022024629 A JP 2022024629A JP 2020127330 A JP2020127330 A JP 2020127330A JP 2020127330 A JP2020127330 A JP 2020127330A JP 2022024629 A JP2022024629 A JP 2022024629A
Authority
JP
Japan
Prior art keywords
icon
font
component
information
information processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2020127330A
Other languages
Japanese (ja)
Inventor
睦 池田
Mutsumi Ikeda
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 JP2020127330A priority Critical patent/JP2022024629A/en
Publication of JP2022024629A publication Critical patent/JP2022024629A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide an information processor that reduces difference in appearance of an icon between when displayed in a first component for displaying a Web page and when displayed in a second component different from the first component in an application.SOLUTION: An information processor, which executes an application including a first component for displaying a Web page and a second component different from the first component, includes: decoration information acquisition means for acquiring decoration information described in the Web page displayed by the first component and applied to a first icon defined by an external font acquired from an outside; and drawing means for drawing, in the second component, a second icon corresponding to the first icon by using the decoration information acquired by the decoration information acquisition means.SELECTED DRAWING: Figure 3

Description

本発明は、情報処理装置、情報処理装置の処理方法およびプログラムに関する。 The present invention relates to an information processing apparatus, a processing method and a program of the information processing apparatus.

現在、Webブラウザ(以下、ブラウザ)を搭載し、そのブラウザ上でWebページを閲覧できる機能を有する装置が普及している。また、ブラウザと同等の機能を持ち、装置上のアプリケーションを構成する要素として利用可能なWebViewと呼ばれるGUI部品(GUIコンポーネント)がある。WebViewは、アプリケーション内でWebページを表示できる機能のことである。装置上のアプリケーションは、このWebViewを利用してアプリケーション画面上でブラウザと同等の表現や機能を実現できる。 Currently, a device equipped with a Web browser (hereinafter referred to as a browser) and having a function of browsing a Web page on the browser has become widespread. In addition, there is a GUI component (GUI component) called WebView that has the same function as a browser and can be used as an element constituting an application on a device. WebView is a function that can display a Web page in an application. The application on the device can realize the same expression and function as the browser on the application screen by using this WebView.

ところで、Webページの表現方法として、外部サーバに格納された外部フォントを利用するWebフォント(以下、Webフォント)と呼ばれる仕組みがある。ここで、外部フォントとは、Webフォントの仕組みで利用するために、外部サーバ上に配置されたフォントを指す。 By the way, as a method of expressing a Web page, there is a mechanism called a Web font (hereinafter, Web font) that uses an external font stored in an external server. Here, the external font refers to a font arranged on an external server in order to be used in the mechanism of the Web font.

Webフォントは、CSS Fonts Module Level 3標準仕様で策定されており、Webフォントとして利用できる外部フォントも数多く存在する。ここで、CSSはCascading Style Sheetsの略であり、CSSはWebページの装飾を指定する仕様である。 Web fonts are defined by the CSS Fonts Module Level 3 standard specifications, and there are many external fonts that can be used as Web fonts. Here, CSS is an abbreviation for Cascading Style Sheets, and CSS is a specification for designating the decoration of a Web page.

Webページ作成者は、Webフォントを利用することで、あらゆる装置上で文字の見た目を統一することができ、Webページを展開する企業のブランド力向上や、Webページ開発工数の低減に繋がっている。 By using web fonts, web page creators can unify the appearance of characters on all devices, which leads to improvement of the brand power of companies that develop web pages and reduction of man-hours for web page development. ..

特許文献1において、アプリケーション画面において、WebView以外のGUI部品でも外部フォントを利用できる方法が開示されている。 Patent Document 1 discloses a method in which an external font can be used in a GUI component other than WebView on an application screen.

特開2018-14603号公報Japanese Unexamined Patent Publication No. 2018-14603

特許文献1では、WebViewでWebフォントの仕組みを利用した場合、装置に対して外部フォントが読み込まれた旨を通知する。通知を受け取った装置は、WebView以外のGUI部品に、その外部フォントを適用することで、各部品のフォントを統一する。 In Patent Document 1, when the mechanism of the Web font is used in WebView, the device is notified that the external font has been read. The device that receives the notification applies the external font to the GUI parts other than WebView to unify the font of each part.

しかしながら、WebView内でアイコンフォントが利用され、WebView以外のGUI部品にアイコン画像が利用されていた場合、アイコンフォントとアイコン画像との見た目が一致せず、違和感が生じる恐れがある。ここで、アイコン画像とは、アイコン向けに利用される画像のことを指す。また、アイコンフォントとは、アイコンのような見た目を表現できる外部フォントを指す。アイコンフォントは、HTML仕様やCSS仕様に基づいて処理されるため、WebViewのようなWebページを解析して実行できる部品以外では、アイコンフォントを利用することはできない。 However, when the icon font is used in WebView and the icon image is used for GUI parts other than WebView, the appearance of the icon font and the icon image do not match, and there is a possibility that a sense of incongruity may occur. Here, the icon image refers to an image used for the icon. The icon font refers to an external font that can express an appearance like an icon. Since the icon font is processed based on the HTML specification and the CSS specification, the icon font cannot be used except for the parts that can analyze and execute the Web page such as WebView.

ここで、アイコン画像にアイコンフォントの表現を反映できない例を示す。選択状態と非選択状態をアイコンで表現する場合、Webページのアイコンフォントと装置のGUI部品のアイコン画像とで、アイコンの見た目が異なり、ユーザの混乱を招いてしまうことがある。具体的には、Webページのアイコンフォントの選択状態をチェックマークで表現し、非選択状態をバツで表現しており、一方で、GUI部品の選択状態をチェックマークの黒塗りで表現し、非選択状態をチェックマークの白塗りで表現している場合を考える。この場合、同じ選択状態と、同じ非選択状態でも、WebViewとWebView以外のGUI部品によって、見た目が大きく異なり、ユーザは混乱してしまう。 Here, an example in which the expression of the icon font cannot be reflected in the icon image is shown. When the selected state and the non-selected state are represented by icons, the appearance of the icon differs between the icon font of the Web page and the icon image of the GUI component of the device, which may cause confusion for the user. Specifically, the selected state of the icon font of the Web page is represented by a check mark and the non-selected state is represented by a cross, while the selected state of the GUI component is represented by a black check mark and is not displayed. Consider the case where the selected state is expressed by whitening the check mark. In this case, even in the same selected state and the same non-selected state, the appearance differs greatly depending on the GUI component other than WebView and WebView, and the user is confused.

このため、WebViewでアイコンフォントを利用する際に、アイコンフォントの表現をWebView以外のGUI部品にも適用する方法が望まれている。 Therefore, when using an icon font in WebView, a method of applying the expression of the icon font to GUI parts other than WebView is desired.

本発明の目的は、アプリケーションにおいて、Webページを表示させるための第1のコンポーネントと、第1のコンポーネントとは異なる第2のコンポーネントとにおけるアイコンの見た目の違和感を低減することができるようにすることである。 An object of the present invention is to make it possible to reduce the discomfort of the appearance of an icon in a first component for displaying a Web page and a second component different from the first component in an application. Is.

本発明の情報処理装置は、Webページを表示させるための第1のコンポーネントと、前記第1のコンポーネントとは異なる第2のコンポーネントとが含まれるアプリケーションを実行する情報処理装置であって、前記第1のコンポーネントで表示されるWebページにおいて記述され、外部から取得される外部フォントにより規定される第1アイコンに適用される装飾情報を取得する装飾情報取得手段と、前記第2のコンポーネントにおいて、前記装飾情報取得手段により取得された装飾情報を用いて、前記第1アイコンに対応する第2アイコンの描画を行う描画手段と、を有する。 The information processing apparatus of the present invention is an information processing apparatus that executes an application including a first component for displaying a Web page and a second component different from the first component. In the decoration information acquisition means for acquiring the decoration information described in the Web page displayed by the component 1 and applied to the first icon defined by the external font acquired from the outside, and in the second component, the said It has a drawing means for drawing a second icon corresponding to the first icon by using the decoration information acquired by the decoration information acquisition means.

本発明によれば、アプリケーションにおいて、Webページを表示させるための第1のコンポーネントと、第1のコンポーネントとは異なる第2のコンポーネントとにおけるアイコンの見た目の違和感を低減することができる。 According to the present invention, it is possible to reduce the discomfort of the appearance of the icon in the first component for displaying the Web page and the second component different from the first component in the application.

情報処理装置のハードウェア構成例を示す図である。It is a figure which shows the hardware configuration example of an information processing apparatus. 情報処理装置の機能構成例を示す図である。It is a figure which shows the functional configuration example of an information processing apparatus. 情報処理装置の処理方法を示すフローチャートである。It is a flowchart which shows the processing method of an information processing apparatus. アイコンフォントを利用したWebページの例を示す図である。It is a figure which shows the example of the Web page which used the icon font. アイコン画像を利用したWebView以外のGUI部品を示す図である。It is a figure which shows the GUI component other than WebView using the icon image. コードポイント対応表の例を示す図である。It is a figure which shows the example of the code point correspondence table. アイコンフォントに指定される装飾情報とアイコン画像の指定の図である。It is a figure of designation of the decoration information and the icon image specified in the icon font. 表示例の比較を示す図である。It is a figure which shows the comparison of the display example. 視認性の低下を招く例を示す図である。It is a figure which shows the example which causes the deterioration of visibility. 情報処理装置の処理方法を示すフローチャートである。It is a flowchart which shows the processing method of an information processing apparatus. 背景色を追加する前後の装飾情報の例を示す図である。It is a figure which shows the example of the decoration information before and after adding the background color. 情報処理装置の処理方法を示すフローチャートである。It is a flowchart which shows the processing method of an information processing apparatus. コードポイントテーブルを更新する例を示す図である。It is a figure which shows the example which updates the code point table.

以下、本発明の実施形態について、図面を参照して説明する。なお、以下の実施形態は特許請求の範囲に関る本発明を限定するものではなく、また、実施形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。なお、同一な構成については、同じ符号を付して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. It should be noted that the following embodiments do not limit the present invention in terms of the scope of claims, and not all combinations of features described in the embodiments are essential for the means for solving the present invention. do not have. The same configuration will be described with the same reference numerals.

(第1の実施形態)
本実施形態では、Webページが利用する外部フォント(Webフォント)により表現されるアイコンを、WebView以外のGUI部品において、当該GUI部品が利用するアイコンと差し変えて描画する例を説明する。なお、GUI部品(GUIコンポーネント)とは、ボタン、テキストボックスやウィンドウなどGUI(グラフィカルインターフェース)において画面を構成する部品である。GUI部品は、ウィジェットとも呼ばれる。
(First Embodiment)
In this embodiment, an example in which an icon represented by an external font (Web font) used by a Web page is drawn by replacing it with an icon used by the GUI component in a GUI component other than WebView will be described. The GUI component (GUI component) is a component that constitutes a screen in a GUI (graphical interface) such as a button, a text box, and a window. GUI parts are also called widgets.

図1は、第1の実施形態による情報処理装置100のハードウェア構成例を示す図である。情報処理装置100は、例えばコンピュータであり、CPU101と、ROM102と、RAM103と、インタフェース104と、バス105とを有する。 FIG. 1 is a diagram showing a hardware configuration example of the information processing apparatus 100 according to the first embodiment. The information processing apparatus 100 is, for example, a computer, and has a CPU 101, a ROM 102, a RAM 103, an interface 104, and a bus 105.

CPU101は、情報処理装置100の全体を制御するCentral Processing Unit(CPU)である。ROM102は、変更を必要としないプログラムやパラメータを格納するRead Only Memory(ROM)である。RAM103は、外部装置などから供給されるプログラムやデータを一時記憶するRandom Access Memory(RAM)である。インタフェース104は、保持するデータや供給されたデータを表示するためのインタフェースである。バス105は、CPU101とROM102とRAM103とインタフェース104を通信可能に接続するシステムバスである。 The CPU 101 is a Central Processing Unit (CPU) that controls the entire information processing apparatus 100. The ROM 102 is a Read Only Memory (ROM) that stores programs and parameters that do not require changes. The RAM 103 is a Random Access Memory (RAM) that temporarily stores programs and data supplied from an external device or the like. The interface 104 is an interface for displaying the data to be held and the data to be supplied. The bus 105 is a system bus that communicably connects the CPU 101, the ROM 102, the RAM 103, and the interface 104.

なお、情報処理装置100は、ユーザからの操作を受けて、データを入力するマウスなどのポインティングデバイスやキーボードなどの入力デバイスとのインタフェース等を有してもよい。また、情報処理装置100は、情報処理装置100に固定して設置されたハードディスクやメモリカード等を有してもよい。また、情報処理装置100は、情報処理装置100から着脱可能なフレキシブルディスク(FD)やCompact Disk(CD)等の光ディスク、磁気や光カード、ICカード、メモリカードなどを含む外部記憶装置等を有してもよい。また、情報処理装置100は、インターネットなどのネットワーク回線に接続するためのネットワークインターフェイス等を有してもよい。 The information processing apparatus 100 may have an interface with a pointing device such as a mouse for inputting data or an input device such as a keyboard in response to an operation from the user. Further, the information processing apparatus 100 may have a hard disk, a memory card, or the like fixedly installed in the information processing apparatus 100. Further, the information processing device 100 includes an optical disk such as a flexible disk (FD) and a compact disk (CD) that can be attached to and detached from the information processing device 100, and an external storage device including a magnetic or optical card, an IC card, a memory card, and the like. You may. Further, the information processing apparatus 100 may have a network interface or the like for connecting to a network line such as the Internet.

図2は、第1の実施形態による情報処理装置100の機能構成例を示す図である。情報処理装置100は、図1のCPU101がROM102およびRAM103に記憶されたプログラムを実行することにより、図2に示す機能部を実現する。なお、各機能構成の一部または全部をASICやFPGAなどのハードウェアにより実現してもよい。情報処理装置100は、Webページ解析部202と、外部フォント取得部203と、装飾情報取得部204と、装飾情報更新部205と、アイコンフォント描画部206と、アイコン画像更新部207とを有する。 FIG. 2 is a diagram showing a functional configuration example of the information processing apparatus 100 according to the first embodiment. The information processing apparatus 100 realizes the functional unit shown in FIG. 2 by executing the program stored in the ROM 102 and the RAM 103 by the CPU 101 of FIG. In addition, a part or all of each functional configuration may be realized by hardware such as ASIC or FPGA. The information processing apparatus 100 includes a Web page analysis unit 202, an external font acquisition unit 203, a decoration information acquisition unit 204, a decoration information update unit 205, an icon font drawing unit 206, and an icon image update unit 207.

Webページ201は、外部サーバから送られてくるデータであってもよいし、情報処理装置100上に保存されているデータであってもよい。Webページ解析部202は、HTML(Hyper Text Markup Language)文書等の構造化文書を含むWebページ201を解析し、Webページ201を表示させるための処理を実行する。ここで、Webページ解析部202の利用形態は、WebViewでもよいし、ブラウザアプリケーションでもよい。 The Web page 201 may be data sent from an external server or may be data stored on the information processing apparatus 100. The web page analysis unit 202 analyzes a web page 201 including a structured document such as an HTML (HyperText Markup Language) document, and executes a process for displaying the web page 201. Here, the usage mode of the Web page analysis unit 202 may be WebView or a browser application.

コードポイント対応表208は、アイコン画像と、アイコン画像に対応する外部フォントのコードポイントが記載されたテーブルである。外部フォント取得部203は、Webページ解析部202がWebページ201を解析した情報を基に、Webページ201に含まれる外部フォントを取得する。 The code point correspondence table 208 is a table in which the icon image and the code point of the external font corresponding to the icon image are described. The external font acquisition unit 203 acquires the external font included in the Web page 201 based on the information obtained by the Web page analysis unit 202 analyzing the Web page 201.

装飾情報取得部204は、外部フォント取得部203により取得された外部フォントに適用された装飾情報を取得する。GUI部品の装飾情報209は、GUI部品に施された装飾に関わる情報である。装飾情報更新部205は、GUI部品の装飾情報209に従って、装飾情報取得部204により取得された装飾情報を更新する。 The decoration information acquisition unit 204 acquires the decoration information applied to the external font acquired by the external font acquisition unit 203. The decoration information 209 of the GUI component is information related to the decoration applied to the GUI component. The decoration information updating unit 205 updates the decoration information acquired by the decoration information acquisition unit 204 according to the decoration information 209 of the GUI part.

アイコンフォント描画部206は、装飾情報更新部205により更新された装飾情報を、外部フォント取得部203により取得された外部フォントに適用して描画する。アイコン画像更新部207は、WebView以外のGUI部品が利用するアイコン画像を更新する。 The icon font drawing unit 206 applies the decoration information updated by the decoration information updating unit 205 to the external font acquired by the external font acquisition unit 203 and draws the font. The icon image update unit 207 updates the icon image used by the GUI component other than WebView.

図3は、第1の実施形態による情報処理装置100の処理方法を示すフローチャートである。なお、図3および以降で示すフローチャートにおける各ステップの処理は、CPU101がROM102や外部記憶装置に記憶されるプログラムを読み込み実行することにより情報の演算や加工および各ハードウェアの制御を行うことで実現される。なお、図3および以降に示すフローチャートにおける各ステップの処理の一部ないし全部を一つまたは複数のASICやFPGAなどのハードウェアにより実現する構成としてもよい。図3に示すフローチャートは、Webページを表示させるためのGUI部品と、Webページを表示せず、Webページ以外のコンテンツを表示するためのGUI部品とが含まれるアプリケーションを情報処理装置100が実行する際に開始される。ステップS301では、Webページ解析部202は、Webページ201を取得する。ここで、Webページ201は、HTML文書、JavaScript(登録商標)、CSSファイル、外部フォント、および画像などを含む。 FIG. 3 is a flowchart showing a processing method of the information processing apparatus 100 according to the first embodiment. The processing of each step in the flowcharts shown in FIGS. 3 and later is realized by the CPU 101 reading and executing a program stored in the ROM 102 or an external storage device to calculate and process information and control each hardware. Will be done. It should be noted that a configuration may be configured in which a part or all of the processing of each step in the flowcharts shown in FIGS. 3 and later is realized by hardware such as one or a plurality of ASICs and FPGAs. In the flowchart shown in FIG. 3, the information processing apparatus 100 executes an application including a GUI component for displaying a Web page and a GUI component for displaying contents other than the Web page without displaying the Web page. It will be started at the time. In step S301, the Web page analysis unit 202 acquires the Web page 201. Here, the Web page 201 includes an HTML document, JavaScript (registered trademark), a CSS file, an external font, an image, and the like.

図4(A)は、アイコンフォントを利用したWebページ201の例を示す図である。図4(A)のWebページ201には、HTML要素に対する装飾を指定するstyle要素が1個、文字列表示部品を表現するdiv要素が2個含まれる。各div要素の中には、装飾情報の句切れ目を示すspan要素が1つ含まれている。情報処理装置100は、図4(A)のWebページ201をブラウザアプリケーションで描画すると、図4(B)のWebView401のような見た目になる。図4(A)を見ると、印刷ジョブという文字列の前の外部フォントのコードポイントは2714であり、Web広告という文字列の前の外部フォントのコードポイントは2716となっている。 FIG. 4A is a diagram showing an example of a Web page 201 using an icon font. The Web page 201 of FIG. 4A includes one style element that specifies decoration for the HTML element and two div elements that represent the character string display component. Each div element contains one span element that indicates a break in the decorative information. When the Web page 201 of FIG. 4A is drawn by the browser application, the information processing apparatus 100 looks like the WebView401 of FIG. 4B. Looking at FIG. 4A, the code point of the external font before the character string of the print job is 2714, and the code point of the external font before the character string of the Web advertisement is 2716.

図4(B)は、WebView401のGUI部品を示す。WebView401は、アイコンフォント402と、アイコンフォント403を有する。アイコンフォント402は、コードポイント2714の外部フォントを基に描画したアイコンフォントである。アイコンフォント403は、コードポイント2716の外部フォントを基に描画したアイコンフォントである。ここで、アイコンフォント402のチェックマークが選択状態を示し、アイコンフォント403のバツが非選択状態を示している。 FIG. 4B shows a GUI component of WebView401. The WebView 401 has an icon font 402 and an icon font 403. The icon font 402 is an icon font drawn based on the external font of the code point 2714. The icon font 403 is an icon font drawn based on the external font of the code point 2716. Here, the check mark of the icon font 402 indicates the selected state, and the cross of the icon font 403 indicates the non-selected state.

図4(C)は、図4(B)のアイコンフォント402および403の描画にそれぞれ利用される外部フォント412および413を示す。外部フォント412および413は、WebViewのGUI部品が参照する外部フォントである。外部フォント412は、コードポイント2714の外部フォントである。外部フォント413は、コードポイント2716の外部フォントである。外部フォント412および413には、色情報がない。WebViewは、第1のコンポーネントの一例である。外部フォント412および413は、CSS Fonts Module Level 3に規定されるWebフォントである。 4 (C) shows external fonts 412 and 413 used for drawing the icon fonts 402 and 403 of FIG. 4 (B), respectively. The external fonts 412 and 413 are external fonts referred to by the WebView GUI component. The external font 412 is an external font at code point 2714. The external font 413 is an external font at code point 2716. The external fonts 412 and 413 have no color information. WebView is an example of the first component. The external fonts 412 and 413 are Web fonts defined in CSS Fonts Module Level 3.

図4(B)のアイコンフォント402および403は、それぞれ、図4(C)の外部フォント412および413に対して、図4(A)のstyle要素に記載される色情報によって、色が付与されている。アイコンフォント402は、コードポイント2714の外部フォント412に対して、図4(A)のdarkgreenの色が付与されている。アイコンフォント403は、コードポイント2716の外部フォント413に対して、図4(A)のlightcoralの色が付与されている。 The icon fonts 402 and 403 of FIG. 4B are given colors to the external fonts 412 and 413 of FIG. 4C, respectively, by the color information described in the style element of FIG. 4A. ing. In the icon font 402, the color of darkglen of FIG. 4A is given to the external font 412 of the code point 2714. The icon font 403 is given the lightcolor color of FIG. 4A to the external font 413 of the code point 2716.

図5(A)は、アイコン画像502および503を利用したWebView以外のGUI部品の例を示す図である。アプリケーション501は、アイコン画像502と、アイコン画像503を有する。アイコン画像502および503は、WebView以外のGUI部品が参照するアイコン画像である。アイコン画像502は、選択状態を表すアイコン画像である。アイコン画像503は、非選択状態を表すアイコン画像である。 FIG. 5A is a diagram showing an example of a GUI component other than WebView using the icon images 502 and 503. Application 501 has an icon image 502 and an icon image 503. The icon images 502 and 503 are icon images referred to by GUI components other than WebView. The icon image 502 is an icon image showing the selected state. The icon image 503 is an icon image representing a non-selected state.

図5(B)は、図5(A)のアプリケーション501と図4(B)のWebView401を組み合わせた例を示す図である。アプリケーション511は、図4(B)のWebView401と、図5(A)のアイコン画像502および503を有する。WebView401は、図4(B)と同様に、アイコンフォント402および403を有する。WebView401のアイコンフォント402の選択状態およびアイコンフォント403の非選択状態と、WebView以外のGUI部品のアイコン画像502の選択状態とアイコン画像503の非選択状態は、見た目が異なる。そのため、ユーザは、「印刷ジョブ」と「Web広告」と「用紙残量」と「トナー残量」が、それぞれ、選択された状態か否かを混乱しやすい。 5 (B) is a diagram showing an example of combining the application 501 of FIG. 5 (A) and the WebView 401 of FIG. 4 (B). Application 511 has WebView401 of FIG. 4B and icon images 502 and 503 of FIG. 5A. WebView401 has icon fonts 402 and 403, as in FIG. 4B. The appearance of the selected state of the icon font 402 of the WebView 401 and the non-selected state of the icon font 403, the selected state of the icon image 502 of the GUI component other than the WebView, and the non-selected state of the icon image 503 are different. Therefore, the user is likely to be confused as to whether or not the "print job", "web advertisement", "paper remaining amount", and "toner remaining amount" are each selected.

図6は、図2のコードポイント対応表208の例を示す図である。コードポイント対応表208には、左列のアイコン画像502および503等の識別子と、右列の外部フォント412および413等のコードポイントとの対応関係が記載されている。例えば、図5(B)の選択状態を意味するアイコン画像502には、図5(B)の513のようなコードポイント2714の外部フォント412が対応付けされている。 FIG. 6 is a diagram showing an example of the code point correspondence table 208 of FIG. The code point correspondence table 208 describes the correspondence between the identifiers such as the icon images 502 and 503 in the left column and the code points such as the external fonts 412 and 413 in the right column. For example, the icon image 502, which means the selected state in FIG. 5 (B), is associated with the external font 412 of the code point 2714 as shown in 513 in FIG. 5 (B).

次に、図3のステップS302では、Webページ解析部202は、Webページ201の中のHTML文書の上から順にHTML要素を解析する。 Next, in step S302 of FIG. 3, the Web page analysis unit 202 analyzes the HTML elements in order from the top of the HTML document in the Web page 201.

ステップS303では、Webページ解析部202は、Webページ201の中にCSSにより外部フォントが適用された要素があり、その外部フォントがコードポイント対応表208に記載されたコードポイントの外部フォントであるか否かを判定する。Webページ解析部202は、その外部フォントがコードポイント対応表208に記載されたコードポイントの外部フォントである場合には、ステップS304に進む。また、Webページ解析部202は、その外部フォントがコードポイント対応表208に記載されたコードポイントの外部フォントでない場合には、ステップS302に戻る。 In step S303, the Web page analysis unit 202 has an element to which the external font is applied by CSS in the Web page 201, and whether the external font is the external font of the code point described in the code point correspondence table 208. Judge whether or not. If the external font is the external font of the code point shown in the code point correspondence table 208, the Web page analysis unit 202 proceeds to step S304. If the external font is not the external font of the code point shown in the code point correspondence table 208, the Web page analysis unit 202 returns to step S302.

ステップS304では、外部フォント取得部203は、Webページ201から、上記のコードポイント対応表208に記載されているアイコン画像に対応するコードポイントの外部フォントを取得する。 In step S304, the external font acquisition unit 203 acquires the external font of the code point corresponding to the icon image shown in the above code point correspondence table 208 from the Web page 201.

次に、ステップS305では、装飾情報取得部204は、Webページ201において記述され、ステップS304で取得された外部フォントに適用されている装飾情報(色情報等)を取得する。装飾情報は、CSSを指し、表示位置、太字、下線、取り消し線、文字の色、文字の背景色、透明度、またはアニメーションを含む。 Next, in step S305, the decoration information acquisition unit 204 acquires decoration information (color information, etc.) described in the Web page 201 and applied to the external font acquired in step S304. Decorative information refers to CSS and includes display position, bold, underline, strikethrough, text color, text background color, transparency, or animation.

図7(A)は、外部フォントに指定される装飾情報を示し、図7(B)は、アイコン画像の指定方法の例を示す。図7(A)は、図4(A)のWebページ201において、コードポイント2714の外部フォント412に指定された装飾情報を示す。 FIG. 7A shows decoration information designated for the external font, and FIG. 7B shows an example of a method for designating an icon image. FIG. 7A shows the decoration information specified in the external font 412 of the code point 2714 in the Web page 201 of FIG. 4A.

次に、ステップS306では、アイコンフォント描画部206は、ステップS304で取得された外部フォントに対して、ステップS305で取得された装飾情報を適用し、アイコンフォントを描画する。図4(A)のWebページ201の場合、アイコンフォント描画部206は、コードポイント2714の外部フォント412に対して、図4(A)のdarkgreenの装飾情報を適用し、図4(B)のアイコンフォント402を描画する。また、アイコンフォント描画部206は、コードポイント2716の外部フォント413に対して、図4(A)のlightcoralの装飾情報を適用し、図4(B)のアイコンフォント403を描画する。 Next, in step S306, the icon font drawing unit 206 applies the decoration information acquired in step S305 to the external font acquired in step S304, and draws the icon font. In the case of the Web page 201 of FIG. 4 (A), the icon font drawing unit 206 applies the decoration information of the darkgren of FIG. 4 (A) to the external font 412 of the code point 2714, and the decoration information of FIG. 4 (B) is shown. Draw the icon font 402. Further, the icon font drawing unit 206 applies the decoration information of lightcoral of FIG. 4A to the external font 413 of the code point 2716, and draws the icon font 403 of FIG. 4B.

次に、ステップS307では、アイコン画像更新部207は、コードポイント対応表208を参照し、ステップS304で取得された外部フォントのコードポイントに対応する、WebView以外のGUI部品が参照するアイコン画像502等のパスを取得する。 Next, in step S307, the icon image update unit 207 refers to the code point correspondence table 208, and the icon image 502 or the like referred to by the GUI component other than WebView corresponding to the code point of the external font acquired in step S304. Get the path of.

図7(B)は、WebView以外のGUI部品におけるアイコン画像の指定例を示す。図7(B)を見ると、ButtonクラスのbtnCheckedインスタンスのアイコン画像には、/home/sample/checked.pngのパスに存在する画像が指定されている。同様に、ButtonクラスのbtnUncheckedインスタンスのアイコン画像には、/home/sample/unchecked.pngのパスに存在する画像が指定されている。例えば、ステップS307では、アイコン画像更新部207は、選択状態を示すアイコン画像502のパスとして、図7(B)の/home/sample/checked.pngのパスを取得する。 FIG. 7B shows an example of designating an icon image in a GUI component other than WebView. Looking at FIG. 7B, the icon image of the buttonChecked instance of the Button class has / home / sample / checked. The image existing in the path of png is specified. Similarly, the icon image of the btnUnchecked instance of the Button class has / home / sample / unchecked. The image existing in the path of png is specified. For example, in step S307, the icon image update unit 207 sets the path of the icon image 502 indicating the selected state as / home / sample / checked. Get the path of png.

次に、ステップS308では、アイコン画像更新部207は、ステップS307で取得されたパスのアイコン画像に対して、ステップS306で描画されたアイコンフォントを上書きする。図7(B)の場合、アイコン画像更新部207は、/home/sample/checked.pngのパスのアイコン画像に対して、ステップS306で描画されたアイコンフォントを上書きする。 Next, in step S308, the icon image updating unit 207 overwrites the icon image of the path acquired in step S307 with the icon font drawn in step S306. In the case of FIG. 7B, the icon image update unit 207 has a / home / sample / checked. The icon font drawn in step S306 is overwritten on the icon image of the png path.

次に、ステップS309では、Webページ解析部202は、Webページ201の解析が終了してる場合には、図3のフローチャートの処理を終了し、Webページ201の解析が終了していない場合には、ステップS302に戻る。 Next, in step S309, the Web page analysis unit 202 ends the processing of the flowchart of FIG. 3 when the analysis of the Web page 201 is completed, and when the analysis of the Web page 201 is not completed, the Web page analysis unit 202 ends. , Return to step S302.

図8(A)は、図5(B)と同じアプリケーション511の表示例を示す図である。アプリケーション511は、図4(B)のWebView401と、図5(A)のアイコン画像502および503を有する。WebView401は、アイコンフォント402および403を有する。アイコンフォント402および403は、WebView401のGUI部品である。アイコン画像502および503は、WebView以外のGUI部品である。 FIG. 8A is a diagram showing a display example of the same application 511 as in FIG. 5B. Application 511 has WebView401 of FIG. 4B and icon images 502 and 503 of FIG. 5A. WebView401 has icon fonts 402 and 403. Icon fonts 402 and 403 are GUI components of WebView401. Icon images 502 and 503 are GUI components other than WebView.

選択状態のアイコン画像502は、選択状態のアイコンフォント402に対して、見た目が異なる。非選択状態のアイコン画像503は、非選択状態のアイコンフォント403に対して、見た目が異なる。 The icon image 502 in the selected state has a different appearance from the icon font 402 in the selected state. The icon image 503 in the non-selected state has a different appearance from the icon font 403 in the non-selected state.

図8(B)は、図3のフローチャートの処理を行った場合のアプリケーション511の表示例を示す図である。アプリケーション511は、図4(B)のWebView401と、アイコン画像801および802を有する。WebView401は、アイコンフォント402および403を有する。アイコンフォント402および403は、WebView401のGUI部品である。アイコン画像801および802は、WebView以外のGUI部品である。 FIG. 8B is a diagram showing a display example of the application 511 when the flowchart of FIG. 3 is processed. Application 511 has WebView401 of FIG. 4B and icon images 801 and 802. WebView401 has icon fonts 402 and 403. Icon fonts 402 and 403 are GUI components of WebView401. The icon images 801 and 802 are GUI parts other than WebView.

アイコン画像801は、図8(A)のアイコン画像502のパスに対して、アイコンフォント402が上書きされた画像である。選択状態のアイコン画像801は、選択状態のアイコンフォント402に対して、見た目が同じであり、視認性の低下を防ぐことができる。 The icon image 801 is an image in which the icon font 402 is overwritten on the path of the icon image 502 in FIG. 8 (A). The icon image 801 in the selected state has the same appearance as the icon font 402 in the selected state, and it is possible to prevent deterioration of visibility.

アイコン画像802は、図8(A)のアイコン画像503のパスに対して、アイコンフォント403が上書きされた画像である。非選択状態のアイコン画像802は、非選択状態のアイコンフォント403に対して、見た目が同じであり、視認性の低下を防ぐことができる。 The icon image 802 is an image in which the icon font 403 is overwritten on the path of the icon image 503 in FIG. 8 (A). The icon image 802 in the non-selected state has the same appearance as the icon font 403 in the non-selected state, and it is possible to prevent deterioration of visibility.

(第2の実施形態)
図9(A)~(C)は、WebView内の背景色と、WebView以外のGUI部品の背景色が異なり、視認性の低下を招く例を示す図である。
(Second embodiment)
9 (A) to 9 (C) are diagrams showing an example in which the background color in WebView and the background color of GUI parts other than WebView are different, resulting in a decrease in visibility.

図9(A)は、WebViewの丸い形状のアイコンフォントを描画した例を示す図である。背景色は、白である。このとき、図9(A)のWebViewには、アンチエイリアス処理が施される。アンチエイリアス処理とは、情報処理装置100が文字や図形を描画および表示する際に、斜線や曲線などに発生する微細な階段状のギザギザした部分を目立たなくする処理である。 FIG. 9A is a diagram showing an example of drawing a round icon font of WebView. The background color is white. At this time, the WebView of FIG. 9A is subjected to antialiasing processing. The anti-aliasing process is a process of making fine stepped jagged portions generated in diagonal lines, curves, and the like inconspicuous when the information processing apparatus 100 draws and displays characters and figures.

図9(B)は、第1の実施形態の処理に従って描画したアイコンフォントを、WebView以外のGUI部品が参照するパスのアイコン画像に上書きしたものである。WebView以外のGUI部品の背景色は、黒である。図9(B)をみて分かる通り、背景色が黒の領域に、背景色を白として描画したアイコンフォント(アイコン画像)を配置したため、視認性が低下してしまっている。 FIG. 9B is an icon font drawn according to the process of the first embodiment overwritten with an icon image of a path referenced by a GUI component other than WebView. The background color of GUI parts other than WebView is black. As can be seen from FIG. 9B, since the icon font (icon image) drawn with the background color as white is arranged in the region where the background color is black, the visibility is deteriorated.

図9(C)は、理想的な表示結果を示す。図9(C)では、GUI部品は、背景色を黒としてアンチエイリアス処理が施されているので、視認性が高い。そこで、第2の実施形態では、図9(A)のWebView内の背景色と、図9(B)のWebView以外のGUI部品の背景色が異なった場合に、視認性の低下を防ぐ例を示す。具体的には、情報処理装置100は、図9(A)のアイコンフォントを描画する際に、図9(B)のWebView以外のGUI部品の背景色を参照し、装飾情報に背景色の適用を追加する。 FIG. 9C shows an ideal display result. In FIG. 9C, the GUI component has a background color of black and is antialiased, so that the GUI component has high visibility. Therefore, in the second embodiment, when the background color in WebView of FIG. 9A and the background color of the GUI component other than WebView of FIG. 9B are different, an example of preventing the deterioration of visibility is prevented. show. Specifically, when drawing the icon font of FIG. 9A, the information processing apparatus 100 refers to the background color of the GUI component other than WebView of FIG. 9B, and applies the background color to the decoration information. To add.

図10は、第2の実施形態による情報処理装置100の処理方法を示すフローチャートである。図10は、図3に対して、ステップS1001およびS1002を追加したものである。図10のステップS301~S309の処理は、図3のステップS301~S309の処理と同じである。ステップS1001およびS1002は、ステップS305とステップS306の間に設けられる。情報処理装置100は、ステップS305の後、ステップS1001に進む。以下、第2の実施形態が第1の実施形態と異なる点を説明する。 FIG. 10 is a flowchart showing a processing method of the information processing apparatus 100 according to the second embodiment. FIG. 10 shows the addition of steps S1001 and S1002 to FIG. The process of steps S301 to S309 of FIG. 10 is the same as the process of steps S301 to S309 of FIG. Steps S1001 and S1002 are provided between steps S305 and S306. The information processing apparatus 100 proceeds to step S1001 after step S305. Hereinafter, the difference between the second embodiment and the first embodiment will be described.

ステップS305では、装飾情報取得部204は、Webページ201から、ステップS304で取得された外部フォントに適用されている装飾情報(色情報等)を取得する。 In step S305, the decoration information acquisition unit 204 acquires decoration information (color information, etc.) applied to the external font acquired in step S304 from the Web page 201.

次に、ステップS1001では、装飾情報更新部205は、WebView以外のGUI部品が参照するアイコン画像に適用されている装飾情報(背景色)209を取得する。例えば、装飾情報取得部204は、図9(B)のWebView以外のGUI部品が参照するアイコン画像に適用されている背景色として、黒色を取得する。 Next, in step S1001, the decoration information updating unit 205 acquires the decoration information (background color) 209 applied to the icon image referenced by the GUI component other than WebView. For example, the decoration information acquisition unit 204 acquires black as the background color applied to the icon image referenced by the GUI component other than WebView in FIG. 9B.

次に、ステップS1002では、装飾情報更新部205は、ステップS305で取得された装飾情報に対して、ステップS1001で取得された装飾情報(背景色)209を追加することにより、ステップS305で取得された装飾情報を更新する。その後、装飾情報取得部204は、ステップS306に進む。 Next, in step S1002, the decoration information updating unit 205 is acquired in step S305 by adding the decoration information (background color) 209 acquired in step S1001 to the decoration information acquired in step S305. Update the decoration information. After that, the decoration information acquisition unit 204 proceeds to step S306.

図11(A)および(B)は、図10のステップS1002で背景色を追加する前後の装飾情報の例を示す図である。図11(A)は、ステップS305で取得された装飾情報を示す図であり、図7(A)の装飾情報と同じである。ステップS1001では、装飾情報更新部205は、例えば、背景色として黒色を取得する。ステップS1002では、装飾情報更新部205は、ステップS305で取得された図11(A)の装飾情報に対して、ステップS1001で取得された黒色の背景色の適用を追加し、図11(B)に示す装飾情報を生成する。具体的には、装飾情報更新部205は、図11(A)の装飾情報に対して、黒色の背景色の適用として、「background-color: black;」を追加し、図11(B)の装飾情報を生成する。 11 (A) and 11 (B) are diagrams showing examples of decorative information before and after adding the background color in step S1002 of FIG. FIG. 11A is a diagram showing the decoration information acquired in step S305, which is the same as the decoration information in FIG. 7A. In step S1001, the decoration information updating unit 205 acquires, for example, black as the background color. In step S1002, the decoration information updating unit 205 adds the application of the black background color acquired in step S1001 to the decoration information of FIG. 11 (A) acquired in step S305, and FIG. 11 (B). Generates the decoration information shown in. Specifically, the decoration information updating unit 205 adds "buckground-color: black;" to the decoration information of FIG. 11A as an application of the black background color, and is shown in FIG. 11B. Generate decoration information.

ステップS306では、アイコンフォント描画部206は、ステップS304で取得された外部フォントに対して、ステップS1002で更新された装飾情報を適用し、アイコンフォントを描画する。これにより、アイコンフォント描画部206は、図9(C)のように、背景色が黒色であるアイコンフォントを描画することができる。 In step S306, the icon font drawing unit 206 applies the decoration information updated in step S1002 to the external font acquired in step S304, and draws the icon font. As a result, the icon font drawing unit 206 can draw an icon font having a black background color, as shown in FIG. 9C.

また、情報処理装置100は、図10のフローチャートの処理後、図9(C)のように、WebView以外のGUI部品が参照するアイコン画像を表示することができる。また、情報処理装置100は、図9(C)のアイコン画像に対して、アンチエイリアス処理が施された場合にも、視認性の低下を防ぐことができる。 Further, after processing the flowchart of FIG. 10, the information processing apparatus 100 can display an icon image referred to by a GUI component other than WebView, as shown in FIG. 9C. Further, the information processing apparatus 100 can prevent deterioration of visibility even when antialiasing processing is applied to the icon image of FIG. 9C.

(第3の実施形態)
第3の実施形態では、ステップS306で描画されたアイコンフォントをキャッシュし、次回以降では、キャッシュされたアイコンフォントを利用する例を示す。
(Third embodiment)
In the third embodiment, an example is shown in which the icon font drawn in step S306 is cached, and the cached icon font is used from the next time onward.

図12は、第3の実施形態による情報処理装置100の処理方法を示すフローチャートである。図12は、図3に対して、ステップS1201~S1204を追加したものである。図12のステップS301~S309の処理は、図3のステップS301~S309の処理と同じである。ステップS1201は、ステップS303とステップS304の間に設けられる。ステップS1202およびS1203は、ステップS306とステップS307の間に設けられる。以下、第3の実施形態が第1の実施形態と異なる点を説明する。 FIG. 12 is a flowchart showing a processing method of the information processing apparatus 100 according to the third embodiment. FIG. 12 shows that steps S1201 to S1204 are added to FIG. The process of steps S301 to S309 in FIG. 12 is the same as the process of steps S301 to S309 of FIG. Step S1201 is provided between step S303 and step S304. Steps S1202 and S1203 are provided between steps S306 and S307. Hereinafter, the difference between the third embodiment and the first embodiment will be described.

情報処理装置100は、ステップS306の後、ステップS1202に進む。ステップS1202では、アイコン画像更新部207は、ステップS306で描画されたアイコンフォントをRAM103等にキャッシュする。アイコンフォントのキャッシュ先は、RAM103上であってもよいし、ハードディスクやメモリカード等の物理領域であってもよい。 The information processing apparatus 100 proceeds to step S1202 after step S306. In step S1202, the icon image updating unit 207 caches the icon font drawn in step S306 in the RAM 103 or the like. The cache destination of the icon font may be on the RAM 103, or may be a physical area such as a hard disk or a memory card.

次に、ステップS1203では、図13(A)のコードポイント対応表208に対して、ステップS1202でキャッシュしたアイコンフォントのパスの情報を書き込み、図13(B)のコードポイント対応表208の状態に更新する。 Next, in step S1203, the information of the path of the icon font cached in step S1202 is written to the code point correspondence table 208 of FIG. 13 (A), and the state of the code point correspondence table 208 of FIG. 13 (B) is set. Update.

図13(A)は、更新前のコードポイント対応表208を示す図であり、図13(B)は、更新後のコードポイント対応表208を示す図である。図13(A)および(B)のコードポイント対応表208は、図6のコードポイント対応表208に対して、キャッシュしたアイコンフォントのパスの情報を格納可能になっている。 13 (A) is a diagram showing the code point correspondence table 208 before the update, and FIG. 13 (B) is a diagram showing the code point correspondence table 208 after the update. The code point correspondence table 208 of FIGS. 13A and 13B can store the cached icon font path information with respect to the code point correspondence table 208 of FIG.

図13(A)の更新前のコードポイント対応表208は、すべてのコードポイントに対して、それぞれのコードポイントの外部フォントを用いたアイコンフォントがキャッシュされていないことを示す。 The code point correspondence table 208 before the update of FIG. 13A shows that the icon font using the external font of each code point is not cached for all the code points.

例えば、ステップS306では、アイコンフォント描画部206は、コードポイント2714の外部フォントに装飾情報を適用し、アイコンフォントを描画する。次に、ステップS1202では、アイコン画像更新部207は、ステップS306で描画されたアイコンフォントを「/home/cache/checked.png」のパスにキャッシュする。次に、ステップS1203では、アイコン画像更新部207は、図13(A)のコードポイント対応表208のコードポイント2714に対して、キャッシュしたアイコンフォントのパスとして、「/home/cache/checked.png」を書き込む。その結果、図13(B)のコードポイント対応表208のように更新される。その後、情報処理装置100は、ステップS307以降の処理を行う。 For example, in step S306, the icon font drawing unit 206 applies decoration information to the external font of the code point 2714 and draws the icon font. Next, in step S1202, the icon image update unit 207 caches the icon font drawn in step S306 in the path of "/home/cache/checked.png". Next, in step S1203, the icon image updating unit 207 sets the cached icon font path to the code point 2714 in the code point correspondence table 208 of FIG. 13A as “/home/cache/checked.png”. "Written. As a result, it is updated as shown in the code point correspondence table 208 of FIG. 13 (B). After that, the information processing apparatus 100 performs the processing after step S307.

ステップS303では、Webページ解析部202は、上記の外部フォントがコードポイント対応表208に記載されたコードポイントの外部フォントである場合には、ステップS1201に進む。 In step S303, the Web page analysis unit 202 proceeds to step S1201 when the external font is the external font of the code point shown in the code point correspondence table 208.

ステップS1201では、Webページ解析部202は、上記の外部フォントを用いたアイコンフォントがRAM103等にキャッシュされているか否かを判定する。Webページ解析部202は、上記の外部フォントを用いたアイコンフォントがRAM103等にキャッシュされている場合には、ステップS1204に進む。また、Webページ解析部202は、上記の外部フォントを用いたアイコンフォントがRAM103等にキャッシュされていない場合には、ステップS304に進む。 In step S1201, the Web page analysis unit 202 determines whether or not the icon font using the above-mentioned external font is cached in the RAM 103 or the like. When the icon font using the above-mentioned external font is cached in the RAM 103 or the like, the Web page analysis unit 202 proceeds to step S1204. Further, if the icon font using the above-mentioned external font is not cached in the RAM 103 or the like, the Web page analysis unit 202 proceeds to step S304.

ステップS1204では、アイコン画像更新部207は、上記のキャッシュされているアイコンフォントのパスを取得する。例えば、アイコン画像更新部207は、図13(B)のコードポイント2714のアイコンフォント場合、上記のキャッシュされているアイコンフォントのパスである「/home/cache/checked.png」を取得する。 In step S1204, the icon image update unit 207 acquires the path of the cached icon font. For example, in the case of the icon font of the code point 2714 of FIG. 13B, the icon image updating unit 207 acquires "/home/cache/checked.png" which is the path of the cached icon font.

次に、ステップS307では、アイコン画像更新部207は、ステップS303でコードポイント対応表208に記載されている外部フォントのコードポイントに対応する、WebView以外のGUI部品が参照するアイコン画像のパスを取得する。 Next, in step S307, the icon image update unit 207 acquires the path of the icon image referenced by the GUI component other than WebView, which corresponds to the code point of the external font listed in the code point correspondence table 208 in step S303. do.

次に、ステップS308では、アイコン画像更新部207は、ステップS307で取得されたパスのアイコン画像に対して、ステップS1204で取得されたパスのアイコンフォントを上書きする。 Next, in step S308, the icon image updating unit 207 overwrites the icon image of the path acquired in step S307 with the icon font of the path acquired in step S1204.

第1~第3の実施形態によれば、アイコン画像更新部207は、WebView内のアイコンフォントを取得し、そのアイコンフォントをWebView以外のGUI部品が参照するアイコン画像に上書きする。これにより、WebViewのGUI部品が参照する外部フォントを用いたアイコンフォントと、WebView以外のGUI部品が参照するアイコン画像とで、見た目を統一することができ、アプリケーションの表現力を向上させることができる。 According to the first to third embodiments, the icon image updating unit 207 acquires the icon font in WebView and overwrites the icon font with the icon image referenced by the GUI component other than WebView. As a result, the appearance can be unified between the icon font using the external font referenced by the GUI component of WebView and the icon image referenced by the GUI component other than WebView, and the expressive power of the application can be improved. ..

(その他の実施形態)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読み出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other embodiments)
The present invention supplies a program that realizes one or more functions of the above-described embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by the processing to be performed. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

なお、上記実施形態は、何れも本発明を実施するにあたっての具体例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。 It should be noted that the above embodiments are merely specific examples for carrying out the present invention, and the technical scope of the present invention should not be construed in a limited manner by these. That is, the present invention can be implemented in various forms without departing from the technical idea or its main features.

100 情報処理装置、202 Webページ解析部、203 外部フォント取得部、204 装飾情報取得部、205 装飾情報更新部、206 アイコンフォント描画部、207 アイコン画像更新部 100 Information processing device, 202 Web page analysis unit, 203 External font acquisition unit, 204 Decoration information acquisition unit, 205 Decoration information update unit, 206 Icon font drawing unit, 207 Icon image update unit

Claims (12)

Webページを表示させるための第1のコンポーネントと、前記第1のコンポーネントとは異なる第2のコンポーネントとが含まれるアプリケーションを実行する情報処理装置であって、
前記第1のコンポーネントで表示されるWebページにおいて記述され、外部から取得される外部フォントにより規定される第1アイコンに適用される装飾情報を取得する装飾情報取得手段と、
前記第2のコンポーネントにおいて、前記装飾情報取得手段により取得された装飾情報を用いて、前記第1アイコンに対応する第2アイコンの描画を行う描画手段と、
を有することを特徴とする情報処理装置。
An information processing device that executes an application including a first component for displaying a Web page and a second component different from the first component.
A decoration information acquisition means for acquiring decoration information described in a Web page displayed by the first component and applied to a first icon defined by an external font acquired from the outside.
In the second component, a drawing means for drawing a second icon corresponding to the first icon using the decoration information acquired by the decoration information acquisition means, and a drawing means.
An information processing device characterized by having.
前記第1アイコンは、前記外部フォントにおいて、コードポイントにより規定されることを特徴とする請求項1に記載の情報処理装置。 The information processing apparatus according to claim 1, wherein the first icon is defined by a code point in the external font. 前記第1のコンポーネントは、WebViewであり、
前記外部フォントは、CSS Fonts Module Level 3に規定されるWebフォントであることを特徴とする請求項1または2に記載の情報処理装置。
The first component is WebView, which is
The information processing apparatus according to claim 1 or 2, wherein the external font is a Web font defined in CSS Fonts Module Level 3.
前記装飾情報は、表示位置、太字、下線、取り消し線、文字の色、文字の背景色、透明度、またはアニメーションを含むことを特徴とする請求項1~3のいずれか1項に記載の情報処理装置。 The information processing according to any one of claims 1 to 3, wherein the decorative information includes a display position, bold, underline, strikethrough, character color, character background color, transparency, or animation. Device. 前記装飾情報取得手段により取得された装飾情報に対して、前記第1アイコンに対応するアイコン画像に適用されている装飾情報を追加することにより、前記装飾情報取得手段により取得された装飾情報を更新する装飾情報更新手段をさらに有し、
前記描画手段は、前記第2アイコンを、前記装飾情報更新手段により更新された装飾情報を用いて描画することを特徴とする請求項1~4のいずれか1項に記載の情報処理装置。
By adding the decoration information applied to the icon image corresponding to the first icon to the decoration information acquired by the decoration information acquisition means, the decoration information acquired by the decoration information acquisition means is updated. Further has a means of updating decorative information,
The information processing apparatus according to any one of claims 1 to 4, wherein the drawing means draws the second icon using the decoration information updated by the decoration information updating means.
前記アイコン画像に適用される装飾情報は、背景色であることを特徴とする請求項5に記載の情報処理装置。 The information processing apparatus according to claim 5, wherein the decorative information applied to the icon image is a background color. 前記描画手段は、前記第1アイコンがキャッシュされている場合、当該キャッシュされている前記第1アイコンを用いて、前記第2アイコンを描画することを特徴とする請求項1~5のいずれか1項に記載の情報処理装置。 One of claims 1 to 5, wherein the drawing means draws the second icon by using the cached first icon when the first icon is cached. The information processing device described in the section. 前記第1アイコンがキャッシュされていない場合、前記描画手段が描画した前記第2アイコンを前記第1アイコンとしてキャッシュすることを特徴とする請求項1~7のいずれか1項に記載の情報処理装置。 The information processing apparatus according to any one of claims 1 to 7, wherein when the first icon is not cached, the second icon drawn by the drawing means is cached as the first icon. .. 対応表に記載されているアイコン画像に対応する外部フォントを前記Webページから取得し、
前記アイコン画像に対応するアイコンがキャッシュされていない場合には、前記描画手段が描画したアイコンをキャッシュし、
前記キャッシュしたアイコンのパスを前記対応表に書き込むことを特徴とする請求項1~8のいずれか1項に記載の情報処理装置。
Obtain the external font corresponding to the icon image described in the correspondence table from the above Web page, and
If the icon corresponding to the icon image is not cached, the icon drawn by the drawing means is cached.
The information processing apparatus according to any one of claims 1 to 8, wherein the cached icon path is written in the correspondence table.
前記第2のコンポーネントにおいて用いられる、前記第1アイコンに対応するアイコン画像に対して、前記描画手段により描画された前記第2アイコンを上書きして、前記アプリケーションに係る表示を行うことを特徴とする請求項1~9のいずれか1項に記載の情報処理装置。 The icon image corresponding to the first icon used in the second component is overwritten with the second icon drawn by the drawing means to display the application. The information processing apparatus according to any one of claims 1 to 9. Webページを表示させるための第1のコンポーネントと、前記第1のコンポーネントとは異なる第2のコンポーネントとが含まれるアプリケーションを実行する情報処理装置の処理方法であって、
前記第1のコンポーネントで表示されるWebページにおいて記述され、外部から取得される外部フォントにより規定される第1アイコンに適用される装飾情報を取得する装飾情報取得ステップと、
前記第2のコンポーネントにおいて、前記装飾情報取得ステップで取得された装飾情報を用いて、前記第1アイコンに対応する第2アイコンの描画を行う描画ステップと、
を有することを特徴とする情報処理装置の処理方法。
It is a processing method of an information processing apparatus that executes an application including a first component for displaying a Web page and a second component different from the first component.
The decoration information acquisition step of acquiring the decoration information described in the Web page displayed by the first component and applied to the first icon defined by the external font acquired from the outside, and the decoration information acquisition step.
In the second component, a drawing step of drawing a second icon corresponding to the first icon using the decoration information acquired in the decoration information acquisition step, and a drawing step.
A processing method of an information processing apparatus, characterized in that it has.
コンピュータを、請求項1~10のいずれか1項に記載された情報処理装置の各手段として機能させるためのプログラム。 A program for making a computer function as each means of the information processing apparatus according to any one of claims 1 to 10.
JP2020127330A 2020-07-28 2020-07-28 Information processor, processing method and program of information processor Pending JP2022024629A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020127330A JP2022024629A (en) 2020-07-28 2020-07-28 Information processor, processing method and program of information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020127330A JP2022024629A (en) 2020-07-28 2020-07-28 Information processor, processing method and program of information processor

Publications (1)

Publication Number Publication Date
JP2022024629A true JP2022024629A (en) 2022-02-09

Family

ID=80265464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020127330A Pending JP2022024629A (en) 2020-07-28 2020-07-28 Information processor, processing method and program of information processor

Country Status (1)

Country Link
JP (1) JP2022024629A (en)

Similar Documents

Publication Publication Date Title
CN111339455B (en) Method and device for loading page first screen by browser application
US7533351B2 (en) Method, apparatus, and program for dynamic expansion and overlay of controls
US7834877B2 (en) System-wide content-sensitive text stylization and replacement
US7194697B2 (en) Magnification engine
US20080028327A1 (en) Information processing apparatus and user interface control method
JP6157210B2 (en) Document conversion apparatus, document conversion method, and program
JP2010532513A (en) Data system and method
JP2006185160A (en) System, web server, method, and program for adding personalized value to a plurality of web sites
CN107301046B (en) Icon processing method and device, computer equipment and storage medium
US8629994B2 (en) Image formation control device, control method and recording medium storing image formation control program
US20140245126A1 (en) Method and apparatus for visualizing the underlying structure of a document using an interactive viewport overlay
CN111339458A (en) Page presenting method and device
US9996506B2 (en) Identifying fonts using custom ligatures
JP5235135B2 (en) Machine translation system and machine translation method
Krause Introducing Bootstrap 4
US8751923B2 (en) Image processing apparatus, image processing method, and storage medium
US20140310589A1 (en) Creating a communication editable in a browser independent of platform and operating system
JP2022024629A (en) Information processor, processing method and program of information processor
CN108701120A (en) The condition of lookup in font processing determines
US8037015B2 (en) Flexible interface using scalable vector graphics with metalevel palette
JP5483526B2 (en) Machine translation system and machine translation method
US10650187B2 (en) Visual path resolution in a context separated authoring environment of a REST- and component-based content management system
WO2018020647A1 (en) Drawing data generation program, drawing data generation device, and drawing data generation method
US20240078371A1 (en) Information processing apparatus, method for controlling the same, and storage medium
US11947895B2 (en) Information processing apparatus for representing a web page using external fonts, and information processing method, and storage medium thereof