JPH03280096A - Font data generating device - Google Patents

Font data generating device

Info

Publication number
JPH03280096A
JPH03280096A JP2082541A JP8254190A JPH03280096A JP H03280096 A JPH03280096 A JP H03280096A JP 2082541 A JP2082541 A JP 2082541A JP 8254190 A JP8254190 A JP 8254190A JP H03280096 A JPH03280096 A JP H03280096A
Authority
JP
Japan
Prior art keywords
font data
application software
writing
control means
character code
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
JP2082541A
Other languages
Japanese (ja)
Inventor
Sunao Murata
すなお 村田
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2082541A priority Critical patent/JPH03280096A/en
Publication of JPH03280096A publication Critical patent/JPH03280096A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To easily obtain desired font data at high speed by composing the font data generating device of a device stored with lateral writing font data, a device stored with longitudinal writing font data, and a means which controls and writes obtained font data. CONSTITUTION:A control means 102A interprets an indication from application software 101 and a selecting means 102B take font data on matching characters out of the storage device 103 according to the given character code and a longitudinal/lateral decision result and passes the font data to a control means 102A. The control means 102A returns the obtained font data to the application software 101. Consequently, when the font data is obtained, the application software only sends the character code and longitudinal/lateral decision indication to easily obtain desired font data fast.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、フォントデータを容易に取得するように構成
されたフォントデータ生成装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a font data generation device configured to easily acquire font data.

[従来の技術] 従来の日本語ワードプロセッサ等における縦書き文字の
出力は、第4図に示すように、アプリケーションソフト
401が必要な文字コードを指示して(S401A)記
憶装置402から横書き用フォントデータを取り出し、
そのフォントデータから縦書き用のフォントデータを得
るためにアプリケ−ジョンソフト401が、フォントデ
ータの90度左心反時計廻り)回転による縦書きフォン
トデータへの変換の可否を判断して(3401C)、不
可の場合は何らかの手段(S401E)により縦書きフ
ォントデータを生成していた。
[Prior Art] In order to output vertically written characters in a conventional Japanese word processor, etc., as shown in FIG. Take out the
In order to obtain vertical writing font data from the font data, the application software 401 determines whether it is possible to convert the font data into vertical writing font data by rotating the font data by 90 degrees (counterclockwise to the left) (3401C). If it is not possible, vertical writing font data is generated by some means (S401E).

[発明が解法しようとする課題] しかしながら、上述の従来の技術においては、横書きフ
ォントデータから縦書きフォントデータへの変換はフォ
ントデータを90度回転させただけでは正しいフォント
データにならない文字がありその補正をアプリケーショ
ンソフト側で行なうためアプリケーションソフトの構成
が複雑になるという問題点があった。また、変換をソフ
トで行なうため処理時間が遅いという問題点もあった。
[Problem to be solved by the invention] However, in the above-mentioned conventional technology, when converting horizontally written font data to vertically written font data, there are some characters for which the correct font data cannot be obtained by simply rotating the font data by 90 degrees. Since the correction is performed on the application software side, there is a problem in that the configuration of the application software becomes complicated. Another problem was that the conversion was performed using software, so the processing time was slow.

そこで、本発明は従来の問題点に鑑みて、アプリケ−ジ
ョンソフトでは、縦書きフォントデータへの変換が不要
な環境を提供し、同時に、処理時間の短縮を計ることを
目的とした。
SUMMARY OF THE INVENTION In view of the conventional problems, it is an object of the present invention to provide an environment in which application software does not require conversion to vertical font data, and at the same time to reduce processing time.

[課題を解決するための手段] 本発明のフォントデータ生成装置は、横書きのフォント
データを記憶する装置と、縦書きのフォントデータを記
憶する装置と、前記いずれかの記憶装置からフォントデ
ータを取り出すかを判断する選択手段と、前記得られた
フォントデータを制御して読み込む手段とから構成され
ている事を特徴とする。
[Means for Solving the Problems] A font data generation device of the present invention includes a device for storing horizontal writing font data, a device for storing vertical writing font data, and retrieving font data from any of the storage devices. and means for controlling and reading the obtained font data.

[実施例] 第1図は本発明の実施例である。アプリケーションソフ
ト101からの指示を制御手段102Aが解釈し、選択
手段102Bが与えられた文字コードと縦横の区別から
記憶装置103の中の適合する文字のフォントデータを
取り出し制御手段102Aに渡す、制御手段102Aは
得られたフォントデータをアプリケーションソフト10
1に返す。
[Example] FIG. 1 shows an example of the present invention. The control means 102A interprets the instruction from the application software 101, and the selection means 102B extracts the font data of the matching character from the storage device 103 based on the given character code and vertical/horizontal distinction and passes it to the control means 102A. 102A transfers the obtained font data to application software 10.
Return to 1.

ただし、アプリケーションソフト101からの指示が縦
書きであり、かつ得られたフォントデータが横書きフォ
ントデータである場合には、制御手段102Aは得られ
たフォントデータを90度回転させた後に得られたフォ
ントデータをアプリケーションソフト101に返す。
However, if the instruction from the application software 101 is vertical writing and the obtained font data is horizontal writing font data, the control means 102A rotates the obtained font data by 90 degrees and then prints the obtained font. The data is returned to the application software 101.

第2図(A)は実施例の構成図である。アプリケーショ
ンソフト101は、必要とする文字コードと横書き、縦
書きの区別を指示しく5IOIA)、それを受けた演算
装置102は記憶装置103の横書きフォントデータ領
域103Aか縦書きフォントデータ領域103Bのどち
らかからフォントデータを取り出し必要な処理を加えた
後に、フォントデータをアプリケーションソフト101
に返し、アプリケーションソフト101はそのフォント
データを出力する(SIOIB)。
FIG. 2(A) is a configuration diagram of the embodiment. The application software 101 instructs the required character code and the distinction between horizontal writing and vertical writing (5IOIA), and the arithmetic unit 102 that receives the instruction selects either the horizontal writing font data area 103A or the vertical writing font data area 103B of the storage device 103. After extracting the font data from and adding the necessary processing, the font data is transferred to the application software 101.
In response, the application software 101 outputs the font data (SIOIB).

演算装置102のロジックを表したのが第2図(B)で
ある、演算装置102は、文字コードと縦横の区別のふ
たつのデータを渡され開始される。
The logic of the arithmetic unit 102 is shown in FIG. 2(B).The arithmetic unit 102 is started by being given two data: a character code and a distinction between vertical and horizontal directions.

まず、縦書き指示であるかどうか判断する(3201)
、縦書き指示でない場合(Noの場合)は記憶装置10
3の中の横書きフォントデータ領域103Aから与えら
れた文字コードで示される文字のフォントデータを読み
込んで(3202)終了する。縦書き指示である場合(
YESの場合)は与えられた文字コードのフォントデー
タが記憶装置103の中の縦書きフォントデータ領域1
03Bの中に存在するかどうか判断する(3203)、
そこで存在する場合は記憶装置103の中の縦書きフォ
ントデータ領域103Bから与えられた文字コードで示
される文字のフォントデータを読み込んで(S204)
終了する。存在しない場合は記憶装置103の中の横書
きフォントデータ領域103Aから与えられた文字コー
ドで示される文字のフォントデータを読み込み(S20
5)、そのフォントデータを90度左心(反時計廻りに
)回転しく5206)終了する。
First, determine whether vertical writing is specified (3201)
, if vertical writing is not specified (in case of No), the storage device 10
The font data of the character indicated by the given character code is read from the horizontal writing font data area 103A in 3 (3202) and the process ends. If vertical writing is specified (
If YES), the font data of the given character code is stored in the vertical font data area 1 in the storage device 103.
Determine whether it exists in 03B (3203),
If the font data exists, the font data of the character indicated by the given character code is read from the vertical font data area 103B in the storage device 103 (S204).
finish. If it does not exist, the font data of the character indicated by the given character code is read from the horizontal writing font data area 103A in the storage device 103 (S20
5) Rotate the font data 90 degrees to the left (counterclockwise) and end 5206).

ここで縦書きフォントデータの必要性を第3図を用いて
示す、第3図(A)は横書きフォントの例であり、30
1A、305Aは括弧、302Aは通常の仮名文字、3
03Aは小さい仮名文字、304Aは句点、306Aは
アンダーラインを表し、306Aは他の文字と組み合わ
せて表示することも可能である。この文字列を縦書き−
にするために各文字を90度左心(反時計廻りに)回転
させたものが第3図(B)である、また、本来実現され
るべき縦書き文字列を表したものが第3図(C)である
、第3図(B)と第3図(C)とを比較すると分かる通
り、横書きフォントを単純に90度左心(反時計廻りに
)回転しただけでは通常の仮名文字以外は縦書きとして
使用できない。したがって上記実施例に示す通り、縦書
きフォントデータを生成することは重要である。
Here, the necessity of vertical writing font data is shown using Figure 3. Figure 3 (A) is an example of a horizontal writing font;
1A, 305A are parentheses, 302A is normal kana characters, 3
03A represents a small kana character, 304A represents a period, and 306A represents an underline. 306A can also be displayed in combination with other characters. Write this string vertically −
Figure 3 (B) shows each character rotated 90 degrees to the left (counterclockwise) in order to make the character string ``vertical''. (C), as can be seen by comparing Figure 3 (B) and Figure 3 (C), if the horizontal font is simply rotated 90 degrees to the left (counterclockwise), it will not be normal kana characters. cannot be used in vertical writing. Therefore, as shown in the above embodiment, it is important to generate vertical writing font data.

[発明の効果] 以上述べたように本発明によれば、フォントデータを得
る際に、アプリケーションソフトは文字コードと縦横の
区別を指示するだけで、簡単にしかも高速に所望のフォ
ントデータを得ることができる。また、プリンターに本
発明と同様の機構を持たせることにより、簡単にしかも
高速に出力する事ができる。
[Effects of the Invention] As described above, according to the present invention, when obtaining font data, application software can easily and quickly obtain desired font data by simply instructing the character code and the distinction between vertical and horizontal directions. I can do it. Furthermore, by providing a printer with a mechanism similar to that of the present invention, it is possible to output easily and at high speed.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の実施例のブロック図。 第2図(A)は本発明の実施例の構成図。 第2図(B)は第2図(A)中の演算装置102のロジ
ックを示すフローチャート。 第3図(A>(B)(C)は横書き文字と縦書き文字と
の比較を示す図。 第4図は従来技術を用いた場合の構成図。 以上
FIG. 1 is a block diagram of an embodiment of the present invention. FIG. 2(A) is a configuration diagram of an embodiment of the present invention. FIG. 2(B) is a flowchart showing the logic of the arithmetic unit 102 in FIG. 2(A). Figure 3 (A>(B) and (C) is a diagram showing a comparison between horizontally written characters and vertically written characters. Figure 4 is a configuration diagram when using the conventional technology.

Claims (1)

【特許請求の範囲】[Claims]  横書きのフォントデータを記憶する装置と、縦書きの
フォントデータを記憶する装置と、前記いずれかの記憶
装置からフォントデータを取り出すかを判断する選択手
段と、前記得られたフォントデータを制御して読み込む
手段とから構成されている事を特徴とするフォントデー
タ生成装置。
A device for storing horizontally written font data, a device for storing vertically written font data, a selection means for determining whether to retrieve font data from any of the storage devices, and a device for controlling the obtained font data. 1. A font data generation device comprising: reading means.
JP2082541A 1990-03-29 1990-03-29 Font data generating device Pending JPH03280096A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2082541A JPH03280096A (en) 1990-03-29 1990-03-29 Font data generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2082541A JPH03280096A (en) 1990-03-29 1990-03-29 Font data generating device

Publications (1)

Publication Number Publication Date
JPH03280096A true JPH03280096A (en) 1991-12-11

Family

ID=13777367

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2082541A Pending JPH03280096A (en) 1990-03-29 1990-03-29 Font data generating device

Country Status (1)

Country Link
JP (1) JPH03280096A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7519278B2 (en) 2004-06-18 2009-04-14 Panasonic Corporation Playback apparatus, program, playback method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7519278B2 (en) 2004-06-18 2009-04-14 Panasonic Corporation Playback apparatus, program, playback method
US7583888B2 (en) 2004-06-18 2009-09-01 Panasonic Corporation Reproduction device, program, and reproduction method
US7609948B2 (en) 2004-06-18 2009-10-27 Panasonic Corporation Reproduction device, reproduction method and program
US7853125B2 (en) 2004-06-18 2010-12-14 Panasonic Corporation Reproduction device, program, and reproduction method
US7856169B2 (en) 2004-06-18 2010-12-21 Panasonic Corporation Reproduction device, program, and reproduction method
US7877002B2 (en) 2004-06-18 2011-01-25 Panasonic Corporation Reproduction device, program, and reproduction method
US7949225B2 (en) 2004-06-18 2011-05-24 Panasonic Corporation Reproduction device, program, and reproduction method
US8027566B2 (en) 2004-06-18 2011-09-27 Panasonic Corporation Recording medium, reproduction device, recording method, and reproduction method

Similar Documents

Publication Publication Date Title
JPH0547853B2 (en)
JPH024938B2 (en)
JPH03280096A (en) Font data generating device
JP2507361B2 (en) Image information processing device
JPH01290448A (en) Character generator
JPS58139243A (en) Processor for character data
JP2616628B2 (en) Key input device
JP3371435B2 (en) Input mode automatic setting method or input mode automatic setting device
JP2523662B2 (en) Memory access circuit
JPH0823744B2 (en) Character string processor
JP2504867B2 (en) Display method in text processing device
JP2661150B2 (en) Data transfer device
JP3034013B2 (en) Display memory processing device
JP2940140B2 (en) Document data processing device
JPS62264322A (en) Printing device
JP3265744B2 (en) Image information filing equipment
JPH0334098B2 (en)
JPH0528156A (en) Document data converter
JP3150319B2 (en) Character pattern generator
JPH06274144A (en) Character processor
JPH01156793A (en) Display
JPH0685169B2 (en) Document processing method
JPH0154742B2 (en)
JPS62293286A (en) Word processor
JPH07281944A (en) Image memory control method