JP2014029684A - Electronic book terminal, information processing method, and program - Google Patents

Electronic book terminal, information processing method, and program Download PDF

Info

Publication number
JP2014029684A
JP2014029684A JP2013136804A JP2013136804A JP2014029684A JP 2014029684 A JP2014029684 A JP 2014029684A JP 2013136804 A JP2013136804 A JP 2013136804A JP 2013136804 A JP2013136804 A JP 2013136804A JP 2014029684 A JP2014029684 A JP 2014029684A
Authority
JP
Japan
Prior art keywords
character string
electronic book
display
ruby
book terminal
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.)
Granted
Application number
JP2013136804A
Other languages
Japanese (ja)
Other versions
JP5673744B2 (en
Inventor
Atsushi Tsujigaki
篤 辻垣
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 Marketing Japan Inc
Canon IT Solutions Inc
Canon MJ IT Group Holdings Inc
Original Assignee
Canon Marketing Japan Inc
Canon IT Solutions Inc
Canon MJ IT Group Holdings 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 Marketing Japan Inc, Canon IT Solutions Inc, Canon MJ IT Group Holdings Inc filed Critical Canon Marketing Japan Inc
Priority to JP2013136804A priority Critical patent/JP5673744B2/en
Publication of JP2014029684A publication Critical patent/JP2014029684A/en
Application granted granted Critical
Publication of JP5673744B2 publication Critical patent/JP5673744B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve readability of text by switching display of rubies in accordance with the size of characters displayed on a screen.SOLUTION: An electronic book for displaying text data, when receiving change of a display magnification by a reader, displays text data to which rubies are added when the changed magnification is one for displaying in a larger way than at a predetermined magnification, and displays text data from which rubies are deleted when it is one for displaying in a smaller way than at the predetermined magnification. Then, it is determined whether to display rubies depending on resolution of a screen and the size of line spacing of text data to be displayed.

Description

本発明は、電子書籍におけるルビ表示技術に関する。   The present invention relates to a ruby display technique in an electronic book.

近年、電子書籍端末が普及し、紙の書籍ではなく電子書籍端末を用いて小説などの文章を読む機会が増えている。   In recent years, electronic book terminals have become widespread, and opportunities to read texts such as novels using electronic book terminals instead of paper books have increased.

このような小説などの文章を表示する電子書籍においても通常の紙の書籍と同様に、難しい漢字や特殊な読み方をする熟語に対して、ルビを振って表示し、ユーザの理解を助けている。   In e-books that display sentences such as novels, like ordinary paper books, ruby is displayed for difficult kanji and idioms that are specially read, helping users to understand. .

また、電子書籍においては、ユーザが自由に文字サイズを拡大・縮小することが可能である。   In the electronic book, the user can freely enlarge / reduce the character size.

特開2005−92414号公報JP 2005-92414 A

特許文献1には、電子書籍におけるルビの表示方法として、ルビを振るスペースを作るために行間を広げたり、ルビ付きの文字列を上下方向(縦書きなら左右方向)にずらしてルビを振ることで、ユーザにとって読みやすいルビ表示を実現している。   In Patent Document 1, as a ruby display method in an electronic book, a line space is widened to create a space for shaking ruby, or a ruby is shaken by shifting a character string with ruby vertically (left and right in vertical writing). Thus, a ruby display that is easy to read for the user is realized.

しかしながら、上述の通り、電子書籍においては文字サイズをユーザが自由に変更することが可能である。ユーザが1画面に表示する文字数を増やすために文字を縮小して表示した場合には、ルビが非常に小さくなり、ルビを読み取ることが難しくなる。また、読み取れないサイズで表示されるルビについては、ユーザにとって不要な情報であり、文章を読みづらくする要因ともなりうる。   However, as described above, in the electronic book, the user can freely change the character size. When the user displays characters in a reduced size in order to increase the number of characters displayed on one screen, the ruby becomes very small and it becomes difficult to read the ruby. In addition, ruby displayed in an unreadable size is unnecessary information for the user and can be a factor that makes it difficult to read the text.

そこで、本発明は、画面に表示された文字のサイズに応じてルビの表示を切り替えることで、文章の読みやすさの向上を図ることを目的とする。   Accordingly, an object of the present invention is to improve the readability of a sentence by switching the display of ruby according to the size of characters displayed on the screen.

本発明は、電子書籍端末であって、文字列を電子書籍端末の表示部に表示する表示手段と、ユーザからの指示により前記表示部に表示された文字列の表示倍率を変更する変更手段と、前記文字列に対して付加情報を付加する情報付加手段と、前記変更手段による表示倍率の変更に応じて、前記情報付加手段により付加された付加情報とともに前記文字列を表示するか否かを切り替える切替手段と、を備えることを特徴とする。   The present invention is an electronic book terminal, wherein the display unit displays a character string on the display unit of the electronic book terminal, and the changing unit changes the display magnification of the character string displayed on the display unit according to an instruction from the user. , Information adding means for adding additional information to the character string, and whether to display the character string together with the additional information added by the information adding means in response to a change in display magnification by the changing means. Switching means for switching.

また、本発明は、電子書籍端末における情報処理方法であって、前記電子書籍端末の表示手段が、文字列を電子書籍端末の表示部に表示する表示工程と、前記電子書籍端末の変更手段が、ユーザからの指示により前記表示部に表示された文字列の表示倍率を変更する変更工程と、前記電子書籍端末の情報付加手段が、前記文字列に対して付加情報を付加する情報付加工程と、前記電子書籍端末の切替手段が、前記変更工程による表示倍率の変更に応じて、前記情報付加工程により付加された付加情報とともに前記文字列を表示するか否かを切り替える切替工程と、を備えることを特徴とする。   Moreover, this invention is an information processing method in an electronic book terminal, Comprising: The display means of the said electronic book terminal displays a character string on the display part of an electronic book terminal, The change means of the said electronic book terminal includes A changing step of changing a display magnification of the character string displayed on the display unit according to an instruction from a user, and an information adding step in which the information adding means of the electronic book terminal adds additional information to the character string; A switching step of switching whether or not to display the character string together with the additional information added by the information adding step according to the change of the display magnification by the changing step. It is characterized by that.

また、本発明は、電子書籍端末で実行されるプログラムであって、前記電子書籍端末を、文字列を電子書籍端末の表示部に表示する表示手段と、ユーザからの指示により前記表示部に表示された文字列の表示倍率を変更する変更手段と、前記文字列に対して付加情報を付加する情報付加手段と、前記変更手段による表示倍率の変更に応じて、前記情報付加手段により付加された付加情報とともに前記文字列を表示するか否かを切り替える切替手段として機能させることを特徴とする。   The present invention is also a program executed on an electronic book terminal, wherein the electronic book terminal is displayed on the display unit by display means for displaying a character string on the display unit of the electronic book terminal and an instruction from a user. A changing means for changing the display magnification of the character string, an information adding means for adding additional information to the character string, and the information adding means added according to the change of the display magnification by the changing means. It is made to function as a switching means for switching whether or not to display the character string together with the additional information.

本発明によれば、画面に表示された文字サイズに応じてルビの表示を切り替えることで、文章の読みやすさの向上を図ることが可能となる。   According to the present invention, it is possible to improve the readability of a sentence by switching the display of ruby according to the character size displayed on the screen.

本発明の情報処理システムの構成の一例を示す図であるIt is a figure which shows an example of a structure of the information processing system of this invention. 情報処理装置のハードウエア構成の一例を示す図であるIt is a figure which shows an example of the hardware constitutions of information processing apparatus. 本発明における拡大表示時におけるルビ振り処理を示すフローチャートであるIt is a flowchart which shows the ruby swing process at the time of the enlarged display in this invention. 本発明における縮小表示時におけるルビ削除処理を示すフローチャートであるIt is a flowchart which shows the ruby deletion process at the time of the reduced display in this invention. 自動ルビ振り設定時における閾値を示すテーブルであるIt is a table which shows a threshold at the time of automatic ruby swing setting ルビ振り設定を受け付けるための画面であるIt is a screen for accepting ruby swing settings 縮小表示された画面の一例を示す図であるIt is a figure which shows an example of the screen reduced and displayed 拡大表示されルビが振られた画面の一例を示す図であるIt is a figure which shows an example of the screen expanded and displayed the ruby 第2の実施形態におけるルビ振り処理を示すフローチャートであるIt is a flowchart which shows the ruby swing process in 2nd Embodiment. 第2の実施形態におけるルビ削除処理を示すフローチャートであるIt is a flowchart which shows the ruby deletion process in 2nd Embodiment. 個別指定文字列の選択受付処理を示すフローチャートであるIt is a flowchart which shows the selection reception process of an individual designation | designated character string. 常時ルビの表示処理を示すフローチャートであるIt is a flowchart which shows a continuous ruby display process 個別してお文字列へのルビ表示処理を示すフローチャートであるIt is a flowchart which shows the ruby display process to a character string separately. ルビ表示できない場合の処理を示すフローチャートであるIt is a flowchart which shows a process when ruby display cannot be performed. ルビ振り設定を受け付けるための画面の一例を示す図であるIt is a figure which shows an example of the screen for accepting a ruby swing setting 図14のS1403で表示される画面の一例を示す図であるIt is a figure which shows an example of the screen displayed by S1403 of FIG. 図14のS1403で表示される画面の一例を示す図であるIt is a figure which shows an example of the screen displayed by S1403 of FIG. 図19のS1906で表示される画面の一例を示す図であるIt is a figure which shows an example of the screen displayed by S1906 of FIG. ユーザにより選択された文字列にルビを振る処理を示すフローチャートであるIt is a flowchart which shows the process which shakes a ruby to the character string selected by the user. 常時ルビ・個別指定文字列のルビが表示された画面の一例を示す図であるIt is a figure which shows an example of the screen on which the ruby of the regular ruby and the individually designated character string is displayed 第3の実施形態におけるルビ振り処理を示すフローチャートであるIt is a flowchart which shows the ruby swing process in 3rd Embodiment. ステップS2103、S2105で表示される画面の一例を示す図であるIt is a figure which shows an example of the screen displayed by step S2103 and S2105. 自動ルビ振り設定時における閾値を示すテーブルであるIt is a table which shows a threshold at the time of automatic ruby swing setting ステップS1901において表示される画面の一例を示す図であるIt is a figure which shows an example of the screen displayed in step S1901. ステップS1103において表示される画面の一例を示す図であるIt is a figure which shows an example of the screen displayed in step S1103.

以下、図面を参照して本発明の実施形態を詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明に係る情報処理システムのシステム構成の一例を示す図である。   FIG. 1 is a diagram showing an example of a system configuration of an information processing system according to the present invention.

図1に示すように、本実施形態に係る情報処理システムは、電子書籍端末101および外部装置102が、ネットワーク103により通信可能に接続された構成をとる。   As shown in FIG. 1, the information processing system according to the present embodiment has a configuration in which an electronic book terminal 101 and an external device 102 are communicably connected via a network 103.

以下、図2を用いて、図1に示した電子書籍端末101に適用可能なハードウエア構成の一例について説明する。   Hereinafter, an example of a hardware configuration applicable to the electronic book terminal 101 illustrated in FIG. 1 will be described with reference to FIG.

図2において、201はCPUで、システムバス204に接続される各デバイスやコントローラを統括的に制御する。また、ROM203あるいは外部メモリ211には、CPU201の制御プログラムであるBIOS(Basic Input / Output System)やオペレーティングシステムプログラム(以下、OS)や、各サーバ或いは各PCの実行する機能を実現するために必要な各種プログラム等が記憶されている。   In FIG. 2, reference numeral 201 denotes a CPU that comprehensively controls each device and controller connected to the system bus 204. Further, the ROM 203 or the external memory 211 is necessary to realize a BIOS (Basic Input / Output System) or an operating system program (hereinafter referred to as an OS), which is a control program of the CPU 201, or a function executed by each server or each PC. Various programs are stored.

202はRAMで、CPU201の主メモリ、ワークエリア等として機能する。CPU201は、処理の実行に際して必要なプログラム等をROM203あるいは外部メモリ211からRAM202にロードして、該ロードしたプログラムを実行することで各種動作を実現するものである。   A RAM 202 functions as a main memory, work area, and the like for the CPU 201. The CPU 201 implements various operations by loading a program necessary for execution of processing from the ROM 203 or the external memory 211 into the RAM 202 and executing the loaded program.

また、205は入力コントローラで、入力装置209等からの入力を制御する。206はビデオコントローラで、液晶ディスプレイ等のディスプレイ装置210への表示を制御する。なお、ディスプレイ装置は、液晶ディスプレイに限られず、CRTディスプレイなどであっても良い。これらは必要に応じてクライアントが使用するものである。   An input controller 205 controls input from the input device 209 or the like. A video controller 206 controls display on a display device 210 such as a liquid crystal display. The display device is not limited to a liquid crystal display, and may be a CRT display or the like. These are used by clients as needed.

207はメモリコントローラで、ブートプログラム,各種のアプリケーション,フォントデータ,ユーザファイル,編集ファイル,各種データ等を記憶するハードディスク(HD)や、フレキシブルディスク(FD)、或いはPCMCIAカードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)メモリ等の外部メモリ211へのアクセスを制御する。   A memory controller 207 is connected to the hard disk (HD), flexible disk (FD), or PCMCIA card slot for storing a boot program, various applications, font data, user files, editing files, various data, etc. via an adapter. The access to the external memory 211 such as a compact flash (registered trademark) memory is controlled.

208は通信I/Fコントローラで、ネットワーク(例えば、図1に示したLAN400)を介して外部機器と接続・通信するものであり、ネットワークでの通信制御処理を実行する。例えば、TCP/IPを用いた通信等が可能である。   A communication I / F controller 208 connects and communicates with an external device via a network (for example, the LAN 400 shown in FIG. 1), and executes communication control processing in the network. For example, communication using TCP / IP is possible.

なお、CPU201は、例えばRAM202内の表示情報用領域へアウトラインフォントの展開(ラスタライズ)処理を実行することにより、ディスプレイ装置210上での表示を可能としている。また、CPU201は、ディスプレイ装置210上の不図示のマウスカーソル等でのユーザ指示を可能とする。   Note that the CPU 201 enables display on the display device 210 by executing outline font rasterization processing on a display information area in the RAM 202, for example. Further, the CPU 201 enables a user instruction with a mouse cursor (not shown) on the display device 210.

ハードウエア上で動作する各種プログラムは、外部メモリ211に記録されており、必要に応じてRAM202にロードされることによりCPU201によって実行されるものである。   Various programs that operate on the hardware are recorded in the external memory 211 and are executed by the CPU 201 by being loaded into the RAM 202 as necessary.

なお、全ての装置がこれらの構成を備えているわけではなく、必要なものを夫々備えていればよい。   It should be noted that not all devices have these configurations, and it is only necessary to provide necessary devices.

次に、図3を用いて、本発明の実施形態において電子書籍端末101が行うルビ振り処理について説明する。   Next, a ruby swing process performed by the electronic book terminal 101 in the embodiment of the present invention will be described with reference to FIG.

なお、図3のフローチャートで示す処理については、電子書籍端末101のCPU201が所定の制御プログラムを読み出して実行する処理である。   Note that the process shown in the flowchart of FIG. 3 is a process in which the CPU 201 of the electronic book terminal 101 reads and executes a predetermined control program.

ステップS301では、電子書籍端末101のCPU201は、ユーザから図6に示す画面を介して、各種の設定を受け付ける。ここで受け付ける設定には、ルビを表示するか否かを決定するための倍率の設定(601)等が含まれる。   In step S301, the CPU 201 of the electronic book terminal 101 accepts various settings from the user via the screen shown in FIG. The setting accepted here includes a setting of magnification (601) for determining whether or not to display ruby.

例えば、図6に示す画面の601において「拡大時のルビ」にチェックがされ、「倍率指定」として「150%」が設定された場合は、画面表示の倍率が150%にまで拡大された場合にルビを表示することが設定される。   For example, in the case of 601 in the screen shown in FIG. 6, when “ruby when enlarged” is checked and “150%” is set as “magnification designation”, the magnification of the screen display is enlarged to 150% Is set to display ruby.

また、「倍率指定」ではなく、「自動」が選択された場合には、後述するステップS307〜S309の処理を実行し、解像度などの図5に示すデータを用いてルビを表示するか否かを決定することとなる。   Further, when “automatic” is selected instead of “magnification designation”, processing of steps S307 to S309 described later is executed, and whether or not to display ruby using data such as resolution shown in FIG. Will be determined.

ステップS302では、電子書籍端末101のCPU201は、表示部に電子書籍データを表示する。なお、電子書籍データについては、あらかじめ電子書籍端末101の記憶領域に記憶されているもの、又は外部装置102から取得したデータである。   In step S302, the CPU 201 of the electronic book terminal 101 displays the electronic book data on the display unit. The electronic book data is data stored in advance in the storage area of the electronic book terminal 101 or data acquired from the external device 102.

ステップS303では、電子書籍端末101のCPU201は、ユーザから表示倍率の変更指示を受け付ける。   In step S303, the CPU 201 of the electronic book terminal 101 receives a display magnification change instruction from the user.

表示倍率の変更を受け付ける方法については、ユーザにより表示倍率(例えば75%等)が指定されることで受け付けても良い。また、表示部がマルチタッチに対応したタッチパネルであれば、ピンチアウトやピンチインといった操作によって変更を受け付けても良い。ピンチアウトとは、2本の指を画面上に載せて指と指の間隔を広げる動作を指す。これにより表示倍率は高くなる(拡大表示される)。ピンチインとは、2本の指を画面上に載せてその間隔を縮める動作を指す。これにより表示倍率は低くなる(縮小表示される)。   The method for accepting the change in display magnification may be accepted by the user specifying a display magnification (for example, 75%). If the display unit is a touch panel that supports multi-touch, changes may be accepted by operations such as pinch-out and pinch-in. Pinch out refers to an operation of placing two fingers on the screen and widening the interval between the fingers. This increases the display magnification (enlarged display). Pinch-in refers to the operation of placing two fingers on the screen and reducing the distance between them. As a result, the display magnification is reduced (reduced display).

ステップS304では、電子書籍端末101のCPU201は、ステップ302で表示した電子書籍データに既にルビが振られているか否かを判断する。既にルビが振られている場合(ステップS304:YES)は、処理を図4に示すフローチャートに移行する。図4のフローチャートに示す処理については、後述する。   In step S304, the CPU 201 of the electronic book terminal 101 determines whether or not ruby has already been added to the electronic book data displayed in step 302. If the ruby has already been shaken (step S304: YES), the process proceeds to the flowchart shown in FIG. The process shown in the flowchart of FIG. 4 will be described later.

ルビが振られていない場合(ステップS304:NO)は、処理をステップS305に移行する。   If the ruby is not shaken (step S304: NO), the process proceeds to step S305.

ステップS305では、電子書籍端末101のCPU201は、ステップS301で受け付けたルビ表示に関する設定が、「倍率指定」であるかを判断する。すなわち、図6の画面において、「拡大時のルビ」にチェックがされ、プルダウンリストから「倍率指定」が選択されているか否かを判断する。   In step S305, the CPU 201 of the electronic book terminal 101 determines whether the setting relating to the ruby display accepted in step S301 is “magnification designation”. That is, in the screen of FIG. 6, “Rubi when zooming in” is checked, and it is determined whether or not “Specify magnification” is selected from the pull-down list.

倍率指定である場合(ステップS305:YES)は、処理をステップS310に移行する。   If the magnification is designated (step S305: YES), the process proceeds to step S310.

倍率指定ではない場合(ステップS305:NO)は、処理をステップS306に移行する。   If the magnification is not designated (step S305: NO), the process proceeds to step S306.

ステップS306では、電子書籍端末101のCPU201は、ステップS301で受け付けたルビ表示に関する設定が、「自動」になっているかを判断する。すなわち、図6の画面において、「拡大時のルビ」にチェックがされ、プルダウンリストから「自動」が選択されているか否かを判断する。   In step S306, the CPU 201 of the electronic book terminal 101 determines whether the setting relating to the ruby display accepted in step S301 is “automatic”. That is, in the screen of FIG. 6, “Rubi at enlargement” is checked, and it is determined whether or not “Automatic” is selected from the pull-down list.

自動である場合(ステップS306:YES)は、処理をステップS307に移行する。   If it is automatic (step S306: YES), the process proceeds to step S307.

自動ではない場合(ステップS306:NO)は、処理をステップS315に移行する。   If not automatic (step S306: NO), the process proceeds to step S315.

ステップS307では、電子書籍端末101のCPU201は、電子書籍端末101の表示部の解像度を取得する。   In step S <b> 307, the CPU 201 of the electronic book terminal 101 acquires the resolution of the display unit of the electronic book terminal 101.

ステップS308では、電子書籍端末101のCPU201は、表示部に表示された電子書籍データの行間のサイズを取得する。   In step S308, the CPU 201 of the electronic book terminal 101 obtains the size between the lines of the electronic book data displayed on the display unit.

ステップS309では、電子書籍端末101のCPU201は、ステップS307で取得した解像度と、ステップS308で取得した行間のサイズとから、ルビを表示するのに十分な行間であるか否かを判断する。   In step S309, the CPU 201 of the electronic book terminal 101 determines whether the line spacing is sufficient for displaying ruby from the resolution acquired in step S307 and the line spacing acquired in step S308.

具体的には、あらかじめ図5のようなデータを記憶しておき、取得した解像度から、行間サイズが所定のサイズ以上であればルビを表示し、行間サイズがあらかじめ定められた値以下であればルビを表示しないという判断をする。   Specifically, data as shown in FIG. 5 is stored in advance, and from the acquired resolution, ruby is displayed if the line spacing size is equal to or larger than a predetermined size, and if the line spacing size is equal to or smaller than a predetermined value. Judge that ruby is not displayed.

ルビを振るのに十分な行間であると判断された場合(ステップS309:YES)は、処理をステップS311に移行する。   If it is determined that the line spacing is sufficient to shake the ruby (step S309: YES), the process proceeds to step S311.

ルビを振るのに十分ではないと判断された場合(ステップS309:NO)は、処理をステップS315に移行する。   If it is determined that the ruby is not sufficient (step S309: NO), the process proceeds to step S315.

ステップS310では、電子書籍端末101のCPU201は、現在の表示倍率が、ステップS101で設定された倍率より高い倍率であるか(設定された倍率よりも拡大された表示であるか)を判断する。設定値よりも高い倍率である場合(ステップS310:YES)は、処理をステップS311に移行する。   In step S310, the CPU 201 of the electronic book terminal 101 determines whether the current display magnification is higher than the magnification set in step S101 (whether the display is enlarged from the set magnification). If the magnification is higher than the set value (step S310: YES), the process proceeds to step S311.

設定値よりも低い倍率である場合(ステップS310:NO)は、処理をステップS315に移行する。   When the magnification is lower than the set value (step S310: NO), the process proceeds to step S315.

ステップS311では、電子書籍端末101のCPU201は、表示部に表示される電子書籍データのテキストデータを抽出する。   In step S311, the CPU 201 of the electronic book terminal 101 extracts text data of electronic book data displayed on the display unit.

ステップS312では、電子書籍端末101のCPU201は、ステップS311で抽出したデータと、ステップ301で受け付けた設定値(ルビ指定やルビ体裁など)をルビ振りプログラムに渡し、ルビを振られたデータ(ルビタグ(付加情報)付きのテキストデータ)を取得する。   In step S312, the CPU 201 of the electronic book terminal 101 passes the data extracted in step S311 and the setting value received in step 301 (ruby designation, ruby appearance, etc.) to the ruby swing program, and the ruby-wound data (ruby tag) (Text data with (additional information)) is acquired.

ステップS313では、ルビ振りプログラムによりステップS312で渡したテキストデータにルビが振られる(ルビタグが付与される)。ここでのルビ振りプログラムは、公知技術を用いたルビを振るプログラムによって構成される。また、当該プログラムは、電子書籍端末101の内部にあっても良く、または電子書籍端末101とは別の外部装置102にあってもよい。   In step S313, a ruby is added to the text data passed in step S312 by the ruby swing program (a ruby tag is added). Here, the ruby swing program is configured by a ruby swing program using a known technique. Further, the program may be inside the electronic book terminal 101 or may be in an external device 102 different from the electronic book terminal 101.

また、本実施形態においては、ルビを振るプログラムとして説明しているが、ルビに限られるものではなく、例えば外国語の単語に日本語の意味を振るプログラムや、日本語単語に外国語の意味を振るプログラム、専門用語に意味を振るプログラムなど、もとのテキストデータに対して、付加情報を表示するために情報を付加するプログラムであれば、いずれであっても良い。すなわち、本実施形態で「ルビを振る」としているのは、ある文字列に対して付加情報を付加して表示することの一例である。   In this embodiment, the program is described as a ruby-waving program. However, the present invention is not limited to ruby. For example, a program that assigns Japanese meaning to a foreign language word or a foreign language meaning to a Japanese word. Any program that adds information to display additional information with respect to the original text data, such as a program that assigns meaning to a technical term, may be used. In other words, “shake ruby” in the present embodiment is an example of adding additional information to a certain character string and displaying it.

ステップS314では、電子書籍端末101のCPU201は、ステップS312で取得したルビタグ付のテキストデータを処理する。   In step S314, the CPU 201 of the electronic book terminal 101 processes the text data with the ruby tag acquired in step S312.

ステップS315では、電子書籍端末101のCPU201は、表示部に電子書籍データを表示する。   In step S315, the CPU 201 of the electronic book terminal 101 displays the electronic book data on the display unit.

ここで、ステップS306でNOと判定された場合、ステップS309でNOと判定された場合、ステップS310でNOと判定された場合については、ルビが表示されない画面が表示される。他方、ステップS314の処理が実行された場合は、ルビが表示された画面が表示される。   If NO is determined in step S306, NO is determined in step S309, and NO is determined in step S310, a screen on which no ruby is displayed is displayed. On the other hand, when the process of step S314 is executed, a screen on which ruby is displayed is displayed.

また、本フローチャートに示すステップS303〜S315の処理は、ユーザから画面表示サイズの変更指示を受け付けた場合に実行される。   Further, the processing of steps S303 to S315 shown in this flowchart is executed when an instruction to change the screen display size is received from the user.

次に、図4を用いて、本発明の実施形態において図3に示すフローチャートのステップS304でYESと判定された場合に電子書籍端末101が行うルビ削除処理について説明する。   Next, with reference to FIG. 4, a ruby deletion process performed by the electronic book terminal 101 when it is determined YES in step S304 of the flowchart shown in FIG. 3 in the embodiment of the present invention will be described.

なお、図4のフローチャートで示す処理については、電子書籍端末101のCPU201が所定の制御プログラムを読み出して実行する処理である。   Note that the processing shown in the flowchart of FIG. 4 is processing in which the CPU 201 of the electronic book terminal 101 reads and executes a predetermined control program.

ステップS401では、電子書籍端末101のCPU201は、ステップS301で受け付けたルビ表示に関する設定が、「倍率指定」であるかを判断する。すなわち、図6の画面において、「拡大時のルビ」にチェックがされ、プルダウンリストから「倍率指定」が選択されているか否かを判断する。   In step S401, the CPU 201 of the electronic book terminal 101 determines whether the setting relating to the ruby display accepted in step S301 is “magnification designation”. That is, in the screen of FIG. 6, “Rubi when zooming in” is checked, and it is determined whether or not “Specify magnification” is selected from the pull-down list.

倍率指定である場合(ステップS401:YES)は、処理をステップS406に移行する。   If the magnification is designated (step S401: YES), the process proceeds to step S406.

倍率指定ではない場合(ステップS401:NO)は、処理をステップS402に移行する。   If the magnification is not designated (step S401: NO), the process proceeds to step S402.

ステップS402では、電子書籍端末101のCPU201は、ステップS301で受け付けたルビ表示に関する設定が、「自動」になっているかを判断する。すなわち、図6の画面において、「拡大時のルビ」にチェックがされ、プルダウンリストから「自動」が選択されているか否かを判断する。   In step S402, the CPU 201 of the electronic book terminal 101 determines whether the setting relating to the ruby display received in step S301 is “automatic”. That is, in the screen of FIG. 6, “Rubi at enlargement” is checked, and it is determined whether or not “Automatic” is selected from the pull-down list.

自動である場合(ステップS402:YES)は、処理をステップS403に移行する。   If it is automatic (step S402: YES), the process proceeds to step S403.

自動ではない場合(ステップS402:NO)は、処理をステップS407に移行する。   If not automatic (step S402: NO), the process proceeds to step S407.

ステップS403では、電子書籍端末101のCPU201は、電子書籍端末101の表示部の解像度を取得する。   In step S <b> 403, the CPU 201 of the electronic book terminal 101 acquires the resolution of the display unit of the electronic book terminal 101.

ステップS404では、電子書籍端末101のCPU201は、表示部に表示された電子書籍データの行間のサイズを取得する。   In step S404, the CPU 201 of the electronic book terminal 101 acquires the size between the lines of the electronic book data displayed on the display unit.

ステップS405では、電子書籍端末101のCPU201は、ステップS403で取得した解像度と、ステップS404で取得した行間のサイズとから、ルビを表示するのに十分な行間であるか否かを判断する。   In step S405, the CPU 201 of the electronic book terminal 101 determines whether the line spacing is sufficient for displaying ruby from the resolution acquired in step S403 and the line spacing acquired in step S404.

具体的には、あらかじめ図5のようなデータを記憶しておき、取得した解像度から、行間サイズが所定のサイズ以上であればルビを表示し、行間サイズがあらかじめ定められた値以下であればルビを表示しないという判断をする。   Specifically, data as shown in FIG. 5 is stored in advance, and from the acquired resolution, ruby is displayed if the line spacing size is equal to or larger than a predetermined size, and if the line spacing size is equal to or smaller than a predetermined value. Judge that ruby is not displayed.

ルビを振るのに十分な行間であると判断された場合(ステップS405:YES)は、処理をステップS409に移行する。   If it is determined that the line spacing is sufficient to shake the ruby (step S405: YES), the process proceeds to step S409.

ルビを振るのに十分ではないと判断された場合(ステップS405:NO)は、処理をステップS407に移行する。   If it is determined that the ruby is not sufficient (step S405: NO), the process proceeds to step S407.

ステップS406では、電子書籍端末101のCPU201は、現在の表示倍率が、ステップS101で設定された倍率より高い倍率であるか(設定された倍率よりも拡大された表示であるか)を判断する。設定値よりも高い倍率である場合(ステップS406:YES)は、処理をステップS409に移行する。   In step S406, the CPU 201 of the electronic book terminal 101 determines whether the current display magnification is higher than the magnification set in step S101 (whether the display is enlarged from the set magnification). If the magnification is higher than the set value (step S406: YES), the process proceeds to step S409.

設定値よりも低い倍率である場合(ステップS406:NO)は、処理をステップS407に移行する。   When the magnification is lower than the set value (step S406: NO), the process proceeds to step S407.

ステップS407では、電子書籍端末101のCPU201は、表示部に表示される電子書籍データのテキストデータを抽出する。   In step S407, the CPU 201 of the electronic book terminal 101 extracts text data of electronic book data displayed on the display unit.

ステップS408では、電子書籍端末101のCPU201は、ステップS407で取得したテキストデータからルビタグを削除する。すなわち、ルビを表示しないテキストデータを作成する。   In step S408, the CPU 201 of the electronic book terminal 101 deletes the ruby tag from the text data acquired in step S407. That is, text data that does not display ruby is created.

ステップS409では、電子書籍端末101のCPU201は、電子書籍データを表示部に表示する。   In step S409, the CPU 201 of the electronic book terminal 101 displays the electronic book data on the display unit.

ここで、ステップS405でYESと判定された場合、ステップS406でYESと判定された場合(すなわち、ルビを表示できる倍率で表示される場合)は、ルビが表示された状態のまま電子書籍データを表示部に表示する。他方、ステップS408の処理が実行された場合は、ルビが振られていない(ルビを削除した)電子書籍データを表示部に表示する。   Here, when it is determined YES in step S405, or when YES is determined in step S406 (that is, when the ruby is displayed at a magnification that can be displayed), the electronic book data is displayed while the ruby is displayed. Display on the display. On the other hand, when the process of step S408 is executed, the electronic book data in which the ruby is not shaken (the ruby is deleted) is displayed on the display unit.

以上の処理により、すでにルビが振られた画面に対して縮小指示がなされた場合に、ルビを削除した画面表示に変更することが可能となる。   Through the above processing, when a reduction instruction is given to a screen on which ruby has already been shaken, it is possible to change to a screen display from which ruby has been deleted.

図7は、設定された表示倍率よりも縮小表示された場合の画面の一例を示す図である。図7の例では、「表示倍率:75%」の例として示している。縮小表示されている場合は、図7に示す画面のように、1画面に多くの文字が表示され、ルビが振られていない(例えば図7の701で示す行にある「摩利支天」にはルビが振られていない)。   FIG. 7 is a diagram illustrating an example of a screen displayed in a reduced size than the set display magnification. In the example of FIG. 7, an example of “display magnification: 75%” is shown. In the reduced display, many characters are displayed on one screen as in the screen shown in FIG. 7, and ruby is not shaken (for example, “Mari Syoten” in the row indicated by 701 in FIG. 7 Is not ruby).

図8は、設定された表示倍率以上に拡大表示された場合の画面の一例を示す図である。図8の例では、「表示倍率:150%」の例として示している。拡大表示されている場合は、1文字のサイズが大きく、行間も広がっている。そのため、ルビが振られて表示される(例えば図8の801の行にある「摩利支天」には「まりしてん」とのルビが振られて表示されている)。   FIG. 8 is a diagram illustrating an example of a screen when an enlarged display is performed at a display magnification larger than the set display magnification. In the example of FIG. 8, an example of “display magnification: 150%” is shown. In the enlarged display, the size of one character is large and the line spacing is also widened. Therefore, the ruby is shaken and displayed (for example, “Mari-Shiten” in the row 801 in FIG. 8 is displayed with the ruby “Mariten” shaken).

以上説明したように、画面上の表示サイズが拡大表示されている場合にはルビも表示することで、読者は読み方を知りたい場合には拡大表示することでルビ付きの表示にすることができる。また、縮小表示されている場合にはルビは表示しないように制御することで、ルビが不要である場合には、縮小表示をすることでルビなしの表示に切り替えることが可能となる。
このように、ユーザにより表示倍率が変更されることに応じて、付加情報とともにテキストデータ(文字列)を表示するか否かを切り替えることが可能となる。
As explained above, if the display size on the screen is enlarged, ruby is also displayed, and if the reader wants to know how to read it, it can be enlarged and displayed with ruby. . Further, by controlling so that ruby is not displayed when reduced display is performed, if ruby is unnecessary, it is possible to switch to display without ruby by performing reduced display.
Thus, according to the display magnification being changed by the user, it is possible to switch whether or not to display the text data (character string) together with the additional information.

また、縮小表示した際にもルビを表示した場合は、ルビが非常に小さな文字となり、読み取ることができないサイズとなってしまう。このような読み取ることができないサイズの文字は表示しないよう制御できるため、読者にとって不要な情報を表示せず、読みやすい表示を提供することが可能となる。   In addition, if ruby is displayed even when reduced, the ruby becomes a very small character and cannot be read. Since it can be controlled not to display such characters that cannot be read, it is possible to provide an easy-to-read display without displaying unnecessary information for the reader.

本実施形態においては、ルビを表示するか否かの判断において、行間サイズと解像度を用いる方法、表示倍率を用いる方法を説明した。ルビを表示するか否かの判断においては、ルビを読み取ることができるサイズで表示できるかによって表示するか否かを切り替えることができれば、本発明の目的は達成できる。そのため、具体的な判断方法については、本実施例に記載した行間サイズと解像度を用いる方法、表示倍率を用いる方法には限定されない。例えば、表示するルビの文字サイズと所定のサイズとを比較することで、ルビを表示するか否かを判断するように構成してもよい。
≪第2の実施形態≫
次に、本発明における第2の実施形態について説明する。
In the present embodiment, the method of using the line spacing size and the resolution and the method of using the display magnification have been described in determining whether to display ruby. In determining whether or not to display ruby, the object of the present invention can be achieved if it is possible to switch whether or not to display ruby depending on whether it can be displayed in a size that can be read. Therefore, the specific determination method is not limited to the method using the line spacing size and the resolution and the method using the display magnification described in this embodiment. For example, it may be configured to determine whether or not to display ruby by comparing the character size of the ruby to be displayed with a predetermined size.
<< Second Embodiment >>
Next, a second embodiment of the present invention will be described.

第2の実施形態の説明では、上述した第1の実施形態とは異なる処理について説明する。   In the description of the second embodiment, processing different from that of the above-described first embodiment will be described.

まず、図9を用いて、本発明の第2の実施形態において電子書籍端末101が行うルビ振り処理について説明する。   First, a ruby swing process performed by the electronic book terminal 101 in the second embodiment of the present invention will be described with reference to FIG.

なお、図9のフローチャートで示す処理については、電子書籍端末101のCPU201が所定の制御プログラムを読み出して実行する処理である。   Note that the processing shown in the flowchart of FIG. 9 is processing in which the CPU 201 of the electronic book terminal 101 reads and executes a predetermined control program.

ステップS301では、電子書籍端末101のCPU201は、ユーザから図15に示す画面を介して、各種の設定を受け付ける。ここで、第1の実施形態で受け付ける設定の他に、本実施形態では、ルビ表示が出来ない場合の処理に関する設定、常時ルビに関する設定がある。これらの設定についての詳細は後述する。   In step S301, the CPU 201 of the electronic book terminal 101 receives various settings from the user via the screen shown in FIG. Here, in addition to the settings accepted in the first embodiment, in the present embodiment, there are settings related to processing when ruby display cannot be performed, and settings related to regular ruby. Details of these settings will be described later.

また、個別指定文字列ファイルを読み込む。この個別指定文字列ファイルは、図15に示す画面において設定された情報や、個別に指定された文字列とそのルビタグに関する情報が含まれている。   In addition, the individual designated character string file is read. This individually designated character string file includes information set on the screen shown in FIG. 15 and information on individually designated character strings and their ruby tags.

例えば、図15において常時ルビ設定欄(1501)において「5年生」、「6年生」にチェックがなされている場合は、5年生、6年生で学習する漢字に対して、図12に示す処理によりルビが付与されることとなる。なお、それぞれの学年で学習する漢字や教育漢字以外の漢字など、チェックボックスとなっているチェック項目に対応する漢字は、予め登録されているものとする。   For example, when “5th grade” and “6th grade” are checked in the constant ruby setting field (1501) in FIG. 15, the kanji learned by the 5th and 6th grade is processed by the process shown in FIG. Ruby will be given. It is assumed that kanji corresponding to check items that are check boxes, such as kanji learned in each grade and kanji other than educational kanji, are registered in advance.

ステップS302では、電子書籍端末101のCPU201は、表示部に電子書籍データを表示する。本処理は第1の実施形態におけるステップS302と同様の処理である。   In step S302, the CPU 201 of the electronic book terminal 101 displays the electronic book data on the display unit. This process is the same process as step S302 in the first embodiment.

ステップS901では、電子書籍端末101のCPU201は、ステップS301で受け付けた設定において、常時ルビ設定がされているか否か(常時ルビ設定欄のいずれかの項目にチェックがされているか否か)を判断する。   In step S901, the CPU 201 of the electronic book terminal 101 determines whether or not the ruby setting is always set in the setting received in step S301 (whether any item in the always ruby setting column is checked). To do.

常時ルビの設定がされている場合(ステップS901:YES)は、処理を図12に示すフローチャートに移行する。図12に示すフローチャートの処理については、後述する。   When the ruby is always set (step S901: YES), the process proceeds to the flowchart shown in FIG. The process of the flowchart shown in FIG. 12 will be described later.

常時ルビの設定がなされていない場合(ステップS901:NO)は、処理をステップS903に移行する。   If the ruby is not always set (step S901: NO), the process proceeds to step S903.

ステップS902では、電子書籍端末101のCPU201は、個別指定文字列の設定がなされているか否かを判断する。具体的には、ステップS301で読み込んだファイルの中に、個別指定文字列が含まれているか否かにより判断する。ここで個別指定文字列とは、図15に示す画面を介した設定とは別に、ルビを表示する文字列として個別に設定された文字列を意味する。個別指定文字列の設定については、予め個別指定文字列として登録しておいてもよい。また、図11に示す処理により登録することも可能である。   In step S902, the CPU 201 of the electronic book terminal 101 determines whether an individually designated character string has been set. Specifically, the determination is made based on whether or not an individual designated character string is included in the file read in step S301. Here, the individually designated character string means a character string individually set as a character string for displaying ruby, separately from the setting via the screen shown in FIG. The setting of the individually designated character string may be registered as an individually designated character string in advance. It is also possible to register by the process shown in FIG.

個別指定文字列の設定がされている場合(ステップS902:YES)は、処理を図13に示すフローチャートに移行する。   If an individually designated character string has been set (step S902: YES), the process proceeds to the flowchart shown in FIG.

個別指定文字列の設定がなされていない場合(ステップS902:NO)は、処理をステップS304に移行する。   If the individually designated character string is not set (step S902: NO), the process proceeds to step S304.

ステップS304〜S315の処理については、第1の実施形態におけるS304〜S315の処理と同様の処理であるため、ここでの説明は省略する。   The processing in steps S304 to S315 is the same as the processing in steps S304 to S315 in the first embodiment, and thus the description thereof is omitted here.

なお、ステップS304の「ルビが振られているか?」の判定処理については、常時ルビや個別指定文字列のルビではなく、図15の画面においてルビ指定欄1504で設定されたルビが表示されているか否かを判断する処理である。   Note that, in the determination processing of “whether the ruby is shaken” in step S304, the ruby set in the ruby designation field 1504 is displayed on the screen of FIG. 15 instead of the ruby or the ruby of the individually designated character string. This is a process for determining whether or not there is.

また、ステップS304でYESの場合は、処理をステップ図10に示すフローチャートに移行する。   If YES in step S304, the process proceeds to the flowchart shown in step FIG.

また、ステップS309でNOの場合は、処理をステップS903に移行する。   If NO in step S309, the process proceeds to step S903.

ステップS903では、電子書籍端末101のCPU201は、ステップS301で受け付けた設定で「ルビ表示出来ない場合」が設定されているか否かを判断する。   In step S903, the CPU 201 of the electronic book terminal 101 determines whether or not “when ruby display cannot be performed” is set in the setting received in step S301.

設定されている場合(ステップS903:YES)は、処理を図14に示すフローチャートに移行する。   If it is set (step S903: YES), the process proceeds to the flowchart shown in FIG.

設定されていない場合(ステップS903:NO)は、処理をステップS315に移行する。   If it has not been set (step S903: NO), the process proceeds to step S315.

また、ステップS310でNOの場合は、処理をステップS904に移行する。   If NO in step S310, the process proceeds to step S904.

ステップS904では、電子書籍端末101のCPU201は、ステップS301で受け付けた設定で「ルビ表示出来ない場合」が設定されているか否かを判断する。   In step S904, the CPU 201 of the electronic book terminal 101 determines whether or not “when ruby display cannot be performed” is set in the setting received in step S301.

設定されている場合(ステップS904:YES)は、処理を図14に示すフローチャートに移行する。   If it is set (step S904: YES), the process proceeds to the flowchart shown in FIG.

設定されていない場合(ステップS904:NO)は、処理をステップS315に移行する。そして本フローチャートの処理を終了する。   If not set (step S904: NO), the process proceeds to step S315. And the process of this flowchart is complete | finished.

なお、本フローチャートにおけるステップS901〜S315の処理は、ユーザにより表示倍率の変更指示があった場合に実行される処理である。すなわち、ユーザにより表示倍率の拡大または縮小の指示を受け付けることに応答して、ルビを表示するか否かを切り替える。   Note that the processing in steps S901 to S315 in this flowchart is processing that is executed when the user gives an instruction to change the display magnification. In other words, in response to receiving an instruction to enlarge or reduce the display magnification by the user, whether to display ruby is switched.

次に図10のフローチャートで示す処理について説明する。図10のフローチャートで示すS401〜S409の処理については、第1の実施形態における図4のフローチャートで示す処理と同様であるため、ここでの説明は省略する。   Next, the process shown in the flowchart of FIG. 10 will be described. Since the processing of S401 to S409 shown in the flowchart of FIG. 10 is the same as the processing shown in the flowchart of FIG. 4 in the first embodiment, description thereof is omitted here.

S402でNOの場合、S405でNOの場合、S406でNOの場合には、ステップS1001の処理を実行する。   If NO in S402, NO in S405, or NO in S406, the process of step S1001 is executed.

ステップS1001では、電子書籍端末101のCPU201は、ルビ表示が出来ない場合の処理が設定されているか否かを判断する。   In step S <b> 1001, the CPU 201 of the electronic book terminal 101 determines whether or not processing is set when ruby display cannot be performed.

設定されている場合(ステップS1001:YES)は、処理を図14に示すフローチャートに移行する。   If it is set (step S1001: YES), the process proceeds to the flowchart shown in FIG.

設定されていない場合(ステップS1001:NO)は、処理をステップS407に移行する。   If not set (step S1001: NO), the process proceeds to step S407.

次に図11に示すフローチャートを用いて、ユーザから指定された文字列を常時ルビを付与する文字列として登録する処理について説明する。   Next, a process of registering a character string designated by the user as a character string that always gives ruby will be described using the flowchart shown in FIG.

図11のフローチャートで示す処理については、電子書籍端末101のCPU201が所定の制御プログラムを読み出して実行する処理である。   The process shown in the flowchart of FIG. 11 is a process in which the CPU 201 of the electronic book terminal 101 reads and executes a predetermined control program.

ステップS1101では、電子書籍端末101のCPU201は、電子書籍端末101の表示部に電子書籍データを表示する。   In step S <b> 1101, the CPU 201 of the electronic book terminal 101 displays electronic book data on the display unit of the electronic book terminal 101.

ステップS1102では、電子書籍端末101のCPU201は、ユーザにより文字列の選択を受け付ける。   In step S1102, the CPU 201 of the electronic book terminal 101 accepts selection of a character string by the user.

文字列の選択を受け付ける方法としては、ユーザにより表示部の画面上の文字列がタッチされることで選択を受け付ける方法が考えられる。また、ルビを表示したい文字列が表示された領域を一定時間の間、タッチされ続けることで選択を受け付けるように制御しても良い。また、カーソルが表示される電子書籍端末であれば、カーソルを用いた選択を受け付けるように制御しても良い。このように、ルビを表示する文字列の選択を受け付ける方法としては、いずれの方法であっても良い。   As a method of accepting selection of a character string, a method of accepting selection by touching a character string on the screen of the display unit by the user can be considered. Further, it may be controlled to accept the selection by continuously touching the area where the character string for which ruby is to be displayed is displayed for a certain period of time. Moreover, if it is an electronic book terminal in which a cursor is displayed, you may control so that selection using a cursor may be received. As described above, any method may be used as a method of accepting selection of a character string for displaying ruby.

ステップS1103では、電子書籍端末101のCPU201は、ステップS1102で選択された文字列を、常時ルビを表示する文字列として登録するか否かを判断する。   In step S1103, the CPU 201 of the electronic book terminal 101 determines whether or not to register the character string selected in step S1102 as a character string that always displays ruby.

具体的には、常時ルビを表示する文字列として登録するか否かの設定を受け付ける画面を表示し、ユーザにより選択を受け付けることで判断しても良い。   Specifically, it may be determined by displaying a screen for accepting the setting as to whether or not to register as a character string that always displays ruby and accepting selection by the user.

図25は、常時ルビを表示する文字列として登録するか否かの選択を受け付ける画面(2501)を、ポップアップにより表示した画面の一例である。   FIG. 25 is an example of a screen in which a screen (2501) for accepting selection as to whether or not to register as a character string that always displays ruby is displayed as a pop-up.

「常時ルビ登録」が選択された場合は、登録する(ステップS1103でYES)と判断される。   If “regular ruby registration” is selected, it is determined to register (YES in step S1103).

「キャンセル」が選択された場合は、登録しない(ステップS1103でNO)と判断される。   When “Cancel” is selected, it is determined that registration is not performed (NO in step S1103).

登録する場合(ステップS1103:YES)は、処理をステップS1104に移行する。   When registering (step S1103: YES), the process proceeds to step S1104.

登録しない場合(ステップS1103:NO)は、本フローチャートの処理を終了する。   When not registering (step S1103: NO), the process of this flowchart is complete | finished.

ステップS1104では、電子書籍端末101のCPU201は、ステップS1102で指定された文字列の前後の文書を取得する。ここで前後の文書を取得するのは、漢字の読み方については、同じ漢字でも前後の文脈が違えば異なる読み方をする場合があることから、どのような読み方をするのかを適切に判断するためである。そのため、読み方が特定できるだけの範囲で前後の文書を取得すれば良い(例えば当該文字列が含まれる一文を取得するなど)。   In step S1104, the CPU 201 of the electronic book terminal 101 acquires documents before and after the character string designated in step S1102. The reason why the previous and next documents are acquired is that it is necessary to appropriately determine how to read the kanji because the same kanji may be read differently depending on the context before and after. is there. Therefore, what is necessary is just to acquire the document before and behind in the range which can specify how to read (for example, acquiring one sentence including the said character string).

ステップS1105では、電子書籍端末101のCPU201は、ステップS1104で取得した文書をルビ振りプログラムに渡し、ルビ振り処理(ステップS1106)がなされた文書(指定文字列にルビタグが付与されたテキスト)を取得する。   In step S1105, the CPU 201 of the electronic book terminal 101 passes the document acquired in step S1104 to the ruby swing program, and acquires the ruby swing process (step S1106) (text with the ruby tag added to the designated character string). To do.

ここでルビ振り処理については、第1の実施形態におけるステップS313の処理と同様の処理であるため、ここでの説明は省略する。   Here, since the ruby swing process is the same process as the process of step S313 in the first embodiment, a description thereof is omitted here.

ステップS1107では、電子書籍端末101のCPU201は、個別指定文字列(ステップS1102でユーザにより選択された文字列)と、当該文字列に付与されたルビタグとを、個別指定文字列ファイル(ステップS301で読み込むファイル)に保存する。
そして、処理を図13に示すフローチャートに移行する。
In step S1107, the CPU 201 of the electronic book terminal 101 converts the individually designated character string (the character string selected by the user in step S1102) and the ruby tag attached to the character string into the individually designated character string file (in step S301). Save to (File to be read).
Then, the process proceeds to the flowchart shown in FIG.

次に、図12を用いて、常時ルビの設定がなされている場合(図9のステップS901でYESとなった場合)の処理について説明する。   Next, with reference to FIG. 12, a process when the ruby is always set (when YES in step S901 in FIG. 9) will be described.

図12のフローチャートで示す処理は、電子書籍端末101のCPU201が所定の制御プログラムを読み出して実行する処理である。   The process shown in the flowchart of FIG. 12 is a process in which the CPU 201 of the electronic book terminal 101 reads and executes a predetermined control program.

ステップS403〜S404は第1の実施形態における対応する処理と同様であるためここでの説明を省略する。   Steps S403 to S404 are the same as the corresponding processes in the first embodiment, and a description thereof is omitted here.

ステップS405では、電子書籍端末101のCPU201は、ステップS403で取得した解像度と、ステップS404で取得した行間とを用いて、ルビを表示可能か否か判断する。   In step S405, the CPU 201 of the electronic book terminal 101 determines whether ruby can be displayed using the resolution acquired in step S403 and the line spacing acquired in step S404.

ここでルビが表示可能か否かの判断基準としては、第1の実施形態で用いられる基準や、図9のステップS309で用いられる基準(例えば図5)よりも、緩やかな条件とする。すなわち、常時ルビとして設定された文字列は、通常のルビより小さな文字であっても表示される。   Here, the criterion for determining whether or not ruby can be displayed is a milder condition than the criterion used in the first embodiment and the criterion used in step S309 in FIG. 9 (for example, FIG. 5). That is, the character string set as always ruby is displayed even if it is smaller than normal ruby.

例えば、図5の代わりに図23のようなデータテーブルを記憶しておき、常時ルビを付加する文字列や個別指定文字列に対しては、常時ルビの基準(2302)を用いてルビの表示・非表示を切り替え、通常のルビを付加する文字列については、通常のルビの基準(2301)を用いてルビの表示・非表示を切り替える。   For example, instead of FIG. 5, a data table as shown in FIG. 23 is stored, and for the character string to which ruby is always added or the individually designated character string, the ruby display is always performed using the ruby standard (2302). For character strings that switch non-display and add normal ruby, display / non-display of ruby is switched using the normal ruby standard (2301).

ルビが表示可能と判断された場合(ステップS405:YES)は、ルビを表示する文字列に対してルビを表示し、処理をステップS409に移行する。ここでルビを表示する処理は、ステップS1106等と同様に、ルビ振りプログラムに電子書籍データを渡してルビ振り処理を実行する。   If it is determined that ruby can be displayed (step S405: YES), ruby is displayed for the character string that displays ruby, and the process proceeds to step S409. Here, in the process of displaying ruby, as in step S1106 and the like, the electronic book data is passed to the ruby swing program and the ruby swing process is executed.

ルビを表示できない場合(ステップS405:No)は、処理をステップS1201に移行する。   If ruby cannot be displayed (step S405: No), the process proceeds to step S1201.

ステップS1201では、電子書籍端末101のCPU201は、ルビ表示が出来ない場合の処理が設定されているか否かを判断する。   In step S <b> 1201, the CPU 201 of the electronic book terminal 101 determines whether or not processing is set when ruby display cannot be performed.

設定されている場合(ステップS1201:YES)は、処理を図14に示すフローチャートに移行する。   If it is set (step S1201: YES), the process proceeds to the flowchart shown in FIG.

設定されていない場合(ステップS1201:NO)は、処理をステップS407に移行する。   If not set (step S1201: NO), the process proceeds to step S407.

ステップS407、S408、S409の処理は、第1の実施形態における対応する処理と同様であるため、ここでの説明は省略する。   The processing in steps S407, S408, and S409 is the same as the corresponding processing in the first embodiment, and thus description thereof is omitted here.

ステップS409で電子書籍データを表示すると、本フローチャートの処理を終了する。本フローチャートの処理を終了すると、図9のステップS902の処理に移行する。   When the electronic book data is displayed in step S409, the processing of this flowchart ends. When the process of this flowchart is completed, the process proceeds to step S902 in FIG.

次に、図13を用いて、指定文字列に対してルビを振る処理を説明する。   Next, a process for applying ruby to a designated character string will be described with reference to FIG.

図13のフローチャートで示す処理は、電子書籍端末101のCPU201が所定の制御プログラムを読み出して実行する処理である。   The process shown in the flowchart of FIG. 13 is a process in which the CPU 201 of the electronic book terminal 101 reads and executes a predetermined control program.

ステップS1301では、電子書籍端末101のCPU201は、ステップS1102で指定された文字列と同一の文字列を電子書籍データの中から検索する。ステップS902でYESの場合には、ステップS301で読み込んだ個別指定文字列ファイルにある文字列のうち処理対象となっている文字列と同一の文字列を検索する。   In step S1301, the CPU 201 of the electronic book terminal 101 searches the electronic book data for the same character string as the character string specified in step S1102. If YES in step S902, a character string that is the same as the character string to be processed is retrieved from the character strings in the individually designated character string file read in step S301.

ステップS1302では、電子書籍端末101のCPU201は、ステップS1301で検索された文字列に対して、ルビタグを付与する。   In step S1302, the CPU 201 of the electronic book terminal 101 gives a ruby tag to the character string searched in step S1301.

すなわち、電子書籍データ内の、ステップS1102で指定された文字列や、個別指定文字列ファイルに登録された文字列と同一の文字列に対してもルビを付加するための処理である。   That is, it is a process for adding ruby to the character string designated in step S1102 or the same character string registered in the individually designated character string file in the electronic book data.

ステップS1303では、電子書籍端末101のCPU201は、個別指定文字列ファイル内の個別指定文字列を取得する。   In step S1303, the CPU 201 of the electronic book terminal 101 acquires the individually designated character string in the individually designated character string file.

ステップS1304では、電子書籍端末101のCPU201は、処理対象の個別指定文字列が最後の個別指定文字列であるかを判断する。すなわち、ステップS1303で個別指定文字列を取得出来たか否かを判断する。   In step S1304, the CPU 201 of the electronic book terminal 101 determines whether the individual designated character string to be processed is the last individual designated character string. That is, it is determined in step S1303 whether an individually designated character string has been acquired.

最後の個別指定文字列である場合(ステップS1304:YES)は、処理をステップS403に移行する。   If it is the last individually designated character string (step S1304: YES), the process proceeds to step S403.

最後の個別指定文字列ではない場合(ステップS1304:NO)は、処理をステップS1305に移行する。   If it is not the last individually designated character string (step S1304: NO), the process proceeds to step S1305.

ステップS1305では、電子書籍端末101のCPU201は、読み込んだ個別指定文字列ファイルに含まれる次の個別指定文字列を取得し、処理をステップS1301に移行する。   In step S1305, the CPU 201 of the electronic book terminal 101 acquires the next individual designated character string included in the read individual designated character string file, and the process proceeds to step S1301.

ステップS403では、電子書籍端末101のCPU201は、電子書籍端末101の表示部の解像度を取得する。   In step S <b> 403, the CPU 201 of the electronic book terminal 101 acquires the resolution of the display unit of the electronic book terminal 101.

ステップS404では、電子書籍端末101のCPU201は、表示部に表示された電子書籍データの行間のサイズを取得する。   In step S404, the CPU 201 of the electronic book terminal 101 acquires the size between the lines of the electronic book data displayed on the display unit.

ステップS405では、電子書籍端末101のCPU201は、ステップS403で取得した解像度と、ステップS404で取得した行間サイズとから、ルビを表示するのに十分な行間であるかを判断する。   In step S405, the CPU 201 of the electronic book terminal 101 determines whether the line spacing is sufficient for displaying ruby from the resolution acquired in step S403 and the line spacing size acquired in step S404.

具体的には、あらかじめ図5のようなデータを記憶しておき、取得した解像度から、行間サイズが所定のサイズ以上であればルビを表示し、行間サイズが予め定められた値以下であればルビを表示しないという判断をする。   Specifically, data as shown in FIG. 5 is stored in advance, and from the acquired resolution, ruby is displayed if the line spacing size is equal to or larger than a predetermined size, and if the line spacing size is equal to or smaller than a predetermined value. Judge that ruby is not displayed.

ルビを表示するのに十分な行間であると判断された場合(ステップS405:YES)は、処理をステップS409に移行する   If it is determined that the line spacing is sufficient to display ruby (step S405: YES), the process proceeds to step S409.

ルビを表示するのに十分な行間ではないと判断された場合(ステップS405:NO)は、処理をステップS1306に移行する。   If it is determined that the line spacing is not sufficient to display ruby (step S405: NO), the process proceeds to step S1306.

ステップS1306では、電子書籍端末101のCPU201は、「ルビ表示できない場合」の処理が設定されているか否かを判断する。   In step S <b> 1306, the CPU 201 of the electronic book terminal 101 determines whether the process “when ruby display cannot be performed” is set.

設定がされている場合(ステップS1306:YES)は、処理を図14に示すフローチャートに移行する。   If the setting has been made (step S1306: YES), the process proceeds to the flowchart shown in FIG.

設定されていない場合(ステップS1306:NO)は、処理をステップS1307に移行する。   If it is not set (step S1306: NO), the process proceeds to step S1307.

ステップS1307では、電子書籍端末101のCPU201は、表示部に表示される電子書籍データのテキストを抽出する。   In step S1307, the CPU 201 of the electronic book terminal 101 extracts the text of the electronic book data displayed on the display unit.

ステップS1308では、電子書籍端末101のCPU201は、ステップS1307で抽出したテキストに付与されているルビタグを削除する。   In step S1308, the CPU 201 of the electronic book terminal 101 deletes the ruby tag attached to the text extracted in step S1307.

そして処理をステップS409に移行し、電子書籍端末101の表示部に電子書籍データ(ルビを付与したデータまたはルビを削除したデータ)を表示する。   Then, the process proceeds to step S409, and electronic book data (data with ruby or data with ruby deleted) is displayed on the display unit of the electronic book terminal 101.

そして本フローチャートに示す処理を終了する。本フローチャートの処理を終了すると、処理を図9のステップS304に移行する。   Then, the process shown in this flowchart is terminated. When the process of the flowchart is completed, the process proceeds to step S304 in FIG.

次に図14を用いて、ルビが表示できない場合の処理について説明する。   Next, the processing when ruby cannot be displayed will be described with reference to FIG.

図14のフローチャートで示す処理は、電子書籍端末101のCPU201が所定の制御プログラムを読み出して実行する処理である。   The process shown in the flowchart of FIG. 14 is a process in which the CPU 201 of the electronic book terminal 101 reads and executes a predetermined control program.

ステップS1401では、電子書籍端末101のCPU201は、設定情報を取得する。ここで設定情報には、ルビが表示出来ない場合における表示制御に関する設定が含まれる。例えば、「ルビが表示出来ない場合には、ルビが付与される漢字に対して傍線を引く」といった設定や、「ルビが表示出来ない場合には、ルビが付与される漢字に色を付けて表示する」といった設定が含まれる。このように、ルビが表示出来ない場合には、ルビが付加される(ルビが振られる)漢字を他の文字とは識別できるように表示制御すればよい。   In step S1401, the CPU 201 of the electronic book terminal 101 acquires setting information. Here, the setting information includes settings related to display control when ruby cannot be displayed. For example, “If you cannot display ruby, draw a side line for the kanji to which ruby is attached” or “If the ruby cannot be displayed, color the kanji to which ruby is added. Settings such as “display” are included. In this way, when ruby cannot be displayed, display control may be performed so that kanji to which ruby is added (ruby is shaken) can be distinguished from other characters.

ステップS1402では、電子書籍端末101のCPU201は、ステップS1401で取得した設定に基づき、処理を実行する。   In step S1402, the CPU 201 of the electronic book terminal 101 executes processing based on the setting acquired in step S1401.

ステップS1402における処理の具体例として、例えば、ルビが振られる文字列に色を付けて表示する処理や、ルビが振られる文字列に罫線(傍線)を付ける処理や、ルビが振られる文字列を白黒反転させる処理などが考えられる。すなわち、ルビが振られる文字列であることをユーザが認識できるような表示にすれば、いずれの方法であっても構わない。   Specific examples of the processing in step S1402 include, for example, a process for displaying a character string to which ruby is shaken, a process for adding a ruled line (side line) to a character string to which ruby is shaken, and a character string to which ruby is shaken. Processing that reverses black and white can be considered. In other words, any method may be used as long as the display allows the user to recognize that the character string is a ruby character.

ステップS1403では、電子書籍端末101のCPU201は、ステップS1402の処理が施された電子書籍データを表示部に表示する。   In step S1403, the CPU 201 of the electronic book terminal 101 displays the electronic book data on which the process of step S1402 has been performed on the display unit.

図16、図17、図22は、ステップS1403で表示される画面の一例を示す図である。   FIGS. 16, 17, and 22 are diagrams illustrating examples of screens displayed in step S1403.

図16は、ルビが振られる文字列に罫線(傍線)を付加した場合の画面の一例を示す図である。例えば1601の行にある「摩利支天」には、「まりしてん」というルビではなく、傍線が引かれている。   FIG. 16 is a diagram illustrating an example of a screen when a ruled line (side line) is added to a character string to which ruby is shaken. For example, “Mari-Shiten” in the row 1601 is not a ruby “Marishen” but a side line.

図17は、ルビが振られる文字列を白黒反転させた場合の画面の一例を示す図である。例えば1701の行にある「摩利支天」の文字列が白黒反転している。   FIG. 17 is a diagram illustrating an example of a screen when a character string to which ruby is shaken is reversed in black and white. For example, the character string “Mari-Shiten” in the row 1701 is reversed in black and white.

図22は、「摩利支天」は個別指定文字列(または常時ルビ)として設定された文字列であり、それ以外は、通常のルビの文字列である。また、表示倍率は、個別指定文字列や常時ルビは表示されるが、通常のルビの文字列は表示されない倍率である場合を示している。   In FIG. 22, “Mari-Shiten” is a character string set as an individually designated character string (or always ruby), and the rest are normal ruby character strings. In addition, the display magnification indicates a case where the individually designated character string and the regular ruby are displayed, but the normal ruby character string is not displayed.

図22の2201で示す行は、「摩利支天」という文字列に対して「まりしてん」とルビが振られている。これに対して2202で示す行の「机」にはルビが振られず、その代わりにルビを表示できない場合の処理である傍線が付加されている。
そして、図19に示すフローチャートに処理を進める。
In the row indicated by 2201 in FIG. 22, a ruby “Marishin” is given to the character string “Mari Shokuten”. On the other hand, the ruby is not shaken on the “desk” in the row indicated by 2202, and instead, a side line, which is a process when the ruby cannot be displayed, is added.
Then, the process proceeds to the flowchart shown in FIG.

図19は、ステップS1402の処理が施された場合に、ユーザによりルビ指定文字が選択されることで、当該文字にルビを表示する処理である。   FIG. 19 is a process of displaying ruby on a character by selecting a ruby-designated character by the user when the process of step S1402 is performed.

なお、図19のフローチャートで示す処理は、電子書籍端末101のCPU201が所定の制御プログラムを読み出して実行する処理である。   Note that the process shown in the flowchart of FIG. 19 is a process in which the CPU 201 of the electronic book terminal 101 reads and executes a predetermined control program.

ステップS1901では、電子書籍端末101のCPU201は、ユーザからルビ指定文字の選択を受け付ける。ここでの文字列の選択を受け付ける方法としては、ステップS1102で説明したように、ユーザにより表示部の画面上の文字列がタッチされることで選択を受け付ける方法が考えられる。また、ルビを表示したい文字列が表示された領域を一定時間の間、タッチされ続けることで選択を受け付けるように制御しても良い。また、カーソルが表示される電子書籍端末であれば、カーソルを用いた選択を受け付けるように制御しても良い。このように、ルビを表示する文字列の選択を受け付ける方法としては、いずれの方法であっても良い。   In step S1901, the CPU 201 of the electronic book terminal 101 accepts selection of a ruby designated character from the user. As a method of accepting the selection of the character string here, as described in step S1102, a method of accepting the selection by touching the character string on the screen of the display unit by the user can be considered. Further, it may be controlled to accept the selection by continuously touching the area where the character string for which ruby is to be displayed is displayed for a certain period of time. Moreover, if it is an electronic book terminal in which a cursor is displayed, you may control so that selection using a cursor may be received. As described above, any method may be used as a method of accepting selection of a character string for displaying ruby.

また、ステップS1901では、ユーザから文字列の選択を受け付けると、図24のような画面を表示する。   In step S1901, when a selection of a character string is received from the user, a screen as shown in FIG. 24 is displayed.

図24に示すように、ポップアップなどにより選択された文字列に対応するルビを表示するか否かの選択画面を表示する(2401)。図24の例では、2401の「ルビ表示」が選択されると、処理をステップS1902に移行する。他方、「キャンセル」が選択された場合には、ポップアップ画面を終了し、本フローチャートの処理を終了する。   As shown in FIG. 24, a screen for selecting whether or not to display ruby corresponding to the character string selected by pop-up or the like is displayed (2401). In the example of FIG. 24, if “ruby display” 2401 is selected, the process proceeds to step S1902. On the other hand, if “cancel” is selected, the pop-up screen is terminated and the processing of this flowchart is terminated.

ステップS1902では、電子書籍端末101のCPU201は、ステップS1901で指定された文字列の前後の文書を取得する。ここで前後の文書を取得するのは、漢字の読み方については、同じ漢字でも前後の文脈が違えば異なる読み方をする場合があることから、どのような読み方をするのかを適切に判断するためである。そのため、読み方が特定できるだけの範囲で前後の文書を取得すれば良い(例えば当該文字列が含まれる一文を取得するなど)。   In step S1902, the CPU 201 of the electronic book terminal 101 acquires documents before and after the character string designated in step S1901. The reason why the previous and next documents are acquired is that it is necessary to appropriately determine how to read the kanji because the same kanji may be read differently depending on the context before and after. is there. Therefore, what is necessary is just to acquire the document before and behind in the range which can specify how to read (for example, acquiring one sentence including the said character string).

ステップS1903では、電子書籍端末101のCPU201は、ステップS1902で取得した文書をルビ振りプログラムに渡し、ルビ振り処理(ステップS1904)がなされた文書(指定文字列にルビタグが付与されたテキスト)を取得する。   In step S1903, the CPU 201 of the electronic book terminal 101 passes the document acquired in step S1902 to the ruby swing program, and acquires the document (text with the ruby tag added to the designated character string) that has been subjected to the ruby swing process (step S1904). To do.

ここでルビ振り処理については、第1の実施形態におけるステップS313の処理と同様の処理であるため、ここでの説明は省略する。   Here, since the ruby swing process is the same process as the process of step S313 in the first embodiment, a description thereof is omitted here.

ステップS1905では、電子書籍端末101のCPU201は、ステップS1903で取得したルビタグ付のテキストデータを処理する。   In step S1905, the CPU 201 of the electronic book terminal 101 processes the text data with the ruby tag acquired in step S1903.

ステップS1906では、電子書籍端末101のCPU201は、ステップS1901で選択された文字列にルビが付与された画面を表示部に表示する。   In step S1906, the CPU 201 of the electronic book terminal 101 displays a screen in which ruby is added to the character string selected in step S1901 on the display unit.

ステップS1906において表示される画面の一例を図18に示す。図18に示す画面では、「摩利支天」が選択された例を示す。   An example of the screen displayed in step S1906 is shown in FIG. In the screen shown in FIG. 18, an example in which “Mari Shuten” is selected is shown.

図18のように選択された「摩利支天」の文字列に対して、吹き出しによって「まりしてん」というルビが表示されている。   As shown in FIG. 18, a ruby “Mariten” is displayed by a balloon for the selected character string “Mari-Shiten”.

以上により、常時ルビや個別指定文字列のルビについては、小さい文字となってしまう場合でも表示し、通常のルビについては、所定のサイズでの表示をするといったように、段階的に表示するルビを設定することが可能となる。   As described above, ruby that is always displayed and even if it is a small character is displayed for ruby of individually designated character strings, and ruby that is displayed in stages, such as displaying normal ruby with a predetermined size. Can be set.

例えば、通常のルビとして小学1年〜6年まで全てが設定され、常時ルビとして5年と6年が設定されていた場合は、5年生、6年生のルビは行間がせまい場合や、表示倍率が低い場合でも表示され、1年〜4年に対応するルビは、より行間が広い場合や、より表示倍率が高い場合に表示される。   For example, if everything from elementary school 1st to 6th grade is set as normal ruby, and 5th and 6th grades are always set as ruby, 5th and 6th grade rubies may not have line spacing or display magnification Is displayed even when the line spacing is low, and ruby corresponding to 1 to 4 years is displayed when the line spacing is wider or when the display magnification is higher.

また、ユーザにより選択された文字列について、一時的にルビを表示することが可能となる。
<第3の実施形態>
次に図21を用いて第3の実施形態について説明する。
In addition, ruby can be temporarily displayed for the character string selected by the user.
<Third Embodiment>
Next, a third embodiment will be described with reference to FIG.

第3の実施形態は、「常時ルビ」として設定された文字列および個別指定文字列については、行間や表示倍率などに関わらず、常にルビを表示する構成とした実施形態である。   In the third embodiment, the character string set as “always ruby” and the individually designated character string are configured to always display ruby regardless of the line spacing, the display magnification, and the like.

なお、図21は、電子書籍端末101のCPU201が所定の制御プログラムを読み出して実行する処理である。   FIG. 21 shows a process in which the CPU 201 of the electronic book terminal 101 reads and executes a predetermined control program.

ステップS2101では、電子書籍端末101のCPU201は、ユーザによる指示に応答して表示倍率の変更を受け付ける。   In step S2101, the CPU 201 of the electronic book terminal 101 accepts a change in display magnification in response to an instruction from the user.

表示倍率の変更を受け付ける方法については、ユーザにより表示倍率(例えば75%等)が指定されることで受け付けても良い。また、表示部がマルチタッチに対応したタッチパネルであれば、ピンチアウトやピンチインといった操作によって変更を受け付けても良い。ピンチアウトとは、2本の指を画面上に載せて指と指の間隔を広げる動作を指す。これにより表示倍率は高くなる(拡大表示される)。ピンチインとは、2本の指を画面上に載せてその間隔を縮める動作を指す。これにより表示倍率は低くなる(縮小表示される)。   The method for accepting the change in display magnification may be accepted by the user specifying a display magnification (for example, 75%). If the display unit is a touch panel that supports multi-touch, changes may be accepted by operations such as pinch-out and pinch-in. Pinch out refers to an operation of placing two fingers on the screen and widening the interval between the fingers. This increases the display magnification (enlarged display). Pinch-in refers to the operation of placing two fingers on the screen and reducing the distance between them. As a result, the display magnification is reduced (reduced display).

ステップS2102では、電子書籍端末101のCPU201は、常時ルビの設定があるか否かを判断する。具体的には、ステップS301で読み込んだ設定の中に、常時ルビの設定があるか否かにより判断する。ここでの判断処理は、ステップS901の処理と同様である。   In step S2102, the CPU 201 of the electronic book terminal 101 determines whether there is a constant ruby setting. Specifically, the determination is made based on whether or not the setting read in step S301 includes a constant ruby setting. The determination process here is the same as the process of step S901.

常時ルビの設定がなされている場合(ステップS2102:YES)は、処理をステップS2103に移行する。   When the ruby is always set (step S2102: YES), the process proceeds to step S2103.

常時ルビの設定がなされていない場合(ステップS2102:NO)は、処理をステップS2104に移行する。   If ruby is not always set (step S2102: NO), the process proceeds to step S2104.

ステップS2103では、電子書籍端末101のCPU201は、常時ルビとして表示すると設定された文字列に対してルビを表示する。具体的には、電子書籍データをルビ振りプログラムに渡し、ルビ振りプログラムによって付与されたルビタグに基づき表示する。   In step S <b> 2103, the CPU 201 of the electronic book terminal 101 displays ruby for a character string that is set to be always displayed as ruby. Specifically, the electronic book data is transferred to the ruby swing program and displayed based on the ruby tag given by the ruby swing program.

ステップS2103では、行間サイズや表示倍率などに関わらず、常時ルビとして表示すると設定された文字列に対してはすべてルビを表示する。ここで行間サイズが小さいため、ルビが読取困難なほど小さくなってしまうような場合には、図20の2001の行に示すように、ルビが表示されるスペースを確保し(例えば改行をする等)、ルビを振る。また、図18の1801の行ように吹き出しを表示し、そこにルビを表示しても良い。   In step S2103, regardless of the line spacing, display magnification, etc., ruby is displayed for all character strings set to be displayed as ruby all the time. Here, since the line spacing size is small, if the ruby becomes so small that it is difficult to read, a space for displaying the ruby is secured as shown in the line 2001 in FIG. ) Shake ruby. Also, a balloon may be displayed as indicated by line 1801 in FIG. 18, and ruby may be displayed there.

ステップS2104では、電子書籍端末101のCPU201は、個別指定文字列が設定されているか否かを判断する。個別指定文字列とは、前述の通り、個別にルビを表示する文字列として登録された文字列を意味する。   In step S2104, the CPU 201 of the electronic book terminal 101 determines whether an individually designated character string is set. The individually designated character string means a character string registered as a character string for individually displaying ruby as described above.

個別指定文字列が設定されている場合(ステップS2104:YES)は、処理をステップS2105に移行する。   If an individually designated character string is set (step S2104: YES), the process proceeds to step S2105.

個別指定文字列が設定されていない場合(ステップS2104:NO)は、処理をステップS2106に移行する。   If the individually designated character string is not set (step S2104: NO), the process proceeds to step S2106.

個別指定文字列が設定されているか否かは、ステップS301で読み込んだファイルに個別指定文字列が含まれているか否かにより判断される。   Whether or not the individually designated character string is set is determined by whether or not the individually designated character string is included in the file read in step S301.

ステップS2105では、電子書籍端末101のCPU201は、個別指定文字列のルビを表示する。ステップS2105の処理については、ステップS1104〜S1106の処理と同様である。   In step S2105, the CPU 201 of the electronic book terminal 101 displays the ruby of the individually designated character string. The processing in step S2105 is the same as the processing in steps S1104 to S1106.

ステップS2106では、電子書籍端末101のCPU201は、通常のルビを表示するか否か判断する。通常のルビとは、常時ルビ、個別指定文字列のルビではないルビを意味する。すなわち図15のルビ指定欄1504で設定されたルビである。   In step S2106, the CPU 201 of the electronic book terminal 101 determines whether or not to display normal ruby. The normal ruby means ruby that is not always ruby or ruby of an individually designated character string. That is, the ruby set in the ruby designation field 1504 in FIG.

ルビを表示するか否かは、第1の実施形態および第2の実施形態における判断(ステップS305〜S310)と同様であり、行間サイズと解像度による判断や、表示倍率による判断などが考えられる。   Whether or not to display ruby is the same as the determination in the first and second embodiments (steps S305 to S310), and determination based on the line spacing size and resolution, determination based on the display magnification, and the like are conceivable.

ルビ表示する場合(ステップS2106:YES)は、処理をステップS2107に移行する。   If ruby display is to be performed (step S2106: YES), the process proceeds to step S2107.

ルビを表示しない場合(ステップS2106:NO)は、処理をステップS2108に移行する。   If ruby is not displayed (step S2106: NO), the process proceeds to step S2108.

ステップS2107では、電子書籍端末101のCPU201は、ルビを表示する。ここでのルビ表示処理については、第1の実施形態や第2の実施形態における処理と同様に、電子書籍データをルビ振りプログラムに渡すことで実現する。   In step S2107, the CPU 201 of the electronic book terminal 101 displays ruby. The ruby display process here is realized by passing the electronic book data to the ruby swing program in the same manner as the processes in the first embodiment and the second embodiment.

ステップS2108では、電子書籍端末101のCPU201は、ルビ表示できない場合の処理が設定されているか否かを判断する。具体的には図15に示す画面において、ルビ表示ができない場合(1502)にチェックがなされているか否かにより判断する。   In step S <b> 2108, the CPU 201 of the electronic book terminal 101 determines whether or not processing is set when ruby display cannot be performed. Specifically, in the screen shown in FIG. 15, when the ruby display cannot be performed (1502), the determination is made based on whether or not the check is made.

設定がされている場合(ステップS2108:YES)は、処理をステップS2109に移行する。   If it has been set (step S2108: YES), the process proceeds to step S2109.

設定がなされていない場合(ステップS2108:NO)は、本フローチャートの処理を終了する。   If no setting has been made (step S2108: NO), the processing of this flowchart is terminated.

ステップS2109では、電子書籍端末101のCPU201は、ルビ表示できない場合の処理を実行する。具体的には、ステップS1401、S1402と同様に、図15の画面を介して選択された処理内容(1503)に従い、処理を実行する。
そして本フローチャートに示す処理を終了する。
In step S <b> 2109, the CPU 201 of the electronic book terminal 101 executes processing when ruby display cannot be performed. Specifically, similarly to steps S1401 and S1402, processing is executed according to the processing content (1503) selected via the screen of FIG.
Then, the process shown in this flowchart is terminated.

以上のように、本フローチャートで説明した処理は、ユーザにより画面表示のサイズ(表示倍率)の変更指示がなされた場合に実行されるものである。   As described above, the processing described in this flowchart is executed when the user gives an instruction to change the screen display size (display magnification).

また、ステップS2109の処理が実行された場合に、さらに図19に示すように、ルビタグが付与されている文字列の選択を受け付けることで、当該選択された文字列に付与されたルビを表示する処理を実行することが可能である。   In addition, when the process of step S2109 is executed, as shown in FIG. 19, the selection of the character string to which the ruby tag is attached is received to display the ruby attached to the selected character string. It is possible to execute processing.

なお、上述した各種データの構成及びその内容はこれに限定されるものではなく、用途や目的に応じて、様々な構成や内容で構成されることは言うまでもない。   It should be noted that the configuration and contents of the various data described above are not limited to this, and it goes without saying that the various data and configurations are configured according to the application and purpose.

また、本発明におけるプログラムは、コンピュータに図3〜図4、図9〜図14、図19、図21に示す処理を実行させるプログラムである。なお、本発明におけるプログラムは図3〜図4、図9〜図14、図19、図21に示す処理ごとのプログラムであってもよい。   Moreover, the program in this invention is a program which makes a computer perform the process shown in FIGS. 3-4, 9-14, 19, and 21. FIG. The program in the present invention may be a program for each process shown in FIGS. 3 to 4, 9 to 14, 19, and 21.

以上のように、前述した実施形態の機能を実現するプログラムを記録した記録媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記録媒体に格納されたプログラムを読み出し、実行することによっても本発明の目的が達成されることは言うまでもない。   As described above, a recording medium that records a program that implements the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU or MPU) of the system or apparatus stores the program stored in the recording medium. It goes without saying that the object of the present invention can also be achieved by reading and executing.

この場合、記録媒体から読み出されたプログラム自体が本発明の新規な機能を実現することになり、そのプログラムを記録した記録媒体は本発明を構成することになる。   In this case, the program itself read from the recording medium realizes the novel function of the present invention, and the recording medium recording the program constitutes the present invention.

プログラムを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、DVD−ROM、磁気テープ、不揮発性のメモリカード、ROM、EEPROM、シリコンディスク等を用いることが出来る。   As a recording medium for supplying the program, for example, a flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, DVD-ROM, magnetic tape, nonvolatile memory card, ROM, EEPROM, silicon A disk or the like can be used.

また、コンピュータが読み出したプログラムを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on an instruction of the program is actually It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the processing and the processing is included.

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

また、本発明は、複数の機器から構成されるシステムに適用しても、ひとつの機器から成る装置に適用しても良い。また、本発明は、システムあるいは装置にプログラムを供給することによって達成される場合にも適応できることは言うまでもない。この場合、本発明を達成するためのプログラムを格納した記録媒体を該システムあるいは装置に読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。   The present invention may be applied to a system constituted by a plurality of devices or an apparatus constituted by a single device. Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or apparatus. In this case, by reading a recording medium storing a program for achieving the present invention into the system or apparatus, the system or apparatus can enjoy the effects of the present invention.

さらに、本発明を達成するためのプログラムをネットワーク上のサーバ、データベース等から通信プログラムによりダウンロードして読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。なお、上述した各実施形態およびその変形例を組み合わせた構成も全て本発明に含まれるものである。   Furthermore, by downloading and reading a program for achieving the present invention from a server, database, etc. on a network using a communication program, the system or apparatus can enjoy the effects of the present invention. In addition, all the structures which combined each embodiment mentioned above and its modification are also included in this invention.

101 電子書籍端末
102 外部装置
103 ネットワーク
101 electronic book terminal 102 external device 103 network

Claims (9)

文字列を電子書籍端末の表示部に表示する表示手段と、
ユーザからの指示により前記表示部に表示された文字列の表示倍率を変更する変更手段と、
前記文字列に対して付加情報を付加する情報付加手段と、
前記変更手段による表示倍率の変更に応じて、前記情報付加手段により付加された付加情報とともに前記文字列を表示するか否かを切り替える切替手段と、
を備えることを特徴とする電子書籍端末。
Display means for displaying the character string on the display unit of the electronic book terminal;
Changing means for changing a display magnification of the character string displayed on the display unit according to an instruction from the user;
Information adding means for adding additional information to the character string;
Switching means for switching whether to display the character string together with the additional information added by the information adding means in response to a change in display magnification by the changing means;
An electronic book terminal comprising:
前記表示手段により表示される文字列のうち、いずれの文字列に対して付加情報を付加するかの設定を受け付ける設定受付手段と、
前記設定受付手段により受け付けた設定に基づき、前記文字列に対して付加情報を付加することを特徴とする請求項1に記載の電子書籍端末。
Setting accepting means for accepting a setting for adding additional information to which character string among the character strings displayed by the display means;
The electronic book terminal according to claim 1, wherein additional information is added to the character string based on the setting received by the setting receiving unit.
前記設定受付手段は、ユーザから前記表示部に表示されたいずれかの文字列の指定を受け付けることで、当該指定された文字列に対して付加情報を付加する旨の設定を受け付けることを特徴とする請求項2に記載の電子書籍端末。   The setting accepting unit accepts a setting for adding additional information to the designated character string by accepting designation of any character string displayed on the display unit from a user. The electronic book terminal according to claim 2. 前記設定受付手段は、さらに、前記文字列の表示倍率に関わらず付加情報を付加して表示する文字列の設定を受け付け、
前記表示手段は、前記表示倍率に関わらず、当該文字列に対して付加情報を付加して表示することを特徴とする請求項2または3に記載の電子書籍端末。
The setting accepting unit further accepts setting of a character string to be displayed with additional information regardless of the display magnification of the character string,
4. The electronic book terminal according to claim 2, wherein the display unit displays the character string with additional information regardless of the display magnification. 5.
前記付加情報を表示せずに前記文字列を前記表示部に表示する場合に、前記情報付加手段により付加情報が付加された文字列を、他の文字列と識別可能に表示する表示制御手段をさらに備えることを特徴とする請求項1乃至4のいずれか1項に記載の電子書籍端末。   Display control means for displaying the character string added with the additional information by the information adding means so as to be distinguishable from other character strings when the character string is displayed on the display unit without displaying the additional information. The electronic book terminal according to claim 1, further comprising: an electronic book terminal according to claim 1. ユーザにより、前記情報付加手段により付加情報が付加された文字列の選択を受け付ける選択受付手段をさらに備え、
前記表示制御手段は、前記選択受付手段で文字列の選択を受け付けたことに応答して、当該選択された文字列に対して付加された付加情報を表示することを特徴とする請求項1乃至5のいずれか1項に記載の電子書籍端末。
The apparatus further comprises selection accepting means for accepting selection of a character string to which additional information is added by the information adding means.
The display control means displays additional information added to the selected character string in response to the selection accepting means accepting the selection of the character string. The electronic book terminal according to any one of 5.
前記文字列に対して付加される付加情報は、前記文字列のルビであることを特徴とする請求項1乃至6のいずれか1項に記載の電子書籍端末。   The electronic book terminal according to claim 1, wherein the additional information added to the character string is ruby of the character string. 電子書籍端末における情報処理方法であって、
前記電子書籍端末の表示手段が、文字列を電子書籍端末の表示部に表示する表示工程と、
前記電子書籍端末の変更手段が、ユーザからの指示により前記表示部に表示された文字列の表示倍率を変更する変更工程と、
前記電子書籍端末の情報付加手段が、前記文字列に対して付加情報を付加する情報付加工程と、
前記電子書籍端末の切替手段が、前記変更工程による表示倍率の変更に応じて、前記情報付加工程により付加された付加情報とともに前記文字列を表示するか否かを切り替える切替工程と、
を備えることを特徴とする情報処理方法。
An information processing method in an electronic book terminal,
A display step in which the display means of the electronic book terminal displays a character string on a display unit of the electronic book terminal;
A changing step in which the changing means of the electronic book terminal changes the display magnification of the character string displayed on the display unit according to an instruction from a user;
An information adding step in which the information adding means of the electronic book terminal adds additional information to the character string;
A switching step in which the switching means of the electronic book terminal switches whether to display the character string together with the additional information added by the information adding step in accordance with the change of the display magnification by the changing step;
An information processing method comprising:
電子書籍端末で実行されるプログラムであって、
前記電子書籍端末を、
文字列を電子書籍端末の表示部に表示する表示手段と、
ユーザからの指示により前記表示部に表示された文字列の表示倍率を変更する変更手段と、
前記文字列に対して付加情報を付加する情報付加手段と、
前記変更手段による表示倍率の変更に応じて、前記情報付加手段により付加された付加情報とともに前記文字列を表示するか否かを切り替える切替手段として機能させることを特徴とするプログラム。

A program executed on an e-book reader,
The electronic book terminal
Display means for displaying the character string on the display unit of the electronic book terminal;
Changing means for changing a display magnification of the character string displayed on the display unit according to an instruction from the user;
Information adding means for adding additional information to the character string;
A program that functions as switching means for switching whether or not to display the character string together with additional information added by the information adding means in response to a change in display magnification by the changing means.

JP2013136804A 2012-06-28 2013-06-28 Electronic book terminal, information processing method, program Active JP5673744B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013136804A JP5673744B2 (en) 2012-06-28 2013-06-28 Electronic book terminal, information processing method, program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2012145939 2012-06-28
JP2012145939 2012-06-28
JP2013136804A JP5673744B2 (en) 2012-06-28 2013-06-28 Electronic book terminal, information processing method, program

Publications (2)

Publication Number Publication Date
JP2014029684A true JP2014029684A (en) 2014-02-13
JP5673744B2 JP5673744B2 (en) 2015-02-18

Family

ID=50202184

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013136804A Active JP5673744B2 (en) 2012-06-28 2013-06-28 Electronic book terminal, information processing method, program

Country Status (1)

Country Link
JP (1) JP5673744B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6365151A (en) * 1986-09-08 1988-03-23 Mazda Motor Corp Fuel controller for engine
JPH04256065A (en) * 1991-02-07 1992-09-10 Ricoh Co Ltd Document editing device
JPH04311262A (en) * 1991-04-10 1992-11-04 Fujitsu Ltd Dictionary information displaying system
JPH05210671A (en) * 1991-03-11 1993-08-20 Toshiba Corp Word processor
JP2007094708A (en) * 2005-09-28 2007-04-12 Kddi Corp Information terminal device
JP2012108899A (en) * 2010-10-28 2012-06-07 Sharp Corp Electronic equipment, network system and content edition method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6365151A (en) * 1986-09-08 1988-03-23 Mazda Motor Corp Fuel controller for engine
JPH04256065A (en) * 1991-02-07 1992-09-10 Ricoh Co Ltd Document editing device
JPH05210671A (en) * 1991-03-11 1993-08-20 Toshiba Corp Word processor
JPH04311262A (en) * 1991-04-10 1992-11-04 Fujitsu Ltd Dictionary information displaying system
JP2007094708A (en) * 2005-09-28 2007-04-12 Kddi Corp Information terminal device
JP2012108899A (en) * 2010-10-28 2012-06-07 Sharp Corp Electronic equipment, network system and content edition method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CSNG201100657001; 花田 恵太郎 外3名: '電子書籍フォーマットXMDFと作成環境' 情報知識学会誌 第21巻第4号, 20111029, p.430-440, 情報知識学会 *
JPN6014022610; 花田 恵太郎 外3名: '電子書籍フォーマットXMDFと作成環境' 情報知識学会誌 第21巻第4号, 20111029, p.430-440, 情報知識学会 *

Also Published As

Publication number Publication date
JP5673744B2 (en) 2015-02-18

Similar Documents

Publication Publication Date Title
JP5905541B2 (en) Control gallery organized hierarchically
US10878175B2 (en) Portlet display on portable computing devices
US20120229397A1 (en) Method and apparatus for selecting desired contents on read text in portable terminal
US10803236B2 (en) Information processing to generate screen based on acquired editing information
CN106168944A (en) Document conversion method
JP2014106625A (en) Portable terminal, control method of portable terminal, program and recording medium
US9984055B2 (en) Image display apparatus, non-transitory computer-readable storage medium and display control method
CN106648349B (en) Information display method and device
US20170329756A1 (en) Electronic document editing apparatus capable of inserting memo into paragraph, and operating method thereof
JP2011086050A (en) Information processing terminal and computer program
JP2014106810A (en) Image processing apparatus, image processing system, and image processing method and program
KR101498533B1 (en) Component separate display based electronic document display device and method
EP2827299A2 (en) Electronic device and image data displaying method
JP2013020558A (en) Content data display device, content data display method, and program
JP5673744B2 (en) Electronic book terminal, information processing method, program
JP2011044013A (en) Content browsing device, content browsing system, control method, and program
JP5811208B2 (en) Content browsing apparatus, content browsing apparatus control method, program, content browsing system, and content browsing system control method
JP2006195575A (en) Information processing device and method thereof
JP2003067421A (en) Information processing device, information processing method, recording medium and program
CN110515618A (en) Page info typing optimization method, equipment, storage medium and device
JP2019148649A (en) Image processing apparatus, control method, and program
JP2012146257A (en) Electronic book processor, electronic book processing method and program
JP6223007B2 (en) Document display apparatus and method, program and data structure thereof
JP6164856B2 (en) Information processing apparatus, information processing apparatus control method, and computer program
KR20220006357A (en) Method for providing web document for people with low vision and user terminal thereof

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140512

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140603

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140725

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20141202

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141215

R150 Certificate of patent or registration of utility model

Ref document number: 5673744

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250