JPH03203781A - font server - Google Patents
font serverInfo
- Publication number
- JPH03203781A JPH03203781A JP1341986A JP34198689A JPH03203781A JP H03203781 A JPH03203781 A JP H03203781A JP 1341986 A JP1341986 A JP 1341986A JP 34198689 A JP34198689 A JP 34198689A JP H03203781 A JPH03203781 A JP H03203781A
- Authority
- JP
- Japan
- Prior art keywords
- font
- processing
- packet
- server
- diagram showing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Controls And Circuits For Display Device (AREA)
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明はフォントサーバに関し、特にLAN(Loca
lAreaNetwork) WAN(WideAr
eaNetwork )等のネットワークに接続して多
種、大容量のフォントサービスを行うフォントサーバに
関する。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a font server, and particularly to a LAN (Local
lAreaNetwork) WAN(WideAr
The present invention relates to a font server that connects to a network such as eaNetwork and provides a wide variety of large-capacity font services.
[従来の技術]
今日、テキスト処理装置(ワードプロセッサ等)の機能
向上に伴い、日本語、英語に限らず各種言語の処理が行
われている。[Prior Art] Today, as the functionality of text processing devices (word processors, etc.) improves, various languages are being processed, not just Japanese and English.
[発明が解決しようとする課題]
しかし、従来のテキスト処理装置はスタンドアロン方式
でテキスト処理を行うため、使用するフォントの種類、
容量等に制限があった。[Problem to be solved by the invention] However, since conventional text processing devices perform text processing in a stand-alone manner, the types of fonts used,
There were restrictions on capacity, etc.
本発明は上述した従来技術の欠点を除去するものであり
、その目的とする所は、多種、大容量のフォント情報資
源を効率良(提供するフォントサーバを提供することに
ある。The present invention eliminates the above-mentioned drawbacks of the prior art, and its purpose is to provide a font server that efficiently provides a wide variety of large-capacity font information resources.
[課題を解決するための手段及び作用]本発明のフォン
トサーバは上記の目的を達成するために、フォント情報
を記憶する記憶手段と、他の装置との間でデータ通信を
行うデータ通信手段と、前記データ通信手段を介して他
の装置より受信した情報に基づき前記記憶手段のフォン
ト情報を検索し、該検索したフォント情報を前記データ
通信手段を介して前記他の装置に送るフォントサービス
手段を備えることをその概要とする。[Means and operations for solving the problems] In order to achieve the above object, the font server of the present invention includes a storage means for storing font information, a data communication means for performing data communication with other devices, and , font service means for searching font information in the storage means based on information received from another device via the data communication means and sending the searched font information to the other device via the data communication means; The outline is to prepare.
これにより、多数のテキスト処理装置はデータ回線を介
して多種、大容量のフォント情報資源を効率良く利用で
きる。This allows a large number of text processing devices to efficiently utilize a wide variety of large-capacity font information resources via data lines.
[実施例の説明]
以下、添付図面に従って本発明による実施例を詳細に説
明する。[Description of Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
第1図は実施例のフォントサーバの機能ブロック図であ
る。図において、100は制御部であり、不図示の複数
のテキスト処理装置(ワードプロセッサ等)からの要求
に応じてフォント情報の提供に関する各種サービス制御
を行う。200は補助記憶装置であり、多種、大容量の
フォント情報を記憶している。300はローカルエリア
ネットワーク(LAN)であり、他のテキスト処理装置
と通信するためのデータ伝送媒体(同軸ケーブル、光ケ
ーブル等)から成る。FIG. 1 is a functional block diagram of a font server according to an embodiment. In the figure, reference numeral 100 denotes a control unit, which controls various services related to the provision of font information in response to requests from a plurality of text processing devices (not shown, such as word processors). Reference numeral 200 denotes an auxiliary storage device that stores a large amount of font information of various types. 300 is a local area network (LAN) consisting of data transmission media (coaxial cables, optical cables, etc.) for communicating with other text processing devices.
制御部100において、alはファイル管理部であり、
補助記憶装置200の記憶情報をファイルとして取り扱
う。a2はフォント処理部であり、フォント情報に関す
る各種サービス処理(フォント処理開始、フォント取得
、フォント処理終了等)を実行する。尚、フォント処理
部a2は各種サービス処理を夫々専門に行うフォント処
理部a2+〜a2nから成っている。a3はフォント処
理制御部であり、LAN300を介して他のテキスト処
理装置から送られる処理依頼のパケットを受は取り、該
パケットの内容を解析し、該解析結果に基づき対応する
フォント処理部az+〜a2nの何れかを活性化し又は
非活性化する。a4は通信制御部であり、本実施例では
OS I (OpenSystems Interco
nnection)規格に基づ(4つの層制御部841
〜a44を統括制御する。a41は物理層制御部であり
、IEEE802.3規格に基づく。a4□はデータリ
ンク層制御部であり、IEEE802.2規格に基づ(
。a43はネットワーク層制御部であり、いわゆるI
P (Internet Prot。In the control unit 100, al is a file management unit,
The information stored in the auxiliary storage device 200 is handled as a file. A2 is a font processing unit that executes various service processes related to font information (font processing start, font acquisition, font processing end, etc.). The font processing unit a2 is composed of font processing units a2+ to a2n, each of which specializes in various service processes. a3 is a font processing control unit, which receives and receives processing request packets sent from other text processing devices via the LAN 300, analyzes the contents of the packets, and controls the corresponding font processing units az+~ based on the analysis results. Activate or deactivate either a2n. a4 is a communication control unit, and in this embodiment, OS I (Open Systems Interco
(4 layer control unit 841) based on the
~A44 is centrally controlled. a41 is a physical layer control unit, which is based on the IEEE802.3 standard. a4□ is a data link layer control unit, which is based on the IEEE802.2 standard (
. a43 is a network layer control unit, so-called I
P (Internet Prot.
−cot)部である。a44はトランスポート層制御部
であり、ここではT CP (Transmissio
n ControlProtocol )を採用する。-cot) part. a44 is a transport layer control unit, here TCP (Transmission
n ControlProtocol ).
補助記憶装置200において、blはフォント管理ファ
イルであり、各種フォント情報の管理情報を記憶してい
る。b2はフォントファイル部であり、各種のフォント
情報ファイルb21〜bznを記憶している。In the auxiliary storage device 200, bl is a font management file that stores management information of various font information. b2 is a font file section that stores various font information files b21 to bzn.
第2図は実施例のフォントサーバのブロック構成図であ
る。第1図と同等部分には同一番号を付す。制御部10
0において、1はCPUであり、制御部lOOの主制御
、処理(第1図の各種制御部a1〜a1等)を実現する
。2はメモリであり、CPU 1が実行する例えば第9
図(A)〜(C)の制御プログラムを格納する。3はL
AN300の通信インタフェース(LAN i F)で
あり、他のテキスト処理装置との間でデータ通信制御を
行う。4はコンソール部であり、本フォントサーバの操
作上必要なCRT、キーボード(KBD)、プリンタ(
PRN)より成る。ABはCPUIのアドレスバス、D
Bは同じくデータバスである。FIG. 2 is a block diagram of the font server of the embodiment. Parts equivalent to those in Figure 1 are given the same numbers. Control unit 10
0, 1 is a CPU, which realizes the main control and processing of the control unit lOO (various control units a1 to a1 in FIG. 1, etc.). 2 is a memory, for example, the ninth
The control programs shown in Figures (A) to (C) are stored. 3 is L
This is a communication interface (LAN iF) for the AN 300, and controls data communication with other text processing devices. 4 is the console section, which contains the CRT, keyboard (KBD), and printer (
PRN). AB is the CPUI address bus, D
Similarly, B is a data bus.
第3図(A)は実施例のフォントサーバがサービスする
フォントの種類を示す図である。図において、flはビ
ットマツプフォント(又はドツトフォント、又はラスク
フォント)であり、該ビットマツプフォントの1ビツト
はプリンタ又はCRTの1ドツトに相当する。f2はへ
フタフォントであり、プロッタ等により文字を骨組み(
ストローク)で描(場合に適している。f3はアウトラ
インフォントであり、文字の外枠を描(ように構成され
、最近ではD T P (Desk TopPubli
shing )によ(利用される。ベクタフォントf2
及びアウトラインフォントf3は夫々2点間の直線を描
くための座標情報及び3点間の曲線を描くための座標情
報から成っている。FIG. 3(A) is a diagram showing the types of fonts serviced by the font server of the embodiment. In the figure, fl is a bitmap font (or dot font or rask font), and one bit of the bitmap font corresponds to one dot of the printer or CRT. f2 is a Hefta font, and the characters are framed (
f3 is an outline font, and is structured to draw the outer frame of characters (strokes).
vector font f2
and outline font f3 are each made up of coordinate information for drawing a straight line between two points and coordinate information for drawing a curved line between three points.
第3図(B)は実施例のフォントとベースポイントとの
関係を説明する図である。各文字フォントはベースポイ
ントを基準にデザインされており、本サーバはフォント
データと共にベースポイントの位置情報を送り出す。FIG. 3(B) is a diagram illustrating the relationship between the font and the base point of the embodiment. Each character font is designed based on a base point, and this server sends base point position information along with font data.
第4図は実施例のフォントサーバが採用するパケットフ
ォーマットの図である。図において、PK、は機能コー
ドをセットする2バイトエリアであり、例えば0000
(H)=フォント処理開始、0001 (H)=フォ
ント取得、0002(H)=フォント処理終了である。FIG. 4 is a diagram of a packet format adopted by the font server of the embodiment. In the figure, PK is a 2-byte area where a function code is set, for example 0000.
(H)=font processing start, 0001 (H)=font acquisition, 0002(H)=font processing end.
P K 2は本サーバによる処理結果のコードをセット
する1バイトエリアであり、例えば00 (H)=正常
終了、0l−FF(H)=異常終了である。尚、サービ
スの要求側(他のテキスト処理装置)においてはこのエ
リアは確保だけしておく。PK3はパケット長をセット
する4バイトエリアであり、エリアPK、〜PK4の合
計バイト数をバイナリでセットする。PK4は機能補助
情報をセットする可変長エリアであり、該エリアPKう
け機能毎に、また送受信のパケット毎に可変長で良い。PK2 is a 1-byte area in which a code of the processing result by this server is set; for example, 00 (H) = normal end, 01-FF (H) = abnormal end. Note that this area is only reserved on the service requesting side (another text processing device). PK3 is a 4-byte area for setting the packet length, and sets the total number of bytes of areas PK to PK4 in binary. PK4 is a variable length area in which function auxiliary information is set, and may have a variable length for each area PK receiving function and for each transmitted/received packet.
第5図(A)は本サーバに対するフォント処理開始依頼
のパケットフォーマットを示す図である。図において、
P K +−o〜PK3− は夫々第4図のPK、 〜
PK、と同じである。p K 、、。FIG. 5(A) is a diagram showing the packet format of a request to this server to start font processing. In the figure,
PK+-o~PK3- are PK in Figure 4, ~
It is the same as PK. pK,.
は要求フォントの種類(フォントid)をセットする2
バイトエリアであり、例えばooo。sets the requested font type (font id)2
This is a part-time job area, such as ooo.
(H)二ビットマツプフォント、0001 (H)=ス
トロークフォント、0002 (H)=アウトラインフ
ォントである。PK4−02は言語idをセットする2
バイトエリアであり、例えば0000 (H)=日本語
、0001 (H)=英語、等である。PK、−03は
タイプフェースをセットする4バイトエリアであり、例
えば・・・0000 (H)=明朝、・・・0001
(H)=ゴシック、等である。PK4−04は出力形式
をセットする1バイトエリアであり、例えば00 (H
)=ランドスケープ、0f(H)=ポートレートである
。PK4−asはスタイルをセットする1バイトエリア
であり、例えば00 (H)=イタリック、01(H)
=アップライトである。P K 4−oaは文字ピッチ
idをセットする1バイトエリアであり、例えばOO(
H)=固定ピッチ、01(H)=プロポーショナルであ
る。P K 、、、はストローク(文字の太さ)をセッ
トする1バイトエリアであり、例えば00 (H)=ボ
ールド、0f(H)=デシボールド、02(H)=レギ
ュラー 03 (H)=ライトである。P K 4−a
sは文字フォントの縦サイズをバイナリのドツト数でセ
ットする2バイトエリアである。このエリアはフォント
idがビットマツプフォントの場合にセットする。P
K 、、−、。(H) 2-bit map font, 0001 (H) = stroke font, 0002 (H) = outline font. PK4-02 sets language id2
This is a byte area, and for example, 0000 (H) = Japanese, 0001 (H) = English, etc. PK, -03 is a 4-byte area to set the typeface, for example...0000 (H) = Mincho,...0001
(H)=Gothic, etc. PK4-04 is a 1-byte area for setting the output format, for example 00 (H
)=landscape, 0f(H)=portrait. PK4-as is a 1-byte area to set the style, for example, 00 (H) = italic, 01 (H)
= Upright. P K 4-oa is a 1-byte area for setting the character pitch ID, for example OO(
H)=fixed pitch, 01(H)=proportional. P K is a 1-byte area for setting the stroke (character thickness), for example, 00 (H) = bold, 0f (H) = decibold, 02 (H) = regular, 03 (H) = light. be. PK4-a
s is a 2-byte area that sets the vertical size of the character font in binary dots. This area is set when the font ID is a bitmap font. P
K,,-,.
は文字フォントの横サイズをバイナリのドツト数でセッ
トする2バイトエリアである。このエリアはフォントi
dがビットマツプフォントであり、かつ文字ピッチid
が固定ピッチの場合にセットする。このように、機能補
助情報としては、ストロークフォント又はアウトライン
フォントの場合はP K 4.、、、− P K 、o
、をセットし、ビットマツプフォントで可変長(プロポ
ーショナル)の場合はPK、、、〜P K 4−、、を
セットし、ビットマツプフォントで固定長の場合はPK
4−01〜P K 、、、をセットする。is a 2-byte area that sets the horizontal size of the character font in binary dots. This area is font i
d is a bitmap font and character pitch id
Set if is a fixed pitch. In this way, as functional auxiliary information, in the case of stroke fonts or outline fonts, PK4. ,,,-PK,o
, and if the bitmap font is variable length (proportional), set PK, , ~PK 4-,, and if the bitmap font is fixed length, set PK.
4-01~P K , , is set.
第5図(B)はフォント処理開始依頼に対する本サーバ
からの回答パケットのフォーマットを示す図である。図
において、P K 、、、〜PK3−oRは夫々第4図
のPK、〜P K aと同じである。FIG. 5(B) is a diagram showing the format of a response packet from this server in response to a request to start font processing. In the figure, PK, ..., ~PK3-oR are the same as PK and ~PKa in Figure 4, respectively.
PK4−ORIは交信idをセットする2バイトエリア
であり、本サーバは内部処理で割り振った0000 (
)()〜FFFF (H)のコードを依頼元に返す。そ
の後、依頼元はフォント取得、フォント処理終了の依頼
時には各パケット内にこの交信idを格納して送付する
。P K 4−0R2は第3図(B)で説明したベース
ポイント情報をセットするエリアである。PK4-ORI is a 2-byte area where the communication ID is set, and this server uses 0000 (
)() to FFFF (H) code is returned to the requester. Thereafter, when requesting font acquisition or completion of font processing, the requester stores this communication ID in each packet and sends it. PK4-0R2 is an area where the base point information explained in FIG. 3(B) is set.
第5図(C)は依頼元が本サーバに送るフォント取得の
パケットフォーマットを示す図である。FIG. 5(C) is a diagram showing the format of a font acquisition packet sent by the requester to this server.
フォント処理開始を要求した依頼元は本サーバから正常
終了の回答パケットを受は取ると、フォント取得のパケ
ットを送る。図において、P K +−。When the requester who requested the start of font processing receives a response packet indicating normal completion from this server, it sends a font acquisition packet. In the figure, P K +-.
〜P K x−oは夫々第4図のPK、 〜PK、と同
じである。P K 4.、、、は交信idをセットする
エリアであり、第5図(B)のエリアPK、−08,の
交信idと同一の値をセットする。P K 、−、、は
文字コードをセットする2バイトエリアである。尚、1
バイトコードなセットする場合は右詰めとし、左側の空
バイトにはNul 1 (00(H))をセットする。~PK x-o are the same as PK and ~PK in FIG. 4, respectively. PK 4. , , is an area where a communication ID is set, and the same value as the communication ID of area PK, -08, in FIG. 5(B) is set. P K , -, , is a 2-byte area in which a character code is set. Furthermore, 1
When setting a byte code, align it to the right, and set Nul 1 (00 (H)) to the empty byte on the left.
第5図(D)はフォント取得依頼に対し本サーバから依
頼元に返す回答パケットフォーマットを示す図である。FIG. 5(D) is a diagram showing the format of a response packet returned from this server to the request source in response to a font acquisition request.
PK、−6R” P K 3−GRは夫々第4図のPK
、〜PK、と同じである。更にPK、−0R1の交信i
d及びP K 4−、R□の文字コードには夫々第5図
(C)のP K 、、、及びP K 、−、、と同一の
値をセットする。P K4−0113とp K4−OR
4には夫々文字フォントの縦横サイズがセットされる。PK, -6R" PK 3-GR are the PK in Figure 4, respectively.
, ~PK, is the same. Furthermore, PK, -0R1 communication i
The character codes of d, P K 4-, and R□ are set to the same values as P K , , and PK , - in FIG. 5(C), respectively. PK4-0113 and pK4-OR
The vertical and horizontal sizes of the character font are set in 4.
例えば2バイトコードのビットマツプフォントに対して
は(16x16)(24X24)(32X32)(40
X40)(48X48)又は(56X56)の縦横サイ
ズがセットされる。また1バイトコードの場合は(16
X8)(24X12)(32X16) (40X20)
(48X24)又は(56X28)の如(、横サイズ
が半分になる。またストロークフォントとアウトライン
フォントについては一意的に縦横(768X768)の
xy座標を仮定してデザインされている。For example, for a 2-byte code bitmap font, (16x16) (24X24) (32X32) (40
The vertical and horizontal sizes of (48x48) or (56x56) are set. In addition, in the case of 1-byte code (16
X8) (24X12) (32X16) (40X20)
(48x24) or (56x28) (the horizontal size is halved. Stroke fonts and outline fonts are uniquely designed assuming vertical and horizontal (768x768) xy coordinates.
P K 4−Gl?6はフォントパターンをセットする
エリアであり、フォントパターンに応じた可変長のエリ
アである。記憶態様の詳細は第7図(D)〜(F)、第
8図(A)、(B)に従って後述する。PK4-Gl? 6 is an area for setting a font pattern, and is an area of variable length depending on the font pattern. Details of the storage mode will be described later with reference to FIGS. 7(D) to (F) and FIGS. 8(A) and (B).
第5図(E)は要求元からのフォント処理終了依頼のパ
ケットフォーマットを示す図である。このパケットは要
求元が本サーバに対してフォント処理終了宣言する時に
送る。PK、−6〜P K 3−cは夫々第4図のPK
、〜PK3と同じである。FIG. 5(E) is a diagram showing the packet format of a font processing termination request from the request source. This packet is sent when the request source declares to this server that font processing is complete. PK, -6 to PK 3-c are the PK in Figure 4, respectively.
, ~ Same as PK3.
P K +−cは交信idをセットするエリアであり、
第5図(B)のエリアP K4−ORIの交信idと同
一内容をセットする。P K +-c is an area for setting the communication ID,
Set the same content as the communication ID of area PK4-ORI in FIG. 5(B).
第5図(F)はフォント処理終了依頼に対する本サーバ
から依頼元に返される回答パケットフォーマットを示す
図である。図において、P K 1−cR〜P K−c
Rは夫々第4図のPK1〜PK3と同じである。FIG. 5(F) is a diagram showing the format of a response packet returned from this server to the request source in response to a font processing termination request. In the figure, P K 1-cR to P K-c
R is the same as PK1 to PK3 in FIG. 4, respectively.
第6図は実施例の機能補助情報の詳細を示す一覧図であ
る。第5図(A)のフォント処理開始宣言の際には、こ
れらの中から必要情報を選択し、フォント処理開始要求
パケット内にセットする。FIG. 6 is a list diagram showing details of functional auxiliary information of the embodiment. When declaring the start of font processing in FIG. 5(A), necessary information is selected from these and set in the font processing start request packet.
第7図(A)は実施例の補助記憶装置200におけるフ
ォント管理ファイルb1の記憶構成を示す図である。尚
、索引部は図示しない。第5図(A)のフォント処理開
始要求パケットの内容はフォント管理ファイルb+の内
容に参照され、対応するフォント登録ファイル名が抽出
される。FIG. 7(A) is a diagram showing the storage structure of the font management file b1 in the auxiliary storage device 200 of the embodiment. Note that the index section is not shown. The contents of the font processing start request packet shown in FIG. 5A are referenced to the contents of the font management file b+, and the corresponding font registration file name is extracted.
図において、フォント登録ファイル名は13バイト、ベ
ースポイントは2バイト(バイナリ)、文字ピッチid
は1バイト(固定ピッチ/プロポーショナル)、横サイ
ズは2バイト(横ドツト数)、縦サイズは2バイト(縦
ドツト数)、フォントサイズは2バイト(コード当りの
フォントサイズ長)である。In the figure, the font registration file name is 13 bytes, the base point is 2 bytes (binary), and the character pitch id
is 1 byte (fixed pitch/proportional), the horizontal size is 2 bytes (the number of horizontal dots), the vertical size is 2 bytes (the number of vertical dots), and the font size is 2 bytes (font size length per code).
第7図(B)はフォントファイルb2の記憶構成を示す
図である。各フォントファイルbz+〜b 2nはフォ
ント登録ファイル名で呼び出され、ファイルはフォント
コード検索データ部とフォント格納部から成る。FIG. 7(B) is a diagram showing the storage structure of the font file b2. Each font file bz+ to b2n is called by a font registration file name, and the file consists of a font code search data section and a font storage section.
第7図(C)はフォントコード検索データ部の記憶構造
を示す図である。図において、コード部は2バイトから
成り、もし1バイトコードの場合は先頭がNul l
(00(H))でパディングされる。ポインタ部は4バ
イトから成り、第7図(B)のフォント格納部の先頭番
地なO番地(相対番地)として、コード部のコードに対
応する各フォントの格納アドレスが格納されている。FIG. 7(C) is a diagram showing the storage structure of the font code search data section. In the figure, the code part consists of 2 bytes, and if it is a 1-byte code, the beginning is Null.
Padded with (00(H)). The pointer section consists of 4 bytes, and the storage address of each font corresponding to the code of the code section is stored as address O (relative address), which is the first address of the font storage section in FIG. 7(B).
第7図(D)はビットマツプフォントで固定ピッチのフ
ォントの記憶構成を示す図である。FIG. 7(D) is a diagram showing the storage structure of a bitmap font with a fixed pitch.
ここには第3図(A)のドツトパターンフォントf、が
そのまま格納されている。The dot pattern font f shown in FIG. 3(A) is stored here as is.
第7図(E)はストロークフォント又はアウトラインフ
ォントで固定ピッチのフォントの記憶構成を示す図であ
る。図において、フォントパターン長は2バイトであり
、ここにはフォントパターンのサイズをバイト長でセッ
トしである。FIG. 7(E) is a diagram showing the storage structure of a fixed pitch font, which is a stroke font or an outline font. In the figure, the font pattern length is 2 bytes, and the size of the font pattern is set here in byte length.
フォントパターンは可変長であり、詳細は第8図(A)
、(B)に従って後述する。The font pattern is variable length, details are shown in Figure 8 (A)
, (B) will be described later.
第7図(F)はビットマツプ、ストローク又はアウトラ
インフォントであって、プロポーショナルフォントの記
憶構成を示す図である。図において、フォントパターン
長は2バイトであり、フォントパターンのサイズをバイ
ト長で示す。横サイズは2バイトであり、文字デザイン
の横のサイズを示す。例えばビットマツプフォントなら
O〜56であり、アウトライン又はストロークフォント
ならO〜768である。フォントパターンは可変長であ
り、ビットマツプフォントなら第3図(A)のドツトパ
ターン形式f+で格納される。FIG. 7(F) is a diagram showing the storage structure of a proportional font, which is a bitmap, stroke or outline font. In the figure, the font pattern length is 2 bytes, and the size of the font pattern is shown in byte length. The horizontal size is 2 bytes and indicates the horizontal size of the character design. For example, a bitmap font is 0-56, and an outline or stroke font is 0-768. The font pattern has a variable length, and if it is a bitmap font, it is stored in the dot pattern format f+ as shown in FIG. 3(A).
アウトライン又はストロークフォントの場合は第8図(
A)、(B)に従って格納される。For outline or stroke fonts, see Figure 8 (
A) and (B) are stored.
第8図(A)、(B)はストロークフォント又はアウト
ラインフォントのフォントパターン格納形式を示す図に
係り、第8図(A)は直線要素フォントの記憶構造を示
す図である。直線要素フォントは合計9バイトから成り
、1バイトから成る直線のfd=oo (H)と、各4
バイトの2点座標(X+ + y+ ) + (X2
+ 3’2 )とから成る。X13’の座標値は共に
768を越えない。FIGS. 8(A) and 8(B) are diagrams showing the font pattern storage format of a stroke font or an outline font, and FIG. 8(A) is a diagram showing the storage structure of a linear element font. The linear element font consists of a total of 9 bytes, with a straight line fd=oo (H) consisting of 1 byte, and each 4
Two-point coordinates of the tool (X+ + y+) + (X2
+3'2). Both coordinate values of X13' do not exceed 768.
第8図(B)は曲線要素フォントの記憶構造を示す図で
ある。曲線要素フォントは合計13バイトから成り、1
バイトから成る曲線のi d=01(H)と、各4バイ
トの3点座標(x+ + 3’+ )(X2 + y
a )+ (x3+ ys )とから成る。FIG. 8(B) is a diagram showing the storage structure of a curved element font. The curve element font consists of a total of 13 bytes, 1
i d = 01 (H) of the curve consisting of bytes, and the 3-point coordinates of each 4 bytes (x+ + 3'+) (X2 + y
a)+(x3+ys).
x、yの座標値は共に768を越えない。Both x and y coordinate values do not exceed 768.
第8図(C)は直線要素又は曲線要素フォントの終了要
求コードを示す図である。終了要求コードは1バイトの
FF (H)から成り、この終了要求コードがあると、
上記直線要素又は曲線要素のフォントが終了したことを
示す。FIG. 8(C) is a diagram showing termination request codes for linear element or curved element fonts. The termination request code consists of 1 byte FF (H), and with this termination request code,
Indicates that the font for the linear element or curved element has ended.
第9図(A)は実施例のフォント処理開始処理のフロー
チャートである。フォント処理制御部a3が、LAN3
00及びOS I a 4を介して、他のテキスト処理
装置からのフォント処理開始要求パケットを受けると、
このフォント処理部a2に制御が渡る。FIG. 9(A) is a flowchart of font processing start processing according to the embodiment. The font processing control unit a3 is connected to the LAN3
Upon receiving a font processing start request packet from another text processing device via 00 and OS Ia 4,
Control is passed to this font processing section a2.
ステップSllでは受信パケット(第5図(A))のP
K 4−o、〜P K 4−osの値を索引データと
してフォント管理ファイルb1を検索し、該検索が正常
に行われたらステップSL2へ進む。In step Sll, P of the received packet (Fig. 5(A))
The font management file b1 is searched using the values of K4-o, to PK4-os as index data, and if the search is successfully performed, the process advances to step SL2.
ステップS12では内部管理テーブル処理を行い、更に
ステップSllで検索して得た第7図(A)のデータ群
より対応する[フォント登録ファイル名」を抽出し、こ
のファイルを0PENし、該0PEN処理が正常に行わ
れたらステップS13に進む。ステップS13では回答
パケット(第5図(B))のPKz−oRに正常終了の
旨のデータ00 (H)をセットし、更にPK、−8R
1にステップSL2で割り振った値を交信idとしてセ
ットし、更にステップSllの検索で得た第7図(A)
のベースポイントデータな第5図(B)のPK、、R□
にセットする。In step S12, internal management table processing is performed, and the corresponding [font registration file name] is extracted from the data group of FIG. If it is performed normally, the process advances to step S13. In step S13, data 00 (H) indicating normal termination is set in PKz-oR of the response packet (Fig. 5 (B)), and further PK, -8R is set.
1 and set the value assigned in step SL2 as the communication ID, and further retrieved in step Sll as shown in Fig. 7 (A).
The base point data of Figure 5 (B) is PK,,R□
Set to .
またステップSll又はS12の処理でエラーの時はス
テップS14に進み、対応するエラーコードを第5図(
B)のP K 、、Rにセットする。Further, if an error occurs in the processing of step Sll or S12, the process advances to step S14, and the corresponding error code is written as shown in FIG.
Set P K , , R in B).
ステップS15では第5図(B)のP K 3−、Rに
合計パケット長をセットし、この回答パケットをサービ
ス要求元に返送するようフォント処理制御部a3に依頼
する。In step S15, the total packet length is set in PK3-, R in FIG. 5(B), and the font processing control unit a3 is requested to return this reply packet to the service requester.
第9図(B)は実施例のフォント取得処理のフローチャ
ートである。この処理への入力も第9図(A)の場合と
同様である。ステップS21では受信パケット(第5図
(C))のPK4−o、の交信idが上述のステップS
12で割り振った内部管理テーブル内の値か否かを検索
し、該検索が正常に行われたならステップS22に進む
。ステップS22では第5図(]のPK4−62の文字
コードにより第7図(B)の該当ファイルのフォントコ
ード検索データ部を検索し、検索ができたならステップ
323に進む。FIG. 9(B) is a flowchart of font acquisition processing according to the embodiment. The input to this process is also the same as in the case of FIG. 9(A). In step S21, the communication ID of PK4-o of the received packet (FIG. 5(C)) is
A search is made to see if it is the value in the internal management table allocated in step S12, and if the search is successfully performed, the process advances to step S22. In step S22, the font code search data portion of the corresponding file in FIG. 7(B) is searched using the character code of PK4-62 in FIG.
ステップS23では回答パケット(第5図(D))のP
K 4−OR3〜P K 4−aRsの部分を作成す
べく、ステップS22の検索結果により選択された第7
図(D)〜第7図(F)のデータの中で該当する形式の
データを回答パケット内の該当エリアにセットする。In step S23, P of the reply packet (FIG. 5(D))
In order to create the parts K4-OR3 to PK4-aRs, the seventh
The data in the corresponding format among the data shown in FIGS. 7(D) to 7(F) is set in the corresponding area in the reply packet.
またステップS21又はS22の処理でエラーの時はス
テップS24に進み、対応するエラーコードを第5図(
D)のエリアP K 、、、にセットする。Further, if an error occurs in the process of step S21 or S22, the process advances to step S24, and the corresponding error code is written in FIG.
D) area P K , .
ステップS25では回答パケット(第5図(D))のP
Kz−aRにパケット長をセットし、該返送パケットを
要求元に返送するようフォント処理制御部a、に依頼す
る。In step S25, P of the reply packet (FIG. 5(D))
The packet length is set in Kz-aR, and the font processing control unit a is requested to return the return packet to the request source.
第9図(C)は実施例のフォント処理終了処理のフロー
チャートである。同様にして、ステップS31では受信
パケット(第5図(E))のP K 4−cの交信id
が上述ステップS12で割り振った内部管理テーブルに
ある値か否かを検索し、該検索が正常ならステップS3
2に進む。ステップS32では回答パケット(第5図(
F))のPK2−CRに正常終了のコード00 (H)
をセットし、該当ファイルをクローズする。FIG. 9(C) is a flowchart of the font processing termination process of the embodiment. Similarly, in step S31, the communication ID of P K 4-c of the received packet (FIG. 5(E)) is
is the value in the internal management table allocated in step S12 above, and if the search is normal, step S3
Proceed to step 2. In step S32, the answer packet (Fig. 5 (
Normal completion code 00 (H) in PK2-CR of F))
and close the corresponding file.
またステップS31でエラーの時はステップS33に進
み、回答パケット(第5図(F))のPK2−CRに対
応するエラーコードをセットする。If there is an error in step S31, the process advances to step S33, and an error code corresponding to PK2-CR of the reply packet (FIG. 5(F)) is set.
ステップS34では回答パケット(第5図(F))のP
Ks−anに合計パケット長をセットし、この回答パケ
ットを要求元に返送するようにフォント処理制御部a3
に依頼する。In step S34, P of the reply packet (FIG. 5(F))
The font processing control unit a3 sets the total packet length in Ks-an and sends this reply packet back to the request source.
request.
尚、上述実施例ではデータ通信手段としてLANを使用
したがこれに限らない。他にも、公衆電話回線、高速デ
ジタル回線、パケット回線、l5DN等でも良い。Incidentally, in the above embodiment, a LAN is used as a data communication means, but the present invention is not limited to this. Alternatively, a public telephone line, high-speed digital line, packet line, 15DN, etc. may be used.
また、上述実施例ではフォントサーバにコンソール4を
備えたがこれに限らない。コンソールの機能は本サーバ
に接続する他のテキスト処理装置上のコンソールで実現
しても良い。Further, in the above embodiment, the font server is provided with the console 4, but the present invention is not limited to this. The functions of the console may be realized by a console on another text processing device connected to this server.
また、第1図のトランスポート層a44の上位に、図示
しないが、セツション層a46、プレゼンテーション層
a46、アプリケーション層a47を段階的に設は又は
これらの全てを設けても良い。Further, although not shown, a session layer a46, a presentation layer a46, and an application layer a47 may be provided in stages above the transport layer a44 in FIG. 1, or all of them may be provided.
また、上述実施例のパケットフォーマットは送信と受信
とで同じ形式の部分を持つフォーマットのものがあるが
、交信のオーバーヘッドを少なくするために、本実施例
より短い送返信用毎のパケットフォーマットを夫々考え
ても良い。In addition, some of the packet formats in the above embodiments have the same format parts for transmission and reception, but in order to reduce the communication overhead, the packet formats for each transmission and response are shorter than in this embodiment. You can think about it.
[発明の効果]
以上述べた如(本発明によれば、多くのテキスト処理装
置は、適当な交信手段を持つだけで、フォントサーバか
ら多種、大容量のフォントサービスを受けられる。[Effects of the Invention] As described above (according to the present invention), many text processing devices can receive a wide variety of large-capacity font services from a font server simply by having an appropriate communication means.
第1図は実施例のフォントサーバの機能ブロック図、
第2図は実施例のフォントサーバのブロック構成図、
第3図(A)は実施例のフォントサーバがサービスする
フォントの種類を示す図、
第3図(B)は実施例のフォントとベースポイントとの
関係を説明する図、
第4図は実施例のフォントサーバが採用するパケットフ
ォーマットの図、
第5図(A)は本サーバに対するフォント処理開始依頼
のパケットフォーマットを示す図、第5図(B)はフォ
ント処理開始依頼に対する本サーバからの回答パケット
のフォーマットを示す図、
第5図(C)は依頼元が本サーバに送るフォント取得の
パケットフォーマットを示す図、第5図(D)はフォン
ト取得依頼に対し本サーバから依頼元に返すパケットフ
ォーマットを示す図、
第5図(E)はフォント処理終了依頼のパケットフォー
マットを示す図、
第5図(F)はフォント処理終了依頼に対する本サーバ
から依頼元に返されるパケットフォーマットを示す図、
第6図は実施例の機能補助情報の詳細を示す一覧図、
第7図(A)は実施例の補助記憶装置200におけるフ
ォント管理ファイルb、の記憶構成を示す図、
第7図(B)はフォントファイルb2の記憶構成を示す
図、
第7図(C)はフォントコード検索データ部の記憶構造
を示す図、
第7図(D)はビットマツプフォントで固定ピッチのフ
ォントの記憶構成を示す図、第7図(E)はストローク
フォント又はアウトラインフォントで固定ピッチのフォ
ントの記憶構成を示す図、
第7図(F)はビットマツプ、ストローク又はアウトラ
インフォントであってプロポーショナルフォントの記憶
構成を示す図、
第8図(A)、(B)はストロークフォント又はアウト
ラインフォントのフォントパターン格納形式を示す図、
第8図(C)は直線要素又は曲線要素フォントの終了要
求コードを示す図、
第9図(A)は実施例のフォント処理開始処理のフロー
チャート、
第9図(B)は実施例のフォント取得処理のフローチャ
ート、
第9図(C)は実施例のフォント処理終了処理のフロー
チャートである。
図中、100・・・制御部、200・・・補助記憶装置
、300・・・ローカルエリアネットワーク(LAN)
、1・・・CPU、2・・・メモリ、3・・・通信イン
タフェース(LAN i F) 、4・・・コンソール
部、AB・・・アドレスバス、DB・・・データバスで
ある。FIG. 1 is a functional block diagram of the font server of the embodiment, FIG. 2 is a block configuration diagram of the font server of the embodiment, and FIG. 3(A) is a diagram showing the types of fonts serviced by the font server of the embodiment. Figure 3 (B) is a diagram explaining the relationship between the font of the embodiment and the base point, Figure 4 is a diagram of the packet format adopted by the font server of the embodiment, and Figure 5 (A) is the font for this server. Figure 5 (B) is a diagram showing the format of a packet format of a request to start processing. Figure 5 (B) is a diagram showing the format of a response packet from this server in response to a request to start processing fonts. Figure 5 (C) is a diagram showing the format of a response packet from this server to a request to start processing fonts. Figure 5 (D) is a diagram showing the packet format returned from this server to the requester in response to a font acquisition request, Figure 5 (E) is a diagram showing the packet format of a font processing end request, Figure 5 (F) is a diagram showing the packet format returned from this server to the requester in response to a font processing termination request, Figure 6 is a list diagram showing details of functional auxiliary information of the embodiment, and Figure 7 (A) is FIG. 7(B) is a diagram showing the storage configuration of the font management file b in the auxiliary storage device 200 of the embodiment. FIG. 7(C) is a diagram showing the storage configuration of the font file b2. Figure 7 (D) is a diagram showing the memory structure of a bitmap font with a fixed pitch. Figure 7 (E) is a diagram showing the memory structure of a fixed pitch font with a stroke font or an outline font. Figure 7 (F) is a diagram showing the storage structure of a proportional font, which is a bitmap, stroke, or outline font. Figures 8 (A) and (B) show the font pattern storage format of a stroke font or an outline font. Figure 8(C) is a diagram showing the termination request code for a linear element or curved element font, Figure 9(A) is a flowchart of the font processing start process of the embodiment, and Figure 9(B) is a diagram of the embodiment. Flowchart of Font Acquisition Processing FIG. 9(C) is a flowchart of font processing termination processing in the embodiment. In the figure, 100...control unit, 200...auxiliary storage device, 300...local area network (LAN)
, 1...CPU, 2...Memory, 3...Communication interface (LAN iF), 4...Console section, AB...Address bus, DB...Data bus.
Claims (1)
に基づき前記記憶手段のフォント情報を検索し、該検索
したフォント情報を前記データ通信手段を介して前記他
の装置に送るフォントサービス手段を備えることを特徴
とするフォントサーバ。[Scope of Claims] Storage means for storing font information; data communication means for performing data communication with another device; and said storage means based on information received from the other device via said data communication means. A font server characterized in that the font server comprises font service means for searching for font information and sending the searched font information to the other device via the data communication means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1341986A JPH03203781A (en) | 1989-12-29 | 1989-12-29 | font server |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1341986A JPH03203781A (en) | 1989-12-29 | 1989-12-29 | font server |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03203781A true JPH03203781A (en) | 1991-09-05 |
Family
ID=18350296
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1341986A Pending JPH03203781A (en) | 1989-12-29 | 1989-12-29 | font server |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03203781A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| AU719368B2 (en) * | 1998-03-31 | 2000-05-11 | Fuji Photo Film Co., Ltd. | Font sharing system and method, and recording medium storing program for executing font sharing method |
-
1989
- 1989-12-29 JP JP1341986A patent/JPH03203781A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| AU719368B2 (en) * | 1998-03-31 | 2000-05-11 | Fuji Photo Film Co., Ltd. | Font sharing system and method, and recording medium storing program for executing font sharing method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4497432B2 (en) | How to draw glyphs using layout service library | |
| US5448375A (en) | Method and system for labeling a document for storage, manipulation, and retrieval | |
| US6714199B1 (en) | Method and apparatus for typographic glyph construction including a glyph server | |
| JP3168580B2 (en) | Page description language interpreter | |
| US5682158A (en) | Code converter with truncation processing | |
| US5784071A (en) | Context-based code convertor | |
| US8643652B2 (en) | Dynamic augmentation of extensible font subsets | |
| US6525743B1 (en) | Method and apparatus for creating and performing graphics operation on device-independent bitmaps | |
| JPWO1991015831A1 (en) | Page Description Language Interpreter | |
| JP2002507301A (en) | Paragraph layout method using layout service library | |
| GB2299250A (en) | Image data transfer | |
| US6678688B1 (en) | Method and apparatus for composite font generation | |
| US6356268B1 (en) | Method and system for providing multiple glyphs at a time from a font scaler sub-system | |
| US5832531A (en) | Method and apparatus for identifying words described in a page description language file | |
| JPH03203781A (en) | font server | |
| JPH09207395A (en) | Print control device and data management method | |
| CA1172371A (en) | System for converting data processing information to text processing format and vice versa | |
| JP2995942B2 (en) | Document printing system and method | |
| JP2001255867A (en) | Character string drawing apparatus and character string drawing method capable of drawing character string using font data having arbitrary data structure | |
| JP3927691B2 (en) | Image forming system, information processing apparatus, transmission method, and recording medium | |
| JP2875898B2 (en) | Character drawing method | |
| JPH05143044A (en) | Font generator | |
| JPH0916355A (en) | Information processing apparatus and storage medium for storing font download management program | |
| JPH01229666A (en) | Printer | |
| CN121807244A (en) | Printing control method and electronic equipment |