JP2006163862A - Character-embedded text editing method and device, and storage medium storing them - Google Patents
Character-embedded text editing method and device, and storage medium storing them Download PDFInfo
- Publication number
- JP2006163862A JP2006163862A JP2004354924A JP2004354924A JP2006163862A JP 2006163862 A JP2006163862 A JP 2006163862A JP 2004354924 A JP2004354924 A JP 2004354924A JP 2004354924 A JP2004354924 A JP 2004354924A JP 2006163862 A JP2006163862 A JP 2006163862A
- Authority
- JP
- Japan
- Prior art keywords
- text
- embedded
- character
- font
- editing
- 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.)
- Withdrawn
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
Description
本発明は、文字埋め込みテキスト編集方法及びその装置ならびにそれらを記憶する記憶媒体に関する。 The present invention relates to a character-embedded text editing method and apparatus, and a storage medium for storing them.
従来、文字データをテキストに埋め込む技術は、違う情報処理装置上でも同様の表示結果が得られることを目的としているため、その後の編集については余り考慮されていなかった。
特に、埋め込まれた文字データがインストールされていない情報処理装置上でそのテキストを編集する場合、元の書体を活かした編集はできず、代替書体に置き換えて編集するしかなかったが、代替書体に置き換わった場合等に、レイアウトの崩れ等が発生したり、違う環境でオリジナルの書体への変更が難しい等の問題があった。 In particular, when editing the text on an information processing device that does not have embedded character data installed, editing using the original typeface was not possible. When it was replaced, the layout was broken, and it was difficult to change to the original typeface in a different environment.
本発明の文字埋め込みテキスト編集方法は、文字データが埋め込まれたテキストデータの編集において、埋め込まれている書体を確認する工程と、埋め込まれている書体の文字データが、編集する情報処理装置に既にインストールされているかどうかを判定する工程と、埋め込まれている書体の文字データが編集可能でかつ情報処理装置にインストールされていなかった場合、代替書体で表示し、編集を行う工程とを有する。 According to the character-embedded text editing method of the present invention, in the editing of text data in which character data is embedded, the step of checking the embedded typeface and the character data of the embedded typeface are already in the information processing apparatus to be edited. A step of determining whether or not the character data of the embedded typeface is editable, and a case where the character data of the embedded typeface is editable and not installed in the information processing apparatus.
本発明は、環境の違いや編集等で代替書体に置き換わりその状態で保存した場合、その書体の置き換わったエリアの範囲や位置、そして書体の情報を保存し、編集時のレイアウトを崩すことがない様にピッチや文字サイズを算出することにより、あらゆる環境で、編集、保存しても、レイアウトを崩さず、その都度所望の書体でドキュメントを表示、編集、出力ができるようにすることを目的とする。
本発明によれば、文字を埋め込まれたテキストを編集又は表示しようとした時、代替履歴上使われていたどの書体でも自由に選択でき、どの書体を使用してもページ内のレイアウトを崩すことがなく表示できる。
The present invention saves the range and position of the area where the typeface is replaced and the typeface information when it is replaced with a substitute typeface due to environmental differences or editing, etc., and the layout at the time of editing is not destroyed. By calculating the pitch and character size in the same way, it is possible to display, edit, and output a document in the desired type each time without compromising the layout even if it is edited and saved in any environment. To do.
According to the present invention, when editing or displaying text with embedded characters, any typeface used in the alternative history can be freely selected, and any typeface can be used to destroy the layout in the page. It can be displayed without.
以下本発明を実施するための最良の形態を、実施例により詳しく説明する。 Hereinafter, the best mode for carrying out the present invention will be described in detail with reference to examples.
次に発明の実施例1について説明する。
Next,
図1は、本実施例にかかる基本的な構成を示すブロック図である。図1において1はCPU、即ち中央処理装置であり、本装置全体の制御及び演算処理を行う。
FIG. 1 is a block diagram illustrating a basic configuration according to the present embodiment. In FIG. 1,
2はRAM、即ちランダムアクセスメモリであり、処理毎にそれぞれのプログラム及びデータがロードされ、実行される領域である。
3はROM、即ち読み出し専用メモリであり、システム制御プログラムや、フォントデータなどの記憶領域である。4はKBC、即ちキーボード制御部であり、キーボード5(KB)からのキー入力によりデータを受け取りCPU1へ伝達する。6はPRTC、即ちプリンタ制御部であり、プリンタ装置7(PRT)を制御するためのものである。プリンタ装置7は、レーザービームプリンタ、インクジェットプリンタなどである。
8はCRTC、即ちディスプレイ制御部であり、ディスプレイ装置9(CRT)への表示制御を行う。10はDKC、即ちディスク制御部であり、データ伝送などの制御を行うものである。
Reference numeral 8 denotes a CRTC, that is, a display control unit, which performs display control on the display device 9 (CRT).
11はFD(フロピーディスク装置)あるいはHD(ハードディスク装置)あるいはCD(CDROM)などの外部記憶装置であり、プログラム及びデータを記憶させておき、実行時必要に応じて参照またはRAM2へロードする。12はシステムバスであり、上述の構成要素間におけるデータ転送の通路となるべきものである。
本装置は、基本I/O(入出力)プログラム、OS(オペレーティングシステム)、及び以下に説明する文字埋め込みテキスト表示、編集機能を持つテキスト表示、編集プログラムをCPU1が実行することにより動作する。
This apparatus operates when the
基本I/OプログラムはROM3に記憶されており、OSはHD11に書き込まれている。そして本装置の電源がONにされたとき、基本I/Oプログラム中のIPL(イニシャルプログラムローディング)機能によりHD11からOSがRAM2に読み込まれ、OSの動作が開始される。
The basic I / O program is stored in the
本実施例では、文字埋め込みテキスト表示、編集プログラムおよび関連データは図2のようにFD11、またはCDROM11中に記録されており、このFD11またはCD−ROM11に記録された文字埋め込みテキスト表示、編集プログラムおよび関連データは図3に示すように、FDドライブまたはCD−ROMドライブを通じて、本装置のHD11にインストールする事ができる。
In this embodiment, the character embedded text display, editing program and related data are recorded in the
この場合FD11またはCD−ROM11をFDドライブまたはCD−ROMドライブにセットすると、OS及び基本I/Oプログラムの制御のもとに文字埋め込みテキスト表示、編集プログラム及び関連データがFD11またはCD−ROM11から読み出され、HD11にインストールされて動作可能となる。
In this case, when the
図4は文字埋め込みテキスト表示、編集プログラムがHD11にインストールされ実行可能になった状態のメモリマップを示す。
FIG. 4 shows a memory map in a state where the text-embedded text display and editing program is installed in the
図5は本実施例における文字データを埋め込まれたテキストデータの編集における処理の流れを示すフローチャートである。 FIG. 5 is a flowchart showing the flow of processing in editing text data with embedded character data in this embodiment.
本実施例では、ドキュメントに使用されている書体はすべて文字データとして埋め込まれているものとする。まずステップS501ではドキュメントに使用している書体の確認を行う。 In this embodiment, it is assumed that all typefaces used in the document are embedded as character data. First, in step S501, the typeface used for the document is confirmed.
次にステップS502では、ドキュメントに対して編集を行うかどうかを選択する。編集を行わない場合はステップS514の出口へ進む。編集を行う場合はステップS503へ進む。ステップS503ではドキュメントの編集を行う部分で使用されている書体が、編集を行う情報処理装置に既にインストールされているかどうかを確認する。インストールされていた場合はステップS504へ進む。 In step S502, it is selected whether or not to edit the document. When editing is not performed, the process proceeds to the exit of step S514. In the case of editing, the process proceeds to step S503. In step S503, it is confirmed whether or not the typeface used in the part where the document is edited is already installed in the information processing apparatus that performs the editing. If it has been installed, the process proceeds to step S504.
ステップS504ではドキュメントに使用されている書体のまま編集を行う。 In step S504, editing is performed with the typeface used for the document.
次にステップS505へ進み、編集後のドキュメントに使用されている文字に関する文字データを作成し新たに埋め込み、ステップS506へ進む。ステップS506では編集前に埋め込まれていた文字データを削除するかどうかをユーザーが選択する。この選択は事前に選択、設定しておいても、またその都度データ量を考慮し選択しても構わない。元データを削除する場合はステップS507へ進み埋め込まれていた対象文字データを削除しステップS514の出口へ進む。ステップS506で埋め込まれていた対象文字データを削除しない場合は、ステップS514の出口へ進む。ステップS503で 対象とする文字データが情報処理装置にインストールされていなかった場合は、ステップS508へ進む。 In step S505, character data relating to characters used in the edited document is created and newly embedded, and the flow advances to step S506. In step S506, the user selects whether to delete the character data embedded before editing. This selection may be selected and set in advance, or may be selected in consideration of the amount of data each time. If the original data is to be deleted, the process proceeds to step S507 and the embedded target character data is deleted, and the process proceeds to the exit of step S514. If the target character data embedded in step S506 is not deleted, the process proceeds to the exit of step S514. If the target character data is not installed in the information processing apparatus in step S503, the process proceeds to step S508.
ステップS508では、対象とする書体に最も近い代替書体で表示、編集を行う。次にステップS509へ進み、代替書体に置き換え編集を行ったドキュメントを保存するかどうかを選択する。この選択は、事前に選択、設定しておいても、またその都度、選択しても構わない。保存をしない場合はステップS514の出口へ進む。ステップS509で編集後のドキュメントを保存する場合は、ステップS510へ進む。ステップS510では、編集後のドキュメントに使用されている代替書体の文字データを作成し、埋め込む。 In step S508, display and editing are performed with an alternative typeface closest to the target typeface. In step S509, it is selected whether or not to save the document that has been replaced with the alternative font. This selection may be selected and set in advance or may be selected each time. When not storing, it progresses to the exit of step S514. If the edited document is to be saved in step S509, the process proceeds to step S510. In step S510, character data of an alternative typeface used in the edited document is created and embedded.
次にステップS511へ進み、編集前に埋め込まれていた文字データを削除するかどうかをユーザーが選択する。この選択は事前に選択、設定しておいても、またその都度データ量を考慮し選択しても構わない。文字データを削除する場合はステップS512へ進み埋め込まれていた対象文字データを削除しステップS513へ進む。ステップS511で対象文字データを削除しない場合は、ステップS513へ進む。ステップS513では、代替情報を保存するかどうかを選択する。この選択は事前に選択、設定しておいても、またその都度選択しても構わない。 In step S511, the user selects whether to delete character data embedded before editing. This selection may be selected and set in advance, or may be selected in consideration of the amount of data each time. When deleting character data, the process proceeds to step S512, and the embedded target character data is deleted, and the process proceeds to step S513. If the target character data is not deleted in step S511, the process proceeds to step S513. In step S513, it is selected whether to save alternative information. This selection may be selected and set in advance or may be selected each time.
代替情報は、図7(a)に示すように、所望の書体データが、編集する情報処理装置にインストールされていなかった場合、代替書体で編集し、その代替書体で新たに文字データを作成し保存埋め込みを行った場合、元々どのような書体が使われていたのかを、書体が変えられ保存されるたびに保存する情報である。またこの情報は、図8に示すように、編集により代替書体に変わったり、またユーザーが自ら変えたブロック毎にそのブロックのレイアウト情報と書体名からなる。代替情報を保存しない場合はステップS514の出口へ進む。代替情報を保存する場合は、ステップS514へ進む。ステップS514では、図7(a)に示すように代替情報として書体名を保存する。 As shown in FIG. 7A, when the desired typeface data is not installed in the information processing apparatus to be edited, the alternative information is edited with the alternative typeface, and new character data is created with the alternative typeface. This information stores what typeface was originally used when saving and embedding each time the typeface is changed and saved. Further, as shown in FIG. 8, this information is changed to an alternative typeface by editing, or is composed of layout information and a typeface name of the block for each block changed by the user. When the alternative information is not stored, the process proceeds to the exit of step S514. If the alternative information is to be stored, the process proceeds to step S514. In step S514, the font name is stored as alternative information as shown in FIG.
図6は本実施例における文字データを埋め込まれたテキストデータの表示における処理の流れを示すフローチャートである。 FIG. 6 is a flowchart showing the flow of processing in displaying text data with embedded character data in this embodiment.
ステップS601はドキュメントを表示する情報処理装置に既にインストールされている文字データを確認する。次にステップS602へ進み代替情報が保存されているか確認する。代替情報が保存されていない場合はステップS603へ進む。ステップS603では表示する書体として、最後に埋め込まれた書体の文字データを選択し、ステップS607へ進む。 In step S601, the character data already installed in the information processing apparatus that displays the document is confirmed. Next, the process proceeds to step S602, where it is confirmed whether alternative information is stored. If the alternative information is not stored, the process proceeds to step S603. In step S603, the character data of the last embedded font is selected as the font to be displayed, and the process proceeds to step S607.
ステップS602で代替情報が保存されていた場合は、ステップS604へ進み、その代替情報に優先順位がつけられているかどうかを確認する。優先順位とは図7(b)に示すように、書体ごとにつけられた番号で、表示する情報処理装置に、代替書体として登録
されていた書体が複数インストールされていた場合、どの書体で表示するかの優先順位であり、この設定は、代替情報保存時に優先順位をつけるかどうかの選択をユーザーに選択させることで設定する。
If the alternative information is stored in step S602, the process proceeds to step S604, and it is confirmed whether or not a priority is given to the alternative information. As shown in FIG. 7B, the priority is a number assigned to each typeface, and when a plurality of typefaces registered as alternative typefaces are installed in the information processing apparatus to be displayed, which typeface is displayed. This setting is made by allowing the user to select whether or not to give priority when saving alternative information.
代替情報に優先順位が設定されていなかった場合は、ステップS605へ進み、ユーザーに、代替情報に登録してある書体のどの書体を使うかを選択させる。また優先順位が設定されていなかった場合、最後に保存、埋め込みをされた書体の文字データをデフォルトとして設定しておいても構わない。 If no priority is set for the substitute information, the process advances to step S605 to allow the user to select which typeface of the typeface registered in the substitute information. If the priority order is not set, the character data of the last saved and embedded typeface may be set as the default.
表示に使用する書体を選択したらステップS607へ進む。ステップS604で優先順位が設定されていた場合は、ステップS606へ進み、優先順位の最も高い書体の文字データを表示用データとして選択する。次にステップS607へ進みレイアウト編集をするかどうかを選択する。このレイアウトは図9に示すように、各ページごとに、ドキュメント、表、図、又はイメージといったような素材ごとにその位置や範囲を定めた座標系を言う。 If the typeface used for display is selected, the process proceeds to step S607. If the priority is set in step S604, the process proceeds to step S606, and the character data of the typeface having the highest priority is selected as display data. In step S607, it is selected whether to edit the layout. As shown in FIG. 9, this layout refers to a coordinate system in which the position and range are defined for each material such as a document, table, figure, or image for each page.
図や、表、イメージ等素材の位置や表示範囲を編集する場合はステップS608へ進む。ステップS608ではページを構成する各素材の位置及び範囲の編集を行いステップS609へ進む。ステップS607でレイアウト編集をいないと選択された場合は、ステップS609へ進み、対象ページの対象ドキュメントレイアウトの位置及び範囲を確認する。次にステップS610へ進み、対象ページの対象ドキュメントレイアウト内のドキュメントを構成する文字のサイズ及びピッチを算出する。 When editing the position or display range of a material such as a figure, table, or image, the process proceeds to step S608. In step S608, the position and range of each material constituting the page are edited, and the process proceeds to step S609. If it is selected in step S607 that layout editing has not been performed, the process advances to step S609 to confirm the position and range of the target document layout of the target page. In step S610, the size and pitch of characters constituting the document in the target document layout of the target page are calculated.
これは、レイアウト編集によりドキュメントレイアウトの範囲が変わった場合、又、優先順位やユーザーの選択により、最後に編集したときの書体と表示に使う書体とが異なった場合、ドキュメントがレイアウト内にちょうど収まるように、文字のサイズ及び文字のピッチ等を計算する。次にステップS611へ進みドキュメントファイルを構成するすべてのページについて上記処理を行ったか確認する。まだの場合はステップS602へ戻り処理を繰り返す。 This is because if the document layout range changes due to layout editing, or if the typeface used for display differs from the typeface used for display due to priority or user selection, the document will fit in the layout. Thus, the character size, character pitch, and the like are calculated. In step S611, it is confirmed whether or not the above processing has been performed for all pages constituting the document file. If not, the process returns to step S602 to repeat the process.
(まとめ)
以上、実施例1〜2で説明したように本発明によれば、文字を埋め込まれたテキストを編集又は表示しようとした時、代替履歴上使われていたどの書体でも自由に選択でき、どの書体を使用してもページ内のレイアウトを崩すことがなく表示できる。
(Summary)
As described above, according to the first and second embodiments, according to the present invention, when trying to edit or display text with embedded characters, any typeface used on the alternative history can be freely selected, and any typeface is used. Even if is used, it can be displayed without breaking the layout in the page.
1 CPU
2 RAM
3 ROM
4 KBC
5 KB
6 PRTC
7 PRT
8 CRTC
9 CRT
10 DKC
11 FD,HD,CDROM
1 CPU
2 RAM
3 ROM
4 KBC
5 KB
6 PRTC
7 PRT
8 CRTC
9 CRT
10 DKC
11 FD, HD, CDROM
Claims (45)
つけられている場合は、インストールされている複数の書体の中で優先順位の一番高いものを、表示編集に使うことを特徴とする文字埋め込みテキスト編集方法。 When a plurality of typefaces registered in the font substitution information shown in claim 4 are installed in an information processing apparatus that displays and edits text, and the typeface priorities in claim 9 are given priority A text-embedded text editing method, wherein the highest priority among a plurality of installed typefaces is used for display editing.
徴とする文字埋め込みテキスト編集装置。 20. The character-embedded text editing apparatus according to claim 19, wherein when the font data substitute information by editing is left, the font data used in the basic large text is set to 1, and a ranking number is assigned for management. .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004354924A JP2006163862A (en) | 2004-12-08 | 2004-12-08 | Character-embedded text editing method and device, and storage medium storing them |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004354924A JP2006163862A (en) | 2004-12-08 | 2004-12-08 | Character-embedded text editing method and device, and storage medium storing them |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006163862A true JP2006163862A (en) | 2006-06-22 |
Family
ID=36665808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004354924A Withdrawn JP2006163862A (en) | 2004-12-08 | 2004-12-08 | Character-embedded text editing method and device, and storage medium storing them |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006163862A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014225085A (en) * | 2013-05-15 | 2014-12-04 | キヤノン株式会社 | Document conversion device and document conversion method |
JP2017156967A (en) * | 2016-03-01 | 2017-09-07 | キヤノン株式会社 | Data generation device, computer program, and data generation method |
-
2004
- 2004-12-08 JP JP2004354924A patent/JP2006163862A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014225085A (en) * | 2013-05-15 | 2014-12-04 | キヤノン株式会社 | Document conversion device and document conversion method |
JP2017156967A (en) * | 2016-03-01 | 2017-09-07 | キヤノン株式会社 | Data generation device, computer program, and data generation method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2007140597A (en) | Print control program | |
JP2007206923A (en) | Print data editing device and print data editing program | |
JP4793384B2 (en) | Label printing device | |
JP2006163862A (en) | Character-embedded text editing method and device, and storage medium storing them | |
JP2007114990A (en) | Print control program | |
JP2008186217A (en) | Paste command system | |
JP2008134859A (en) | Output document preparation device, output document preparation program, output document preparation server, and output document preparation method | |
JP2005196275A (en) | Information processor, its method, program, storage medium and preflight check system | |
JP2003006183A (en) | Information processor, information processing method, program and computer-readable medium storing the program | |
JP2003308188A (en) | Print control apparatus, print control method, program, and storage medium | |
JP3709696B2 (en) | Printing system, printer server apparatus, printer server processing method, and recording medium on which printer server processing program is recorded | |
JP2002183120A (en) | Print system, image processor, and their editing method | |
JP2005032098A (en) | Method, program, and device for preparing slip | |
JP2005063052A (en) | Method and device for creating document | |
JP2006154915A (en) | Preflight check processing and device using log file, and storage medium storing them | |
JP2006085529A (en) | Application program, information processing device, and information processing method | |
JP2009289121A (en) | Information processor, output device, output processing method and program | |
JP2003150587A (en) | Document server system and its control method and storage medium for storing these | |
JP2000076472A (en) | Program storage medium | |
JP3517513B2 (en) | Character information setting method and device | |
JPH0736886A (en) | Document preparing device and method for controlling editing history | |
JP2020194534A (en) | Image forming apparatus, image forming method, and information processing program | |
JP2007276377A (en) | Printing apparatus, printing data output apparatus, printing method, printing data output method, and computer program | |
JP2974638B2 (en) | Document processing apparatus and method | |
JP4844364B2 (en) | Image processing apparatus and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20080304 |