JP2004178127A - Information display processor and program - Google Patents
Information display processor and program Download PDFInfo
- Publication number
- JP2004178127A JP2004178127A JP2002341727A JP2002341727A JP2004178127A JP 2004178127 A JP2004178127 A JP 2004178127A JP 2002341727 A JP2002341727 A JP 2002341727A JP 2002341727 A JP2002341727 A JP 2002341727A JP 2004178127 A JP2004178127 A JP 2004178127A
- Authority
- JP
- Japan
- Prior art keywords
- image
- text
- document
- unit
- screen memory
- 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
- Digital Computer Display Output (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、テキストとグラフィックとが混在した電子文書に基づいて画像を表示する情報表示処理装置並びにプログラムに関する。
【0002】
【従来の技術】
情報表示処理装置の高性能化や高機能化に伴い、テキストデータだけでなく複雑なグラフィック(写真やイラストなども含む)のデータが含まれる電子文書が多数作成されている。また近年では、これらの文書文書に基づく画像をPDA(Personal Digital Assistants )などの携帯情報端末の表示面に表示させることも一般的になっている。
【0003】
図14は、テキストとグラフィックとが混在した電子文書の一例と、情報表示処理装置における文書の表示例を示す図である。図14(A)に示す電子文書D10は、グラフィックの描画命令D11,12とテキストの描画命令D13とが順に並んでいる。このように、描画命令が順次並んでいる電子文書D10を情報表示処理装置1に設けられたCRTや液晶(LCD)などの表示デバイスで表示させる場合、描画命令D11,D12,D13を順次解釈して、表示デバイスの物理画面と対応したメモリ(物理画面メモリ)に描画していく。
【0004】
この場合、情報表示処理装置1では、図14の(B)→(C)→(D)というように、描画途中の画像が表示デバイス(液晶表示パネル3)に表示されるので、ユーザは、文書全体の描画完了前に、文書を少しずつ確認することができる。
【0005】
一方、特許文献1には、マルチウィンドウ表示システムにおいて、描画途中の経過を表示させることは、ユーザに不快感を与えるので好ましくないとして、描画途中の画面を表示させない手法が提案されている。
【0006】
【特許文献1】
特開平5−46136号公報
【0007】
ここで、マルチウィンドウ表示システムとは、仮想的な描画エリアに対応するメモリ(論理画面メモリ)を使用して、論理画面メモリ上に描画しつつ物理画面に対応した物理画面メモリにも描画(通常は論理画面メモリのデータの一部をコピー)するシステムである。これに対して、表示デバイスの表示サイズと1対1に対応した物理画面メモリのみにリアルタイムで描画するシステムをシングルウィンドウ表示システムという。
【0008】
特許文献1の手法は、マルチウィンドウ表示システムの描画方式では、表示デバイス上の物理画面が表示されたままの状態で描画が行なわれるため、処理時間の掛かる複雑な図形描画を行なったり、複数の図形で1つの画面(絵)を作ったりする場合に、描画が行なわれていく様子が表示(目視)され見苦しい、という欠点を解消するものである。また、画面を再描画する際に一旦画面消去を行なった後に描画を行なうため画面がちらつく、という欠点を解消するものでもある。
【0009】
具体的には、論理画面に描画期間中、物理画面への反映(表示)を停止(描画開始前の画面を表示)し、描画完了後に物理画面を更新することで、処理時間の掛かる複雑な図形描画を行なったり、複数の図形で画面を作ったりする場合も、描画途中の画面を表示するという見苦しさを解消している。また、画面消去→描画実行中は物理画面に反映しないで再描画結果のみを反映という表示切替をすることで、画面消去によるちらつきを軽減している。
【0010】
【発明が解決しようとする課題】
ところで、近年の情報表示処理装置の多くは、描画性能が向上しており、短時間で描画処理をして表示することが可能であり、描画途中の画面を表示させなくても、ユーザに不具合がない場合が大半である。
【0011】
一方、同じ情報表示処理装置の一例であっても、描画性能に制限のあるものも存在する。たとえば、PDAなどの携帯情報端末は、演算装置の性能が十分ではない。このため、描画途中の画面を表示させることで、ユーザに文書の内容を通知させることが好ましい。しかしながら、描画命令が順次並んでいる電子文書を携帯情報端末にて表示する場合、描画処理が遅いため、文書の内容を短時間で把握することが難しいという問題がある。
【0012】
たとえば、図14(A)に示した電子文書D10を情報表示処理装置の一例である携帯情報端末2にて表示する場合、表示デバイスの一例である液晶表示パネル3上では、描画命令D11を処理して表示された状態(図14(B))から描画命令D12を処理した状態(図14(C))に遷移し、最後に描画命令D13を処理した状態(図14(D))に移り、表示処理が終了となる。このように、前半に複雑なグラフィック描画命令が存在し、後半に文字描画命令を含んだ電子文書D10に基づく画像を表示させる場合、ユーザは文書の内容を短時間で把握することは難しい。
【0013】
なぜなら、ユーザが文書の内容を把握する場合、一般的には、文書中のテキスト部分を読み進めることで文書の内容を把握する。図14(A)に示した電子文書D10では、テキスト部分が文書の末尾近傍にあり描画途中ではテキスト部分を判読することができないので、描画途中に文書の内容を理解することは事実上不可能だからである。
【0014】
本発明は、上記事情に鑑みてなされたものであり、テキストとグラフィックとが混在した電子文書に基づいて画像を表示する場合であっても、ユーザが文書の内容を短時間で把握することを可能とする情報表示処理装置並びにプログラムを提供することを目的とする。
【0015】
【課題を解決するための手段】
本発明に係る情報表示処理装置は、テキストとグラフィックとが混在した電子文書中のテキスト部分を描画処理して、このテキストについての描画処理後の画像(テキスト画像)を先ず表示させる。このとき、そのテキストに対して拡大や縮小あるいは表示位置のシフトなどの座標変換指示があればその指示に従って描画処理し表示させる。
【0016】
この後、テキストおよびグラフィックを含む文書全体を順次描画処理した文書画像と表示済みの画像とを合成処理し、この合成処理結果を示す合成画像を順次表示させる。
【0017】
また、好ましくは、文書全体についての描画処理が完了した段階で、合成画像から、文書画像そのものの表示に切り替える。
【0018】
なお、基本的な描画方式としては、論理画面メモリと物理画面メモリとを使用するマルチウィンドウ表示システムの描画方式を採用する。
【0019】
すなわち、本発明に係る第1の情報表示処理装置は、上記の表示手法を具現化する装置であって、画像を表示する表示デバイスと、表示デバイスに前記電子文書に基づく画像を表示するための画像メモリとしての機能をなす物理画面メモリ部と、表示デバイスと対応した仮想的な画面用の画像メモリとしての機能をなす論理画面メモリ部とを備えるものとした。
【0020】
また、第1の情報表示処理装置は、電子文書中のテキストとグラフィックのうちのテキスト部分を描画処理し、当該描画処理により得られるテキスト画像を論理画面メモリ部に格納するテキスト描画処理部と、電子文書の全体を描画処理し、当該描画処理により得られる文書画像を論理画面メモリ部に格納する文書描画処理部とを備えるものとした。
【0021】
ここで、文書描画処理部は、テキスト描画処理部による描画処理が完了した後に電子文書の全体についての描画処理を開始するものとする。なお、必要に応じて(論理画面メモリ部の書込みの手法による)、文書描画処理部による文書画像を論理画面メモリ部に初めて格納する際には、先ず、既に格納されているテキスト画像を一旦クリアする。
【0022】
また、第1の情報表示処理装置は、論理画面メモリ部に格納されている画像と物理画面メモリ部に格納されている画像とを合成処理する画像合成部と、画像合成部により得られる合成画像および論理画面メモリ部に格納されている画像のうちの何れか一方を物理画面メモリ部に格納させることで、表示デバイスに表示される画像を切替制御する表示切替処理部とを備えるものとした。
【0023】
つまり、第1の情報表示処理装置においては、テキスト画像および合成画像の何れについても共通の論理画面メモリを使用し、論理画面メモリ上の表示画像サイズに対応する所定範囲を物理画面メモリに渡し表示デバイスに表示させることとする。
【0024】
本発明に係る第2の情報表示処理装置は、上記の表示手法を具現化する他の装置であって、画像を表示する表示デバイスと、表示デバイスに電子文書に基づく画像を表示するための画像メモリとしての機能をなす物理画面メモリ部と、表示デバイスと対応した仮想的な画面用の画像メモリとしての機能をなすメモリ部であって、電子文書中のテキストの画像を格納するためのテキスト論理画面メモリ部および電子文書の全体の画像を格納するための文書論理画面メモリ部とを備えるものとした。
【0025】
また、第2の情報表示処理装置は、電子文書中のテキストとグラフィックのうちのテキスト部分を描画処理し、当該描画処理により得られるテキスト画像をテキスト論理画面メモリ部に格納するテキスト描画処理部と、電子文書の全体を描画処理し、当該描画処理により得られる文書画像を文書論理画面メモリ部に格納する文書描画処理部とを備えるものとした。なお、第1の情報表示処理装置とは異なり、テキスト描画処理部による描画処理が完了した後に文書描画処理部が電子文書の全体についての描画処理を開始することは必須ではない。
【0026】
また、第2の情報表示処理装置は、テキスト論理画面メモリ部に格納されている画像と文書論理画面メモリ部に格納されている画像とを合成処理する画像合成部、および画像合成部により得られる合成画像および文書論理画面メモリ部に格納されている画像のうちの何れか一方を物理画面メモリ部に格納させることで、表示デバイスに表示される画像を切替制御する表示切替処理部とを備えるものとした。
【0027】
また従属項に記載された発明は、本発明に係る情報表示処理装置のさらなる有利な具体例を規定する。
【0028】
たとえば、第1および第2の情報表示処理装置において、表示切替処理部は、文書描画処理部による描画処理が完了するまでは画像合成部により得られる合成画像を物理画面メモリ部に格納させ、文書描画処理部による描画処理が完了した後には文書画像そのものが物理画面メモリ部に格納されるようにするものであることが好ましい。この場合、第1の情報表示処理装置においては文書論理画面メモリ部に格納されている画像を、また第2の情報表示処理装置においては文書論理画面メモリ部に格納されている画像を、それぞれ物理画面メモリ部に格納させればよい。
【0029】
また、本発明に係るプログラムは、本発明に係る情報表示処理装置を電子計算機(コンピュータ)を用いてソフトウェアで実現するために好適なものである。なお、プログラムは、コンピュータ読取り可能な記憶媒体に格納されて提供されてもよいし、有線あるいは無線による通信手段を介して配信されてもよい。
【0030】
【発明の実施の形態】
以下、図面を参照して本発明の実施の形態について詳細に説明する。
【0031】
図1は、本発明に係る情報表示処理装置の一実施形態の全体構成を示す概略図である。図示するように、この情報表示処理装置1は、表示デバイスの一例である液晶表示パネル3と操作ボタン5とが筐体9に収容されて構成されている。
【0032】
液晶表示パネル3は、バックライト付きパネルとして構成されている。また、操作ボタン5としては、5a〜5eの5種類が用意されている。
【0033】
この情報表示処理装置1は、内部に備えられている記憶媒体から読み出した文書データ、あるいは図示しないネットワーク接続機能部を介してWebサーバなどから取得した文書データに基づいて画像を液晶表示パネル3に表示するように構成されている。
【0034】
また、情報表示処理装置1は、テキスト(図中a1,a2,a3)とグラフィック(図中b1,b2,b3)とが混在し、テキストの描画命令とグラフィックの描画命令とが順次並んでいる電子文書の画像を表示する際、テキスト部分の描画命令を先に処理して表示させた後に、文書全体の描画命令を順に処理し表示済みの画像と合成して表示させ、文書全体の描画処理が完了した後に、オリジナルの文書全体のみの表示に切り替える機能が搭載されている。この機能により、情報表示処理装置1は、先にテキスト部分を表示することで文書の内容を素早く理解でき、かつ最後にはオリジナルの文書を確実に確認できるようになっている。
【0035】
ここで、テキスト部分の描画命令を先に処理してテキスト画像を表示させた後に、文書全体の処理画像と表示済みの画像とを合成して表示させ、文書全体の描画処理完了後に文書全体のみの表示(オリジナル文書の表示)に切り替える手法には様々な手法がある。以下、各手法に対応した情報表示処理装置1の構成および作用について具体的に説明する。
【0036】
図2は、第1実施形態の情報表示処理装置1のハードウェア構成を示すブロック図である。第1実施形態の情報表示処理装置1は、液晶表示パネル3の他に、情報表示処理装置1の全体の制御や所定の演算処理などをするCPU(Central Processing Unit ;中央演算処理部)10、情報表示処理装置1における種々の処理をするためのアプリケーションプログラムデータが格納されたROM(ReadOnly Memory)20、および画像データや情報表示処理装置1における種々の処理中のデータを記憶するRAM(Random Access Memory)30を備えている。
【0037】
第1実施形態のROM20には、テキストとグラフィックとが混在した電子文書中のテキスト部分を描画処理するテキスト描画処理部22、テキストおよびグラフィックを含む文書全体を順次描画処理する文書描画処理部24、およびテキスト描画処理部22や文書描画処理部24で処理された画像を使用して液晶表示パネル3に所定の画像を表示させる表示制御処理部26などの所定の処理機能をなすアプリケーションプログラムデータが格納されている。なお、テキスト描画処理部22と文書描画処理部24とを纏めて描画処理部21という。
【0038】
テキスト描画処理部22、文書描画処理部24、および表示制御処理部26の各機能部分は、アプリケーションプログラムに基づいて動作するものに限らず、それぞれの機能をなす専用のハードウェア回路にて構成されたものであってもよい。
【0039】
テキストとグラフィックとが混在した電子文書の一例としては、たとえば、文書作成用のアプリケーションプログラムにて作成された通常の電子文書の他、HTML(Hypertext Markup Language )形式などの論理構造をもった電子文書がある。あるいはテキストデータがイメージ(画像)に透過情報として埋め込まれた形式の電子文書、たとえばそのようにして保存されたPDF(Portable Document Format)文書や、本願出願人が提案しているドキュワークス(DocuWorks ;商標)形式の電子文書でもよい。
【0040】
RAM30の記憶領域は、たとえば、マルチウィンドウ表示システムの描画方式に対応するため、液晶表示パネル3の画素情報と対応した仮想的な画面用の画像メモリとしての機能をなす論理画面メモリ部32と、液晶表示パネル3の表示面と1対1に対応した画像メモリとしての機能をなす物理画面メモリ部34と、文書データやその他の処理データを記憶する処理データメモリ部36とに使い分けられる。なお、論理画面メモリ部32と物理画面メモリ部34とを纏めてフレームバッファ31という。
【0041】
物理画面メモリ部34のメモリサイズは、液晶表示パネル3の表示サイズ(表示画素数=縦画素数×横画素数)と同程度であるのはいうまでもない。また論理画面メモリ部32のメモリサイズは、物理画面メモリ部34のメモリサイズと同程度である。また、フレームバッファ31をなすメモリの種別をしては、随時書込みおよび読出しが可能なDRAM(Dynamic Random Access Memory)や、電気的に一括消去および書込みが可能なフラッシュメモリを使用する。
【0042】
テキスト描画処理部22は、文書データD10の描画命令のうち、テキスト描画命令と座標変換命令の描画命令のみを逐次処理し、フレームバッファ31の論理画面メモリ部32に格納する。文書描画処理部24は、文書データ10の全ての描画命令を逐次処理し、フレームバッファ34に出力する。表示制御処理部26は、論理画面メモリ部32の画像データと液晶表示パネル3に表示されている画像を表す物理画面メモリ部34の画像データとを画素ごとに合成演算し、この合成演算で得られた合成画像で、液晶表示パネル3上の画像を適宜更新する。そして、最後に、元の文書画像そのものを液晶表示パネル3に表示させる。
【0043】
図3は、第1実施形態の情報表示処理装置1における、表示処理に関わる部分の機能ブロック図である。この第1実施形態の情報表示処理装置1は、文書中のテキスト部分を先に描画処理して表示するとともに、描画処理結果を個々の描画命令ごとに更新表示する点に特徴を有する。以下具体的に説明する。
【0044】
第1実施形態の情報表示処理装置1は、テキスト描画処理部22および文書描画処理部24を含む描画処理部21と、論理画面メモリ部32および物理画面メモリ部34を含むフレームバッファ31と、表示制御処理部26とを備える。物理画面メモリ部34の後段には、図示しないインタフェース部を介して液晶表示パネル3が接続されている。液晶表示パネル3は、物理画面メモリ部34に保持されている画像データにしたがって画像を表示する。
【0045】
この第1実施形態の表示制御処理部26は、論理画面メモリ部32から出力された画像と物理画面メモリ部34に保持されている液晶表示パネル3に表示される画像について、対応する画素ごとに合成する画像合成部の一例であるOR演算部42と、2入力−1出力型の選択スイッチである切替部44と、物理画面メモリ部34への画像の記録タイミングを制御する更新制御部46とを備える。切替部44と更新制御部46とにより、表示切替処理部47が構成される。
【0046】
第1実施形態の構成において、描画処理部21と表示制御処理部26とは並列的に処理可能(マルチタスク処理可能)な構成となっており、描画処理部21にて描画処理をしている過程で、適宜、所定の表示出力処理をすることが可能である。後述する第2〜第4実施形態も同様である。
【0047】
具体的には、表示制御処理部26のOR演算部42は、テキスト描画処理部22や文書描画処理部24が描画命令にしたがって描画処理をする都度、論理画面メモリ部32の画像データと、液晶表示パネル3に表示される画像を保持している物理画面メモリ部34の画像データとを用いて、画像全体について、両メモリの対応する画素ごとに、論理和を取る(OR演算する)。
【0048】
OR演算することで、テキストとグラフィックとが重なっている部分では、グラフィックよりもテキストの方が優位に表示されるようになる。たとえば、オリジナル文書ではグラフィックが前面となりテキストがグラフィックに隠れているケースであっても、OR演算することで、テキストの方が前面に出て表示されるようになる。
【0049】
なお、この第1実施形態の情報表示処理装置1の機能部をソフトウェアにて実現する場合、表示制御処理部26による表示切替処理機能は、第1実施形態特有のアプリケーションソフトウェアとして組み込んでもよいが、オペレーティングシステム(OS;基本ソフト)の一部に組み込まれている既存の表示切替機能をそのまま流用することもできる。一方、描画処理部21に関わる処理機能は、従来の情報表示処理装置1にはない特有の機能であり、第1実施形態特有のアプリケーションソフトウェアとして組み込まれる。
【0050】
更新制御部46には、テキスト描画処理部22や文書描画処理部24から、個々の描画命令についての描画処理が完了する都度、その情報(描画通知)が送信される。また、文書描画処理部24により文書全体についての描画処理が完了したことを示す情報(文書描画完了通知)も送信される。更新制御部46は、描画処理が完了する都度、OR演算部42に論理演算を指示する。また、更新制御部46は、切替部44に対して、文書描画完了通知を受け取るまでは入力1(in1)を選択するよう指示し、描画完了通知を受け取ると入力2(in2)を選択するように指示する。
【0051】
切替部44は、更新制御部46の制御の元で、文書描画処理部24における文書全体の描画処理が完了するまではOR演算部42によるOR演算結果である合成画像を物理画面メモリ部34の所定アドレスに格納し、文書全体の描画処理が完了した時点で、その文書全体の画像が保持されている論理画面メモリ部32のデータそのものを物理画面メモリ部34の所定アドレスに格納(コピー)する。
【0052】
図4は、第1実施形態の情報表示処理装置1における表示処理の手順を示すフローチャートである。図5は、第1実施形態の描画および表示の制御処理の遷移と表示画像との関係を示す図である。なお、この第1実施形態で取り扱うオリジナルの電子文書は、図14(A)で示したと同様のものとする。
【0053】
描画処理部21は、テキストを描画する描画命令とグラフィックを描画する描画命令とが順次並んでいる電子文書のデータを受け取ると(S100)、先ず論理画面メモリ部32を初期化する(S102)。切替部44は、スイッチを入力1にする。
【0054】
この後、テキスト描画処理部22は、最初にテキストを描画する描画命令(本例では描画命令D13)に達するまで描画命令を読み飛ばし、描画命令D13に基づいて描画処理し(S110)、処理済みのテキスト画像をフレームバッファ31の論理画面メモリ部32に格納(テキストを描画)する(S112)。このとき、テキスト描画処理部22は、そのテキストに対して拡大や縮小あるいは表示位置のシフトなどの座標変換指示があれば、その指示に従って描画処理する。
【0055】
テキスト描画処理部22は、個々の描画命令についての描画処理が完了する都度描画終了判定を行ない、文書中の全てのテキスト描画命令が完了するまで、上記処理を繰り返す(S114−No)。つまり、テキスト描画処理部22は、電子文書中のテキスト部分を先に正しい位置に正しいサイズで表示する。本例では、描画命令D13がテキスト描画命令の終端なので、描画処理部21は、テキスト描画処理部22による描画命令D13に基づく描画処理が完了すると、ステップS120へ処理を移行する(S114−Yes)。
【0056】
ここで、表示制御処理部26では、テキスト描画処理部22の描画処理と並行して、テキスト描画処理部22が描画処理をする都度、OR演算部42は、論理画面メモリ部32の画像データと物理画面メモリ部34の画像データとを画素ごとにOR演算することにより中間画像を生成する(S210)。切替部44は、スイッチを入力1に維持し、OR演算部42により生成された中間画像を物理画面メモリ部34に格納する(S212)。すなわち、OR演算部42によるOR演算結果を液晶表示パネル3に転送する。
【0057】
この過程では、テキスト描画処理部22によりテキストの描画しかなされていないので、表示デバイスの一例である液晶表示パネル3は、物理画面メモリ部34に保持されている画像データにしたがって画像を表示すると、図5(A)に示すように、テキスト部分(本例ではD13)のみを順次表示することとなる(S300)。
【0058】
描画処理部21は、テキスト描画処理部22による描画命令D13に基づく描画処理が完了すると、論理画面メモリ部32の内容を一旦初期化(一括消去)して、何も描画されていない状態に戻す(S120)。この後、文書描画処理部24は、テキストであるかグラフィックであるかを問わず、文書の先頭から順にそれぞれの描画命令(本例では描画命令D11〜D13)に基づいて描画処理し(S130)、処理済みの画像をフレームバッファ31の論理画面メモリ部32に格納(文書描画)する(S132)。
【0059】
文書描画処理部24は、個々の描画命令についての描画処理が完了する都度描画終了判定を行ない、文書中の全ての描画命令が完了するまで、上記処理を繰り返す(S134−No)。本例では、描画命令D13が描画命令の終端なので、描画処理部21は、文書描画処理部24による描画命令D13に基づく描画処理が完了すると、取得した文書についての描画処理を完了させる(S134−Yes)。
【0060】
ここで、表示制御処理部26では、文書描画処理部24の描画処理と並行して、文書描画処理部24が描画処理をする都度、OR演算部42は、論理画面メモリ部32のデータと物理画面メモリ部34のデータとをOR演算することにより中間画像を生成する(S220)。切替部44は、スイッチを入力1に維持し、OR演算部42により生成された中間画像を物理画面メモリ部34に格納する(S222)。すなわち、OR演算部42によるOR演算結果を液晶表示パネル3に転送する。
【0061】
この過程では、文書描画処理部24によりテキストだけでなくグラフィック部分についても順次描画されていくので、液晶表示パネル3が物理画面メモリ部34に保持されている画像データにしたがって画像を表示すると、その表示状態は、図5(B)→図5(C)というように、各オブジェクト(全てのテキストと一部のグラフィック)が順次表示され、最後には、全てのテキストと全てのグラフィックが表示されるように遷移することとなる(S310)。
【0062】
ここで、物理画面メモリ部34に保持される画像は、論理画面メモリ部32のデータと物理画面メモリ部34のデータとのOR演算結果であるので、オブジェクトに重なりのある部分は、白黒画像であれば、濃度の強い方の状態となる。たとえば、図5(C)の矢指した部分のように、グラフィックオブジェクトの描画命令D12とテキストオブジェクトの描画命令D13とが重なった部分では、オリジナル文書(図14(A))ではグラフィックが前面となりテキストがグラフィックに隠れているケースであっても、OR演算部42による合成演算(本例ではOR演算)による合成画像ではテキスト部分が前面に出て出力されるようになる。つまり、テキストとグラフィックとが混在した文書中で、テキスト部分をグラフィックよりも優位に表示することが可能となる。テキストのみの表示後においても、テキスト部分を正しい位置にかつグラフィックの前面に表示することで、ユーザに対して文書の内容を確実に通知することができる。
【0063】
一方、このような表示態様を維持すると、文書描画処理部24により文書全体についての処理が完了したとしても、オリジナル文書と異なる画像が表示されてしまう可能性がある。また、図では示さないが、カラー画像であれば、OR演算部42は、たとえばR(赤),G(緑),B(青)のそれぞれについて、前述のOR演算をするので、やはりOR演算結果である中間画像(カラーのもの)は、文書描画処理部24により文書全体についての処理が完了したとしても、オリジナル文書と異なる画像が表示されてしまう可能性がある。
【0064】
そこで、切替部44は、文書描画処理部24による描画命令D13に基づく描画処理が完了すると(S134−Yes)、スイッチを入力2に切り替え、論理画面メモリ部32に記憶されている画像を物理画面メモリ部34にコピーする(S240)。すなわち、文書描画処理部24による文書全体についての描画結果を液晶表示パネル3へ転送することで、文書画像のみが表示されるようにする。この結果、液晶表示パネル3における表示状態は、図5(D)に示すように、オリジナル文書と同じ画像が表示されることとなる(S320)。
【0065】
なお、第1実施形態では、テキスト描画処理部22によるテキスト描画命令のみについての描画処理と文書描画処理部24による全ての描画命令についての描画処理とが時系列的になされ、それらが並列的になされることはない。したがって、テキスト描画処理部22と文書描画処理部24とを個別に設けるのではなく、テキスト描画処理部22と文書描画処理部24とを兼用する描画処理部として構成してもよい。実際には、文書描画処理部24がテキスト描画処理部22の機能を持っているので、テキスト描画処理部22を取り除いた構成とすることも可能である。
【0066】
また、テキスト描画処理部22によるテキスト描画が完了した後の文書描画処理部24による文書全体についての描画に先立って、論理画面メモリ部32の内容を一旦初期化していたが(S120)、この初期化処理は使用するメモリの種別に応じたもので、必ずしも必須ではない。たとえば、論理画面メモリ部32としてDRAMを使用すれば、文書描画処理部24による描画処理の都度、その描画命令に対応するアドレスのデータを上書きすればよい。
【0067】
以上のように、第1実施形態の構成によれば、テキストとグラフィックとが混在し、それらの描画命令が順に並んでいる電子文書に基づいて画像を表示する際、文書中のテキスト部分を先に正しい位置に表示するようにしたので、ユーザに対して文書の内容をいち早く通知することができる。
【0068】
また、テキスト描画後にグラフィックも表示する際には、先ず、テキスト部分をグラフィックよりも優位に表示するようにしているので、重なりのある部分でもテキストをグラフィックの前面に表示することができ、ユーザに対して文書の内容を確実に通知することができる。
【0069】
これにより、ユーザは、オリジナル文書の全体が表示される以前の比較的短時間に、文書の内容を把握することができる。
【0070】
また、文書描画処理部24による文書全体についての通常の描画処理が完了すると、文書全体を表すオリジナル画像に切り替えるようにしているので、たとえば図5(C)のケースのように、途中段階でオリジナル文書と異なる表示態様となる場合であっても、最後にはオリジナル文書と同じ画像を提示することができるので、不都合は生じない。
【0071】
なお、HTML形式などの論理構造をもった文書を表示させる場合に、テキストを先に表示させる手法が知られている。この点では、上記第1実施形態の情報表示処理装置1の表示手法と共通する。しかしながら、従来の手法では、テキスト後はグラフィックスを順次描画処理していく過程で直接に元の文書画像を表示する。このため、元文書の重なり部分においてグラフィックが前面となりテキストがグラフィックに隠れているケースでは、そのままの状態で表示してしまう。
【0072】
この点では、上記第1実施形態のように、表示画像とグラフィックス描画処理の画像とを合成して表示させることで、元文書の重なり部分においてグラフィックが前面となりテキストがグラフィックに隠れているケースであっても、まずは、テキストを優位に表示させることができるものと異なる。
【0073】
図6は、第2実施形態の情報表示処理装置1における、表示処理に関わる部分の機能ブロック図である。この第2実施形態は、描画処理結果を個々の描画命令ごとではなく、所定のサイクルで繰り返し表示する点が第1実施形態と異なる。
【0074】
このため、第2実施形態の更新制御部46には、繰返サイクルを管理する内部タイマが備えられる。この機能は、たとえば、オペレーティングシステムが管理するものであってよい。
【0075】
また、第2実施形態の更新制御部46には、テキスト描画処理部22や文書描画処理部24から、個々の描画命令についての処理完了情報は通知されず、文書描画処理部24により文書全体についての描画処理が完了したことを示す文書描画完了通知のみが通知される。更新制御部46は、内部タイマにより管理された繰返サイクルの都度、OR演算部42に論理演算を指示する。また、更新制御部46は、切替部44に対して、文書描画完了通知を受け取るまでは入力1(in1)を選択するよう指示し、描画完了通知を受け取ると入力2(in2)を選択するように指示する。
【0076】
第2実施形態の更新制御部46は、内部タイマにより管理された繰返サイクルの都度、OR演算部42に論理演算を指示することで、物理画面メモリ部34への画像の記録タイミングを制御する。この結果、液晶表示パネル3の表示画像は、内部タイマにより管理された繰返サイクルの都度(内部タイマで指定された時間間隔で定期的に)、更新されることとなる。
【0077】
表示更新の繰返サイクルは、たとえば1秒程度であればよい。勿論、1秒に限らず、より短時間の繰返しであってもよいし、より長時間の繰り返しであってもよい。ただし、最長でも、数秒程度にするのがよい。あまり長時間に亘って画像が更新されないのは、好ましくないからである。なお、テキスト描画中の繰返サイクルと文書全体についての描画中の繰返サイクルとは、それぞれ異なっていても構わない。この場合、テキスト描画の繰返サイクルの方が短時間であるのが好ましい。
【0078】
図7は、第2実施形態の情報表示処理装置1における表示処理の手順を示すフローチャートである。図8は、第2実施形態の描画および表示の制御処理の遷移と表示画像との関係を示す図である。この第2実施形態で取り扱うオリジナルの電子文書も、図14(A)で示したと同様のものとする。
【0079】
第2実施形態の処理手順は表示制御処理部26の表示制御処理に特徴があり、テキスト描画処理部22や文書描画処理部24における描画処理の手順は、第1実施形態の処理手順と同様である。
【0080】
一方、第2実施形態の表示制御処理において、表示制御処理部26は、テキストを描画する描画命令とグラフィックを描画する描画命令とが順次並んでいる電子文書のデータを描画処理部21が受け取ると(S100)、その通知を受ける。そして、先ず、OR演算部42によるOR演算処理とこの演算結果に基づく中間画像を用いた表示画像の更新処理(両処理を纏めて表示制御タスクという)を起動させる(S200)。
【0081】
この後、テキスト描画処理部22は、テキスト描画命令のみを文書の先頭から順に最後まで描画処理し、処理済のテキスト画像を論理画面メモリ部32に格納する(S110〜S114)。このとき、表示制御処理部26は、内部タイマで管理している表示更新タイミングに達していれば、OR演算部42に対して、論理画面メモリ部32の画像データと物理画面メモリ部34の画像データとを用いて、画像全体について、両メモリの対応する画素ごとに論理和(OR)を取るOR演算を指示する。これにより、OR演算部42はOR演算を実施し、演算結果である中間画像を物理画面メモリ部34へ格納する(S210,S212)。
【0082】
これにより、液晶表示パネル3が物理画面メモリ部34に保持されている画像データにしたがって画像を表示すると、その表示画面は、テキスト部分のみが、内部タイマで指定された時間間隔で定期的に更新されることとなる(S300)。たとえば、図8(A)に示す例では、テキスト描画処理部22による更新タイミング時には、既にテキスト描画命令D13についての描画処理が完了し、そのテキスト画像が論理画面メモリ部32に書き込まれていたケースを示している。
【0083】
描画処理部21は、テキスト描画処理部22によるテキスト描画が完了すると、一旦論理画面メモリ部32の内容を初期化し(S120)、文書描画処理部24による文書全体についての描画処理に移行する(S130)。文書描画処理部24は、個々の描画命令についての描画処理(論理画面メモリ部32へのデータ書込み)が完了する都度描画終了判定を行ない、文書中の全ての描画命令が完了するまで、上記処理を繰り返す(S134−No)。
【0084】
このとき、表示制御処理部26は、内部タイマで管理している表示更新タイミングに達していれば、OR演算部42に対して、論理画面メモリ部32の画像データと物理画面メモリ部34の画像データとを用いて、画像全体について、両メモリの対応する画素ごとに論理和(OR)を取るOR演算を指示する。これを受けて、OR演算部42は、OR演算を実施し、演算結果である中間画像を物理画面メモリ部34へ格納する(S220,S222)。
【0085】
これにより、液晶表示パネル3が物理画面メモリ部34に保持されている画像データにしたがって画像を表示すると、その表示画面は、内部タイマで指定された時間間隔で定期的に更新されることとなる(S310)。たとえば、図8(B)に示す例は、その時点の表示更新タイミングでは、グラフィック描画命令D11についての描画処理が完了しておらず、論理画面メモリ部32は初期化されたままであるケースを示している。この場合、画像合成しても、結果的に、テキスト描画処理部22によるテキスト画像のみが物理画面メモリ部34に格納され、そのテキスト画像のみが液晶表示パネル3に表示される。
【0086】
また、図8(C)に示す例は、その時点の表示更新タイミングでは、グラフィック描画命令D12についての描画処理まで完了しているケースを示している。この場合、グラフィック描画命令D11についての描画処理も完了しており、全てのテキストと全てのグラフィックが液晶表示パネル3に表示されている。
【0087】
表示制御処理部26は、文書描画処理部24による文書全体についての描画処理が完了すると(S134−Yes)、OR演算部42によるOR演算処理とこの演算結果に基づく中間画像を用いた表示画像の更新処理である表示制御タスクを終了する(S230)。そして、表示制御処理部26の切替部44は、スイッチを入力2に切り替え、論理画面メモリ部32に記憶されている画像を物理画面メモリ部34にコピーすることで、文書画像のみが液晶表示パネル3に表示されるようにする(S240)。この結果、液晶表示パネル3における表示状態は、図8(D)に示すように、オリジナル文書と同じ画像が表示されることとなる(S320)。
【0088】
以上のように、第2実施形態の構成においても、テキストとグラフィックとが混在し、それらの描画命令が順に並んでいる電子文書に基づいて画像を表示する際、文書中のテキスト部分を先に正しい位置に表示するようにしたので、ユーザに対して文書の内容をいち早く通知することができる。これにより、ユーザは、その後に文書の全体が表示される以前の比較的短時間に、文書の内容を把握することができる。
【0089】
また、個々のオブジェクトごとに表示を更新するのではなく、所定の繰返タイミングで定期的に表示を更新するようにしたので、第1実施形態よりも、全体の処理負担が少なくなる。
【0090】
なお、第2実施形態の構成においては、指定された時間間隔で定期的に液晶表示パネル3の表示が更新されるものであればよく、この機能をなすものある限り、上述した構成に限定されるものではない。
【0091】
たとえば、第1実施形態と同様に、テキスト描画処理部22や文書描画処理部24から個々の描画命令についての描画処理が完了する都度その情報が通知されるようにしておき、更新制御部46は、個々の描画の完了通知を受け取る都度、OR演算部42にて論理演算を実施させるが、その結果の物理画面メモリ部34への書込みは、内部タイマに基づいて制御するようにしても構わない。
【0092】
また、上述した第2実施形態の処理では、表示更新サイクルと最後のテキスト描画のタイミングとが合わずに、文書中の全テキストについての描画結果を物理画面メモリ部34に格納しきれずに文書描画処理部24による文書全体の描画処理に移行するケースが起こり得る。この場合、文書後半部のテキストが、文書描画処理部24による描画処理がなされるまで表示されないという問題が生じる。
【0093】
この問題を避けるには、文書描画処理部24による文書全体についてのテキスト描画(論理画面メモリ部32への格納)が完了した段階で、定期的な表示更新のタイミングに関わらず、論理画面メモリ部32の画像データを物理画面メモリ部34にコピーするとよい。
【0094】
また、物理画面メモリ部34への書込みが完了していない部分のみを処理データメモリ部36のワークメモリに一時的に待避させた後に、ステップS120にて論理画面メモリ部32を初期化し、文書描画処理部24による最初の描画処理結果を論理画面メモリ部32に書き込む際に、ワークメモリに一時的に待避させておいたデータも同時に書き込むようにしてもよい。
【0095】
論理画面メモリ部32の全メモリサイズ分は不要であり、処理データメモリ部36の容量を圧迫することは少ないと考えられるから、後者の方法でも支障はない。これらの方法は、論理画面メモリ部32としてフラッシュメモリを使用するケースでも有効である。
【0096】
また、論理画面メモリ部32としてDRAMを使用するケースでは、ステップS120の初期化を行なわず、文書描画処理部24による描画処理の都度、その描画命令に対応するアドレスのデータを上書きすればよい。
【0097】
また、第2実施形態では、第1実施形態と同様に、テキスト描画処理部22によるテキスト描画命令のみについての描画処理と文書描画処理部24による全ての描画命令についての描画処理とが時系列的になされ、それらが並列的になされることはないので、テキスト描画処理部22を取り除いた構成とし、テキスト描画処理部22の機能を持っている文書描画処理部24が、最初はデキスト描画機能のみを実施し、その後全て描画命令を処理する機能を実施するようにしてもよい。
【0098】
図9は、第3実施形態の情報表示処理装置1における、表示処理に関わる部分の機能ブロック図である。この第3実施形態は、スクロール表示にも対応するように構成した点に特徴を有する。以下具体的に説明する。
【0099】
先ず、第3実施形態の情報表示処理装置1は、先ず、第1実施形態の構成における論理画面メモリ部32を、テキスト表示処理用のテキスト論理画面メモリ部32aと、文書全体表示処理用の文書論理画面メモリ部32bとに分けている。また、第3実施形態の情報表示処理装置1は、論理画面メモリ部32を2つに分けた構成に対応して、OR演算部42に代えて、テキスト論理画面メモリ部32aおよび文書論理画面メモリ部32bに保持されている各画像を合成する画像合成部の一例であるOR演算部43を備えている。さらに、第3実施形態の情報表示処理装置1は、テキスト論理画面メモリ部32aおよび文書論理画面メモリ部32bの所定領域を切り出す位置制御部48を備えている。
【0100】
画像合成部の一例であるOR演算部43の基本的な機能は、処理対象とする入力画像が異なるものの、第1および第2実施形態のOR演算部42が有する機能と同じであり、テキストとグラフィックとが重なっている部分では、グラフィックよりもテキストの方がより優位に表示されるような画像データを生成する機能を備えている。
【0101】
物理画面メモリ部34のメモリサイズは、液晶表示パネル3の表示サイズ(表示画素数=縦画素数×横画素数)と同程度であるのはいうまでもない。これに対して、第3実施形態のテキスト論理画面メモリ部32aおよび文書論理画面メモリ部32bのメモリサイズは、物理画面メモリ部34のメモリサイズよりも大きいものとする。位置制御部48は、テキスト論理画面メモリ部32aおよび文書論理画面メモリ部32bから物理画面メモリ部34と略同サイズで所定部分を切り出してOR演算部43へ供給するように制御する。
【0102】
図10は、第3実施形態の情報表示処理装置1における表示処理の手順を示すフローチャートである。図11は、第3実施形態の描画および表示の制御処理の遷移と表示画像との関係を示す図である。
【0103】
なお、この第3実施形態で取り扱うオリジナルの電子文書は、図14(A)で示したと同様のものとする。ただし、表示に際して、縦横にそれぞれ2倍拡大の指示がなされているものとする。この場合、テキスト論理画面メモリ部32aおよび文書論理画面メモリ部32bには、物理画面メモリ部34のメモリサイズ(表示サイズとほぼ同じ)に対して4倍のメモリ領域を確保する。テキスト描画処理部22および文書描画処理部24は、描画処理の際に拡大処理も行なう。位置制御部48は、ユーザによるスクロール指示を受け付け、指示された所定部分を切り出して液晶表示パネル3に表示させる。以下具体的に説明する。
【0104】
第3実施形態の処理手順は表示制御処理部26の表示制御処理に特徴があり、テキスト描画処理部22や文書描画処理部24における描画処理の手順は、描画処理結果の格納先が異なるものの、第1実施形態の処理手順とほぼ同様である。なお、最初の初期化処理(S100)においては、テキスト論理画面メモリ部32aおよび文書論理画面メモリ部32bの両者の内容をクリアする。これに対して、テキスト描画が完了し文書全体についての描画処理に先立つ初期化処理(第1実施形態のS120)は不要である。
【0105】
一方、第3実施形態の表示制御処理において、表示制御処理部26では、テキスト描画処理部22の描画処理と並行して、テキスト描画処理部22が描画処理をする都度、先ず、テキスト論理画面メモリ部32aおよび文書論理画面メモリ部32bにおけるユーザによるスクロール指示に対応する物理画面メモリ部34と同サイズ部分を位置制御部48が切り出し、OR演算部43へ供給する(S214)。
【0106】
OR演算部43は、テキスト論理画面メモリ部32aの所定領域と文書論理画面メモリ部32bの所定領域の各画像データを画素ごとにOR演算することにより中間画像を生成する(S216)。切替部44は、スイッチを入力1に維持し、OR演算部43により生成された中間画像を物理画面メモリ部34に格納する(S218)。すなわち、OR演算部43によるOR演算結果を液晶表示パネル3に転送する。
【0107】
この過程では、テキスト描画処理部22によりテキストの描画しかなされていないので、表示デバイスの一例である液晶表示パネル3は、物理画面メモリ部34に保持されている画像データにしたがって画像を表示すると、図11(A)に示すように、テキスト部分(本例ではD13)のみの拡大画像を順次表示することとなる(S300)。このとき、ユーザによるスクロール指示に対応する部分のみが切り出されて液晶表示パネル3に拡大表示される。
【0108】
描画処理部21は、テキスト描画処理部22によるテキスト描画が完了すると、文書描画処理部24による文書全体についての描画処理に移行する(S130)。文書描画処理部24は、個々の描画命令についての描画処理(論理画面メモリ部32へのデータ書込み)が完了する都度描画終了判定を行ない、文書中の全ての描画命令が完了するまで、上記処理を繰り返す(S134−No)。
【0109】
このとき、表示制御処理部26は、テキスト表示時と同様に描画命令の都度、テキスト論理画面メモリ部32aおよび文書論理画面メモリ部32bにおけるユーザによるスクロール指示に対応する物理画面メモリ部34と同サイズ部分を位置制御部48が切り出し、OR演算部43へ供給する(S224)。
【0110】
OR演算部43は、テキスト論理画面メモリ部32aの所定領域と文書論理画面メモリ部32bの所定領域の各画像データを画素ごとにOR演算することにより中間画像を生成する(S226)。切替部44は、スイッチを入力1に維持し、OR演算部43により生成された中間画像を物理画面メモリ部34に格納する(S228)。すなわち、OR演算部43によるOR演算結果を液晶表示パネル3に転送する。
【0111】
この過程では、文書描画処理部24によりテキストだけでなくグラフィック部分についても順次描画されていくので、液晶表示パネル3が物理画面メモリ部34に保持されている画像データにしたがって画像を表示すると、その表示状態は、図11(B)→図11(C)というように、各オブジェクト(全てのテキストと一部のグラフィック)が順次表示され、最後には、全てのテキストと全てのグラフィックが拡大されて表示されるように遷移することとなる(S310)。このとき、ユーザによるスクロール指示に対応する部分のみが切り出されて液晶表示パネル3に拡大表示される。本例では、図11(A)に示した状態からのスクロール位置の変更は図11(D)の状態までないものとする。
【0112】
文書描画処理部24による文書全体についての描画処理が完了すると(S134−Yes)、表示制御処理部26の切替部44は、スイッチを入力2に切り替え、文書論理画面メモリ部32bに記憶されている画像のうちのユーザによるスクロール指示に対応する部分のみを切り出して物理画面メモリ部34にコピーすることで、文書画像のみが液晶表示パネル3に拡大表示されるようにする(S242)。この結果、液晶表示パネル3における表示状態は、図11(D)に示すように、オリジナル文書と同じ画像の所定部分が拡大表示されることとなる(S320)。
【0113】
以上のように、第3実施形態の構成によれば、テキストとグラフィックとが混在し、それらの描画命令が順に並んでいる電子文書に基づいて画像を拡大表示する際、ユーザからスクロール指示を受け付ける場合であっても、文書中のテキスト部分を先に正しい位置に拡大表示するようにしたので、第1および第2実施形態の構成と同様に、ユーザに対して文書の内容を素早く通知することができる。
【0114】
また、文書描画処理部24による文書全体についての通常の描画処理が完了すると、その画像に切り替えるようにしているので、最後には、オリジナル文書の拡大画像を確実に提示することができる。
【0115】
なお、上記第3実施形態の構成の変形例として、図9(B)に示すように、切替部44を3入力−1出力型のスイッチに置き換え、テキスト描画処理部22によるテキスト描画中は入力3(in3)に切り替えておき、OR演算部43によるOR演算を介することなく、テキスト論理画面メモリ部32aに記憶されている画像のうちのユーザによるスクロール指示に対応する部分のみを切り出して物理画面メモリ部34にコピーすることで、テキスト画像のみが液晶表示パネル3に拡大表示されるようにしてもよい。
【0116】
図12は、第4実施形態の情報表示処理装置1における、表示処理に関わる部分の機能ブロック図である。この第4実施形態は、描画処理結果を個々の描画命令ごとではなく所定のサイクルで繰り返すとともに、スクロール表示にも対応するように構成した点に特徴を有する。つまり、第2実施形態の構成と第3実施形態の構成とを組み合わせたものである。
【0117】
第4実施形態の情報表示処理装置1は、第3実施形態の構成と同様に、第2実施形態の構成における論理画面メモリ部32を、テキスト表示処理用のテキスト論理画面メモリ部32aと、文書全体表示処理用の文書論理画面メモリ部32bとに分けている。
【0118】
また、第4実施形態の情報表示処理装置1は、OR演算部42に代えて、テキスト論理画面メモリ部32aおよび文書論理画面メモリ部32bに保持されている各画像の論理和を取るOR演算部43を備えている。また、第4実施形態の情報表示処理装置1は、テキスト論理画面メモリ部32aおよび文書論理画面メモリ部32bの所定領域を切り出す位置制御部48を備えている。
【0119】
図13は、第4実施形態の情報表示処理装置1における表示処理の手順を示すフローチャートである。なお、表示画面の遷移を示す図は割愛する。
【0120】
前述のように、第4実施形態の情報表示処理装置1は、第2および第3の各実施形態の構成を組み合わせたものであり、先ず、表示制御処理部26は、テキストを描画する描画命令とグラフィックを描画する描画命令とが順次並んでいる電子文書のデータを描画処理部21が受け取ると(S100)、OR演算部43によるOR演算処理とこの演算結果に基づく中間画像を用いた表示画像の更新処理である表示制御タスクを起動させる(S200)。
【0121】
この後、テキスト描画処理部22は、テキスト描画命令のみを文書の先頭から順に最後まで描画処理し、処理済のテキスト画像を論理画面メモリ部32に格納する(S110〜S114)。このとき、表示制御処理部26では、内部タイマで管理している表示更新タイミングに達していれば、テキスト論理画面メモリ部32aおよび文書論理画面メモリ部32bにおけるユーザによるスクロール指示に対応する物理画面メモリ部34と同サイズ部分を位置制御部48が切り出し、OR演算部43へ供給する(S214)。
【0122】
OR演算部43は、テキスト論理画面メモリ部32aの所定領域と文書論理画面メモリ部32bの所定領域の各画像データを画素ごとにOR演算することにより中間画像を生成し、演算結果である中間画像を物理画面メモリ部34へ格納する(S216,S218)。
【0123】
これにより、液晶表示パネル3が物理画面メモリ部34に保持されている画像データにしたがって画像を表示すると、その表示画面は、内部タイマで指定された時間間隔で定期的にテキスト部分が随時更新されて拡大表示されることとなる(S300)。
【0124】
描画処理部21は、テキスト描画処理部22によるテキスト描画が完了すると、文書描画処理部24による文書全体についての描画処理に移行する(S130)。文書描画処理部24は、個々の描画命令についての描画処理(論理画面メモリ部32へのデータ書込み)が完了する都度描画終了判定を行ない、文書中の全ての描画命令が完了するまで、上記処理を繰り返す(S134−No)。
【0125】
このとき、表示制御処理部26は、テキスト表示時と同様に、内部タイマで管理している表示更新タイミングに達していれば、テキスト論理画面メモリ部32aおよび文書論理画面メモリ部32bにおけるユーザによるスクロール指示に対応する物理画面メモリ部34と同サイズ部分を位置制御部48が切り出し、OR演算部43へ供給する(S224)。
【0126】
OR演算部43は、テキスト論理画面メモリ部32aの所定領域と文書論理画面メモリ部32bの所定領域の各画像データを画素ごとにOR演算を実施し、演算結果である中間画像を物理画面メモリ部34へ格納する(S226,S228)。
【0127】
これにより、液晶表示パネル3が物理画面メモリ部34に保持されている画像データにしたがって画像を表示すると、その表示画面は、内部タイマで指定された時間間隔で定期的に更新されることとなる(S310)。
【0128】
これにより、液晶表示パネル3が物理画面メモリ部34に保持されている画像データにしたがって画像を表示すると、その表示画面は、内部タイマで指定された時間間隔で定期的に加算画像(OR画像)が随時更新されて拡大表示されることとなる(S310)。
【0129】
そして、文書描画処理部24による文書全体についての描画処理が完了すると(S134−Yes)、表示制御処理部26の切替部44は、スイッチを入力2に切り替え、文書論理画面メモリ部32bに記憶されている画像のうちのユーザによるスクロール指示に対応する部分のみを切り出して物理画面メモリ部34にコピーすることで、文書画像のみが液晶表示パネル3に拡大表示されるようにする(S242)。この結果、液晶表示パネル3における表示状態は、図11(D)に示したと同様に、オリジナル文書と同じ画像の所定部分が拡大表示されることとなる(S320)。
【0130】
以上のように、第4実施形態の構成においても、文書中のテキスト部分を先に正しい位置に拡大表示するようにしたので、第1〜第3実施形態の構成と同様に、ユーザに対して文書の内容をいち早く通知することができる。
【0131】
また、文書描画処理部24による文書全体についての通常の描画処理が完了すると、その画像に切り替えるようにしているので、最後には、オリジナル文書の拡大画像を確実に提示することができる。
【0132】
また、第2実施形態の構成と同様に、個々のオブジェクトごとに表示を更新するのではなく、所定の繰返タイミングで定期的に表示を更新するようにしたので、第3実施形態よりも、全体の処理負担が少なくなる。
【0133】
なお、上記第3および第4実施形態では、第1および第2実施形態で取り扱ったものと同じ電子文書を用いつつ、縦横にそれぞれ2倍拡大しかつ所用部分を切り出して液晶表示パネル3に表示することとしていたが、これに限らない。たとえば、オリジナル文書自体が液晶表示パネル3の表示サイズよりも大きいものを対象として、所用部分を切り出して液晶表示パネル3に表示する場合であっても、拡大処理を除いて、上述した処理手順と同様の処理を適用することができる。
【0134】
なお、上記第3および第4実施形態の構成では、テキスト論理画面メモリ部32aおよび文書論理画面メモリ部32bにおけるユーザによるスクロール指示に対応する物理画面メモリ部34と同サイズ部分を位置制御部48の制御の元で切り出してから、OR演算部43にてOR演算処理をするようにしていたが、スクロール指示に対応した部分の合成画像が液晶表示パネル3上に表示されるものであればよく、このような構成に限定されるものではない。
【0135】
たとえば、テキスト論理画面メモリ部32aおよび文書論理画面メモリ部32bの全データをOR演算部43に供給し、その全体の画像(物理画面よりも大きなサイズ)について画像合成処理(前例ではOR演算処理)を施す。この後、ユーザによるスクロール指示に対応する物理画面メモリ部34と同サイズ部分を位置制御部48の制御の元で切り出して物理画面メモリ部34に格納する。ただしこの変形例では、画像サイズが大きい分だけ合成処理の負担は重たくなる。
【0136】
また、上記第3および第4実施形態の構成では、テキスト描画処理部22および文書描画処理部24による各描画処理の結果結果を記憶する記憶部としての画面メモリを個別に備えているので、テキスト描画処理部22によるテキスト部分のみについての描画処理と文書描画処理部24による全ての描画命令についての描画処理とを並列的に処理することも可能である。
【0137】
テキストの描画処理はグラフィックの描画処理に比べて、データ量が少なく、描画負担も軽い。このため、描画処理部21にて電子文書を取得したとき、テキスト描画処理部22と文書描画処理部24を同時に起動し並行処理させても、結果的には、テキストを先に表示させることができる。
【0138】
ただしこの場合、テキスト部分を先に表示することでユーザに対して文書の内容をいち早く通知するという基本的な機能を満足するように、並列処理の負担を調整することが好ましい。
【0139】
たとえば、文書中のテキストとグラフィックの存在割合にもよるが、テキスト描画命令の全体を処理し終えたときに前半部のグラフィック描画命令の処理が完了し、テキストの全体と1つあるいは数点のグラフィックオブジェクトのみが同時に表示されるようにするとよい。こうすることで、全体の処理時間は殆ど変わらないが、テキスト描画完了後に元の文書が表示されるまでの時間を短縮することができる。
【0140】
以上、本発明を実施形態を用いて説明したが、本発明の技術的範囲は上記実施形態に記載の範囲には限定されない。発明の要旨を逸脱しない範囲で上記実施形態に多様な変更または改良を加えることができ、そのような変更または改良を加えた形態も本発明の技術的範囲に含まれる。
【0141】
また、上記の実施形態は、クレーム(請求項)に掛かる発明を限定するものではなく、また実施形態の中で説明されている特徴の組合せの全てが発明の解決手段に必須であるとは限らない。前述した実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜の組合せにより種々の発明を抽出できる。実施形態に示される全構成要件から幾つかの構成要件が削除されても、効果が得られる限りにおいて、この幾つかの構成要件が削除された構成が発明として抽出され得る。
【0142】
たとえば、テキスト描画処理時は描画命令ごとに表示を更新する第1実施形態の表示態様にし、文書全体についての描画処理時には所定サイクルごとに定期的に表示を更新する第2実施形態の表示態様にしてもよい。
【0143】
また、上述した画像合成の手法は、2つの画像を画素ごとに論理和を取るOR演算処理をするものとして説明したが、これに限定されるものではない。テキストとグラフィックとが重なっている部分では、グラフィックよりもテキストの方が優位に表示される画像データを生成する処理である限り、公知の種々の手法を採用することができる。
【0144】
また、上述した各実施形態では、描画処理部21と表示制御処理部26とはマルチタスク処理可能な構成としていたが、これに限らず、描画処理と表示制御処理とをその都度順に処理するシングルタスク処理としてもよい。たとえば、第2や第4実施形態の構成では、テキスト描画処理部22や文書描画処理部24が描画処理した後に、表示制御処理部26が表示更新のタイミングであるか否かを判断するという具合である。
【0145】
上述した実施形態では、描画処理部21が受け取った電子文書自体に、テキストとグラフィックとを個々に峻別可能な情報が埋め込まれているものとして説明したが、これに限定されるものではない。たとえば、描画処理部21が受け取った電子文書にテキストの情報が埋め込まれていない場合、描画処理部21のテキスト描画処理部22は、文字認識ソフトと連携してイメージから文字情報を自動的に抽出してから、抽出した部分をテキスト描画すればよい。この処理よりも文書描画処理部24による順次描画の方が早いケースでは、この手法が採用されないのはいうまでもない。
【0146】
また、テキスト描画処理部22は、文字認識という高度な処理をするのではなく、イメージとして表されているテキスト部分の存在のみを認識し、そのテキスト部分の文字イメージを他のグラフィック部分(グラフィックイメージ)よりも先に描画するようにしてもよい。本願発明において、「テキストとグラフィックとが混在した電子文書のテキスト部分を先に表示する」には、このような表示態様も含むものとする。
【0147】
【発明の効果】
以上のように、本発明によれば、テキストとグラフィックとが混在した電子文書に基づいて画像を表示する際、文書中のテキスト部分を先に表示するようにしたので、ユーザに対して文書の内容を素早く通知することができる。ユーザは、文書の全体が表示される以前に文書の内容を把握することができるようになる。
【0148】
また、テキスト描画後にグラフィックを表示する際に、先ず、テキスト部分をグラフィックよりも優位に表示するようにすれば、重なりのある部分でもテキストをグラフィックの前面に表示することができ、ユーザに対して、文書の全容を示しつつ、文書の内容も確実に通知することができる。
【0149】
さらに、文書全体についての通常の描画処理が完了すると、その画像(オリジナル画像)に切り替えるようにすれば、途中段階でオリジナル文書と異なる表示態様となる場合であっても、最後にはオリジナル文書と同じ画像を提示することができるので、不都合は生じない。
【図面の簡単な説明】
【図1】本発明に係る情報表示処理装置の一実施形態の全体構成を示す概略図である。
【図2】第1実施形態の情報表示処理装置のハードウェア構成を示すブロック図である。
【図3】第1実施形態の情報表示処理装置における、表示処理に関わる部分の機能ブロック図である。
【図4】第1実施形態の情報表示処理装置における表示処理の手順を示すフローチャートである。
【図5】第1実施形態の描画および表示の制御処理の遷移と表示画像との関係を示す図である。
【図6】第2実施形態の情報表示処理装置における、表示処理に関わる部分の機能ブロック図である。
【図7】第2実施形態の情報表示処理装置における表示処理の手順を示すフローチャートである。
【図8】第2実施形態の描画および表示の制御処理の遷移と表示画像との関係を示す図である。
【図9】第3実施形態の情報表示処理装置における、表示処理に関わる部分の機能ブロック図である。
【図10】第3実施形態の情報表示処理装置1における表示処理の手順を示すフローチャートである。
【図11】第3実施形態の描画および表示の制御処理の遷移と表示画像との関係を示す図である。
【図12】第4実施形態の情報表示処理装置における、表示処理に関わる部分の機能ブロック図である。
【図13】第4実施形態の情報表示処理装置における表示処理の手順を示すフローチャートである。
【図14】テキストとグラフィックとが混在した電子文書の一例と、従来の情報表示処理装置における文書の表示例を示す図である。
【符号の説明】
1…情報表示処理装置、2…携帯情報端末、3…液晶表示パネル、7…表示デバイス、20…ROM、21…描画処理部、22…テキスト描画処理部、24…文書描画処理部、26…表示制御処理部、30…RAM、31…フレームバッファ、32…論理画面メモリ部、32a…テキスト論理画面メモリ部、32b…文書論理画面メモリ部、34…物理画面メモリ部、36…処理データメモリ部、42,43…OR演算部、44…切替部、46…更新制御部、47…表示切替処理部、48…位置制御部[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an information display processing device and a program for displaying an image based on an electronic document in which text and graphics are mixed.
[0002]
[Prior art]
2. Description of the Related Art As information display processing apparatuses have become more sophisticated and more sophisticated, a large number of electronic documents including not only text data but also complicated graphic data (including photographs and illustrations) have been created. In recent years, it has become common to display images based on these text documents on a display surface of a portable information terminal such as a PDA (Personal Digital Assistants).
[0003]
FIG. 14 is a diagram illustrating an example of an electronic document in which text and graphics are mixed, and a display example of the document in the information display processing device. In the electronic document D10 shown in FIG. 14A, graphic drawing commands D11 and D12 and a text drawing command D13 are arranged in order. As described above, when the electronic document D10 in which the drawing commands are sequentially arranged is displayed on a display device such as a CRT or a liquid crystal (LCD) provided in the information
[0004]
In this case, in the information
[0005]
On the other hand,
[0006]
[Patent Document 1]
JP-A-5-46136
[0007]
Here, a multi-window display system uses a memory (logical screen memory) corresponding to a virtual drawing area, and draws on a physical screen memory corresponding to a physical screen while drawing on a logical screen memory (normally). Is a system for copying) a part of the data of the logical screen memory. On the other hand, a system that draws in real time only on a physical screen memory that has a one-to-one correspondence with the display size of a display device is called a single window display system.
[0008]
In the method of
[0009]
Specifically, during the drawing period on the logical screen, the reflection (display) on the physical screen is stopped (the screen before starting the drawing is displayed) and the physical screen is updated after the drawing is completed. When drawing a figure or creating a screen with a plurality of figures, the unsightly display of a screen in the middle of drawing is eliminated. Further, by performing display switching such that only the redrawing result is reflected without being reflected on the physical screen during the execution of the screen deletion → drawing, flicker due to the screen deletion is reduced.
[0010]
[Problems to be solved by the invention]
By the way, many of the information display processing devices in recent years have improved drawing performance, and can perform drawing processing in a short time and display them. Most of the time there is no.
[0011]
On the other hand, some examples of the same information display processing device have a limitation in drawing performance. For example, a portable information terminal such as a PDA does not have sufficient performance of a computing device. For this reason, it is preferable that the user be notified of the contents of the document by displaying a screen in the middle of drawing. However, when an electronic document in which drawing commands are sequentially arranged is displayed on a portable information terminal, there is a problem that it is difficult to grasp the contents of the document in a short time because the drawing process is slow.
[0012]
For example, when the electronic document D10 shown in FIG. 14A is displayed on the portable information terminal 2 which is an example of an information display processing device, a rendering command D11 is processed on the liquid
[0013]
This is because, when a user grasps the contents of a document, the contents of the document are generally grasped by reading a text part in the document. In the electronic document D10 shown in FIG. 14A, since the text portion is near the end of the document and the text portion cannot be read during drawing, it is practically impossible to understand the contents of the document during drawing. That's why.
[0014]
The present invention has been made in view of the above circumstances, and even when displaying an image based on an electronic document in which text and graphics are mixed, a user can grasp the contents of the document in a short time. An object of the present invention is to provide an information display processing device and a program that enable the display.
[0015]
[Means for Solving the Problems]
The information display processing device according to the present invention renders a text portion in an electronic document in which text and graphics are mixed, and first displays an image (text image) of the text after the rendering process. At this time, if there is a coordinate conversion instruction such as enlargement / reduction or shift of the display position for the text, the text is rendered and displayed in accordance with the instruction.
[0016]
Thereafter, the document image obtained by sequentially drawing the entire document including the text and the graphic is combined with the displayed image, and a combined image indicating the result of the combining process is sequentially displayed.
[0017]
Preferably, the display is switched from the composite image to the display of the document image itself when the drawing process for the entire document is completed.
[0018]
As a basic drawing method, a drawing method of a multi-window display system using a logical screen memory and a physical screen memory is adopted.
[0019]
That is, a first information display processing device according to the present invention is a device that embodies the above-described display method, and includes a display device that displays an image, and a display device that displays an image based on the electronic document on the display device. A physical screen memory unit serving as an image memory and a logical screen memory unit serving as a virtual screen image memory corresponding to a display device are provided.
[0020]
A first information display processing device that performs a drawing process on a text portion of a text and a graphic in an electronic document, and stores a text image obtained by the drawing process in a logical screen memory unit; A document drawing processing unit that performs drawing processing of the entire electronic document and stores a document image obtained by the drawing processing in a logical screen memory unit.
[0021]
Here, it is assumed that the document drawing processing unit starts drawing processing for the entire electronic document after drawing processing by the text drawing processing unit is completed. When the document image is first stored in the logical screen memory unit by the document drawing processing unit as needed (by the writing method of the logical screen memory unit), the text image already stored is first cleared. I do.
[0022]
Further, the first information display processing device includes an image synthesizing unit for synthesizing an image stored in the logical screen memory unit and an image stored in the physical screen memory unit, and a synthesized image obtained by the image synthesizing unit. And a display switching processing unit that controls switching of the image displayed on the display device by storing one of the images stored in the logical screen memory unit in the physical screen memory unit.
[0023]
That is, in the first information display processing device, a common logical screen memory is used for both the text image and the composite image, and a predetermined range corresponding to the display image size on the logical screen memory is passed to the physical screen memory for display. It will be displayed on the device.
[0024]
A second information display processing device according to the present invention is another device that embodies the above-described display method, and includes a display device that displays an image, and an image that displays an image based on an electronic document on the display device. A physical screen memory unit serving as a memory, and a memory unit serving as a virtual screen image memory corresponding to a display device, and a text logic for storing a text image in an electronic document. A screen memory unit and a document logical screen memory unit for storing the entire image of the electronic document are provided.
[0025]
Further, the second information display processing device draws a text portion of the text and the graphic in the electronic document, and stores a text image obtained by the drawing process in a text logical screen memory unit. And a document rendering processing unit that renders the entire electronic document and stores a document image obtained by the rendering process in the document logical screen memory unit. Note that, unlike the first information display processing device, it is not essential that the document drawing processing unit starts drawing processing for the entire electronic document after drawing processing by the text drawing processing unit is completed.
[0026]
Further, the second information display processing device is obtained by an image synthesizing unit for synthesizing an image stored in the text logical screen memory and an image stored in the document logical screen memory, and an image synthesizing unit. A display switching processing unit that controls switching of an image displayed on a display device by storing one of a composite image and an image stored in a document logical screen memory unit in a physical screen memory unit And
[0027]
The invention described in the dependent claims defines a further advantageous specific example of the information display processing device according to the present invention.
[0028]
For example, in the first and second information display processing devices, the display switching processing unit causes the combined image obtained by the image combining unit to be stored in the physical screen memory unit until the drawing processing by the document drawing processing unit is completed. It is preferable that the document image itself be stored in the physical screen memory unit after the drawing processing by the drawing processing unit is completed. In this case, in the first information display processing device, the image stored in the document logical screen memory unit is used, and in the second information display processing device, the image stored in the document logical screen memory unit is used. What is necessary is just to store it in a screen memory part.
[0029]
Further, the program according to the present invention is suitable for realizing the information display processing device according to the present invention by software using an electronic computer (computer). The program may be provided by being stored in a computer-readable storage medium, or may be distributed via a wired or wireless communication unit.
[0030]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0031]
FIG. 1 is a schematic diagram showing an overall configuration of an embodiment of an information display processing device according to the present invention. As shown in the figure, the information
[0032]
The liquid
[0033]
The information
[0034]
Further, in the information
[0035]
Here, after processing the drawing instruction of the text part first to display the text image, the processed image of the entire document and the displayed image are combined and displayed, and only after the completion of the drawing processing of the entire document, only the entire document is displayed. There are various methods for switching to the display of the original document (display of the original document). Hereinafter, the configuration and operation of the information
[0036]
FIG. 2 is a block diagram illustrating a hardware configuration of the information
[0037]
In the
[0038]
Each functional unit of the text
[0039]
As an example of an electronic document in which text and graphics are mixed, for example, an electronic document having a logical structure such as an HTML (Hypertext Markup Language) format in addition to a normal electronic document created by an application program for creating a document. There is. Alternatively, an electronic document in a form in which text data is embedded as transparent information in an image (image), for example, a PDF (Portable Document Format) document saved in such a manner, or DocuWorks (DocuWorks; (Trademark) format electronic document.
[0040]
The storage area of the
[0041]
It goes without saying that the memory size of the physical
[0042]
The text
[0043]
FIG. 3 is a functional block diagram of a part related to display processing in the information
[0044]
The information
[0045]
The display
[0046]
In the configuration of the first embodiment, the
[0047]
More specifically, each time the text
[0048]
By performing the OR operation, in a portion where the text and the graphic overlap, the text is displayed with a higher priority than the graphic. For example, even in a case where a graphic is in the foreground and the text is hidden in the graphic in the original document, the text is displayed in the foreground by performing an OR operation.
[0049]
When the functional unit of the information
[0050]
Each time the drawing process for each drawing command is completed, information (drawing notification) is transmitted from the text
[0051]
Under the control of the
[0052]
FIG. 4 is a flowchart illustrating a procedure of a display process in the information
[0053]
Upon receiving data of an electronic document in which a drawing command for drawing a text and a drawing command for drawing a graphic are sequentially arranged (S100), the
[0054]
Thereafter, the text
[0055]
The text
[0056]
Here, in the display
[0057]
In this process, since only text is drawn by the text
[0058]
When the drawing processing based on the drawing command D13 by the text
[0059]
The document
[0060]
Here, in the display
[0061]
In this process, not only the text but also the graphic portion is sequentially drawn by the document
[0062]
Here, since the image held in the physical
[0063]
On the other hand, if such a display mode is maintained, an image different from the original document may be displayed even if the process for the entire document is completed by the document
[0064]
Therefore, when the drawing process based on the drawing command D13 by the document
[0065]
In the first embodiment, the rendering process for only the text rendering command by the
[0066]
In addition, prior to drawing of the entire document by the document
[0067]
As described above, according to the configuration of the first embodiment, when displaying an image based on an electronic document in which text and graphics are mixed and their drawing commands are arranged in order, the text portion in the document is first displayed. The document is displayed at the correct position, so that the user can be quickly notified of the contents of the document.
[0068]
In addition, when displaying a graphic after drawing a text, first, the text part is displayed superior to the graphic, so the text can be displayed in front of the graphic even in the overlapping part, so that the user can be displayed. In this way, the contents of the document can be reliably notified.
[0069]
This allows the user to grasp the contents of the document in a relatively short time before the entire original document is displayed.
[0070]
Further, when the normal drawing process for the entire document by the document
[0071]
Note that, when displaying a document having a logical structure such as an HTML format, a method of displaying a text first is known. This point is common to the display method of the information
[0072]
In this regard, in the case where the display image and the image of the graphics drawing process are combined and displayed as in the first embodiment, the graphic is in the foreground at the overlapping part of the original document and the text is hidden by the graphic. However, at first, it is different from the one that can display the text in a superior manner.
[0073]
FIG. 6 is a functional block diagram of a part related to display processing in the information
[0074]
For this reason, the
[0075]
Further, the
[0076]
The
[0077]
The display update repetition cycle may be, for example, about 1 second. Of course, the repetition is not limited to one second, and may be a shorter repetition or a longer repetition. However, at most, it is preferable to set it to several seconds. The reason that the image is not updated for a very long time is not preferable. Note that the repetition cycle during text rendering and the repetition cycle during rendering for the entire document may be different from each other. In this case, the repetition cycle of text drawing is preferably shorter.
[0078]
FIG. 7 is a flowchart illustrating a procedure of a display process in the information
[0079]
The processing procedure of the second embodiment is characterized by the display control processing of the display
[0080]
On the other hand, in the display control process of the second embodiment, the display
[0081]
Thereafter, the text
[0082]
As a result, when the liquid
[0083]
When the text drawing by the text
[0084]
At this time, if the display update timing managed by the internal timer has been reached, the display
[0085]
Thus, when the liquid
[0086]
Also, the example shown in FIG. 8C shows a case in which the drawing process for the graphic drawing command D12 has been completed at the display update timing at that time. In this case, the drawing process for the graphic drawing command D11 has also been completed, and all texts and all graphics are displayed on the liquid
[0087]
When the rendering process for the entire document by the document
[0088]
As described above, also in the configuration of the second embodiment, when displaying an image based on an electronic document in which text and graphics are mixed and their drawing commands are arranged in order, the text portion in the document is first displayed. Since the display is made at the correct position, the contents of the document can be notified to the user promptly. This allows the user to grasp the contents of the document in a relatively short time before the entire document is displayed thereafter.
[0089]
Further, the display is updated periodically at a predetermined repetition timing instead of updating the display for each individual object. Therefore, the entire processing load is reduced as compared with the first embodiment.
[0090]
In the configuration of the second embodiment, any configuration may be used as long as the display on the liquid
[0091]
For example, similarly to the first embodiment, the information is notified from the text
[0092]
In the processing of the second embodiment described above, the display update cycle and the timing of the last text drawing do not match, and the drawing results for all the texts in the document cannot be stored in the physical
[0093]
In order to avoid this problem, at the stage where the text drawing (storage in the logical screen memory unit 32) of the entire document by the document
[0094]
In addition, after temporarily saving only the portion that has not been written to the physical
[0095]
The entire memory size of the logical
[0096]
In the case where a DRAM is used as the logical
[0097]
Further, in the second embodiment, similarly to the first embodiment, the rendering process for only the text rendering command by the
[0098]
FIG. 9 is a functional block diagram of a part related to display processing in the information
[0099]
First, the information
[0100]
The basic function of the
[0101]
It goes without saying that the memory size of the physical
[0102]
FIG. 10 is a flowchart illustrating a procedure of a display process in the information
[0103]
Note that the original electronic document handled in the third embodiment is the same as that shown in FIG. However, at the time of display, it is assumed that an instruction to enlarge twice vertically and horizontally has been given. In this case, in the text logical
[0104]
The processing procedure of the third embodiment is characterized by the display control processing of the display
[0105]
On the other hand, in the display control processing of the third embodiment, the display
[0106]
The OR
[0107]
In this process, since only text is drawn by the text
[0108]
When the text drawing by the text
[0109]
At this time, the display
[0110]
The OR
[0111]
In this process, not only the text but also the graphic portion is sequentially drawn by the document
[0112]
When the rendering process for the entire document by the document
[0113]
As described above, according to the configuration of the third embodiment, when an image is enlarged and displayed based on an electronic document in which text and graphics are mixed and their drawing commands are arranged in order, a scroll instruction is received from the user. Even in this case, the text portion in the document is enlarged and displayed at the correct position first, so that the user can be quickly notified of the contents of the document as in the configurations of the first and second embodiments. Can be.
[0114]
When the normal drawing process for the entire document by the document
[0115]
As a modification of the configuration of the third embodiment, as shown in FIG. 9B, the switching
[0116]
FIG. 12 is a functional block diagram of a part related to display processing in the information
[0117]
The information
[0118]
Further, the information
[0119]
FIG. 13 is a flowchart illustrating a procedure of a display process in the information
[0120]
As described above, the information
[0121]
Thereafter, the text
[0122]
The OR
[0123]
As a result, when the liquid
[0124]
When the text drawing by the text
[0125]
At this time, as in the case of displaying text, if the display update timing managed by the internal timer has been reached, the display
[0126]
The OR
[0127]
Thus, when the liquid
[0128]
As a result, when the liquid
[0129]
Then, when the drawing processing of the entire document by the document
[0130]
As described above, also in the configuration of the fourth embodiment, the text portion in the document is enlarged and displayed at the correct position first, so that the user can be displayed in the same manner as in the configurations of the first to third embodiments. The contents of the document can be notified promptly.
[0131]
When the normal drawing process for the entire document by the document
[0132]
Further, similarly to the configuration of the second embodiment, instead of updating the display for each individual object, the display is updated periodically at a predetermined repetition timing. The overall processing load is reduced.
[0133]
In the third and fourth embodiments, the same electronic document as that dealt with in the first and second embodiments is used, enlarged twice in each of the vertical and horizontal directions, and a necessary portion is cut out and displayed on the liquid
[0134]
In the configurations of the third and fourth embodiments, the same size as the physical
[0135]
For example, all data in the text logical
[0136]
Further, in the configurations of the third and fourth embodiments, the screen memory as a storage unit for storing the result of each drawing process by the text
[0137]
The text drawing process has a smaller amount of data and a lighter drawing load than the graphic drawing process. For this reason, when the
[0138]
However, in this case, it is preferable to adjust the load of parallel processing so as to satisfy the basic function of notifying the user of the contents of the document as soon as possible by displaying the text portion first.
[0139]
For example, depending on the percentage of text and graphics in the document, when the entire text drawing instruction has been processed, the processing of the first half of the graphic drawing instruction is completed, and the entire text and one or several points Preferably, only graphic objects are displayed at the same time. By doing so, the overall processing time hardly changes, but the time until the original document is displayed after the completion of text drawing can be reduced.
[0140]
As described above, the present invention has been described using the embodiment. However, the technical scope of the present invention is not limited to the scope described in the embodiment. Various changes or improvements can be made to the above-described embodiment without departing from the spirit of the invention, and embodiments with such changes or improvements are also included in the technical scope of the present invention.
[0141]
Further, the above-described embodiment does not limit the invention according to the claims (claims), and all combinations of the features described in the embodiment are not necessarily essential to the means for solving the invention. Absent. The embodiments described above include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent features. Even if some components are deleted from all the components shown in the embodiment, as long as the effect is obtained, a configuration from which some components are deleted can be extracted as an invention.
[0142]
For example, the display mode of the first embodiment is such that the display is updated for each drawing command at the time of text drawing processing, and the display mode of the second embodiment is periodically updated at predetermined cycles during the drawing processing of the entire document. You may.
[0143]
In addition, the above-described image combining method has been described as performing an OR operation for obtaining a logical sum of two images for each pixel, but is not limited to this. In a portion where the text and the graphic overlap, various known methods can be adopted as long as the process is a process of generating image data in which the text is displayed more predominantly than the graphic.
[0144]
Further, in each of the above-described embodiments, the
[0145]
In the above-described embodiment, the electronic document itself received by the
[0146]
Further, the text
[0147]
【The invention's effect】
As described above, according to the present invention, when displaying an image based on an electronic document in which text and graphics are mixed, the text portion in the document is displayed first, so that the Content can be notified quickly. The user can grasp the contents of the document before the entire document is displayed.
[0148]
Also, when displaying the graphic after drawing the text, first, by displaying the text part superior to the graphic, the text can be displayed in front of the graphic even with overlapping parts, and In addition, the contents of the document can be reliably notified while showing the entire contents of the document.
[0149]
Further, when the normal drawing process for the entire document is completed, switching to the image (original image) is performed. Since the same image can be presented, no inconvenience occurs.
[Brief description of the drawings]
FIG. 1 is a schematic diagram showing an entire configuration of an embodiment of an information display processing device according to the present invention.
FIG. 2 is a block diagram illustrating a hardware configuration of the information display processing device according to the first embodiment.
FIG. 3 is a functional block diagram of a part related to a display process in the information display processing device of the first embodiment.
FIG. 4 is a flowchart illustrating a procedure of a display process in the information display processing device of the first embodiment.
FIG. 5 is a diagram illustrating a relationship between transition of a drawing and display control process and a display image according to the first embodiment.
FIG. 6 is a functional block diagram of a part related to a display process in the information display processing device according to the second embodiment.
FIG. 7 is a flowchart illustrating a procedure of a display process in the information display processing device according to the second embodiment.
FIG. 8 is a diagram illustrating a relationship between a transition of a drawing and display control process and a display image according to the second embodiment.
FIG. 9 is a functional block diagram of a portion related to a display process in an information display processing device according to a third embodiment.
FIG. 10 is a flowchart illustrating a procedure of a display process in the information
FIG. 11 is a diagram illustrating a relationship between a transition of a drawing and display control process and a display image according to the third embodiment.
FIG. 12 is a functional block diagram of a part related to display processing in an information display processing device according to a fourth embodiment.
FIG. 13 is a flowchart illustrating a procedure of a display process in the information display processing device according to the fourth embodiment.
FIG. 14 is a diagram illustrating an example of an electronic document in which text and graphics are mixed, and a display example of the document in a conventional information display processing device.
[Explanation of symbols]
DESCRIPTION OF
Claims (10)
画像を表示する表示デバイスと、
前記表示デバイスに前記電子文書に基づく画像を表示するための画像メモリとしての機能をなす物理画面メモリ部と、
前記表示デバイスと対応した仮想的な画面用の画像メモリとしての機能をなす論理画面メモリ部と、
前記電子文書中の前記テキストとグラフィックのうちのテキスト部分を描画処理し、当該描画処理により得られるテキスト画像を前記論理画面メモリ部に格納するテキスト描画処理部と、
前記電子文書の全体を描画処理し、当該描画処理により得られる文書画像を前記論理画面メモリ部に格納する文書描画処理部と、
前記論理画面メモリ部に格納されている画像と前記物理画面メモリ部に格納されている画像とを合成処理する画像合成部と、
前記画像合成部により得られる合成画像および前記論理画面メモリ部に格納されている画像のうちの何れか一方を前記物理画面メモリ部に格納させることで、前記表示デバイスに表示される画像を切替制御する表示切替処理部とを備え、
前記文書描画処理部は、前記テキスト描画処理部による前記描画処理が完了した後に前記電子文書の全体についての前記描画処理を開始する
ことを特徴とする情報表示処理装置。An information display processing device that displays an image based on an electronic document in which text and graphics are mixed,
A display device for displaying images,
A physical screen memory unit serving as an image memory for displaying an image based on the electronic document on the display device,
A logical screen memory unit that functions as an image memory for a virtual screen corresponding to the display device,
A text rendering processing unit that renders a text portion of the text and the graphic in the electronic document and stores a text image obtained by the rendering process in the logical screen memory unit.
A document drawing processing unit that performs a drawing process on the entire electronic document and stores a document image obtained by the drawing process in the logical screen memory unit;
An image synthesizing unit that synthesizes an image stored in the logical screen memory unit and an image stored in the physical screen memory unit,
By controlling one of the composite image obtained by the image compositing unit and the image stored in the logical screen memory unit to be stored in the physical screen memory unit, the image displayed on the display device is switched. And a display switching processing unit that performs
The information display processing device, wherein the document drawing processing unit starts the drawing processing for the entire electronic document after the drawing processing by the text drawing processing unit is completed.
ことを特徴とする請求項1に記載の情報表示処理装置。The display switching processing unit stores the synthesized image obtained by the image synthesizing unit in the physical screen memory unit until the drawing processing by the document drawing processing unit is completed, and executes the drawing processing by the document drawing processing unit. 2. The information display processing device according to claim 1, wherein after completion of the processing, the image stored in the logical screen memory is stored in the physical screen memory.
画像を表示する表示デバイスと、
前記表示デバイスに前記電子文書に基づく画像を表示するための画像メモリとしての機能をなす物理画面メモリ部と、
前記表示デバイスと対応した仮想的な画面用の画像メモリとしての機能をなすメモリ部であって、前記電子文書中のテキストの画像を格納するためのテキスト論理画面メモリ部および前記電子文書の全体の画像を格納するための文書論理画面メモリ部と、
前記電子文書中の前記テキストとグラフィックのうちのテキスト部分を描画処理し、当該描画処理により得られるテキスト画像を前記テキスト論理画面メモリ部に格納するテキスト描画処理部と、
前記電子文書の全体を描画処理し、当該描画処理により得られる文書画像を前記文書論理画面メモリ部に格納する文書描画処理部と、
前記テキスト論理画面メモリ部に格納されている画像と前記文書論理画面メモリ部に格納されている画像とを合成処理する画像合成部と、
前記画像合成部により得られる合成画像および前記文書論理画面メモリ部に格納されている画像のうちの何れか一方を前記物理画面メモリ部に格納させることで、前記表示デバイスに表示される画像を切替制御する表示切替処理部とを備える
ことを特徴とする情報表示処理装置。An information display processing device that displays an image based on an electronic document in which text and graphics are mixed,
A display device for displaying images,
A physical screen memory unit serving as an image memory for displaying an image based on the electronic document on the display device,
A memory unit serving as a virtual screen image memory corresponding to the display device, a text logical screen memory unit for storing an image of a text in the electronic document, and a whole of the electronic document. A document logical screen memory unit for storing images,
A text rendering processing unit that renders a text portion of the text and the graphic in the electronic document, and stores a text image obtained by the rendering process in the text logical screen memory unit;
A document drawing processing unit that performs a drawing process on the entire electronic document and stores a document image obtained by the drawing process in the document logical screen memory unit;
An image synthesis unit that synthesizes an image stored in the text logical screen memory unit and an image stored in the document logical screen memory unit;
The image displayed on the display device is switched by storing one of the composite image obtained by the image compositing unit and the image stored in the document logical screen memory unit in the physical screen memory unit. An information display processing device, comprising: a display switching processing unit for controlling.
ことを特徴とする情報表示処理装置。The information display processing device, wherein the document drawing processing unit starts the drawing processing for the entire electronic document after the drawing processing by the text drawing processing unit is completed.
ことを特徴とする請求項3または4に記載の情報表示処理装置。The display switching processing unit stores the synthesized image obtained by the image synthesizing unit in the physical screen memory unit until the drawing processing by the document drawing processing unit is completed, and executes the drawing processing by the document drawing processing unit. 5. The information display processing device according to claim 3, wherein after completion of the process, the image stored in the document logical screen memory is stored in the physical screen memory.
ことを特徴とする請求項1から5のうちの何れか1項に記載の情報表示処理装置。Each time at least one of a drawing process by the text drawing process unit and a drawing process by the document drawing process unit is performed, the display switching processing unit displays the synthesized image obtained by the image synthesis unit on the physical screen. The information display processing device according to claim 1, wherein an image on the display device is updated each time the drawing process is performed by storing the image in the memory unit.
ことを特徴とする請求項1から6のうちの何れか1項に記載の情報表示処理装置。The display switching processing unit, at least one of a drawing process by the text drawing processing unit and a drawing process by the document drawing processing unit, in a predetermined repetition cycle, the synthesized image obtained by the image synthesis unit The information display processing device according to claim 1, wherein an image on the display device is periodically updated by storing the image in the physical screen memory unit.
ことを特徴とする請求項1から7のうちの何れか1項に記載の情報表示処理装置。The image synthesizing unit, in a portion where the text and the graphic overlap, generates the synthesized image such that the text is displayed as superior to the graphic as an image on the display device. The information display processing device according to any one of claims 1 to 7, characterized in that:
前記電子文書中の前記テキストとグラフィックのうちのテキスト部分を描画処理し、当該描画処理により得られるテキスト画像を、前記表示デバイスと対応した仮想的な画面用の画像メモリとしての機能をなす論理画面メモリ部に格納するテキスト描画処理部と、
前記テキスト描画処理部による前記描画処理が完了した後に前記電子文書の全体についての描画処理を開始し、当該描画処理により得られる文書画像を前記論理画面メモリ部に格納する文書描画処理部と、
前記論理画面メモリ部に格納されている画像と前記表示デバイスに前記電子文書に基づく画像を表示するための画像メモリとしての機能をなす物理画面メモリ部に格納されている画像とを合成処理する画像合成部と、
前記画像合成部により得られる合成画像および前記論理画面メモリ部に格納されている画像のうちの何れか一方を前記物理画面メモリ部に格納させることで、前記表示デバイスに表示される画像を切替制御する表示切替処理部と
して機能させることを特徴とするプログラム。A program for performing, by a computer, an information display process of displaying an image based on an electronic document in which text and graphics are mixed, the computer comprising:
A logical screen that functions as a virtual screen image memory corresponding to the display device by drawing a text portion of the text and the graphic in the electronic document and drawing a text image obtained by the drawing process. A text drawing processing unit stored in the memory unit,
A document drawing processing unit that starts drawing processing for the entire electronic document after the drawing processing by the text drawing processing unit is completed, and stores a document image obtained by the drawing processing in the logical screen memory unit;
An image for performing synthesis processing on an image stored in the logical screen memory unit and an image stored in a physical screen memory unit serving as an image memory for displaying an image based on the electronic document on the display device. A synthesis unit;
By controlling one of the composite image obtained by the image compositing unit and the image stored in the logical screen memory unit to be stored in the physical screen memory unit, the image displayed on the display device is switched. A program that functions as a display switching processing unit.
前記電子文書中の前記テキストとグラフィックのうちのテキスト部分を描画処理し、当該描画処理により得られるテキスト画像を、前記表示デバイスと対応した仮想的な画面用の画像メモリとしての機能をなすテキスト論理画面メモリ部に格納するテキスト描画処理部と、
前記電子文書の全体について描画処理し、当該描画処理により得られる文書画像を前記表示デバイスと対応した仮想的な画面用の画像メモリとしての機能をなす文書論理画面メモリ部に格納する文書描画処理部と、
前記テキスト論理画面メモリ部に格納されている画像と前記文書論理画面メモリ部に格納されている画像とを合成処理する画像合成部と、
前記画像合成部により得られる合成画像および前記文書論理画面メモリ部に格納されている画像のうちの何れか一方を、前記表示デバイスに前記電子文書に基づく画像を表示するための画像メモリとしての機能をなす物理画面メモリ部に格納させることで、前記表示デバイスに表示される画像を切替制御する表示切替処理部と
して機能させることを特徴とするプログラム。A program for performing, by a computer, an information display process of displaying an image based on an electronic document in which text and graphics are mixed, the computer comprising:
A text logic functioning as a virtual screen image memory corresponding to the display device by drawing a text portion of the text and the graphic in the electronic document and drawing a text image obtained by the drawing process. A text drawing processing unit stored in the screen memory unit;
A document drawing processing unit that performs a drawing process on the entire electronic document and stores a document image obtained by the drawing process in a document logical screen memory unit that functions as an image memory for a virtual screen corresponding to the display device When,
An image synthesis unit that synthesizes an image stored in the text logical screen memory unit and an image stored in the document logical screen memory unit;
A function as an image memory for displaying one of the composite image obtained by the image compositing unit and the image stored in the document logical screen memory unit on the display device based on the electronic document; A program stored in a physical screen memory unit to function as a display switching processing unit that controls switching of an image displayed on the display device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002341727A JP2004178127A (en) | 2002-11-26 | 2002-11-26 | Information display processor and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002341727A JP2004178127A (en) | 2002-11-26 | 2002-11-26 | Information display processor and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004178127A true JP2004178127A (en) | 2004-06-24 |
Family
ID=32703974
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002341727A Pending JP2004178127A (en) | 2002-11-26 | 2002-11-26 | Information display processor and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004178127A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101233749B (en) * | 2005-08-05 | 2011-11-16 | 三星电子株式会社 | Apparatus for providing multiple screens and method of dynamically configuring multiple screens |
WO2012077319A1 (en) * | 2010-12-07 | 2012-06-14 | 富士フイルム株式会社 | Stereovision image display method and apparatus therefor |
JP2014160469A (en) * | 2011-01-11 | 2014-09-04 | Apple Inc | Mirroring graphics content to external display |
JP5939478B1 (en) * | 2015-05-20 | 2016-06-22 | 富士ゼロックス株式会社 | Information processing apparatus and program |
-
2002
- 2002-11-26 JP JP2002341727A patent/JP2004178127A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101233749B (en) * | 2005-08-05 | 2011-11-16 | 三星电子株式会社 | Apparatus for providing multiple screens and method of dynamically configuring multiple screens |
WO2012077319A1 (en) * | 2010-12-07 | 2012-06-14 | 富士フイルム株式会社 | Stereovision image display method and apparatus therefor |
JP2014160469A (en) * | 2011-01-11 | 2014-09-04 | Apple Inc | Mirroring graphics content to external display |
US9864560B2 (en) | 2011-01-11 | 2018-01-09 | Apple Inc. | Mirroring graphics content to an external display |
JP5939478B1 (en) * | 2015-05-20 | 2016-06-22 | 富士ゼロックス株式会社 | Information processing apparatus and program |
US10157335B2 (en) | 2015-05-20 | 2018-12-18 | Fuji Xerox Co., Ltd. | Information processing apparatus and non-transitory computer readable medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017101493A1 (en) | Page label management method and device for browser | |
JPH11102243A (en) | Device and method for providing information | |
JP2010527077A (en) | Graphics overlay after rendering | |
EP0591682A2 (en) | Display control apparatus | |
CN114924824B (en) | Visual object blurring method, visual object rendering method and computing device | |
JPH0863135A (en) | Information processing device | |
JP2007079644A (en) | Display device, control method for display device, control program for display device, and recording medium with control program for display device recorded thereon | |
JP2004178127A (en) | Information display processor and program | |
US20060187239A1 (en) | System and method for improving visual appearance of efficient rotation algorithm | |
JP2010097334A (en) | Drawing device | |
JP2006221406A (en) | Information display device | |
JP2006171274A (en) | Application drawing terminal, method for displaying application drawing and application drawing program | |
JP2004252102A (en) | Image display device, image display method and image display program | |
JP3862519B2 (en) | Display device, program thereof, and program of each device in system including the same | |
JP2001273516A (en) | Picture processor, picture processing method, recording medium, and program | |
JP5407590B2 (en) | Image display device | |
JP3297475B2 (en) | Display control device and method | |
JP2006106983A (en) | Display device and display method | |
JP3088135B2 (en) | How to manage the start point of filling a closed area | |
JPH10161636A (en) | Graphics display device | |
JP5084132B2 (en) | Image data output apparatus and image data output method | |
JP2004252103A (en) | Image display device, image display method and image display program | |
JPS63120331A (en) | Control system for set-up of window | |
JP4534328B2 (en) | Display control device | |
JP5418078B2 (en) | Image processor |