JP2015035093A - Information processing device, information processing method, and program - Google Patents

Information processing device, information processing method, and program Download PDF

Info

Publication number
JP2015035093A
JP2015035093A JP2013165424A JP2013165424A JP2015035093A JP 2015035093 A JP2015035093 A JP 2015035093A JP 2013165424 A JP2013165424 A JP 2013165424A JP 2013165424 A JP2013165424 A JP 2013165424A JP 2015035093 A JP2015035093 A JP 2015035093A
Authority
JP
Japan
Prior art keywords
animation
glyph
caret
information processing
text
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2013165424A
Other languages
Japanese (ja)
Inventor
匡彦 河野
Masahiko Kono
匡彦 河野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2013165424A priority Critical patent/JP2015035093A/en
Publication of JP2015035093A publication Critical patent/JP2015035093A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To enable a user to easily edit text.SOLUTION: An information processing device comprises: determination means which determines whether text includes an animation glyph; and change means which, when the determination means determines that the text includes an animation glyph, changes a state of the animation glyph when the text is in an editing state.

Description

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

従来、テキストの編集にあって文字の挿入位置をユーザにフィードバックするために縦棒や山形、矩形がキャレットとして表示されてきた。キャレットによりユーザは入力した文字がどの位置に挿入されるか、また削除操作をした場合にどの文字が削除されるかを把握することができた。一方でユーザはキャレットをキーボードやマウス、タッチ操作等で移動することができた。
挿入位置だけでなく、挿入位置に対応した文字の拡大縮小・回転に応じてカーソルの表示を変化させる技術が従来技術として知られている(特許文献1)。
一方で、SVG(Scalable Vector Graphics)の表現力を文字の表示自体に利用する仕様も検討されている。SVGはベクトル情報以外にも色情報やアニメーション情報も記述することができ、一つずつの文字が複数の色情報や拡大・縮小するアニメーション等を持つことができるようになる。
Conventionally, in editing text, vertical bars, chevron shapes, and rectangles have been displayed as carets in order to feed back the character insertion position to the user. The caret allows the user to grasp where the input character is inserted and which character is deleted when the delete operation is performed. On the other hand, the user was able to move the caret with a keyboard, mouse, touch operation, or the like.
A technique for changing the display of the cursor not only at the insertion position but also according to the enlargement / reduction / rotation of the character corresponding to the insertion position is known as a conventional technique (Patent Document 1).
On the other hand, a specification that uses the expressive power of SVG (Scalable Vector Graphics) for character display itself is also being studied. In addition to vector information, SVG can also describe color information and animation information, and each character can have a plurality of color information, an animation that expands and contracts, and the like.

特開平09−128209号公報JP 09-128209 A

しかしながら、従来技術は文字が静止又は静止した状態と同じ枠内でアニメーションすることを前提としている。キャレットが上下左右に移動するだけではキャレットに対応する文字がわからなくなり、ユーザが容易にテキスト編集を行えない課題があった。   However, the prior art presupposes that characters are animated within the same frame as a stationary or stationary state. There is a problem that the user cannot easily edit the text by simply moving the caret up, down, left, or right, because the characters corresponding to the caret are not understood.

本発明は、ユーザが容易にテキスト編集を行えることを目的とする。   An object of the present invention is to allow a user to easily edit a text.

そこで、本発明は、情報処理装置であって、テキストにアニメーショングリフが含まれるか否かを判定する判定手段と、前記判定手段によりテキストにアニメーショングリフが含まれると判定された場合、前記テキストの編集状態において前記アニメーショングリフの状態を変更する変更手段と、を有する。   Therefore, the present invention provides an information processing apparatus, wherein a determination unit that determines whether or not an animation glyph is included in the text, and when the determination unit determines that the text includes an animation glyph, Changing means for changing the state of the animation glyph in the editing state.

本発明によれば、ユーザが容易にテキスト編集を行えることができる。   According to the present invention, a user can easily edit a text.

テキスト表示装置のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of a text display apparatus. 実施形態1のテキスト表示装置のソフトウェア構成の一例を示す図である。It is a figure which shows an example of the software configuration of the text display apparatus of Embodiment 1. 実施形態1の情報処理の一例を説明するフローチャートである。5 is a flowchart for explaining an example of information processing according to the first embodiment. 字形とアニメーション情報との一例を示す図である。It is a figure which shows an example of a character shape and animation information. テキストがアニメーションする文字を含む場合の、時間の経過に伴いテキスト表示の一例を示す図である。It is a figure which shows an example of a text display with progress of time when a text contains the character to animate. 実施形態1の編集状態にあるテキストの描画結果の一例を示す図である。6 is a diagram illustrating an example of a drawing result of text in an editing state according to Embodiment 1. FIG. 実施形態2のテキスト表示装置のソフトウェア構成の一例を示す図である。It is a figure which shows an example of the software configuration of the text display apparatus of Embodiment 2. 実施形態2の情報処理の一例を説明するフローチャートである。10 is a flowchart illustrating an example of information processing according to the second embodiment. 実施形態2の編集状態にあるテキストの描画結果の一例を示す図である。FIG. 10 is a diagram illustrating an example of a drawing result of text in an editing state according to the second embodiment.

以下、本発明の実施形態について図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、テキスト表示装置のハードウェア構成の一例を示す図である。
CPU108は、システム制御部であり、装置全体を制御する。
ROM102は、プログラムや各種固定データを格納する。
RAM103は、SRAM、DRAM等で構成され、プログラム制御変数等を格納する。また、各種設定パラメータ、各種ワーク用バッファもRAM103に格納される。
外部記憶部104は、ハードディスク等で構成され、文書や画像等のファイルデータを格納する。
入力部105は、キーボード、タッチパネル等で構成され、オペレータが各種入力操作を行うためのものである。
表示部106は、LCD、LED等でオペレータに表示通知する。
I/F107は、ネットワークに接続するためのインターフェースである。接続方法としてはLAN、USB等がある。
同図に示した構成は、本実施形態に係るテキスト表示装置101の一部を示したものであり、装置によっては、この他、スキャナ部、プリンタ部、モデム、スピーカ等が装置の構成に加わる場合がある。
CPU108が、ROM102又は外部記憶部104に記憶されているプログラムに基づき処理を実行することによって、後述するテキスト表示装置101のソフトウェア構成及びフローチャートに係る処理が実現される。
テキスト表示装置101は、情報処理装置の一例である。
FIG. 1 is a diagram illustrating an example of a hardware configuration of a text display device.
The CPU 108 is a system control unit and controls the entire apparatus.
The ROM 102 stores programs and various fixed data.
The RAM 103 is configured by SRAM, DRAM, and the like, and stores program control variables and the like. Various setting parameters and various work buffers are also stored in the RAM 103.
The external storage unit 104 includes a hard disk and stores file data such as documents and images.
The input unit 105 includes a keyboard, a touch panel, and the like, and is used by an operator to perform various input operations.
The display unit 106 notifies the operator of display using an LCD, LED, or the like.
The I / F 107 is an interface for connecting to a network. Connection methods include LAN, USB, and the like.
The configuration shown in the figure shows a part of the text display device 101 according to the present embodiment. Depending on the device, a scanner unit, a printer unit, a modem, a speaker, and the like are added to the configuration of the device. There is a case.
The CPU 108 executes processing based on a program stored in the ROM 102 or the external storage unit 104, thereby realizing processing related to the software configuration and flowchart of the text display device 101 described later.
The text display device 101 is an example of an information processing device.

<実施形態1>
図2は、実施形態1のテキスト表示装置のソフトウェア構成の一例を示す図である。
以下、図3のフローチャートに沿って本実施形態の情報処理の一例を説明する。
描画情報記憶部203は、描画に関する情報を記憶している。
テキスト解析部204は、描画情報記憶部203に記憶されている情報に基づいて描画するテキストが編集状態かどうかを判定する(ステップS301)。テキスト解析部204は、編集状態であればステップS302、そうでなければステップS315に進む。テキストは、例えばユーザのキーボード操作やマウス操作、タッチ操作により編集状態に移行し、編集状態にあってはキャレットが表示される。
テキスト解析部204は、テキストがアニメーショングリフを含むかどうかを調べる(ステップS302)。テキスト解析部204は、含む場合はステップS303、含まない場合はステップS315に進む。テキスト解析部204は、アニメーショングリフであるかどうかは、例えばテキストを描画するフォントのヘッダ情報から判定する。又は、テキスト解析部204は、フォントのグリフ情報がアニメーション情報を含むかどうかから判定してもよい。又は、テキスト解析部204は、テキストが特定の文字コードを含むかどうかから判定してもよい。又は、テキスト解析部204は、アプリケーションが提供する情報から判定してもよい。又は、テキスト解析部204は、ユーザの指示に基づいて判定してもよい。
<Embodiment 1>
FIG. 2 is a diagram illustrating an example of a software configuration of the text display apparatus according to the first embodiment.
Hereinafter, an example of information processing according to the present embodiment will be described with reference to the flowchart of FIG.
The drawing information storage unit 203 stores information related to drawing.
The text analysis unit 204 determines whether the text to be drawn is in an editing state based on the information stored in the drawing information storage unit 203 (step S301). If the text analysis unit 204 is in the editing state, the process proceeds to step S302; otherwise, the process proceeds to step S315. For example, the text shifts to an editing state by a user's keyboard operation, mouse operation, or touch operation, and a caret is displayed in the editing state.
The text analysis unit 204 checks whether the text includes an animation glyph (step S302). If the text analysis unit 204 includes the text analysis unit 204, the process proceeds to step S303. Otherwise, the text analysis unit 204 proceeds to step S315. The text analysis unit 204 determines whether it is an animation glyph from, for example, header information of a font for drawing text. Alternatively, the text analysis unit 204 may determine whether the font glyph information includes animation information. Alternatively, the text analysis unit 204 may determine whether or not the text includes a specific character code. Or the text analysis part 204 may determine from the information which an application provides. Or the text analysis part 204 may determine based on a user's instruction | indication.

グリフ解析部205は、描画情報記憶部203からテキスト中でのキャレット情報を取得し、キャレットの前後にあるグリフ情報を解析する(ステップS303)。
グリフ解析部205は、キャレットの前後のグリフがアニメーション情報を含むかどうか調べる(ステップS304)。グリフ解析部205は、含む場合、ステップS305、含まない場合、ステップS315に進む。グリフ解析部205は、例えばグリフ情報がSVGで記述されている場合、アニメーションに関連する要素があるかどうかからキャレットの前後のグリフがアニメーション情報を含むかどうかを判定する。また、解析の結果、ユーザがテキストを編集している間にはアニメーションが行われないと判定できた場合、グリフ解析部205は、ステップS315に進んでもよい。
本実施形態ではキャレットの前又は後ろのグリフがアニメーション情報を含むかどうか調べたが、グリフ解析部205は、キャレットの前後所定文字内のグリフがアニメーション情報を含むかどうかを調べるようにしてもよい。
The glyph analysis unit 205 acquires the caret information in the text from the drawing information storage unit 203, and analyzes the glyph information before and after the caret (step S303).
The glyph analysis unit 205 checks whether the glyphs before and after the caret include animation information (step S304). The glyph analyzing unit 205 proceeds to step S305 if included, or proceeds to step S315 if not included. For example, when the glyph information is described in SVG, the glyph analysis unit 205 determines whether the glyphs before and after the caret include animation information based on whether there is an element related to the animation. As a result of the analysis, if it is determined that no animation is performed while the user is editing the text, the glyph analysis unit 205 may proceed to step S315.
In the present embodiment, whether the glyphs before or after the caret include animation information is checked. However, the glyph analysis unit 205 may check whether glyphs within a predetermined character before and after the caret include animation information. .

本実施形態にあっては字形とアニメーション情報とは図4のようにSVGで記述される。<path>要素によって文字の字形が定義され、<animateTransform>によって文字のアニメーションが定義されている。文字との関係はid属性によって指定されている。テキストがアニメーションする文字を含む場合、時間の経過に伴いテキスト表示は例えば図5のように変化する。
図5にあって「A」、「B」はアニメーションを持たない文字で、「☆」はアニメーション情報を持つ文字である。「☆」は図5の(a)から図5の(b)、図5の(b)から図5の(c)へと回転しながら右上に移動し、今度は逆に図5の(c)から図5の(b)、図5の(b)から図5の(a)へと元の位置まで戻る、繰り返しのアニメーションを行う。
グリフ解析部205は、グリフ情報記憶部206に現在のグリフの状態を記憶する(ステップS305)。保存するグリフ情報は、例えばグリフの位置、形状、色情報である。
計算部207は、グリフ解析部205からグリフのアニメーション情報を取得する(ステップS306)。
計算部207は、グリフのアニメーション情報から、グリフがキャレットに対応する位置にくる時点を計算する(ステップS307)。対応する位置はそのグリフがアニメーションしないグリフだった場合に配置される位置である。例えば横書きの場合、キャレットの前後である。
In the present embodiment, the character shape and the animation information are described in SVG as shown in FIG. A character shape is defined by the <path> element, and an animation of the character is defined by <animateTransform>. The relationship with characters is specified by the id attribute. When the text includes animated characters, the text display changes as shown in FIG. 5 with time.
In FIG. 5, “A” and “B” are characters having no animation, and “☆” is a character having animation information. “☆” moves to the upper right while rotating from (a) in FIG. 5 to (b) in FIG. 5 and from (b) in FIG. 5 to (c) in FIG. 5. ) To FIG. 5 (b) and FIG. 5 (b) to FIG. 5 (a).
The glyph analysis unit 205 stores the current glyph state in the glyph information storage unit 206 (step S305). The glyph information to be stored is, for example, glyph position, shape, and color information.
The calculation unit 207 acquires glyph animation information from the glyph analysis unit 205 (step S306).
The calculation unit 207 calculates the time point when the glyph comes to the position corresponding to the caret from the animation information of the glyph (step S307). The corresponding position is the position that is placed when the glyph is a non-animated glyph. For example, in horizontal writing, it is before and after the caret.

計算部207は、キャレットに対応する位置にくる時点が計算可能かどうか判定する(ステップS308)。計算部207は、可能な場合、ステップS311、不可能な場合、ステップS309に進む。例えば、計算部207は、グリフがキャレットの前後にくるようなアニメーション情報を持っていない場合、時点は計算不可能であると判定する。
計算部207は、初期状態でのグリフのアフィン行列を取得する(ステップS309)。初期状態は例えば描画開始直後の状態である。本実施形態にあっては、テキスト表示装置101は、アフィン変換によってグリフの位置情報を管理するが、2次元座標やインデックスで管理してもよい。
計算部207は、初期状態のグリフがキャレットに対応する位置にくるようにアフィン変換を計算する(ステップS310)。本実施形態にあっては、計算部207は、アニメーションしないグリフと同じ高さになるように、平行移動の他に回転や拡大縮小も含めたアフィン変換を計算する。
グリフ操作部208は、計算部207の計算結果を基にグリフの位置情報を更新しキャレットに対応する位置に置く(ステップS311)。また、グリフ操作部208は、キャレットに対応するようにグリフの形状情報を更新してもよい。
The calculation unit 207 determines whether the time point at the position corresponding to the caret can be calculated (step S308). If possible, the calculation unit 207 proceeds to step S311; otherwise, the calculation unit 207 proceeds to step S309. For example, the calculation unit 207 determines that the time point cannot be calculated when the glyph does not have animation information that comes before and after the caret.
The calculation unit 207 acquires the affine matrix of the glyph in the initial state (step S309). The initial state is a state immediately after the start of drawing, for example. In the present embodiment, the text display device 101 manages the position information of the glyph by affine transformation, but may manage it by two-dimensional coordinates or an index.
The calculation unit 207 calculates the affine transformation so that the initial state glyph is located at the position corresponding to the caret (step S310). In the present embodiment, the calculation unit 207 calculates an affine transformation including rotation and enlargement / reduction in addition to translation so as to be the same height as the glyph that is not animated.
The glyph operation unit 208 updates the position information of the glyph based on the calculation result of the calculation unit 207 and places it at the position corresponding to the caret (step S311). Further, the glyph operation unit 208 may update the glyph shape information so as to correspond to the caret.

グリフ解析部205は、描画情報記憶部203からグリフの色情報を取得する(ステップS312)。本実施形態にあって色情報は各8ビットのアルファ、赤、緑、青で表現される。色の透明度はアルファによって管理される。
グリフ解析部205は、描画する時点での色情報のアルファを確認し、透明かどうかを判定する(ステップS313)。グリフ解析部205は、透明な場合、ステップS314、そうでない場合、ステップS315に進む。
グリフ操作部208は、グリフのアルファを不透明に変更する(ステップS314)。本実施形態では、グリフ解析部205は、グリフのアルファを不透明にするが、半透明に変更してもよい。グリフ操作部208は、半透明の度合いをアニメーション情報に基づいて計算してもよい。
描画部202は、グリフを表示部106に描画する(ステップS315)。
描画部202は、キャレットを表示部106に描画する(ステップS316)。本実施形態にあっては、描画部202は、グリフを描画した後キャレットを描画したが、キャレットを描画した後にグリフを描画してもよい。本実施形態にあってキャレットは図6の(a)のように縦棒で表現されるが、矩形や点線、山形であってもよい。
The glyph analysis unit 205 acquires glyph color information from the drawing information storage unit 203 (step S312). In the present embodiment, the color information is represented by 8-bit alpha, red, green, and blue. Color transparency is controlled by alpha.
The glyph analysis unit 205 confirms the alpha of the color information at the time of drawing and determines whether it is transparent (step S313). The glyph analysis unit 205 proceeds to step S314 if transparent, and to step S315 otherwise.
The glyph operation unit 208 changes the alpha of the glyph to opaque (step S314). In the present embodiment, the glyph analysis unit 205 makes the alpha of the glyph opaque, but it may be changed to translucent. The glyph operation unit 208 may calculate the degree of translucency based on the animation information.
The drawing unit 202 draws the glyph on the display unit 106 (step S315).
The drawing unit 202 draws the caret on the display unit 106 (step S316). In the present embodiment, the drawing unit 202 draws the caret after drawing the glyph, but may draw the glyph after drawing the caret. In this embodiment, the caret is represented by a vertical bar as shown in FIG. 6A, but may be a rectangle, a dotted line, or a mountain.

編集状態にあるテキストの描画結果は図6のようになる。図6にあって「A」、「B」はアニメーションを持たない文字で、「☆」はアニメーション情報を持つ文字である。キャレットは縦棒で表現されている。0秒時点でのテキスト表示は図6の(a)のようになる。キャレットの前後にアニメーション文字がない場合は図6の(b)のように「☆」はアニメーションを継続する。キャレットが右に移動するとキャレットの前後にアニメーション文字が存在することになるためグリフをキャレットに対応する位置に置くため、「☆」のアニメーションは停止し、図6(c)のようになる。
テキストが編集状態でなくなった場合(キャレットが離れた場合)、例えば、グリフ操作部208は、ステップS318に進む(ステップS317)。
グリフ操作部208は、グリフ情報記憶部206から保存されていたグリフ情報を取得し、グリフに再設定する(ステップS318)。
The drawing result of the text in the editing state is as shown in FIG. In FIG. 6, “A” and “B” are characters having no animation, and “☆” is a character having animation information. The caret is represented by a vertical bar. The text display at time 0 is as shown in FIG. If there is no animation character before or after the caret, “☆” continues the animation as shown in FIG. When the caret moves to the right, animation characters exist before and after the caret, so the glyph is placed at a position corresponding to the caret, so the animation of “☆” stops and becomes as shown in FIG.
When the text is no longer in the editing state (when the caret is separated), for example, the glyph operation unit 208 proceeds to step S318 (step S317).
The glyph operation unit 208 acquires the glyph information stored from the glyph information storage unit 206 and resets the glyph information (step S318).

以上説明した情報処理を行うことで、文字がアニメーションするテキストであってもキャレット周辺に関してはアニメーションを抑制し、ユーザが容易にテキストを編集することができる。
本実施形態では、テキスト表示装置101は、キャレット周辺のアニメーションを抑制する例を示した。しかしながら、テキスト表示装置101は、テキスト編集中にはキャレット周辺以外のアニメーションを抑制するようにしてもよい。
By performing the information processing described above, even if the characters are animated text, the animation is suppressed around the caret, and the user can easily edit the text.
In this embodiment, the text display apparatus 101 showed the example which suppresses the animation around a caret. However, the text display device 101 may suppress animations other than the vicinity of the caret during text editing.

<実施形態2>
実施形態1では、キャレット周辺のグリフのアニメーションを抑制する方法について説明した。本実施形態にあっては、グリフのアニメーションに応じたキャレットの表示を行う例について説明する。
図7は、実施形態2のテキスト表示装置のソフトウェア構成の一例を示す図である。
以下、図8のフローチャートに沿って実施形態の情報処理の一例を説明する。
なお、実施形態1と同一の処理については説明を省略し、実施形態1と異なる点を中心に簡潔に説明する。
キャレット情報記憶部701は、描画情報記憶部203からテキスト中のキャレット情報を取得する。キャレット情報は、例えばキャレットの形状、点滅間隔、色情報である。キャレット情報記憶部701は、取得したキャレット情報を記憶する(ステップS801)。
本実施形態にあって静止した文字に対して表示されるキャレットをメインキャレット、アニメーションするグリフに対応して表示されるキャレットをグリフキャレットと呼ぶ。静止した文字に対してはメインキャレットのみが表示され、アニメーションするグリフに対してはメインキャレットとグリフキャレットとの二つが表示される。但し、アニメーションするグリフに対してはグリフキャレットのみ表示してもよい。
<Embodiment 2>
In the first embodiment, the method for suppressing the animation of the glyph around the caret has been described. In the present embodiment, an example in which a caret is displayed according to the glyph animation will be described.
FIG. 7 is a diagram illustrating an example of a software configuration of the text display device according to the second embodiment.
Hereinafter, an example of information processing according to the embodiment will be described with reference to the flowchart of FIG.
In addition, description is abbreviate | omitted about the process which is the same as Embodiment 1, and a different point from Embodiment 1 is mainly demonstrated.
The caret information storage unit 701 acquires caret information in the text from the drawing information storage unit 203. The caret information is, for example, the caret shape, blinking interval, and color information. The caret information storage unit 701 stores the acquired caret information (step S801).
In this embodiment, a caret displayed for a stationary character is called a main caret, and a caret displayed corresponding to an animated glyph is called a glyph caret. Only the main caret is displayed for stationary characters, and the main caret and glyph caret are displayed for animated glyphs. However, only the glyph caret may be displayed for animated glyphs.

グリフ解析部205は、アニメーションするグリフの包含矩形を取得する(ステップS802)。本実施形態にあって包含矩形は座標系に対して水平・垂直な辺で構成されるパスを囲む最小の矩形である。又は、包含矩形の情報をフォント又はグリフが持っていてもよい。
計算部207は、グリフキャレットの位置を計算する(ステップS803)。本実施形態にあって横書きテキストの場合にグリフキャレットは包含矩形の左辺又は右辺に表示される。キャレットが左から右に移動する場合、キャレットはまず包含矩形の左辺に表示され、次の移動で右辺に表示される。
キャレット操作部702は、メインキャレットを点線にする(ステップS804)。本実施形態にあっては点線にしたが、キャレット操作部702は、色情報を変更してもよい。又は、キャレット操作部702は、線の幅を変更してもよい。又は、キャレット操作部702は、キャレットの形状情報を更新してもよい。キャレット操作部702は、グリフのアニメーション情報に応じてどのような変更を行うか判定してもよい。
キャレット操作部702は、グリフキャレットを点線にする(ステップS805)。
The glyph analysis unit 205 obtains an inclusion rectangle of the glyph to be animated (step S802). In this embodiment, the inclusion rectangle is the smallest rectangle that encloses a path formed of horizontal and vertical sides with respect to the coordinate system. Alternatively, the font or glyph may have information on the inclusion rectangle.
The calculation unit 207 calculates the position of the glyph caret (step S803). In the present embodiment, the glyph caret is displayed on the left or right side of the containing rectangle in the case of horizontally written text. When the caret moves from left to right, the caret is first displayed on the left side of the containing rectangle, and the next movement is displayed on the right side.
The caret operation unit 702 sets the main caret to a dotted line (step S804). Although the dotted line is used in the present embodiment, the caret operation unit 702 may change the color information. Alternatively, the caret operation unit 702 may change the line width. Alternatively, the caret operation unit 702 may update the shape information of the caret. The caret operation unit 702 may determine what kind of change is performed according to the animation information of the glyph.
The caret operation unit 702 sets the glyph caret to a dotted line (step S805).

描画部202は、メインキャレットを描画する(ステップS806)。
描画部202は、グリフキャレットを描画する(ステップS807)。
編集状態にあるテキストの描画結果は図9のようになる。図9にあって「A」、「B」はアニメーションを持たない文字で、「☆」はアニメーション情報を持つ文字である。キャレットは縦棒で表現されている。0秒時点でのテキスト表示は図6の(a)のようになる。キャレットの前後にアニメーション文字がない場合は図6の(b)のように「☆」はアニメーションを継続する。キャレットが右に移動すると、キャレットの前後にアニメーション文字がくることになるため、メインキャレットが点線で表示され、アニメーションを継続している「☆」の左側にグリフキャレットが表示され、図9の(c)のようになる。
キャレット操作部702は、グリフキャレットを削除する(ステップS808)。
キャレット操作部702は、キャレット情報記憶部701からキャレット状態を取得し、キャレットの状態を復元する(ステップS809)。
The drawing unit 202 draws the main caret (step S806).
The drawing unit 202 draws the glyph caret (step S807).
The drawing result of the text in the editing state is as shown in FIG. In FIG. 9, “A” and “B” are characters having no animation, and “☆” is a character having animation information. The caret is represented by a vertical bar. The text display at time 0 is as shown in FIG. If there is no animation character before or after the caret, “☆” continues the animation as shown in FIG. When the caret moves to the right, animated characters will appear before and after the caret, so the main caret is displayed as a dotted line, and the glyph caret is displayed on the left side of “☆” that continues the animation. c).
The caret operation unit 702 deletes the glyph caret (step S808).
The caret operation unit 702 acquires the caret state from the caret information storage unit 701 and restores the caret state (step S809).

以上説明した情報処理を行うことで、文字がアニメーションするテキストであってもメインキャレットとグリフキャレットとを表示し、ユーザが容易にテキストを編集することができる。   By performing the information processing described above, the main caret and the glyph caret are displayed even if the character is an animated text, and the user can easily edit the text.

<実施形態3>
テキスト表示装置は、画面等を介したユーザの選択操作に応じて、実施形態1と実施形態2とのどちらの処理を実行するかを選択し、選択に基づき処理を実行するようにしてもよい。つまり、テキスト表示装置は、画面等を介したユーザの選択操作に応じて、変更する対象としてアニメーショングリフか、キャレットかを選択するようにしてもよい。そして、テキスト表示装置は、選択した対象に対して状態を変更するようにしてもよい。
また、本実施形態にあってはユーザが選択を行ったが、テキスト表示装置が、テキストやフォント、グリフに応じて実施形態1と実施形態2とのどちらの処理を実行するか選択してもよい。また、テキスト表示装置は、テキスト表示装置の解像度やCPU、GPU、メモリに応じて実施形態1と実施形態2とのどちらの処理を実行するか選択してもよい。
<Embodiment 3>
The text display device may select which process to execute in the first embodiment or the second embodiment in accordance with a user's selection operation via a screen or the like, and execute the process based on the selection. . That is, the text display device may select an animation glyph or a caret as an object to be changed according to a user's selection operation via a screen or the like. The text display device may change the state of the selected target.
In the present embodiment, the user makes a selection, but the text display device can select which of the first and second embodiments to execute according to the text, font, and glyph. Good. Further, the text display device may select which one of the first embodiment and the second embodiment is executed according to the resolution of the text display device, the CPU, the GPU, and the memory.

<その他の実施形態>
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムを読み出して実行する処理である。
<Other embodiments>
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program. It is a process to be executed.

以上、上述した各実施形態によれば、ユーザが容易にテキスト編集を行えることができる。   As mentioned above, according to each embodiment mentioned above, a user can perform a text edit easily.

以上、本発明の好ましい実施形態について詳述したが、本発明は係る特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。   The preferred embodiments of the present invention have been described in detail above, but the present invention is not limited to such specific embodiments, and various modifications can be made within the scope of the gist of the present invention described in the claims.・ Change is possible.

102 ROM、103 RAM、104 外部記憶部、105 入力部、106 表示部、107 I/F、108 CPU 102 ROM, 103 RAM, 104 External storage unit, 105 input unit, 106 display unit, 107 I / F, 108 CPU

Claims (16)

テキストにアニメーショングリフが含まれるか否かを判定する判定手段と、
前記判定手段によりテキストにアニメーショングリフが含まれると判定された場合、前記テキストの編集状態において前記アニメーショングリフの状態を変更する変更手段と、
を有する情報処理装置。
Determining means for determining whether the text includes animation glyphs;
If the determination means determines that the text includes an animation glyph, a change means for changing the state of the animation glyph in the text editing state;
An information processing apparatus.
前記判定手段は、更に、キャレットの周辺にアニメーショングリフが存在するか否かを判定し、
前記変更手段は、前記判定手段によりテキストにアニメーショングリフが含まれると判定され、かつ、前記キャレットの周辺にアニメーショングリフが存在すると判定された場合、前記テキストの編集状態において前記アニメーショングリフの状態を変更する請求項1記載の情報処理装置。
The determination means further determines whether an animation glyph is present around the caret,
The changing means changes the state of the animation glyph in the text editing state when it is determined by the determining means that the text includes an animation glyph and it is determined that there is an animation glyph around the caret. The information processing apparatus according to claim 1.
前記判定手段は、前記キャレットの前後所定文字内にアニメーショングリフが存在する場合、キャレットの周辺にアニメーショングリフが存在すると判定する請求項2記載の情報処理装置。   The information processing apparatus according to claim 2, wherein the determination unit determines that an animation glyph is present around the caret when an animation glyph exists within a predetermined character before and after the caret. 前記変更手段は、前記アニメーショングリフの位置を変更する請求項1乃至3何れか1項記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the changing unit changes a position of the animation glyph. 前記変更手段は、前記アニメーショングリフの色情報を変更する請求項1乃至3何れか1項記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the changing unit changes color information of the animation glyph. 前記変更手段は、前記アニメーショングリフの形状情報を変更する請求項1乃至3何れか1項記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the changing unit changes shape information of the animation glyph. テキストにアニメーショングリフが含まれるか否かを判定する判定手段と、
前記判定手段によりテキストにアニメーショングリフが含まれると判定された場合、前記テキストの編集状態においてキャレットの状態を変更する変更手段と、
を有する情報処理装置。
Determining means for determining whether the text includes animation glyphs;
If the determination means determines that the text contains an animation glyph, a change means for changing the caret state in the text editing state;
An information processing apparatus.
前記判定手段は、更に、前記キャレットの周辺にアニメーショングリフが存在するか否かを判定し、
前記変更手段は、前記判定手段によりテキストにアニメーショングリフが含まれると判定され、かつ、前記キャレットの周辺にアニメーショングリフが存在すると判定された場合、前記テキストの編集状態において前記キャレットの状態を変更する請求項7記載の情報処理装置。
The determination means further determines whether an animation glyph is present around the caret,
The changing means changes the state of the caret in the text editing state when the determining means determines that the text includes an animation glyph and determines that an animation glyph exists around the caret. The information processing apparatus according to claim 7.
前記判定手段は、前記キャレットの前後所定文字内にアニメーショングリフが存在する場合、キャレットの周辺にアニメーショングリフが存在すると判定する請求項8記載の情報処理装置。   The information processing apparatus according to claim 8, wherein the determination unit determines that an animation glyph exists around the caret when an animation glyph exists in a predetermined character before and after the caret. 前記変更手段は、前記キャレットの数を変更する請求項7乃至9何れか1項記載の情報処理装置。   The information processing apparatus according to claim 7, wherein the changing unit changes the number of the carets. 前記変更手段は、前記キャレットの色情報を変更する請求項7乃至9何れか1項記載の情報処理装置。   The information processing apparatus according to claim 7, wherein the changing unit changes color information of the caret. アニメーショングリフか、キャレットか変更する対象を選択する選択手段と、
テキストにアニメーショングリフが含まれるか否かを判定する判定手段と、
前記判定手段によりテキストにアニメーショングリフが含まれると判定された場合、前記テキストの編集状態において前記選択手段で選択された対象を変更する変更手段と、
を有する情報処理装置。
A selection means for selecting an animation glyph or a caret to change,
Determining means for determining whether the text includes animation glyphs;
When the determination means determines that the text includes an animation glyph, a change means for changing the object selected by the selection means in the text editing state;
An information processing apparatus.
情報処理装置が実行する情報処理方法であって、
テキストにアニメーショングリフが含まれるか否かを判定する判定ステップと、
前記判定ステップによりテキストにアニメーショングリフが含まれると判定された場合、前記テキストの編集状態において前記アニメーショングリフの状態を変更する変更ステップと、
を含む情報処理方法。
An information processing method executed by an information processing apparatus,
A determination step of determining whether the text includes animation glyphs;
If the determination step determines that the text includes an animation glyph, a change step for changing the state of the animation glyph in the text editing state;
An information processing method including:
情報処理装置が実行する情報処理方法であって、
テキストにアニメーショングリフが含まれるか否かを判定する判定ステップと、
前記判定ステップによりテキストにアニメーショングリフが含まれると判定された場合、前記テキストの編集状態においてキャレットの状態を変更する変更ステップと、
を含む情報処理方法。
An information processing method executed by an information processing apparatus,
A determination step of determining whether the text includes animation glyphs;
A change step for changing the state of the caret in the edit state of the text when it is determined that the animation includes a glyph in the determination step;
An information processing method including:
情報処理装置が実行する情報処理方法であって、
アニメーショングリフか、キャレットか変更する対象を選択する選択ステップと、
テキストにアニメーショングリフが含まれるか否かを判定する判定ステップと、
前記判定ステップによりテキストにアニメーショングリフが含まれると判定された場合、前記テキストの編集状態において前記選択ステップで選択された対象を変更する変更ステップと、
を含む情報処理方法。
An information processing method executed by an information processing apparatus,
A selection step to select the animation glyph or the caret or what to change,
A determination step of determining whether the text includes animation glyphs;
If the determination step determines that the text includes an animation glyph, a change step for changing the object selected in the selection step in the text editing state;
An information processing method including:
コンピュータを請求項1乃至12何れか1項記載の情報処理装置の各手段として機能させるためのプログラム。   A program for causing a computer to function as each unit of the information processing apparatus according to any one of claims 1 to 12.
JP2013165424A 2013-08-08 2013-08-08 Information processing device, information processing method, and program Pending JP2015035093A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013165424A JP2015035093A (en) 2013-08-08 2013-08-08 Information processing device, information processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013165424A JP2015035093A (en) 2013-08-08 2013-08-08 Information processing device, information processing method, and program

Publications (1)

Publication Number Publication Date
JP2015035093A true JP2015035093A (en) 2015-02-19

Family

ID=52543580

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013165424A Pending JP2015035093A (en) 2013-08-08 2013-08-08 Information processing device, information processing method, and program

Country Status (1)

Country Link
JP (1) JP2015035093A (en)

Similar Documents

Publication Publication Date Title
KR101787586B1 (en) Manipulating graphical objects
US20170329416A1 (en) System and method for providing user interface tools
KR102470907B1 (en) Techniques for editing and manipulating ink strokes
JP2015153046A (en) Image processor, image processing method and program
JP2011520209A5 (en)
KR101272867B1 (en) Apparatus and method for displaying grid in mobile terminal
US10373363B2 (en) Systems and methods for visually creating and editing scrolling actions
US11003340B2 (en) Display device
JP2010175638A (en) Display device and method for display in display device
JP2007512610A (en) How to visualize a pointer during a conversation
CN111158840B (en) Image carousel method and device
JP2011133949A (en) Display control device and display control method
JP2009266061A (en) Image processor, image processing method, and image transmission system
JP5417185B2 (en) Object processing apparatus and object selection method
US7432939B1 (en) Method and apparatus for displaying pixel images for a graphical user interface
JP2015035093A (en) Information processing device, information processing method, and program
CN109800039A (en) A kind of user interface presentation method, apparatus, electronic equipment and storage medium
JP6287498B2 (en) Electronic whiteboard device, electronic whiteboard input support method, and program
US9190018B2 (en) Vector-based customizable pointing indicia
JP5065374B2 (en) Knitting product simulation apparatus and simulation method
JP2008017065A (en) Electronic blackboard system, image processing method of electronic blackboard system, and program thereof
JP5527991B2 (en) Image processing apparatus and image processing method
CN111625237B (en) Character vision deformation method, system and medium
KR20180047200A (en) Apparatus for producting sprite graphic and method for using the same
KR101388119B1 (en) Information processing apparatus, information processing apparatus control method and program