JP2014085746A - Font distribution system and font distribution method - Google Patents

Font distribution system and font distribution method Download PDF

Info

Publication number
JP2014085746A
JP2014085746A JP2012232608A JP2012232608A JP2014085746A JP 2014085746 A JP2014085746 A JP 2014085746A JP 2012232608 A JP2012232608 A JP 2012232608A JP 2012232608 A JP2012232608 A JP 2012232608A JP 2014085746 A JP2014085746 A JP 2014085746A
Authority
JP
Japan
Prior art keywords
font
document
character
distribution
combination
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
JP2012232608A
Other languages
Japanese (ja)
Inventor
Fujio Ikemoto
富士男 池本
Takashi Komuro
貴史 小室
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.)
MORISAWA KK
Original Assignee
MORISAWA KK
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 MORISAWA KK filed Critical MORISAWA KK
Priority to JP2012232608A priority Critical patent/JP2014085746A/en
Priority to PCT/JP2013/078430 priority patent/WO2014065227A1/en
Priority to TW102138093A priority patent/TW201416884A/en
Publication of JP2014085746A publication Critical patent/JP2014085746A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/126Character encoding
    • G06F40/129Handling non-Latin characters, e.g. kana-to-kanji conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/109Font handling; Temporal or kinetic typography

Abstract

PROBLEM TO BE SOLVED: To provide a font distribution system 1 and a font distribution method capable of improving the convenience of a character composition in an HTML file without compressing a limited storage resource.SOLUTION: There is provided a font distribution system 1 including: a Web server 30 for distributing an HTML document 34 created by a document creation device 10; a font distribution server 20 for distributing a font; and a document browsing device 40 for browsing an HTML document 34 and a font distribution method. An input part 11 of the document creation device 10 for registering predetermined information in an HTML file is configured to register a request instruction sentence constituted of a style code 34a and a script code 34b in the HTML file, and a distribution control part 24 is configured to, each time accepting a request for the distribution of the font from the document browsing device 40, extract and distribute the font corresponding to the style code 34a.

Description

この発明は、例えばHTMLファイルにスタイル言語タグで指定された書体名に対応するフォントをフォント配信サーバーから配信するようなフォント配信システム、及びフォント配信方法に関する。   The present invention relates to a font distribution system and a font distribution method for distributing, for example, a font corresponding to a typeface name specified by a style language tag in an HTML file from a font distribution server.

DTPで商品カタログや宣伝広告などを組版する際、作成者は、写真やイラストだけでなく、文字の書体、色、大きさ、あるいは配置などに様々な工夫を凝らしてデザイン性を高めている。
その工夫の1つとして、漢字などの和文文字とラテン文字のような欧文文字とを、それぞれ異なる書体で組版することがある。
When formatting product catalogs and advertisements using DTP, creators are improving not only photographs and illustrations but also various fonts, colors, sizes, and arrangements to improve design.
One of the ideas is to typeset Japanese characters such as Kanji and European characters such as Latin characters in different typefaces.

ところが、和文文字と欧文文字とではベースラインの違いなどから、同じ文字サイズで異なる書体の場合、見かけ上の文字の大きさが異なる、あるいは位置のズレなどが生じて、デザイン性を損なうという問題があった。   However, due to differences in the baseline between Japanese characters and European characters, there is a problem in that the design of the font is impaired due to differences in the size of the characters or misalignment in the case of different typefaces with the same character size. was there.

そこで、和文文字と欧文文字とが混在する場合、和文文字、及び欧文文字ごとに書体、文字サイズ、あるいはベースラインなどを任意に変更して、一つのフォントを示す合成フォントデータを保存することができる合成フォント編集装置が提案されている(特許文献1参照)。   Therefore, when Japanese characters and European characters are mixed, it is possible to arbitrarily change the font, character size, baseline, etc. for each Japanese character and European character, and save composite font data indicating one font. A composite font editing device that can be used has been proposed (see Patent Document 1).

ところで、昨今、インターネットの普及に伴い、和文文字と欧文文字とが混在するウェブサイトにおいても、和文文字と欧文文字とで異なる書体を指定した文字組版によってデザイン性の向上を図ることがある。この際、和文文字と欧文文字とを異なる書体にすることで生じる上述したような問題を解決するために、様々な方法が提案されている。   By the way, recently, with the spread of the Internet, even in a website where Japanese characters and European characters are mixed, designability may be improved by character composition designating different typefaces for Japanese characters and European characters. At this time, various methods have been proposed in order to solve the above-mentioned problems caused by making Japanese characters and European characters different fonts.

例えば、ウェブサイトを構成するHTMLファイルにおける和文文字、及び欧文文字に対して、書体などを指定するスタイル言語タグを付与することで、和文文字、及び欧文文字ごとに異なる書体で表示可能にして、デザイン性の向上を図る方法がある。   For example, by adding a style language tag that specifies a typeface to Japanese characters and European characters in an HTML file that constitutes a website, it is possible to display in different typefaces for each Japanese character and European character, There is a way to improve design.

しかしながら、和文文字、及び欧文文字ごとにスタイル言語タグを付与する場合、単語単位、あるいは一文字単位でのスタイル言語タグの付与が必要であり、HTMLファイルの作成に非常に手間がかかるという問題がある。   However, when a style language tag is assigned to each Japanese character and each European character, it is necessary to attach a style language tag in units of words or in units of characters, and there is a problem that it takes much time to create an HTML file. .

また、別の方法として、特許文献1の合成フォント編集装置で作成したような合成フォントデータを表示に用いる書体としてスタイル言語タグで予めHTMLファイルに記述するとともに、合成フォントデータをサーバーに予め記憶する。そして、HTMLファイルを閲覧するたびに合成フォントデータをサーバーから閲覧者のコンピュータに配信する方法がある。   As another method, the synthesized font data created by the synthesized font editing apparatus of Patent Document 1 is described in the HTML file in advance as a style font used for display in the style language tag, and the synthesized font data is stored in the server in advance. . Then, there is a method of delivering the composite font data from the server to the viewer's computer every time the HTML file is browsed.

しかしながら、合成フォントデータは、そのサイズが大きくなりやすく、かつウェブサイトごとに異なる構成となる。このため、ウェブサイトごとに異なる合成フォントデータによって、サーバーの限られた記憶容量が圧迫されやすいという問題がある。   However, the size of the composite font data is likely to increase, and has a different configuration for each website. For this reason, there is a problem in that the limited storage capacity of the server is easily pressed by the synthetic font data that is different for each website.

特開2002−169798号公報JP 2002-169798 A

この発明は、上述の問題に鑑み、限られた記憶資源を圧迫することなく、和文文字・欧文文字混在のマークアップ文書における文字組版の利便性を向上することができるフォント配信システム、及びフォント配信方法を提供することを目的とする。   In view of the above-described problems, the present invention provides a font distribution system and font distribution that can improve the convenience of character composition in markup documents containing both Japanese characters and European characters without squeezing limited storage resources. It aims to provide a method.

この発明は、マークアップ言語を用いてマークアップ文書を作成する文書作成装置で作成された前記マークアップ文書を記憶する文書記憶手段、及び通信回線を介して前記マークアップ文書を配信する文書配信手段を備えたウェブサーバーと、複数のフォントを記憶するフォント記憶手段、及び前記通信回線を介して前記フォントを配信するフォント配信手段を備えたフォント配信サーバーと、閲覧者による入力操作を許容する入力手段、前記マークアップ文書を表示する表示手段、前記マークアップ文書の配信を前記ウェブサーバーに要求する文書要求手段、取得した前記マークアップ文書に基づいて前記フォントの配信を前記フォント配信サーバーに要求するフォント要求手段、及び取得した前記フォントに基づいて前記マークアップ文書を前記表示手段で閲覧可能にする閲覧制御手段を備えた文書閲覧装置とで構成したフォント配信システム、及びフォント配信方法であって、前記文書作成装置に、作成者の入力操作を許容して、所定の情報を前記マークアップ文書に登録する作成登録手段と、前記通信回線を介して作成した前記マークアップ文書を前記ウェブサーバーの前記文書記憶手段に記憶させる文書登録手段とを備え、前記文書作成装置の前記作成登録手段を、少なくとも前記マークアップ文書における文字の文字種と、該文字種の書体を示す文字種別書体名とを関連付けるとともに、前記文字種同士を関連付けて組み合わせた組合せフォント情報を示す組合せ指定文字列、及び前記組合せフォント情報に対応する前記フォントの配信の要求を示す要求文字列からなる要求命令文を前記マークアップ文書に登録する構成とし、前記文書閲覧装置の前記フォント要求手段を、前記マークアップ文書を取得する度に、前記要求命令文に基づいて、少なくとも前記組合せフォント情報に対応する前記フォントの配信を前記フォント配信サーバーに要求する構成とし、前記フォント配信サーバーの前記フォント配信手段を、前記文書閲覧装置から前記フォントの配信の要求を受け付ける度に、前記フォント記憶手段から少なくとも前記組合せフォント情報に対応する前記フォントを前記文字種ごとに抽出して、前記文書閲覧装置に配信する構成としたことを特徴とする。   The present invention provides document storage means for storing the markup document created by a document creation apparatus that creates a markup document using a markup language, and document distribution means for delivering the markup document via a communication line. A font storage server including a font storage unit that stores a plurality of fonts, a font distribution unit that distributes the font via the communication line, and an input unit that allows an input operation by a viewer Display means for displaying the markup document, document request means for requesting the web server to distribute the markup document, and a font for requesting the font distribution server to distribute the font based on the acquired markup document Request means, and the markup sentence based on the acquired font A font distribution system and a font distribution method configured with a document browsing device provided with a browsing control unit that enables browsing on the display unit, and allowing the creator to input the document creation device, A document registration unit for registering predetermined information in the markup document; and a document registration unit for storing the markup document created through the communication line in the document storage unit of the web server. The creation registration means of the apparatus associates at least a character type of the character in the markup document with a character typeface name indicating the typeface of the character type, and a combination designation character indicating combination font information in which the character types are associated with each other And a request character string indicating a request for distribution of the font corresponding to the combination font information. A request command statement is registered in the markup document, and the font requesting unit of the document browsing apparatus corresponds to at least the combination font information based on the request command statement each time the markup document is acquired. The font distribution server is configured to request the font distribution server to distribute the font, and the font distribution unit of the font distribution server receives at least the font storage unit from the font browsing unit every time a request for font distribution is received from the document browsing device. The font corresponding to combination font information is extracted for each character type and distributed to the document browsing apparatus.

上記マークアップ言語は、HTML言語、XHTML言語、あるいはスタイル言語などとすることができる。
上記文字は、マークアップ文書における本文やタイトルを示す文字などとすることができる。
上記フォントは、明朝体やゴシック体などの書体で形成された文字書体とすることができる。
上記文字種は、仮名、漢字、英字、数字、あるいは和文文字と欧文文字などとすることができる。
The markup language can be an HTML language, an XHTML language, a style language, or the like.
The character may be a character indicating a text or a title in a markup document.
The font may be a character typeface formed with a typeface such as Mincho or Gothic.
The character types may be kana, kanji, English, numbers, Japanese characters, and European characters.

上記組合せ指定文字列は、スタイル言語やスクリプト言語などで記述され、マークアップ文書を表示する際の文字の書体を指定する文字列などとすることができる。
上記要求文字列は、スクリプト言語などで記述された文字列とすることができる。
The combination designation character string is described in a style language, a script language, or the like, and can be a character string that designates a typeface of characters when displaying a markup document.
The request character string can be a character string described in a script language or the like.

この発明により、限られた記憶資源を圧迫することなく、和文文字・欧文文字混在のマークアップ文書における文字組版の利便性を向上することができる。
具体的には、文書閲覧装置がマークアップ文書を取得する度に、組合せフォント情報に対応するフォントを文書閲覧装置に配信するフォント配信サーバーのフォント配信手段により、フォント配信システム、及びフォント配信方法は、組合せフォント情報に基づいて構成された配信用の新しいフォントを別途用意し、フォント配信サーバーのフォント記憶手段に予め記憶することを不要にして、マークアップ文書の表示に必要なフォントを文書閲覧装置に配信することができる。
According to the present invention, it is possible to improve the convenience of character composition in a markup document containing both Japanese characters and European characters without squeezing limited storage resources.
Specifically, every time the document browsing device acquires a markup document, the font distribution system and the font distribution method of the font distribution server that distributes the font corresponding to the combination font information to the document browsing device are: Document browsing apparatus for preparing a new font for distribution configured based on combination font information, eliminating the need to store in advance in the font storage means of the font distribution server, and displaying the font necessary for displaying the markup document Can be delivered to.

これにより、フォント配信サーバーに組合せフォント情報に対応する新しいフォントを予め記憶する場合、新しいフォントによってフォント配信サーバーの記憶容量が圧迫されるのに対して、フォント配信システム、及びフォント配信方法は、組合せフォント情報に対応する新しいフォントを記憶しないため、フォント配信サーバーにおけるフォント記憶手段の限られた記憶容量を圧迫することなく、有効に活用することができる。   Thus, when a new font corresponding to the combination font information is stored in advance in the font distribution server, the storage capacity of the font distribution server is compressed by the new font, whereas the font distribution system and the font distribution method are combined. Since a new font corresponding to the font information is not stored, it can be effectively used without squeezing the limited storage capacity of the font storage means in the font distribution server.

そして、文書閲覧装置は、取得したフォントによって、マークアップ文書の文字を、作成者が意図した書体で表示手段に表示することができる。すなわち、作成者は、マークアップ文書に要求命令文を記述するだけで、文字を所望する書体で表示できるマークアップ文書を作成することができる。このため、フォント配信システム、及びフォント配信方法は、例えば、作成者がマークアップ文書の文字、あるいは単語に対して文字種ごとにスタイル言語タグを一つ一つ付与するような手間を不要にすることができる。   Then, the document browsing apparatus can display the characters of the markup document on the display unit in the typeface intended by the creator using the acquired font. That is, the creator can create a markup document in which characters can be displayed in a desired font simply by describing a request command statement in the markup document. For this reason, the font distribution system and the font distribution method eliminate the need for the creator to add a style language tag for each character type to the characters or words of the markup document, for example. Can do.

従って、フォント配信システム、及びフォント配信方法は、限られた記憶資源を圧迫することなく、和文文字・欧文文字混在のマークアップ文書における文字組版の利便性を向上することができる。   Therefore, the font distribution system and the font distribution method can improve the convenience of character composition in a markup document containing both Japanese characters and European characters without squeezing limited storage resources.

この発明の態様として、前記文書閲覧装置の前記フォント要求手段を、前記マークアップ文書から前記文字を示す文字情報を抽出する文字情報抽出処理と、前記文字情報、及び前記組合せフォント情報を前記フォント配信サーバーに送信する文字送信処理とを実行する構成とし、前記フォント配信サーバーの前記フォント配信手段を、取得した前記文字情報、及び前記組合せフォント情報に対応する前記フォントを前記フォント記憶手段から抽出するフォント抽出処理と、前記抽出したフォントを列挙格納したサブセットデータを生成するサブセット生成処理と、前記サブセットデータを前記文書閲覧装置に前記通信回線を介して配信するサブセットデータ配信処理とを実行する構成とすることができる。   As an aspect of the present invention, the font requesting unit of the document browsing apparatus performs a character information extraction process for extracting character information indicating the character from the markup document, the character information, and the combination font information as the font distribution. A font that extracts the font corresponding to the acquired character information and the combined font information from the font storage means, and configured to execute a character transmission process to be transmitted to the server. An extraction process, a subset generation process that generates subset data that lists and stores the extracted fonts, and a subset data distribution process that distributes the subset data to the document browsing apparatus via the communication line be able to.

この発明により、フォント配信システムは、マークアップ文書の文字に対応するフォントだけをサブセットデータとして、フォント配信サーバーから文書閲覧装置に配信することができる。   According to the present invention, the font distribution system can distribute only fonts corresponding to the characters of the markup document from the font distribution server to the document browsing apparatus as subset data.

これにより、フォント配信システムは、フォント配信サーバーから文書閲覧装置に送信するデータサイズを大幅に抑えることができる。このため、フォント配信システムは、文書閲覧装置がマークアップ文書を取得してからマークアップ文書を表示するまでに要する時間を短縮することができる。   Thereby, the font distribution system can largely suppress the data size transmitted from the font distribution server to the document browsing apparatus. For this reason, the font distribution system can reduce the time required from when the document browsing apparatus acquires the markup document until the markup document is displayed.

さらに、フォント配信サーバーから文書閲覧装置にフォントを配信する際、フォント配信システムは、通信回線のトラフィックの増加を抑制することができる。加えて、フォント配信システムは、取得したフォントが文書閲覧装置の記憶容量を圧迫することを抑制できる。   Furthermore, when distributing fonts from the font distribution server to the document browsing device, the font distribution system can suppress an increase in traffic on the communication line. In addition, the font distribution system can suppress the acquired font from pressing the storage capacity of the document browsing device.

さらにまた、例えば、マークアップ文書の表示に必要な配信用のフォントのサブセットデータを作成者が予めフォント配信サーバーに記憶した場合、マークアップ文書の内容を更新するたびに、作成者は、サブセットデータも更新する必要がある。これに対して、フォント配信システムは、フォント配信サーバーにおいて、マークアップ文書の文字情報からその都度サブセットデータを生成して配信するため、作成者がマークアップ文書の内容の更新に伴いサブセットデータも更新することを不要にできる。   Furthermore, for example, if the creator previously stores subset data of a font for distribution necessary for displaying the markup document in the font distribution server, each time the content of the markup document is updated, the creator Also need to be updated. On the other hand, since the font distribution system generates and distributes subset data from the character information of the markup document at the font distribution server each time, the creator updates the subset data as the content of the markup document is updated. You can make it unnecessary.

このため、例えば、ブログサービスのように頻繁に内容が更新されるサービスにおいて、ブログサービスの利用者がブログの更新を行う際、フォント配信システムは、サブセットデータの生成や登録などの操作を利用者に要求することを不要にできる。これにより、ブログサービスの利用者は、フォント配信サーバーから配信されるサブセットデータの内容を意識することなく、ブログの更新を行うことができる。   For this reason, for example, when a blog service user updates a blog in a service that is frequently updated, such as a blog service, the font distribution system performs operations such as generation and registration of subset data. It can be made unnecessary to request. Thereby, the user of the blog service can update the blog without being aware of the contents of the subset data distributed from the font distribution server.

従って、フォント配信システムは、文書閲覧装置での表示に必要なフォントだけを配信することで、文書閲覧装置の限られた記憶資源が圧迫されることを防止するとともに、利用者の利便性を向上することができる。   Therefore, the font distribution system distributes only the fonts necessary for display on the document browsing device, thereby preventing the limited storage resources of the document browsing device from being compressed and improving the convenience for the user. can do.

また、この発明の態様として、前記組合せフォント情報を、前記フォント配信サーバーにおける前記フォントの所定の属性、及び該所定の属性を示す文字属性値と、前記文字種とを関連付けた構成とし、前記フォント配信サーバーに、前記フォント記憶手段から抽出した前記フォントを、前記組合せフォント情報における前記所定の属性、及び前記文字属性値に基づいて加工するフォント加工手段を備え、前記フォント配信サーバーの前記フォント配信手段を、前記フォント加工手段で加工した前記フォントを前記文書閲覧装置に配信する構成とすることができる。   As an aspect of the present invention, the combination font information has a configuration in which a predetermined attribute of the font in the font distribution server, a character attribute value indicating the predetermined attribute, and the character type are associated with each other, and the font distribution The server comprises font processing means for processing the font extracted from the font storage means based on the predetermined attribute in the combination font information and the character attribute value, and the font distribution means of the font distribution server The font processed by the font processing means may be distributed to the document browsing apparatus.

上記所定の属性は、ベースライン、拡大縮小率、あるいは回転角度などとすることができる。
上記文字属性値は、絶対値、もしくは相対値とすることができる。
The predetermined attribute may be a baseline, an enlargement / reduction ratio, a rotation angle, or the like.
The character attribute value can be an absolute value or a relative value.

この発明により、和文文字・欧文文字混在のマークアップ文書におけるデザイン性と利便性とを向上することができる。
具体的には、フォント配信システムは、所定の属性、文字属性値、及びフォント加工手段により、文字種ごとに書体を異ならせるだけでなく、ベースラインや大きさなどを任意に変更することができる。これにより、和文文字と欧文文字とが混在するマークアップ文書において、和文文字と欧文文字とのベースラインの違いなどによる位置のズレなどの問題を解消して、マークアップ文書のデザイン性を向上することができる。
According to the present invention, it is possible to improve design and convenience in a markup document including both Japanese characters and European characters.
Specifically, the font distribution system can change not only the typeface for each character type but also the baseline, size, etc., by a predetermined attribute, character attribute value, and font processing means. This improves the design of markup documents by eliminating problems such as misalignment due to differences in the baseline between Japanese characters and European characters in markup documents that contain both Japanese and European characters. be able to.

さらに、フォント配信サーバーのフォント加工手段により、フォント配信システムは、文字種ごとの書体や文字属性値を変更しても、これらを反映したフォントをフォント配信サーバーにおいて容易に生成することができる。このため、フォント配信システムは、文書作成装置において、文字属性値を反映したフォントを生成する手間を省くことができる。   Furthermore, the font distribution system of the font distribution server allows the font distribution system to easily generate a font reflecting these in the font distribution server even if the typeface or character attribute value for each character type is changed. For this reason, the font distribution system can save the trouble of generating the font reflecting the character attribute value in the document creation apparatus.

さらにまた、フォント配信サーバーからフォントを配信する際に、フォントの加工を行うため、文書作成装置を操作する作成者は、組合せフォント情報を書き換えるだけで、フォントの加工を容易に行うことができる。
従って、フォント配信システムは、和文文字・欧文文字混在のマークアップ文書におけるデザイン性と利便性とを向上することができる。
Furthermore, since the font is processed when the font is distributed from the font distribution server, the creator who operates the document creation apparatus can easily process the font only by rewriting the combination font information.
Therefore, the font distribution system can improve the design and convenience in a markup document containing both Japanese characters and European characters.

また、この発明の態様として、前記所定の属性を、前記フォント配信サーバーにおける前記フォントのベースラインとすることができる。
この発明により、和文文字と欧文文字とのベースラインの違いによる見栄えの悪さを解消することができ、マークアップ文書におけるデザイン性を向上することができる。
As an aspect of the present invention, the predetermined attribute can be a baseline of the font in the font distribution server.
According to the present invention, it is possible to eliminate the poor appearance due to the difference in the baseline between Japanese characters and European characters, and to improve the design in the markup document.

また、この発明の態様として、前記所定の属性を、前記フォント配信サーバーにおける前記フォントの大きさとすることができる。
この発明により、和文文字と欧文文字との見かけ上の大きさの違いを解消することができ、マークアップ文書におけるデザイン性を向上することができる。
As an aspect of the present invention, the predetermined attribute can be the size of the font in the font distribution server.
According to the present invention, the difference in the apparent size between Japanese characters and European characters can be eliminated, and the design in the markup document can be improved.

また、この発明の態様として、前記文書作成装置に、前記フォント配信サーバーの前記フォント記憶手段に記憶された前記フォントに基づいて、前記組合せフォント情報を指定する指定手段と、該指定手段で指定した前記組合せフォント情報を前記フォント配信サーバーに前記通信回線を介して送信する送信手段とを備え、前記フォント配信サーバーに、前記組合せフォント情報を示す組合せフォント名と前記組合せフォント情報とを関連付けて登録したフォントテーブルを記憶するテーブル記憶手段と、少なくとも前記要求文字列を生成して、前記文書作成装置に送信する命令送信手段とを備え、前記フォント配信サーバーの前記フォント配信手段を、前記組合せフォント名に対応する前記フォントテーブルに基づいて、前記フォント記憶手段の前記フォントを前記文書閲覧装置に配信する構成とすることができる。   Further, as an aspect of the present invention, the document creating apparatus designates the combination font information based on the font stored in the font storage unit of the font distribution server, and designates the combination using the designation unit. Transmission means for transmitting the combination font information to the font distribution server via the communication line, and the combination font name indicating the combination font information and the combination font information are registered in the font distribution server in association with each other. A table storage unit that stores a font table; and an instruction transmission unit that generates at least the request character string and transmits the request character string to the document creation device, and the font distribution unit of the font distribution server is set to the combination font name. Based on the corresponding font table, the font storage It may be configured to distribute the font of stages in the document browsing apparatus.

この発明により、文書作成装置を使用する利用者は、指定手段によって文字種ごとに所望する文字種別書体名を容易に指定できるとともに、送信手段を介してフォント配信サーバーのフォントテーブルに組合せフォント情報を登録するだけで、マークアップ文書の文字の表示に必要な要求文字列をフォント配信サーバーから容易に取得することができる。   According to the present invention, the user who uses the document creation device can easily specify the desired character typeface name for each character type by the specifying means, and register the combination font information in the font table of the font distribution server via the transmitting means. By simply doing, it is possible to easily obtain a request character string necessary for displaying characters of the markup document from the font distribution server.

すなわち、フォント配信システムは、オンラインによるDTPを実現するとともに、マークアップ文書における文字組版の自由度を向上して作成者に対する利便性を向上することができる。   That is, the font distribution system can realize online DTP and improve the degree of freedom of character composition in the markup document to improve the convenience for the creator.

このため、フォント配信システムは、作成者がマークアップ文書ごとに異なる要求文字列を、その都度作成する手間を省くことができる。さらに、フォント配信サーバーから要求文字列を取得することで、作成者が誤った要求文字列からなる要求命令文をマークアップ文書に登録することを防止できる。これにより、フォント配信システムは、作成者に対する利便性を向上するとともに、文書閲覧装置で表示に必要なフォントを確実に配信することができる。   For this reason, the font distribution system can save the time and effort for the creator to create a different required character string for each markup document. Furthermore, by acquiring the request character string from the font distribution server, it is possible to prevent the creator from registering a request command statement including an incorrect request character string in the markup document. As a result, the font distribution system can improve the convenience for the creator and can reliably distribute the fonts necessary for display by the document browsing apparatus.

一方、フォント配信サーバーは、文書閲覧装置に配信するフォントの組合せをフォントテーブルとして予め記憶することができる。この際、フォント配信サーバーは、マークアップ文書ごとに異なるフォントテーブルを複数記憶したとしても、フォントテーブルのデータサイズが小さいため、テーブル記憶手段の記憶容量がフォントテーブルで圧迫されることを抑制できる。   On the other hand, the font distribution server can previously store a combination of fonts to be distributed to the document browsing apparatus as a font table. At this time, even if the font distribution server stores a plurality of different font tables for each markup document, since the data size of the font table is small, the storage capacity of the table storage unit can be suppressed from being compressed by the font table.

従って、フォント配信システムは、組合せフォント情報の指定を容易にして、和文文字・欧文文字混在のマークアップ文書における文字組版の利便性をより向上することができる。   Therefore, the font distribution system can easily specify combination font information, and can further improve the convenience of character composition in a markup document containing both Japanese characters and European characters.

また、この発明の態様として、前記文書作成装置の指定手段を、前記組合せフォント情報に対して任意の前記組合せフォント名を入力許容する構成とすることができる。
この発明により、作成者は、組合せフォント情報における文字種別書体名の組合せを容易に把握できる組合せフォント名を任意に決定することができる。
As an aspect of the present invention, the designation unit of the document creation apparatus may be configured to permit input of any combination font name for the combination font information.
According to the present invention, the creator can arbitrarily determine a combination font name with which the combination of character type face names in the combination font information can be easily grasped.

具体的には、例えば、フォント配信サーバーで組合せフォント名をランダムに決定した場合、作成者は、フォント配信サーバーに記憶したフォントテーブルの内容を組合せフォント名から推測することができない。これに対して、フォント配信システムは、任意の組合せフォント名を入力許容することで、作成者がフォントテーブルの内容を組合せフォント名から容易に把握することができる。
従って、フォント配信システムは、作成者に組合せフォント名を任意に決定させることで、マークアップ文書を作成する際の利便性を向上することができる。
Specifically, for example, when the combination font name is randomly determined by the font distribution server, the creator cannot infer the contents of the font table stored in the font distribution server from the combination font name. On the other hand, the font distribution system allows the creator to easily grasp the contents of the font table from the combination font name by allowing input of any combination font name.
Therefore, the font distribution system can improve the convenience when creating a markup document by allowing the creator to arbitrarily determine a combination font name.

この発明により、限られた記憶資源を圧迫することなく、和文文字・欧文文字混在のマークアップ文書における文字組版の利便性を向上できるフォント配信システム、及びフォント配信方法を提供することができる。   According to the present invention, it is possible to provide a font distribution system and a font distribution method that can improve the convenience of character composition in a markup document containing both Japanese characters and European characters without squeezing limited storage resources.

フォント配信システムの構成を示す構成図。The block diagram which shows the structure of a font delivery system. フォント配信システムの内部構成を示すブロック図。The block diagram which shows the internal structure of a font delivery system. フォントテーブルの構成を示すテーブル構成図。The table block diagram which shows the structure of a font table. フォント配信システムにおける各種情報の受け渡しの流れを示すシーケンス図。The sequence diagram which shows the flow of delivery of various information in a font delivery system. 文書作成装置における組合せフォント指定処理の動作を示すフローチャート。10 is a flowchart showing an operation of combination font designation processing in the document creation apparatus. フォント配信サーバーにおける組合せフォント登録処理の動作を示すフローチャート。The flowchart which shows the operation | movement of the combination font registration process in a font delivery server. 文字種ごとの書体名、ベースライン補正率、及び拡大縮小率の入力を促す画面を示す設定入力画面。A setting input screen showing a screen for prompting input of a typeface name, a baseline correction rate, and an enlargement / reduction rate for each character type. スクリプトコードを表示した画面を示すコード表示画面。A code display screen showing the screen displaying the script code. HTMLファイルのスタイルコード、及びスクリプトコードを説明する説明図。Explanatory drawing explaining the style code and script code of an HTML file. 文書閲覧装置における閲覧処理の動作を示すフローチャート。The flowchart which shows the operation | movement of the browsing process in a document browsing apparatus. フォント配信サーバーにおけるウェブフォント配信処理の動作を示すフローチャート。The flowchart which shows the operation | movement of the web font delivery process in a font delivery server. HTML文書を表示した画面を示す文書表示画面。A document display screen showing a screen on which an HTML document is displayed.

この発明の一実施形態を以下図面と共に説明する。
まず、本実施例におけるフォント配信システム1について図1から図3を用いて詳しく説明する。
なお、図1はフォント配信システム1の構成図を示し、図2はフォント配信システム1の内部構成のブロック図を示し、図3はフォントテーブル25のテーブル構成図を示している。
An embodiment of the present invention will be described below with reference to the drawings.
First, the font distribution system 1 in the present embodiment will be described in detail with reference to FIGS.
1 shows a configuration diagram of the font distribution system 1, FIG. 2 shows a block diagram of an internal configuration of the font distribution system 1, and FIG. 3 shows a table configuration diagram of the font table 25.

フォント配信システム1は、図1に示すように、後述するHTML文書34の作成に用いる文書作成装置10、HTML文書34の表示に必要なフォントの記憶と配信に用いるフォント配信サーバー20、HTML文書34の記憶と配信に用いるウェブサーバー30、及びHTML文書34の閲覧に用いる文書閲覧装置40で構成され、それぞれ通信回線2を介して相互に通信可能に接続している。
通信回線2は、LAN回線、専用回線、インターネット回線などで構成している。
As shown in FIG. 1, the font distribution system 1 includes a document creation apparatus 10 used for creating an HTML document 34, which will be described later, a font delivery server 20 used for storing and delivering fonts necessary for displaying the HTML document 34, and an HTML document 34. And a document browsing device 40 used for browsing the HTML document 34, which are connected to each other via the communication line 2.
The communication line 2 includes a LAN line, a dedicated line, an internet line, and the like.

文書作成装置10は、図2に示すように、入力部11、表示部12、記憶部13、回線接続部14、及び作成制御部15で構成している。
入力部11は、キーボード11aやマウス11bで構成し、利用者による入力操作を受け付ける機能を有している。
表示部12は、CRTあるいは液晶ディスプレイなどで構成し、各種情報を表示する機能を有している。
As shown in FIG. 2, the document creation apparatus 10 includes an input unit 11, a display unit 12, a storage unit 13, a line connection unit 14, and a creation control unit 15.
The input unit 11 includes a keyboard 11a and a mouse 11b, and has a function of accepting an input operation by a user.
The display unit 12 is composed of a CRT or a liquid crystal display and has a function of displaying various information.

記憶部13は、ハードディスクあるいは不揮発性メモリなどで構成し、各種情報を書き込んで記憶する機能と、各種情報を読み出す機能とを有している。
回線接続部14は、有線LANカードあるいは無線LAN子機などで構成し、通信回線2に接続する機能と、通信回線2を介してフォント配信サーバー20、及びウェブサーバー30と各種情報の送受信を行う機能とを有している。
The storage unit 13 includes a hard disk or a nonvolatile memory, and has a function of writing and storing various information and a function of reading various information.
The line connection unit 14 is composed of a wired LAN card or a wireless LAN slave unit, etc., and transmits / receives various functions to / from the font distribution server 20 and the web server 30 via the communication line 2. It has a function.

作成制御部15は、CPU及びメモリなどをハード構成と、プログラム及びデータなどのソフト構成とで構成し、利用者が文書作成装置10を操作してHTML文書34の作成を行う作成操作等の各種処理機能や、所定のバスを介して接続された各部の動作を制御する機能を有している。   The creation control unit 15 includes a CPU and a memory configured with a hardware configuration and a software configuration such as a program and data, and various operations such as a creation operation in which a user operates the document creation device 10 to create an HTML document 34. It has a processing function and a function of controlling the operation of each unit connected via a predetermined bus.

フォント配信サーバー20は、図2に示すように、テーブル記憶部21、フォント記憶部22、回線接続部23、及び配信制御部24で構成している。
テーブル記憶部21は、ハードディスクあるいは不揮発性メモリなどで構成し、各種情報を書き込んで記憶する機能と、各種情報を読み出す機能とを有している。なお、テーブル記憶部21には、利用者によって選択入力された文字種ごとの書体名などを登録したフォントテーブル25を記憶している。
As shown in FIG. 2, the font distribution server 20 includes a table storage unit 21, a font storage unit 22, a line connection unit 23, and a distribution control unit 24.
The table storage unit 21 is composed of a hard disk or a nonvolatile memory, and has a function of writing and storing various information and a function of reading various information. The table storage unit 21 stores a font table 25 in which typeface names and the like for each character type selected and input by the user are registered.

このフォントテーブル25は、図3に示すように、組合せ書体名欄25a、文字種欄25b、文字種別書体名欄25c、ベースライン補正率欄25d、及び拡大縮小率欄25eをそれぞれ関連付けて登録している。   In the font table 25, as shown in FIG. 3, a combination font name column 25a, a character type column 25b, a character type font name column 25c, a baseline correction rate column 25d, and an enlargement / reduction rate column 25e are registered in association with each other. Yes.

文字種欄25bは、複数の文字種が登録され、ここでは仮名、漢字、英字、及び数字が予め登録されている。
文字種別書体名欄25cは、文字種ごとに設定された書体名を登録している。
ベースライン補正率欄25dは、後述するフォント記憶部22に記憶されたフォントにおけるベースラインの位置に対して、文書閲覧装置40に配信されるフォントのベースラインの位置の相対的な移動量の比率を文字種ごとに登録している。
A plurality of character types are registered in the character type column 25b, and here, kana, kanji, English characters, and numbers are registered in advance.
The character typeface name column 25c registers the typeface name set for each character type.
The baseline correction factor column 25d is a ratio of the relative movement amount of the base line position of the font distributed to the document browsing device 40 with respect to the base line position in the font stored in the font storage unit 22 to be described later. Is registered for each character type.

拡大縮小率欄25eは、後述するフォント記憶部22に記憶されたフォントの大きさに対して、文書閲覧装置40に配信されるフォントの拡大縮小率を文字種ごとに登録している。
組合せ書体名欄25aは、文字種欄25b、文字種別書体名欄25c、ベースライン補正率欄25d、及び拡大縮小率欄25eの内容を組み合わせて構成された任意の書体を示す組合せ書体名を登録している。
The enlargement / reduction rate column 25e registers, for each character type, the enlargement / reduction rate of the font distributed to the document browsing device 40 with respect to the size of the font stored in the font storage unit 22 described later.
The combination font name column 25a registers a combination font name indicating an arbitrary font composed by combining the contents of the character type column 25b, the character type font name column 25c, the baseline correction factor column 25d, and the enlargement / reduction factor column 25e. ing.

フォント記憶部22は、ハードディスクあるいは不揮発性メモリなどで構成し、各種情報を書き込んで記憶する機能と各種情報を読み出す機能とを有している。このフォント記憶部22には、仮名文字用のフォント群である仮名書体ファイル26、漢字用のフォント群である漢字書体ファイル27、英字用のフォント群である英字書体ファイル28、及び数字用のフォント群である数字書体ファイル29を記憶している。なお、フォントは、所定の大きさのアウトライン形式で形成されるとともに、明朝体やゴシック体などの書体で形成された文字書体である。   The font storage unit 22 is composed of a hard disk or a nonvolatile memory, and has a function of writing and storing various information and a function of reading various information. The font storage unit 22 includes a kana typeface file 26 that is a font group for kana characters, a kanji typeface file 27 that is a font group for kanji, an alphabetic typeface file 28 that is a font group for alphabetic characters, and a font for numbers. A number typeface file 29 which is a group is stored. Note that the font is a character font that is formed in an outline format of a predetermined size and is formed in a font such as a Mincho or Gothic font.

回線接続部23は、有線LANカードあるいは無線LAN子機などで構成し、通信回線2に接続する機能と、通信回線2を介して文書作成装置10、及び文書閲覧装置40と各種情報の送受信を行う機能とを有している。
配信制御部24は、CPU及びメモリなどをハード構成と、プログラム及びデータなどのソフト構成とで構成し、文書作成装置10や文書閲覧装置40との各種情報の受け渡し等に係る各種処理機能や、所定のバスを介して接続された各部の動作を制御する機能を有している。
The line connection unit 23 is composed of a wired LAN card or a wireless LAN slave unit, etc., and transmits / receives various information to / from the document creation apparatus 10 and the document browsing apparatus 40 via the communication line 2. It has a function to perform.
The distribution control unit 24 is configured with a hardware configuration and a software configuration such as a program and data such as a CPU and a memory, and various processing functions related to the exchange of various information with the document creation device 10 and the document browsing device 40, It has a function of controlling the operation of each unit connected via a predetermined bus.

ウェブサーバー30は、図2に示すように、記憶部31、回線接続部32、及び制御部33で構成している。
記憶部31は、ハードディスクあるいは不揮発性メモリなどで構成し、各種情報を書き込んで記憶する機能と、各種情報を読み出す機能とを有している。この記憶部31には、文書作成装置10で作成され、後述する文書閲覧装置40のWEBブラウザ80(図12参照)で閲覧可能な複数のHTML文書34,35を記憶している。
As shown in FIG. 2, the web server 30 includes a storage unit 31, a line connection unit 32, and a control unit 33.
The storage unit 31 is configured by a hard disk or a nonvolatile memory, and has a function of writing and storing various information and a function of reading various information. The storage unit 31 stores a plurality of HTML documents 34 and 35 that are created by the document creation apparatus 10 and can be browsed by a WEB browser 80 (see FIG. 12) of the document browsing apparatus 40 described later.

HTML文書34,35は、HTML言語で記述されたHTMLファイル(図示省略)と、HTMLファイルに関連付けられたイメージファイル(図示省略)とで構成している。なお、HTMLファイルは、HTML言語のタグや本文の記述だけでなく、スタイルシート言語のタグや、JavaScript(登録商標)のタグなどで構成している。   The HTML documents 34 and 35 are composed of an HTML file (not shown) described in the HTML language and an image file (not shown) associated with the HTML file. Note that the HTML file includes not only HTML language tags and body descriptions, but also style sheet language tags, JavaScript (registered trademark) tags, and the like.

回線接続部32は、有線LANカードあるいは無線LAN子機などで構成し、通信回線2に接続する機能と、通信回線2を介して文書作成装置10、及び文書閲覧装置40と各種情報の送受信を行う機能とを有している。
制御部33は、CPU及びメモリなどをハード構成と、プログラム及びデータなどのソフト構成とで構成し、文書作成装置10や文書閲覧装置40との各種情報の受け渡し等に係る各種処理機能や、所定のバスを介して接続された各部の動作を制御する機能を有している。
The line connection unit 32 is configured by a wired LAN card or a wireless LAN slave unit, and transmits and receives various information to and from the document creation apparatus 10 and the document browsing apparatus 40 via the communication line 2. It has a function to perform.
The control unit 33 includes a CPU, a memory, and the like with a hardware configuration and a software configuration such as a program and data, and various processing functions related to the exchange of various information with the document creation device 10 and the document browsing device 40, and a predetermined It has a function of controlling the operation of each unit connected via the bus.

文書閲覧装置40は、図2に示すように、入力部41、表示部42、記憶部43、回線接続部44、及び閲覧制御部45で構成している。
入力部41は、キーボード41aやタッチパッド41bで構成し、利用者による入力操作を受け付ける機能を有している。
表示部42は、液晶ディスプレイで構成し、各種情報を表示する機能を有している。
As shown in FIG. 2, the document browsing device 40 includes an input unit 41, a display unit 42, a storage unit 43, a line connection unit 44, and a browsing control unit 45.
The input unit 41 includes a keyboard 41a and a touch pad 41b, and has a function of accepting an input operation by a user.
The display unit 42 includes a liquid crystal display and has a function of displaying various information.

記憶部43は、ハードディスクあるいは不揮発性メモリなどで構成し、各種情報を書き込んで記憶する機能と、各種情報を読み出す機能とを有している。
回線接続部44は、有線LANカードあるいは無線LAN子機などで構成し、通信回線2に接続する機能と、通信回線2を介してフォント配信サーバー20、及びウェブサーバー30と各種情報の送受信を行う機能とを有している。
The storage unit 43 is configured by a hard disk or a nonvolatile memory, and has a function of writing and storing various information and a function of reading various information.
The line connection unit 44 is composed of a wired LAN card or a wireless LAN slave unit, etc., and transmits / receives various functions to / from the font distribution server 20 and the web server 30 via the communication line 2. It has a function.

閲覧制御部45は、CPU及びメモリなどをハード構成と、プログラム及びデータなどのソフト構成とで構成し、利用者が文書閲覧装置40を操作してHTML文書34を閲覧する閲覧操作等の各種処理機能や、所定のバスを介して接続された各部の動作を制御する機能を有している。   The browsing control unit 45 includes a CPU and a memory with a hardware configuration and a software configuration such as a program and data, and various processes such as a browsing operation in which the user browses the HTML document 34 by operating the document browsing device 40. It has a function and a function of controlling the operation of each unit connected via a predetermined bus.

以上のような構成のフォント配信システム1において、作成者が文書作成装置10を操作して作成したHTML文書34をウェブサーバー30に登録するとともに、フォント配信サーバー20のテーブル記憶部21にフォントテーブル25を登録する際のフォント配信システム1の動作について図4から図9を用いて説明する。   In the font delivery system 1 configured as described above, the HTML document 34 created by the creator operating the document creation device 10 is registered in the web server 30 and the font table 25 is stored in the table storage unit 21 of the font delivery server 20. The operation of the font distribution system 1 when registering a message will be described with reference to FIGS.

なお、図4はフォント配信システム1における各種情報の受け渡しのシーケンス図を示し、図5は文書作成装置10における組合せフォント指定処理の動作のフローチャートを示し、図6はフォント配信サーバー20における組合せフォント登録処理の動作のフローチャートを示し、図7は文字種ごとの書体名、ベースライン補正率、及び拡大縮小率の入力を促す設定入力画面60を示し、図8はスクリプトコードを表示したコード表示画面70を示し、図9はHTMLファイルのスタイルコード34a、及びスクリプトコード34bを説明する説明図を示している。   4 shows a sequence diagram for transferring various types of information in the font distribution system 1, FIG. 5 shows a flowchart of the operation of combination font designation processing in the document creation apparatus 10, and FIG. 6 shows combination font registration in the font distribution server 20. FIG. 7 shows a setting input screen 60 for prompting input of a typeface name, a baseline correction rate, and an enlargement / reduction rate for each character type, and FIG. 8 shows a code display screen 70 displaying script codes. FIG. 9 shows an explanatory diagram for explaining the style code 34a and script code 34b of the HTML file.

まず、図4に示すように、文書作成装置10において、HTML文書34を作成する作成者の操作によって、WEBブラウザ50(図7参照)を起動してURL欄52(図7参照)に、フォント配信サーバー20にアクセスするURLが入力されると、作成制御部15は、入力されたURLをURL情報として通信回線2を介してフォント配信サーバー20に送信するURL送信処理を実行する(ステップS101)。   First, as shown in FIG. 4, in the document creation apparatus 10, the WEB browser 50 (see FIG. 7) is started by the operation of the creator who creates the HTML document 34, and the font in the URL column 52 (see FIG. 7) is displayed. When the URL for accessing the distribution server 20 is input, the creation control unit 15 executes URL transmission processing for transmitting the input URL as URL information to the font distribution server 20 via the communication line 2 (step S101). .

URL情報の受信を検知すると、フォント配信サーバー20の配信制御部24は、組合せフォント指定応答処理を実行する(ステップS102)。この際、配信制御部24は、文字種ごとに任意の書体名を指定する書体指定プログラムを文書作成装置10に通信回線2を介して送信する。   When the reception of URL information is detected, the distribution control unit 24 of the font distribution server 20 executes a combination font designation response process (step S102). At this time, the distribution control unit 24 transmits a typeface designation program for designating an arbitrary typeface name for each character type to the document creation apparatus 10 via the communication line 2.

書体指定プログラムの受信を検知すると、文書作成装置10の作成制御部15は、書体指定プログラムをメモリに一時記憶したのち、書体指定プログラムを実行して表示部12に表示したWEBブラウザ50上にメニュー画面(図示省略)を表示させる。そして、作成者がメニュー画面のメニューから文字種ごとに書体名の指定を行うメニューボタン(図示省略)を押下すると、作成制御部15は、組合せフォント指定処理を実行する(ステップS103)。   When the reception of the typeface designation program is detected, the creation control unit 15 of the document creation apparatus 10 temporarily stores the typeface designation program in the memory, and then executes the typeface designation program and displays a menu on the WEB browser 50 displayed on the display unit 12. A screen (not shown) is displayed. When the creator depresses a menu button (not shown) for designating a typeface name for each character type from the menu on the menu screen, the creation control unit 15 executes a combination font designation process (step S103).

組合せフォント指定処理を開始すると、図5に示すように、文書作成装置10の作成制御部15は、作成者に文字種ごとに任意の書体名などの選択入力を促す設定入力画面60を表示部12に表示されたWEBブラウザ50上に表示させる(ステップS201)。   When the combination font designation process is started, as shown in FIG. 5, the creation control unit 15 of the document creation apparatus 10 displays a setting input screen 60 that prompts the creator to select and input an arbitrary typeface name for each character type. Is displayed on the WEB browser 50 displayed in step S201.

この設定入力画面60は、図7に示すように、上部に作成者による任意の名称が入力される組合せ書体名欄61を表示し、その下方に文字種である仮名、漢字、英字、及び数字に対して、それぞれの書体名をプルダウンリスト(図示省略)から選択する仮名書体名欄62、漢字書体名欄63、英字書体名欄64、及び数字書体名欄65が表示されている。なお、プルダウンリストには、フォント配信サーバー20のフォント記憶部22に記憶されたフォントを示す書体名がリスト表示される。   As shown in FIG. 7, the setting input screen 60 displays a combined typeface name field 61 in which an arbitrary name by the creator is input at the top, and a kana, kanji, alphabetic characters, and numbers that are character types below it. On the other hand, a kana typeface name column 62, a kanji typeface name column 63, an alphabetic typeface name column 64, and a number typeface name column 65 for selecting each typeface name from a pull-down list (not shown) are displayed. In the pull-down list, font names indicating fonts stored in the font storage unit 22 of the font distribution server 20 are displayed as a list.

さらに、仮名書体名欄62、漢字書体名欄63、英字書体名欄64、及び数字書体名欄65の右横には、それぞれ選択されたフォントにおけるベースライン位置の移動量の比率を指定するベースライン補正率欄62a,63a,64a,65a、及び選択されたフォントの大きさの拡大縮小率を指定する拡大縮小率欄62b,63b,64b,65bを表示している。なお、ベースライン補正率欄62a,63a,64a,65a、及び拡大縮小率欄62b,63b,64b,65bには、フォント配信サーバー20に記憶されたフォントに対する比率を入力する。   Further, on the right side of the kana typeface name column 62, the kanji typeface name column 63, the alphabetic typeface name column 64, and the number typeface name column 65, a base for designating the ratio of the movement amount of the baseline position in each selected font. The line correction factor columns 62a, 63a, 64a, 65a and the enlargement / reduction rate columns 62b, 63b, 64b, 65b for designating the enlargement / reduction rate of the selected font size are displayed. In the baseline correction rate columns 62a, 63a, 64a, and 65a and the enlargement / reduction rate columns 62b, 63b, 64b, and 65b, the ratios to the fonts stored in the font distribution server 20 are input.

加えて、数字書体名欄65の下方には、WEBブラウザ50で設定されている文字のサイズを示すブラウザ文字サイズ欄66、文字種ごとに指定された書体名やサイズなどを反映したサンプル文字を表示するサンプル表示欄67が表示され、サンプル表示欄67の下方には組合せフォント指定処理をキャンセルするキャンセルボタン68、及び指定された各欄の値をフォント配信サーバー20に登録する登録ボタン69を表示している。   In addition, below the numeric font name column 65, a browser character size column 66 indicating the size of the character set in the WEB browser 50, and sample characters reflecting the font name and size specified for each character type are displayed. A sample display field 67 to be displayed is displayed. Below the sample display field 67, a cancel button 68 for canceling the combination font designation process and a registration button 69 for registering the value of each designated field in the font distribution server 20 are displayed. ing.

設定入力画面60をWEBブラウザ50に表示すると、作成制御部15は、サンプル更新処理を実行する(ステップS202)。
具体的には、仮名書体名欄62、漢字書体名欄63、英字書体名欄64、及び数字書体名欄65のいずれかの書体名を作成者が選択変更する、もしくはベースライン補正率欄62a,63a,64a,65a、及び拡大縮小率欄62b,63b,64b,65bのいずれかの値を作成者が入力変更すると、作成制御部15は、図4のステップS103に示すように、その都度フォント配信サーバー20に対して指定された値を変更情報として送信する。
When the setting input screen 60 is displayed on the WEB browser 50, the creation control unit 15 executes a sample update process (step S202).
Specifically, the creator selects or changes any of the font names in the kana typeface name column 62, the kanji typeface name column 63, the alphabetic typeface name column 64, and the number typeface name column 65, or the baseline correction factor column 62a. , 63a, 64a, 65a and the enlargement / reduction ratio fields 62b, 63b, 64b, 65b, each time the creator inputs and changes the value, the creation control unit 15 performs each time as shown in step S103 of FIG. The specified value is transmitted to the font distribution server 20 as change information.

そして、フォント配信サーバー20は、図4のステップS102において、受信した変更情報に基づいて文字種ごとに指定された書体名やベースライン補正率、あるいは拡大縮小率を反映したサンプル文字のフォントを応答情報として文書作成装置10に送信する。   Then, in step S102 of FIG. 4, the font distribution server 20 sends the response of the sample character font reflecting the typeface name, the baseline correction rate, or the enlargement / reduction rate specified for each character type based on the received change information. As shown in FIG.

応答情報を受信した作成制御部15は、サンプル文字のフォントを取得したフォントに置換してサンプル表示欄67の表示内容を更新する。
例えば、図7に示した設定入力画面60において、組合せ書体名欄61に「組合せ書体A」が入力され、仮名に対して、仮名書体名欄62には「MSゴシック」が選択され、仮名のベースライン補正率欄62aには「0.0」が入力され、仮名の拡大縮小率欄62bには「105.0」が入力されている。
Upon receiving the response information, the creation control unit 15 replaces the font of the sample character with the acquired font and updates the display content of the sample display field 67.
For example, in the setting input screen 60 shown in FIG. 7, “combination typeface A” is input to the combination typeface name field 61, and “MS Gothic” is selected in the kana typeface name field 62 for the kana. “0.0” is entered in the baseline correction factor column 62a, and “105.0” is entered in the kana scaling factor column 62b.

漢字に対して、漢字書体名欄63には「MS明朝」が選択され、漢字のベースライン補正率欄63aには「0.0」が入力され、漢字の拡大縮小率欄63bには「100.0」が入力されている。
英字に対しては、英字書体名欄64には「Times
New Roman」が選択され、英字のベースライン補正率欄64aには「−10.0」が入力され、英字の拡大縮小率欄64bには「110.0」が入力されている。
For the Chinese character, “MS Mincho” is selected in the Chinese character type name column 63, “0.0” is input in the Kanji baseline correction rate column 63a, and “Kanji expansion / reduction rate column 63b” "100.0" is entered.
For English letters, the English font face name field 64 displays “Times”.
"New Roman" is selected, "-10.0" is entered in the English baseline correction factor column 64a, and "110.0" is entered in the English enlargement / reduction factor column 64b.

数字に対しては、数字書体名欄64には「Impact」が選択され、数字のベースライン補正率欄65aには「0.0」が入力され、数字の拡大縮小率欄65bには「107.0」が入力されている。
なお、ブラウザ文字サイズ欄66にはWEBブラウザ50から取得した文字サイズである「10」を表示している。
For numbers, “Impact” is selected in the number typeface name field 64, “0.0” is input in the number baseline correction rate field 65a, and “107” is displayed in the number scaling rate field 65b. .0 "is entered.
In the browser character size column 66, “10” which is the character size acquired from the WEB browser 50 is displayed.

このように仮名書体名欄62などに選択入力された内容に基づいて、文書作成装置10とフォント配信サーバー20との間で変更情報と応答情報との授受が行われ、文書作成装置10の作成制御部15は、サンプル表示欄67の「配信書体さんぷるテキストabcxyz123789」というサンプル文字を更新する。この際、サンプル表示欄67に表示されるサンプル文字は、フォント配信サーバー20のフォントに対してベースラインの補正、及び拡大縮小処理したフォントと、WEBブラウザ50で設定されている文字のサイズに基づいて表示される。   As described above, the change information and the response information are exchanged between the document creation apparatus 10 and the font distribution server 20 based on the contents selected and input in the kana typeface name field 62 and the like. The control unit 15 updates the sample character “delivery typeface sample text abcxyz123789” in the sample display field 67. At this time, the sample characters displayed in the sample display column 67 are based on the font of the font of the font distribution server 20 that has been corrected for baseline and enlarged / reduced, and the character size set in the WEB browser 50. Displayed.

より詳しくは、サンプル表示欄67には、「配信書体」がMS明朝で表示され、「さんぷるテキスト」がMSゴシックで表示され、「abcxyz」がベースラインを下方に10%オフセットしたTimes
New Romanで表示され、「123789」がImpactで表示されている。これらサンプル文字は、フォント配信サーバー20のフォントにベースラインの補正、及び拡大縮小処理を施したフォントを、文字サイズ10ptの大きさに変換して表示されている。
More specifically, in the sample display field 67, “delivery typeface” is displayed in MS Mincho, “Sampuru text” is displayed in MS Gothic, and “abcxyz” is offset by 10% downward from the baseline.
“New Roman” is displayed, and “123789” is displayed as “Impact”. These sample characters are displayed after converting the font of the font of the font distribution server 20 to the baseline correction and the enlargement / reduction processing into a character size of 10 pt.

その後、作成制御部15は、登録ボタン69あるいはキャンセルボタン68のいずれかが押下されたかを判定する(ステップS203)。作成者の操作によってキャンセルボタン68が押下されると(ステップS203:2)、作成制御部15は、組合せフォント指定処理を終了する。   Thereafter, the creation control unit 15 determines whether either the registration button 69 or the cancel button 68 has been pressed (step S203). When the cancel button 68 is pressed by the creator's operation (step S203: 2), the creation control unit 15 ends the combination font designation process.

一方、作成者の操作によって登録ボタン69が押下されると(ステップS203:1)、作成制御部15は、組合せフォント情報送信処理を実行して(ステップS204)、組合せ書体名欄61、仮名書体名欄62、漢字書体名欄63、英字書体名欄64、数字書体名欄65、ベースライン補正率欄62a,63a,64a,65a、及び拡大縮小率欄62b,63b,64b,65bに入力された値を関連付けて組合せフォント情報としてフォント配信サーバー20に通信回線2を介して送信する。   On the other hand, when the registration button 69 is pressed by the creator's operation (step S203: 1), the creation control unit 15 executes a combination font information transmission process (step S204) to obtain a combination typeface name field 61, a kana typeface. Name field 62, kanji typeface name field 63, alphabetic typeface name field 64, numeric typeface name field 65, baseline correction factor fields 62a, 63a, 64a, 65a, and enlargement / reduction factor fields 62b, 63b, 64b, 65b These values are associated and transmitted to the font distribution server 20 via the communication line 2 as combination font information.

図4に示すように、組合せフォント情報の受信を検知すると、フォント配信サーバー20の配信制御部24は、取得した組合せフォント情報をフォントテーブル25に登録する組合せフォント登録処理を実行する(ステップS104)。   As shown in FIG. 4, when the reception of the combination font information is detected, the distribution control unit 24 of the font distribution server 20 executes a combination font registration process for registering the acquired combination font information in the font table 25 (step S104). .

組合せフォント登録処理を開始すると、フォント配信サーバー20の配信制御部24は、図6に示すように、取得した組合せフォント情報をフォントテーブル25に登録するフォントテーブル登録処理を実行する(ステップS301)。   When the combination font registration process is started, the distribution control unit 24 of the font distribution server 20 executes a font table registration process for registering the acquired combination font information in the font table 25 as shown in FIG. 6 (step S301).

具体的には、配信制御部24は、組合せフォント情報に基づいて、フォントテーブル25の組合せ書体名欄25aに組合せ書体名「組合せ書体A」を登録し、文字種別書体名欄25c、ベースライン補正率欄25d、及び拡大縮小率欄25eにそれぞれ文字種欄25bの文字種に対応する値を登録したのち、フォントテーブル25をテーブル記憶部21に記憶する。   Specifically, the distribution control unit 24 registers the combination typeface name “combination typeface A” in the combination typeface name field 25a of the font table 25 based on the combination font information, and the character typeface name field 25c, baseline correction. After the values corresponding to the character types in the character type column 25b are registered in the rate column 25d and the enlargement / reduction rate column 25e, the font table 25 is stored in the table storage unit 21.

例えば、フォントテーブル25の組合せ書体名欄25aに図7の設定入力画面60で入力した「組合せ書体A」を登録し、文字種欄25bの「仮名」に対応する文字種別書体名欄25cには「MSゴシック」を登録し、ベースライン補正率欄25dには「0.0」を登録し、拡大縮小率欄25eには「105.0」を登録する。同様に、文字種欄25bの「漢字」、「英字」及び「数字」に対応する文字種別書体名欄25c、ベースライン補正率欄25d、及び拡大縮小率欄25eに、組合せフォント情報に基づいた値を登録する。   For example, “combination typeface A” input in the setting input screen 60 of FIG. 7 is registered in the combination typeface name field 25a of the font table 25, and “character name typeface name field 25c corresponding to“ kana ”in the character type field 25b“ “MS Gothic” is registered, “0.0” is registered in the baseline correction factor column 25d, and “105.0” is registered in the enlargement / reduction factor column 25e. Similarly, values based on the combination font information are displayed in the character typeface name column 25c, the baseline correction factor column 25d, and the enlargement / reduction factor column 25e corresponding to “Kanji”, “English characters”, and “numeric characters” in the character type column 25b. Register.

フォントテーブル25をテーブル記憶部21に記憶すると、配信制御部24は、HTMLファイルに記載するスクリプトコードを生成するコード生成処理を実行する(ステップS302)。このスクリプトコードは、HTMLファイルに記述することで、後述するフォント配信プログラムの送信要求を文書閲覧装置40からフォント配信サーバー20に行うJavaScriptコードである。   When the font table 25 is stored in the table storage unit 21, the distribution control unit 24 executes a code generation process for generating a script code described in the HTML file (step S302). This script code is a JavaScript code that is described in an HTML file and makes a transmission request for a font distribution program, which will be described later, from the document browsing apparatus 40 to the font distribution server 20.

スクリプトコードを生成すると、配信制御部24は、スクリプトコードをコード情報として文書作成装置10に通信回線2を介して送信するコード情報送信処理を実行する(ステップS303)。その後、配信制御部24は、組合せフォント登録処理を終了する。   When the script code is generated, the distribution control unit 24 executes code information transmission processing for transmitting the script code as code information to the document creation apparatus 10 via the communication line 2 (step S303). Thereafter, the distribution control unit 24 ends the combination font registration process.

図5のステップS204に戻り、文書作成装置10において、フォント配信サーバー20に組合せフォント情報を送信すると、作成制御部15は、コード情報を受信したか否かを判定する(ステップS205)。コード情報を受信していなければ(ステップS205:No)、作成制御部15は、コード情報を受信するまで処理を待機する。   Returning to step S204 of FIG. 5, when the combination font information is transmitted to the font distribution server 20 in the document creation apparatus 10, the creation control unit 15 determines whether or not the code information is received (step S205). If code information has not been received (step S205: No), the creation control unit 15 waits for processing until code information is received.

一方、コード情報を受信すると(ステップS205:Yes)、作成制御部15は、WEBブラウザ50にコード表示画面70を表示させる(ステップS206)。
このコード表示画面70は、図8に示すように、上部に「下記コードをコピーして、HTMLファイルの<body>〜</body>の間に貼り付けて下さい。」という案内メッセージと、コード情報をスクリプトコードに変換して表示するコード表示欄71とを表示している。
On the other hand, when receiving the code information (step S205: Yes), the creation control unit 15 displays the code display screen 70 on the WEB browser 50 (step S206).
As shown in FIG. 8, the code display screen 70 has an information message and a code in the upper part “copy the following code and paste it between <body> to </ body>” of the HTML file. A code display field 71 for displaying information converted into script code is displayed.

コード表示画面70を表示すると、作成制御部15は、WEBブラウザ50の閉じるボタン51が押下されたか否かを判定する(ステップS207)。閉じるボタン51が押下されなければ(ステップS207:No)、作成制御部15は、閉じるボタン51が押下されるまで処理を待機する。一方、閉じるボタン51が押下されると(ステップS207:Yes)、作成制御部15は、組合せフォント指定処理を終了する。   When the code display screen 70 is displayed, the creation control unit 15 determines whether or not the close button 51 of the WEB browser 50 has been pressed (step S207). If the close button 51 is not pressed (step S207: No), the creation control unit 15 waits for processing until the close button 51 is pressed. On the other hand, when the close button 51 is pressed (step S207: Yes), the creation control unit 15 ends the combination font designation process.

その後、作成者は、文書作成装置10を操作してHTMLファイルを編集するエディタ(図示省略)を起動する。そして、作成者は、エディタを用いて取得したスクリプトコードと組合せ書体名とをHTMLファイルの所定の位置に記述して和文文字・欧文文字混在のHTML文書34を完成させる。   Thereafter, the creator operates the document creation apparatus 10 to activate an editor (not shown) for editing the HTML file. Then, the creator describes the script code and the combination typeface name acquired using the editor at a predetermined position in the HTML file, and completes the HTML document 34 in which Japanese characters and European characters are mixed.

このHTML文書34は、図9に示すように、<head>〜</head>タグの間において、HTML文書の文字を「組合せ書体A」で表示させるスタイル言語によるスタイルコード34aを記述するとともに、<body>〜</body>タグの間において、JavaScript(登録商標)によるスクリプトコード34bを記述している。なお、HTML文書34の本文として、「フォント配信123sample」、及び「表示サンプル789abcxyz」が記述されている。   As shown in FIG. 9, the HTML document 34 describes a style code 34a in a style language that displays characters of the HTML document in a “combination typeface A” between <head> to </ head> tags. A script code 34b by JavaScript (registered trademark) is described between the <body> to </ body> tags. It should be noted that “font distribution 123 sample” and “display sample 789abcxyz” are described as the body of the HTML document 34.

図4のステップS103に戻り、HTML文書34を完成させた作成者の所定の操作により、文書作成装置10の作成制御部15は、文書送信処理を実行し(ステップS105)、完成したHTML文書34を文書情報として通信回線2を介してウェブサーバー30に送信する。
文書情報の受信を検知すると、ウェブサーバー30の制御部33は、文書登録処理を実行し(ステップS106)、取得した文書情報をHTML文書34として記憶部31に記憶する。
Returning to step S103 of FIG. 4, the creation control unit 15 of the document creation apparatus 10 executes document transmission processing by a predetermined operation of the creator who completed the HTML document 34 (step S105), and the completed HTML document 34 is obtained. As document information to the web server 30 via the communication line 2.
When the reception of the document information is detected, the control unit 33 of the web server 30 executes a document registration process (step S106), and stores the acquired document information in the storage unit 31 as the HTML document 34.

次に、文書閲覧装置40を閲覧者が操作してHTML文書34を閲覧する際のフォント配信システム1の動作について図4、及び図10から図12を用いて詳しく説明する。
なお、図10は文書閲覧装置40における閲覧処理の動作のフローチャートを示し、図11はフォント配信サーバー20におけるウェブフォント配信処理の動作のフローチャートを示し、図12はHTML文書34を表示した文書表示画面90を示している。
Next, the operation of the font distribution system 1 when the viewer operates the document browsing device 40 to browse the HTML document 34 will be described in detail with reference to FIGS. 4 and 10 to 12.
10 shows a flowchart of the browsing process operation in the document browsing apparatus 40, FIG. 11 shows a flowchart of the web font distribution process operation in the font distribution server 20, and FIG. 12 shows a document display screen displaying the HTML document 34. 90 is shown.

図4に示すように、文書閲覧装置40において、HTML文書34の閲覧を希望する閲覧者の操作によって起動したWEBブラウザ80(図12参照)のURL欄81(図12参照)に、ウェブサーバー30にアクセスするURLが入力されると、作成制御部15は、入力されたURLをURL情報として通信回線2を介してウェブサーバー30に送信するURL送信処理を実行する(ステップS111)。   As shown in FIG. 4, in the document browsing device 40, the web server 30 is displayed in the URL column 81 (see FIG. 12) of the WEB browser 80 (see FIG. 12) activated by the operation of a viewer who wants to browse the HTML document 34. When the URL for accessing is input, the creation control unit 15 executes URL transmission processing for transmitting the input URL as URL information to the web server 30 via the communication line 2 (step S111).

URL情報の受信を検知すると、ウェブサーバー30の制御部33は、文書配信処理を実行して(ステップS112)、取得したURL情報に対応するHTML文書34を記憶部31から読み出して文書情報として文書作成装置10に通信回線2を介して送信する。   When the reception of the URL information is detected, the control unit 33 of the web server 30 executes a document distribution process (step S112), reads out the HTML document 34 corresponding to the acquired URL information from the storage unit 31, and stores the document as document information. The data is transmitted to the creation device 10 via the communication line 2.

文書情報の受信を検知すると、文書閲覧装置40の閲覧制御部45は、文書情報をHTML文書34として記憶部43に記憶する。その後、閲覧制御部45は、HTML文書34を記憶部43から読み出すとともに、HTML文書34を解析して、WEBブラウザ80で閲覧可能にする閲覧処理を実行する(ステップS113)。   When the reception of the document information is detected, the browsing control unit 45 of the document browsing device 40 stores the document information in the storage unit 43 as the HTML document 34. Thereafter, the browsing control unit 45 reads the HTML document 34 from the storage unit 43 and analyzes the HTML document 34 to execute a browsing process for enabling browsing with the WEB browser 80 (step S113).

閲覧処理を開始すると、図10に示すように、文書閲覧装置40の閲覧制御部45は、HTML文書34を解析してHTMLファイルにスクリプトコード34bが記述されているか否かを判定する(ステップS401)。   When the browsing process is started, as shown in FIG. 10, the browsing control unit 45 of the document browsing apparatus 40 analyzes the HTML document 34 and determines whether or not the script code 34b is described in the HTML file (step S401). ).

HTMLファイルにスクリプトコード34bが記述されていれば(ステップS401:Yes)、閲覧制御部45は、配信プログラム要求処理を実行して(ステップS402)、HTMLファイルのスクリプトコード34bに基づいてフォント配信プログラムの送信を要求する配信プログラム要求情報をフォント配信サーバー20に通信回線2を介して送信する。   If the script code 34b is described in the HTML file (step S401: Yes), the browsing control unit 45 executes the distribution program request process (step S402), and the font distribution program based on the script code 34b of the HTML file. The distribution program request information for requesting the transmission is transmitted to the font distribution server 20 via the communication line 2.

図4に示すように、配信プログラム要求情報の受信を検知すると、フォント配信サーバー20の配信制御部24は、ウェブフォント配信処理を実行する(ステップS114)。
ウェブフォント配信処理を開始すると、図11に示すように、配信制御部24は、フォント配信プログラム送信処理を実行して(ステップS501)、取得した配信プログラム要求情報に基づいてフォント配信プログラムを文書閲覧装置40に通信回線2を介して送信する。
As shown in FIG. 4, when the reception of distribution program request information is detected, the distribution control unit 24 of the font distribution server 20 executes web font distribution processing (step S114).
When the web font distribution process is started, as shown in FIG. 11, the distribution control unit 24 executes a font distribution program transmission process (step S501), and browses the font distribution program based on the acquired distribution program request information. The data is transmitted to the device 40 via the communication line 2.

その後、配信制御部24は、後述するサブセット要求情報を受信したか否かを判定する(ステップS502)。サブセット要求情報を受信していなければ(ステップS502:No)、配信制御部24は、サブセット要求情報を受信するまで処理を待機する。   Thereafter, the distribution control unit 24 determines whether or not subset request information described later has been received (step S502). If the subset request information has not been received (step S502: No), the distribution control unit 24 waits for processing until the subset request information is received.

図10のステップS402に戻り、文書閲覧装置40において、配信プログラム要求情報をフォント配信サーバー20に送信すると、閲覧制御部45は、フォント配信プログラムを受信したか否かを判定する(ステップS403)。フォント配信プログラムを受信していなければ(ステップS403:No)、閲覧制御部45は、フォント配信プログラムを受信するまで処理を待機する。   Returning to step S402 in FIG. 10, when the distribution program request information is transmitted to the font distribution server 20 in the document browsing apparatus 40, the browsing control unit 45 determines whether or not the font distribution program has been received (step S403). If the font distribution program has not been received (step S403: No), the browsing control unit 45 waits for processing until the font distribution program is received.

一方、フォント配信プログラムを受信すると(ステップS403:Yes)、閲覧制御部45は、フォント配信プログラムをメモリに一時記憶したのちフォント配信プログラムを実行する。その後、閲覧制御部45は、フォント配信プログラムに基づいてHTML文書34の文字の文字コードを抽出する文字コード抽出処理を実行する(ステップS404)。この際、閲覧制御部45は、HTMLファイルにおけるHTML言語タグ、あるいはスタイル言語タグで囲われた文字列を1文字単位で抽出して、抽出した文字の文字コードを文字情報としてメモリに一時記憶する。   On the other hand, when the font distribution program is received (step S403: Yes), the browsing control unit 45 temporarily stores the font distribution program in the memory and then executes the font distribution program. Thereafter, the browsing control unit 45 executes a character code extraction process for extracting the character code of the character of the HTML document 34 based on the font distribution program (step S404). At this time, the browsing control unit 45 extracts a character string enclosed by the HTML language tag or the style language tag in the HTML file in units of one character, and temporarily stores the character code of the extracted character in the memory as character information. .

文字コード抽出処理を終了すると、閲覧制御部45は、フォント配信プログラムに基づいてサブセット情報の配信をフォント配信サーバー20に要求するサブセット情報要求処理を実行する(ステップS405)。この際、閲覧制御部45は、一時記憶した文字情報と、HTMLファイルに記述された組合せ書体名、ここでは「組合せ書体A」とを関連付けてサブセット要求情報として通信回線2を介してフォント配信サーバー20に送信する。   When the character code extraction process is completed, the browsing control unit 45 executes a subset information request process for requesting the font distribution server 20 to distribute subset information based on the font distribution program (step S405). At this time, the browsing control unit 45 associates the temporarily stored character information with the combination font name described in the HTML file, in this case “combination font A”, as the subset request information via the communication line 2 as a font distribution server. 20 to send.

その後、閲覧制御部45は、サブセット情報を受信したか否かを判定する(ステップS406)。サブセット情報を受信していなければ(ステップS406:No)、閲覧制御部45は、サブセット情報を受信するまで処理を待機する。   Thereafter, the browsing control unit 45 determines whether or not subset information has been received (step S406). If the subset information has not been received (step S406: No), the browsing control unit 45 waits for processing until the subset information is received.

図11のステップS502に戻り、フォント配信サーバー20において、サブセット要求情報を受信すると(ステップS502:Yes)、配信制御部24は、サブセット要求情報に基づいてフォントテーブル検索処理を実行する(ステップS503)。この際、配信制御部24は、サブセット要求情報の組合せ書体名「組合せ書体A」と、テーブル記憶部21に記憶されたフォントテーブル25の組合せ書体名欄25aとを比較して、受信した組合せ書体名「組合せ書体A」に対応するフォントテーブル25を検索する。   Returning to step S502 of FIG. 11, when the font distribution server 20 receives the subset request information (step S502: Yes), the distribution control unit 24 executes a font table search process based on the subset request information (step S503). . At this time, the distribution control unit 24 compares the combination typeface name “combination typeface A” of the subset request information with the combination typeface name field 25a of the font table 25 stored in the table storage unit 21, and receives the received combination typeface. The font table 25 corresponding to the name “combination typeface A” is searched.

受信した組合せ書体名に対応するフォントテーブル25を検出すると、配信制御部24は、フォントテーブル25に基づいてフォント記憶部22からフォントを抽出するフォント抽出処理を実行する(ステップS504)。   When the font table 25 corresponding to the received combination typeface name is detected, the distribution control unit 24 executes a font extraction process for extracting a font from the font storage unit 22 based on the font table 25 (step S504).

より詳しくは、配信制御部24は、文字情報の文字コードから文字コードごとに文字種を判別し、判別した文字種に対応する書体ファイル(仮名書体ファイル26、漢字書体ファイル27、英字書体ファイル28、あるいは数字書体ファイル29)をフォント記憶部22から読み出す。   More specifically, the distribution control unit 24 determines the character type for each character code from the character code of the character information, and the typeface file (kana typeface file 26, kanji typeface file 27, alphabetic typeface file 28, or The number typeface file 29) is read from the font storage unit 22.

その後、配信制御部24は、フォントテーブル25の文字種欄25b、及び文字種別書体名欄25cから文字種に対応する書体名を識別し、フォント記憶部22から読み出した各書体ファイルから文字コードに対応するフォントを読み出す。   Thereafter, the distribution control unit 24 identifies the font name corresponding to the character type from the character type column 25b and the character type font name column 25c of the font table 25, and corresponds to the character code from each typeface file read from the font storage unit 22. Read the font.

例えば、図9に示したHTMLファイルの場合、配信制御部24は、「フ」、「ォ」、「ン」、及び「ト」という文字に対応するそれぞれの文字コードから仮名であることを判別し、仮名書体ファイル26をフォント記憶部22から読み出す。その後、配信制御部24は、フォントテーブル25から仮名がMSゴシックであることを識別し、仮名書体ファイル26から文字コードに対応するMSゴシックのフォントを読み出す。   For example, in the case of the HTML file shown in FIG. 9, the distribution control unit 24 determines that the character is a kana from each character code corresponding to the characters “fu”, “o”, “n”, and “g”. The kana typeface file 26 is read from the font storage unit 22. Thereafter, the distribution control unit 24 identifies that the kana is MS Gothic from the font table 25, and reads the MS Gothic font corresponding to the character code from the kana typeface file 26.

フォント抽出処理を終了すると、配信制御部24は、読み出したフォントを加工するフォント加工処理を実行する(ステップS505)。
より詳しくは、配信制御部24は、フォントテーブル25のベースライン補正率欄25d、及び拡大縮小率欄25eの各値に基づいて、読み出した文字コードごとのフォントに対してベースラインの位置の移動、あるいは拡大縮小の処理を行ったのち、メモリに一時記憶する。
When the font extraction process ends, the distribution control unit 24 executes a font processing process that processes the read font (step S505).
More specifically, the distribution control unit 24 moves the position of the baseline with respect to the font for each read character code based on the values in the baseline correction factor column 25d and the enlargement / reduction factor column 25e of the font table 25. Or, after enlarging / reducing processing, it is temporarily stored in the memory.

フォント加工処理を終了すると、配信制御部24は、ウェブフォント生成処理を実行して(ステップS506)、文字情報の全ての文字コードに対応する加工済みのフォントを集約して、「組合せ書体A」という書体名の配信用フォントであるウェブフォントを生成する。   When the font processing process ends, the distribution control unit 24 executes a web font generation process (step S506), aggregates the processed fonts corresponding to all the character codes of the character information, and displays “combination typeface A”. A web font, which is a font for distribution with the typeface name, is generated.

すなわち、「組合せ書体A」というウェブフォントは、HTML文書34中の文字の文字コードに対して、仮名の文字コードに対応するMSゴシックのフォントと、漢字の文字コードに対応するMS明朝のフォントと、英字の文字コードに対応するTimes
New Romanのフォントと、数字の文字コードに対応するImpactのフォントとが、それぞれ加工された状態で列挙格納されている。
That is, the web font “combination typeface A” is an MS Gothic font corresponding to the character code of the kana and an MS Mincho font corresponding to the character code of the kanji for the character code of the HTML document 34. And Times corresponding to alphabetic character codes
A New Roman font and an Impact font corresponding to a numeric character code are enumerated and stored in a processed state.

その後、配信制御部24は、サブセット情報配信処理を実行し(ステップS507)、生成したウェブフォントをサブセット情報として、通信回線2を介して文書閲覧装置40に送信したのち、フォント配信処理を終了する。   Thereafter, the distribution control unit 24 executes subset information distribution processing (step S507), transmits the generated web font as subset information to the document browsing apparatus 40 via the communication line 2, and then ends the font distribution processing. .

図9のステップS406に戻り、文書閲覧装置40において、サブセット情報を受信すると(ステップS406:Yes)、閲覧制御部45は、サブセット情報を「組合せ書体A」という書体名のウェブフォントとして記憶部43に記憶する。   Returning to step S406 in FIG. 9, when the document browsing apparatus 40 receives the subset information (step S406: Yes), the browsing control unit 45 stores the subset information as a web font having a font name “combination font A”. To remember.

そして、閲覧制御部45は、ブラウザ表示処理を実行して(ステップS407)、HTML文書34と取得したウェブフォントとに基づいてHTML文書34を閲覧可能してWEBブラウザ80に文書表示画面90を表示する。   Then, the browsing control unit 45 executes browser display processing (step S407), can browse the HTML document 34 based on the HTML document 34 and the acquired web font, and displays the document display screen 90 on the WEB browser 80. To do.

この文書表示画面90は、図12に示すように、HTMLファイルの「フォント配信123sample」、及び「表示サンプル789abcxyz」という文字に対して、「組合せ書体A」のウェブフォントを適用して、文字種ごとに書体、ベースラインの位置、及び大きさの異なる文字書体でHTMLファイルを表示している。   As shown in FIG. 12, the document display screen 90 applies the web font “combination typeface A” to the characters “font distribution 123 sample” and “display sample 789abcxyz” in the HTML file, HTML files are displayed in a typeface with different typeface, baseline position, and size.

より具体的には、文書作成装置10において、組合せフォント指定処理におけるサンプル更新処理によってサンプル表示欄67に表示されたサンプル文字のように、文書閲覧装置40は、文字種ごとの書体などを異ならせてHTMLファイルの文字を表示している。
文書表示画面90を表示すると、閲覧制御部45は、閲覧処理を終了する。
More specifically, in the document creation device 10, the document browsing device 40 changes the typeface for each character type and the like as the sample characters displayed in the sample display column 67 by the sample update processing in the combination font designation processing. The characters of the HTML file are displayed.
When the document display screen 90 is displayed, the browsing control unit 45 ends the browsing process.

なお、図10のステップS401において、HTMLファイルにスクリプトコード34bが記述されていなければ(ステップS401:No)、閲覧制御部45は、WEBブラウザ80で予め設定された書体に基づいてHTML文書34の文字を表示したのち、閲覧処理を終了する。   If the script code 34b is not described in the HTML file in step S401 in FIG. 10 (step S401: No), the viewing control unit 45 stores the HTML document 34 based on the font set in advance in the WEB browser 80. After displaying the characters, the browsing process is terminated.

以上のような動作を実現するフォント配信システム1、及びフォント配信方法は、限られた記憶資源を圧迫することなく、和文文字・欧文文字混在のHTMLファイルにおける文字組版の利便性を向上することができる。   The font distribution system 1 and the font distribution method that realize the above operations can improve the convenience of character composition in an HTML file containing both Japanese characters and European characters, without squeezing limited storage resources. it can.

具体的には、文書閲覧装置40がHTML文書34を取得する度に、サブセット要求情報に対応するウェブフォントを文書閲覧装置40に配信するフォント配信サーバー20の配信制御部24により、フォント配信システム1、及びフォント配信方法は、サブセット要求情報に対応する配信用の新しいフォントを別途用意し、フォント配信サーバー20のフォント記憶部22に予め記憶することを不要にして、HTMLファイルの表示に必要なウェブフォントを文書閲覧装置40に配信することができる。   Specifically, every time the document browsing device 40 acquires the HTML document 34, the font distribution system 1 uses the distribution control unit 24 of the font distribution server 20 that distributes the web font corresponding to the subset request information to the document browsing device 40. And a font distribution method, a new font for distribution corresponding to the subset request information is separately prepared and stored in the font storage unit 22 of the font distribution server 20 in advance, and the web necessary for displaying the HTML file The font can be distributed to the document browsing device 40.

これにより、フォント配信サーバー20にサブセット要求情報に対応する新しいフォントを予め記憶する場合、新しいフォントによってフォント配信サーバー20の記憶容量が圧迫されるのに対して、フォント配信システム1、及びフォント配信方法は、サブセット要求情報に対応するウェブフォントを記憶しないため、フォント配信サーバー20におけるフォント記憶部22の限られた記憶容量を圧迫することなく、有効に活用することができる。   Thus, when a new font corresponding to the subset request information is stored in advance in the font distribution server 20, the storage capacity of the font distribution server 20 is compressed by the new font, whereas the font distribution system 1 and the font distribution method Since the web font corresponding to the subset request information is not stored, it can be effectively used without squeezing the limited storage capacity of the font storage unit 22 in the font distribution server 20.

そして、文書閲覧装置40は、取得したウェブフォントによって、HTMLファイルの文字を、作成者が意図した書体で表示部42に表示されたWEBブラウザ80に表示することができる。すなわち、作成者は、HTMLファイルにスタイルコード34aやスクリプトコード34bを記述するだけで、文字を所望する書体で表示できるHTMLファイルを作成することができる。このため、フォント配信システム1、及びフォント配信方法は、例えば、作成者がHTMLファイルの文字、あるいは単語に対して文字種ごとにスタイル言語タグを一つ一つ付与するような手間を不要にすることができる。   Then, the document browsing device 40 can display the characters of the HTML file on the WEB browser 80 displayed on the display unit 42 in the typeface intended by the creator, using the acquired web font. That is, the creator can create an HTML file that can display characters in a desired typeface simply by describing the style code 34a and script code 34b in the HTML file. For this reason, the font distribution system 1 and the font distribution method, for example, eliminate the need for the creator to add a style language tag for each character type to the character or word of the HTML file. Can do.

従って、フォント配信システム1、及びフォント配信方法は、限られた記憶資源を圧迫することなく、和文文字・欧文文字混在のHTMLファイルにおける文字組版の利便性を向上することができる。   Therefore, the font distribution system 1 and the font distribution method can improve the convenience of character composition in an HTML file containing both Japanese characters and European characters without squeezing limited storage resources.

また、文書閲覧装置40の閲覧制御部45を、文字コード抽出処理と、サブセット情報要求処理とを実行する構成とし、フォント配信サーバー20の配信制御部24を、フォント抽出処理と、ウェブフォント生成処理と、サブセット情報配信処理とを実行する構成としたことにより、フォント配信システム1は、HTMLファイルの文字に対応するフォントだけをウェブフォントとして、フォント配信サーバー20から文書閲覧装置40に配信することができる。   Further, the browsing control unit 45 of the document browsing device 40 is configured to execute character code extraction processing and subset information request processing, and the distribution control unit 24 of the font distribution server 20 performs font extraction processing and web font generation processing. By executing the subset information distribution process, the font distribution system 1 can distribute only the font corresponding to the characters of the HTML file as a web font from the font distribution server 20 to the document browsing apparatus 40. it can.

これにより、フォント配信システム1は、フォント配信サーバー20から文書閲覧装置40に送信するデータサイズを大幅に抑えることができる。このため、フォント配信システム1は、文書閲覧装置40がHTML文書34を取得してからHTML文書34を表示するまでに要する時間を短縮することができる。   Thereby, the font distribution system 1 can largely suppress the data size transmitted from the font distribution server 20 to the document browsing device 40. For this reason, the font distribution system 1 can reduce the time required from when the document browsing device 40 acquires the HTML document 34 until the HTML document 34 is displayed.

さらに、フォント配信サーバー20から文書閲覧装置40にウェブフォントを配信する際、フォント配信システム1は、通信回線のトラフィックの増加を抑制することができる。加えて、フォント配信システム1は、取得したウェブフォントが文書閲覧装置40の記憶容量を圧迫することを抑制できる。   Furthermore, when the web font is distributed from the font distribution server 20 to the document browsing device 40, the font distribution system 1 can suppress an increase in traffic on the communication line. In addition, the font distribution system 1 can suppress the acquired web font from pressing the storage capacity of the document browsing device 40.

さらにまた、例えば、HTMLファイルの表示に必要なウェブフォントを作成者が予めフォント配信サーバー20に記憶した場合、HTMLファイルの内容を更新するたびに、作成者は、ウェブフォントも更新する必要がある。これに対して、フォント配信システム1は、フォント配信サーバー20においてHTMLファイルの文字コードからその都度ウェブフォントを生成して配信するため、作成者がHTMLファイルの内容の更新に伴いウェブフォントも更新することを不要にできる。   Furthermore, for example, when the creator previously stores the web font necessary for displaying the HTML file in the font distribution server 20, the creator needs to update the web font every time the content of the HTML file is updated. . On the other hand, since the font distribution system 1 generates and distributes a web font from the character code of the HTML file in the font distribution server 20 every time, the creator also updates the web font as the contents of the HTML file are updated. Can be made unnecessary.

このため、例えば、ブログサービスのように頻繁に内容が更新されるサービスにおいて、ブログサービスの利用者がブログの更新を行う際、フォント配信システム1は、ウェブフォントの生成や登録などの操作を利用者に要求することを不要にできる。これにより、ブログサービスの利用者は、フォント配信サーバー20から配信されるウェブフォントの内容を意識することなく、ブログの更新を行うことができる。   For this reason, for example, when a user of a blog service updates a blog in a service that is frequently updated, such as a blog service, the font distribution system 1 uses operations such as generation and registration of a web font. It can be made unnecessary to request from the person. Thereby, the user of the blog service can update the blog without being conscious of the contents of the web font distributed from the font distribution server 20.

従って、フォント配信システム1は、文書閲覧装置40での表示に必要なフォントだけを配信することで、文書閲覧装置40の限られた記憶資源が圧迫されることを防止するとともに、利用者の利便性を向上することができる。   Therefore, the font distribution system 1 distributes only the fonts necessary for display on the document browsing apparatus 40, thereby preventing the limited storage resources of the document browsing apparatus 40 from being compressed and user convenience. Can be improved.

また、文書作成装置10の表示部12に表示したWEBブラウザ50上の設定入力画面60で、ベースライン補正値率、拡大縮小率を文字種ごとに入力許容して、フォント配信サーバー20の配信制御部24において、フォントテーブル25に登録されたベースライン補正率、及び拡大縮小率に基づいてフォントを加工し、加工したフォントを文書閲覧装置40に配信する構成としたことにより、和文文字・欧文文字混在のHTMLファイルにおけるデザイン性と利便性とを向上することができる。   Further, on the setting input screen 60 on the WEB browser 50 displayed on the display unit 12 of the document creation apparatus 10, the baseline correction value rate and the enlargement / reduction rate are allowed to be input for each character type, and the distribution control unit of the font distribution server 20 is used. 24, the font is processed based on the baseline correction rate and the enlargement / reduction rate registered in the font table 25, and the processed font is distributed to the document browsing device 40, so that both Japanese characters and European characters are mixed. The design and convenience of the HTML file can be improved.

具体的には、フォント配信システム1は、ベースライン補正値率、及び拡大縮小率に基づいてフォントを加工する配信制御部24により、文字種ごとに書体を異ならせるだけでなく、ベースラインや大きさなどを任意に変更することができる。これにより、和文文字と欧文文字とが混在するHTMLファイルにおいて、和文文字と欧文文字とのベースラインの違いなどによる位置のズレなどの問題を解消して、HTMLファイルのデザイン性を向上することができる。   Specifically, the font distribution system 1 not only changes the typeface for each character type by the distribution control unit 24 that processes the font based on the baseline correction value rate and the enlargement / reduction rate, but also the baseline and size. Etc. can be arbitrarily changed. As a result, in an HTML file in which Japanese characters and European characters are mixed, problems such as misalignment due to differences in the baseline between Japanese characters and European characters can be solved, and the design of the HTML file can be improved. it can.

さらに、フォント配信サーバー20の配信制御部24により、フォント配信システム1は、文字種ごとの書体やベースライン補正率などを変更しても、これらを反映したウェブフォントをフォント配信サーバー20において容易に生成することができる。このため、フォント配信システム1は、文書作成装置10において、ベースライン補正率などを反映したウェブフォントを生成する手間を省くことができる。   Furthermore, even if the font distribution system 1 changes the typeface or the baseline correction rate for each character type, the font distribution server 20 easily generates a web font that reflects them in the font distribution server 20 by the distribution control unit 24 of the font distribution server 20. can do. For this reason, the font distribution system 1 can save the trouble of generating the web font reflecting the baseline correction rate and the like in the document creation device 10.

さらにまた、フォント配信サーバー20からウェブフォントを配信する際に、フォントの加工を行うため、文書作成装置10を操作する作成者は、フォントテーブル25を書き換えるだけで、フォントの加工を容易に行うことができる。
従って、フォント配信システム1は、和文文字・欧文文字混在のHTMLファイルにおけるデザイン性と利便性とを向上することができる。
Furthermore, when the web font is distributed from the font distribution server 20, the font is processed, so that the creator who operates the document creation apparatus 10 can easily process the font only by rewriting the font table 25. Can do.
Therefore, the font distribution system 1 can improve the design and convenience in an HTML file containing both Japanese characters and European characters.

また、ベースライン補正率を入力許容することにより、和文文字と欧文文字とのベースラインの違いによる見栄えの悪さを解消することができ、HTMLファイルにおけるデザイン性を向上することができる。   In addition, by allowing the baseline correction factor to be input, it is possible to eliminate the poor appearance due to the difference in the baseline between Japanese characters and European characters, and to improve the design in the HTML file.

また、拡大縮小率を入力許容することにより、和文文字と欧文文字との見かけ上の大きさの違いを解消することができ、HTMLファイルにおけるデザイン性を向上することができる。   In addition, by allowing the input of the enlargement / reduction ratio, the difference in apparent size between Japanese characters and European characters can be eliminated, and the design in the HTML file can be improved.

また、文書作成装置10におけるWEBブラウザ50に表示された設定入力画面60で指定した組合せフォント情報をフォント配信サーバー20のフォントテーブル25に記憶するとともに、スクリプトコード34bを生成して文書作成装置10に送信し、組合せフォント名に対応するフォントテーブル25に基づいて、ウェブフォントを文書閲覧装置40に配信する構成としたことにより、文書作成装置10を使用する利用者は、WEBブラウザ50に表示された設定入力画面60によって文字種ごとに所望する文字種別書体名を容易に指定できるとともに、作成制御部15を介してフォント配信サーバー20のフォントテーブル25に組合せフォント情報を登録するだけで、HTMLファイルの文字の表示に必要なスクリプトコード34bをフォント配信サーバー20から容易に取得することができる。   In addition, the combination font information specified on the setting input screen 60 displayed on the web browser 50 in the document creation apparatus 10 is stored in the font table 25 of the font distribution server 20, and the script code 34 b is generated and stored in the document creation apparatus 10. The web font is transmitted to the document browsing device 40 based on the font table 25 corresponding to the combination font name, so that the user using the document creation device 10 is displayed on the WEB browser 50. It is possible to easily specify a desired character typeface name for each character type on the setting input screen 60, and only register combination font information in the font table 25 of the font distribution server 20 via the creation control unit 15, and the characters of the HTML file Code 34 required to display Can be easily obtained from the font distribution server 20.

すなわち、フォント配信システム1は、オンラインによるDTPを実現するとともに、HTMLファイルにおける文字組版の自由度を向上して作成者に対する利便性を向上することができる。   That is, the font distribution system 1 can realize online DTP and improve the degree of freedom of character composition in the HTML file to improve the convenience for the creator.

このため、フォント配信システム1は、作成者がHTML文書ごとに異なるスクリプトコード34bを、その都度作成する手間を省くことができる。さらに、フォント配信サーバー20からスクリプトコード34bを取得することで、作成者が誤ったスクリプトコード34bからなるスタイルコード34aやスクリプトコード34bをHTMLファイルに登録することを防止できる。これにより、フォント配信システム1は、作成者に対する利便性を向上するとともに、文書閲覧装置40で表示に必要なウェブフォントを確実に配信することができる。   For this reason, the font distribution system 1 can save the trouble that a creator creates the script code 34b which differs for every HTML document each time. Furthermore, by acquiring the script code 34b from the font distribution server 20, it is possible to prevent the creator from registering the style code 34a or the script code 34b including the incorrect script code 34b in the HTML file. Thereby, the font delivery system 1 can improve the convenience for the creator, and can reliably deliver the web font necessary for display by the document browsing device 40.

一方、フォント配信サーバー20は、文書閲覧装置40に配信するフォントの組合せをフォントテーブル25として予め記憶することができる。この際、フォント配信サーバー20は、HTMLファイルごとに異なるフォントテーブル25を複数記憶したとしても、フォントテーブル25のデータサイズが小さいため、テーブル記憶部21の記憶容量がフォントテーブル25で圧迫されることを抑制できる。   On the other hand, the font distribution server 20 can store a combination of fonts to be distributed to the document browsing device 40 as a font table 25 in advance. At this time, even if the font distribution server 20 stores a plurality of different font tables 25 for each HTML file, the data size of the font table 25 is small, so that the storage capacity of the table storage unit 21 is compressed by the font table 25. Can be suppressed.

従って、フォント配信システム1は、組合せフォント情報の指定を容易にして、和文文字・欧文文字混在のHTMLファイルにおける文字組版の利便性をより向上することができる。   Therefore, the font distribution system 1 can easily specify the combination font information, and can further improve the convenience of character composition in an HTML file containing both Japanese characters and European characters.

また、文書作成装置10のWEBブラウザ50に表示された設定入力画面60を、組合せフォント情報に対して任意の組合せ書体名を入力許容する構成としたことにより、作成者は、組合せフォント情報における書体名の組合せを容易に把握できる組合せ書体名を任意に決定することができる。   In addition, the setting input screen 60 displayed on the WEB browser 50 of the document creation apparatus 10 is configured to allow the input of an arbitrary combination font name for the combination font information, so that the creator can select the font in the combination font information. It is possible to arbitrarily determine a combination font name that can easily grasp the combination of names.

具体的には、例えば、フォント配信サーバー20で組合せ書体名をランダムに決定した場合、作成者は、フォント配信サーバー20に記憶したフォントテーブル25の内容を組合せ書体名から推測することができない。これに対して、フォント配信システム1は、任意の組合せ書体名を入力許容することで、作成者がフォントテーブル25の内容を組合せ書体名から容易に把握することができる。
従って、フォント配信システム1は、作成者に組合せ書体名を任意に決定させることで、HTMLファイルを作成する際の利便性を向上することができる。
Specifically, for example, when the font combination server 20 randomly determines the combination font name, the creator cannot infer the contents of the font table 25 stored in the font distribution server 20 from the combination font name. On the other hand, the font distribution system 1 allows the creator to easily grasp the contents of the font table 25 from the combination typeface name by allowing the input of any combination typeface name.
Therefore, the font distribution system 1 can improve the convenience at the time of creating an HTML file by allowing the creator to arbitrarily determine a combination font name.

なお、上述の実施例1において、書体名、及びフォントとしてMSゴシック、MS明朝などとしたが、これに限定せず、フォント配信サーバー20のフォント記憶部22に記憶されているフォントであればよい。   In the first embodiment, the typeface name and the font are MS Gothic, MS Mincho, etc., but the present invention is not limited to this, and any font stored in the font storage unit 22 of the font distribution server 20 may be used. Good.

また、仮名、漢字、英字、及び数字を文字種としたが、これに限定せず、文字種の分け方は任意の構成としてもよい。例えば、仮名をさらに、平仮名と片仮名とに分けて、平仮名、片仮名、漢字、英字、及び数字としてもよい。あるいは、仮名や漢字だけでなく英字や数字にも対応した和文と、英字、及び数字に対応する欧文とを文字種としてもよい。   In addition, although kana, kanji, alphabetic characters, and numbers are used as character types, the present invention is not limited to this, and the character type may be divided arbitrarily. For example, the hiragana may be further divided into hiragana and katakana to be hiragana, katakana, kanji, alphabetic characters, and numbers. Alternatively, Japanese characters corresponding to not only kana and kanji but also English characters and numbers and European characters corresponding to English characters and numbers may be used as character types.

また、フォント配信サーバー20のフォント記憶部22に仮名書体ファイル26、漢字書体ファイル27、英字書体ファイル28、及び数字書体ファイル29を記憶したが、これに限定せず、適宜の書体ファイルを記憶してもよい。例えば、仮名や漢字だけでなく英字や数字にも対応した和文フォント群である和文書体ファイルと英字、及び数字に対応する欧文フォント群である欧文書体ファイルとしてもよい。   Further, although the kana typeface file 26, the kanji typeface file 27, the alphabetic typeface file 28, and the number typeface file 29 are stored in the font storage unit 22 of the font distribution server 20, the present invention is not limited to this, and an appropriate typeface file is stored. May be. For example, a Japanese document file which is a Japanese font group corresponding to not only kana and kanji but also English characters and numbers and a European document file which is a European font group corresponding to English characters and numbers may be used.

また、設定入力画面60でベースライン補正率、及び拡大縮小率を入力許容したが、これに限定せず、フォントの回転角度、フォントの左右位置、あるいは文字種ごとの文字間隔などを入力許容する構成としてもよい。
また、ベースライン補正率としたが、これに限定せず、例えば、EMなどのベースラインの位置を変更できる単位であれば適宜の単位としてもよい。
In addition, although the baseline correction rate and the enlargement / reduction rate are allowed to be input on the setting input screen 60, the present invention is not limited to this, and the configuration allows the input of the font rotation angle, the left / right position of the font, the character spacing for each character type, and the like. It is good.
In addition, although the baseline correction factor is used, the present invention is not limited to this, and may be an appropriate unit as long as the unit can change the position of the baseline such as EM.

また、組合せ書体名を作成者により任意に設定入力する構成としたが、これに限定せず、設定入力画面60において組合せ書体名を入力許容しない構成とし、組合せフォント情報を受信したフォント配信サーバー20において、配信制御部24が適宜の組合せ書体名を生成し、コード情報を文書作成装置10に送信する際、コード情報とともに生成した組合せ書体名を送信する構成としてもよい。この際、コード表示画面70において、スクリプトコードと組合せ書体名とを表示する。   Further, the combination typeface name is arbitrarily set and input by the creator. However, the present invention is not limited to this, and the font distribution server 20 that has received the combination font information is configured not to allow the combination typeface name to be input on the setting input screen 60. In the configuration, when the distribution control unit 24 generates an appropriate combination font name and transmits the code information to the document creation apparatus 10, the combination font name generated together with the code information may be transmitted. At this time, the script code and the combination font name are displayed on the code display screen 70.

これにより、例えば、異なる作成者が登録したフォントテーブル25が同一構成の場合、フォント配信システム1は、1つのフォントテーブル25を複数のHTML文書に対して使用することができる。つまり、フォント配信サーバー20に配信プログラム要求情報を送信するHTML文書の数に対して、テーブル記憶部21に記憶するフォントテーブル25の数を削減することができる。このため、フォント配信サーバー20のテーブル記憶部21の限られた記憶容量をより効率的に使用することができる。   Thereby, for example, when the font tables 25 registered by different creators have the same configuration, the font distribution system 1 can use one font table 25 for a plurality of HTML documents. That is, the number of font tables 25 stored in the table storage unit 21 can be reduced with respect to the number of HTML documents that transmit distribution program request information to the font distribution server 20. For this reason, the limited storage capacity of the table storage unit 21 of the font distribution server 20 can be used more efficiently.

また、文書閲覧装置10における閲覧処理において、HTML文書34の文字の文字コードを抽出する文字コード抽出処理を実行し、フォント配信サーバー20のフォント配信処理において、文字コードに対応するフォントを抽出したが、これに限定せず、文書閲覧装置10における文字コード抽出処理を不要にして、フォント配信サーバー20において、フォントテーブル25に基づいて文字種に対応するフォントを抽出し、抽出したフォントをもとにウェブフォントを生成してもよい。   In the browsing process in the document browsing apparatus 10, the character code extraction process for extracting the character code of the character of the HTML document 34 is executed, and the font corresponding to the character code is extracted in the font distribution process of the font distribution server 20. However, the present invention is not limited to this, and the font distribution server 20 extracts the font corresponding to the character type on the basis of the font table 25 without using the character code extraction process in the document browsing apparatus 10, and the web based on the extracted font. A font may be generated.

また、図6のステップS302において、フォント配信プログラムの配信を要求するスクリプトコード34bを生成、配信したが、これに限定せず、スタイルコード34aと、スクリプトコード34bとを生成、配信する構成としてもよい。
加えて、HTMLファイルに記述することで、ウェブフォントの配信をフォント配信サーバー20に要求するものであれば適宜の構成のスクリプトコードとしてもよい。
Further, although the script code 34b for requesting the distribution of the font distribution program is generated and distributed in step S302 of FIG. 6, the present invention is not limited to this, and the configuration may be such that the style code 34a and the script code 34b are generated and distributed. Good.
In addition, script code having an appropriate configuration may be used as long as it is requested to the font distribution server 20 to distribute the web font by describing it in the HTML file.

また、作成者が文書作成装置のWEBブラウザ50に設定入力画面60を表示させて、文字種ごとの書体名を指定したが、これに限定せず、作成者がスタイルコード34aやスクリプトコード34bを直接、HTMLファイルに記述してもよい。この場合、フォントテーブル25、及びフォント配信サーバー20のテーブル記憶部21を不要にするとともに、図4におけるステップS101からS104の処理を省略する。さらに、HTMLファイルには、文字種、文字種ごとの書体名、ウェブフォントの配信を要求するスクリプトコードなどを記述する。   In addition, the creator displays the setting input screen 60 on the WEB browser 50 of the document creation apparatus and designates the typeface name for each character type. However, the present invention is not limited to this, and the creator directly inputs the style code 34a and script code 34b. , May be described in an HTML file. In this case, the font table 25 and the table storage unit 21 of the font distribution server 20 are not required, and the processing of steps S101 to S104 in FIG. 4 is omitted. Furthermore, in the HTML file, a character type, a typeface name for each character type, a script code for requesting delivery of a web font, and the like are described.

この発明の構成と、上述の実施形態との対応において、
この発明のマークアップ言語は、実施形態のHTML言語、及びスタイル言語に対応し、
以下同様に、
マークアップ文書は、HTMLファイルに対応し、
文書記憶手段は、記憶部31に対応し、
文書配信手段は、制御部33に対応し、
フォントは、仮名書体ファイル26、漢字書体ファイル27、英字書体ファイル28、及び数字書体ファイル29の文字書体に対応し、
フォント記憶手段は、フォント記憶部22に対応し、
フォント配信手段は、配信制御部24に対応し、
入力手段は、入力部41に対応し、
表示手段は、表示部42に表示されたWEBブラウザ80に対応し、
文書要求手段は、閲覧制御部45に対応し、
フォント要求手段は、閲覧制御部45に対応し、
閲覧制御手段は、閲覧制御部45に対応し、
作成登録手段は、入力部11、及びエディタに対応し、
文書登録手段は、作成制御部15に対応し、
文字種は、仮名、漢字、英字、及び数字に対応し、
文字種別書体名は、書体名に対応し、
組合せフォント情報は、組合せフォント情報、及びサブセット要求情報に対応し、
組合せ指定文字列は、スタイルコード34aに対応し、
要求文字列は、スクリプトコード34bに対応し、
要求命令文は、スタイルコード34a、及びスクリプトコード34bに対応し、
文字情報は、文字コードに対応し、
サブセットデータは、ウェブフォントに対応し、
文字情報抽出処理は、ステップS404に対応し、
文字送信処理は、ステップS405に対応し、
フォント抽出処理は、ステップS504に対応し、
サブセット生成処理は、ステップS506に対応し、
サブセットデータ配信処理は、ステップS507に対応し、
文字属性値は、ベースライン補正率、及び拡大縮小率に対応し、
フォント加工手段は、配信制御部24に対応し、
指定手段は、WEBブラウザ50に表示された設定入力画面60に対応し、
送信手段は、作成制御部15に対応し、
組合せフォント名は、組合せ書体名に対応し、
テーブル記憶手段は、テーブル記憶部21に対応し、
命令送信手段は、配信制御部24に対応するが、
この発明は、上述の実施形態の構成のみに限定されるものではなく、多くの実施の形態を得ることができる。
In correspondence between the configuration of the present invention and the above-described embodiment,
The markup language of the present invention corresponds to the HTML language and style language of the embodiment,
Similarly,
Markup documents support HTML files,
The document storage means corresponds to the storage unit 31,
The document distribution means corresponds to the control unit 33,
The font corresponds to the character fonts of the kana font file 26, the kanji font file 27, the alphabet font file 28, and the number font file 29,
The font storage means corresponds to the font storage unit 22,
The font distribution means corresponds to the distribution control unit 24, and
The input means corresponds to the input unit 41,
The display means corresponds to the WEB browser 80 displayed on the display unit 42,
The document request means corresponds to the browsing control unit 45,
The font request means corresponds to the browsing control unit 45,
The browsing control means corresponds to the browsing control unit 45,
The creation registration means corresponds to the input unit 11 and the editor,
The document registration unit corresponds to the creation control unit 15 and
The character types correspond to Kana, Kanji, English, and numbers.
Character typeface names correspond to typeface names,
The combination font information corresponds to the combination font information and the subset request information,
The combination designation character string corresponds to the style code 34a,
The request character string corresponds to the script code 34b,
The request command statement corresponds to the style code 34a and the script code 34b.
The character information corresponds to the character code,
Subset data corresponds to web fonts,
The character information extraction process corresponds to step S404,
The character transmission process corresponds to step S405,
The font extraction process corresponds to step S504,
The subset generation process corresponds to step S506,
The subset data distribution process corresponds to step S507,
The character attribute value corresponds to the baseline correction factor and the scaling factor,
The font processing means corresponds to the distribution control unit 24,
The designation means corresponds to the setting input screen 60 displayed on the WEB browser 50,
The transmission means corresponds to the creation control unit 15,
The combination font name corresponds to the combination font name,
The table storage means corresponds to the table storage unit 21,
The command transmission means corresponds to the distribution control unit 24,
The present invention is not limited only to the configuration of the above-described embodiment, and many embodiments can be obtained.

1…フォント配信システム
2…通信回線
10…文書作成装置
11…入力部
15…作成制御部
20…フォント配信サーバー
21…テーブル記憶部
22…フォント記憶部
24…配信制御部
25…フォントテーブル
26…仮名書体ファイル
27…漢字書体ファイル
28…英字書体ファイル
29…数字書体ファイル
30…ウェブサーバー
31…記憶部
33…制御部
34a…スタイルコード
34b…スクリプトコード
40…文書閲覧装置
41…入力部
45…閲覧制御部
50…WEBブラウザ
60…設定入力画面
80…WEBブラウザ
DESCRIPTION OF SYMBOLS 1 ... Font delivery system 2 ... Communication line 10 ... Document preparation apparatus 11 ... Input part 15 ... Creation control part 20 ... Font delivery server 21 ... Table storage part 22 ... Font storage part 24 ... Delivery control part 25 ... Font table 26 ... Kana Typeface file 27 ... Kanji typeface file 28 ... Alphabet typeface file 29 ... Number typeface file 30 ... Web server 31 ... Storage part 33 ... Control part 34a ... Style code 34b ... Script code 40 ... Document browsing device 41 ... Input part 45 ... Browse control Part 50 ... WEB browser 60 ... Setting input screen 80 ... WEB browser

この発明は、例えばHTMLファイルにスタイル言語タグで指定された書体名に対応するフォントをフォント配信サーバーから配信するようなフォント配信システム、及びフォント配信方法に関する。   The present invention relates to a font distribution system and a font distribution method for distributing, for example, a font corresponding to a typeface name specified by a style language tag in an HTML file from a font distribution server.

DTPで商品カタログや宣伝広告などを組版する際、作成者は、写真やイラストだけでなく、文字の書体、色、大きさ、あるいは配置などに様々な工夫を凝らしてデザイン性を高めている。
その工夫の1つとして、漢字などの和文文字とラテン文字のような欧文文字とを、それぞれ異なる書体で組版することがある。
When formatting product catalogs and advertisements using DTP, creators are improving not only photographs and illustrations but also various fonts, colors, sizes, and arrangements to improve design.
One of the ideas is to typeset Japanese characters such as Kanji and European characters such as Latin characters in different typefaces.

ところが、和文文字と欧文文字とではベースラインの違いなどから、同じ文字サイズで異なる書体の場合、見かけ上の文字の大きさが異なる、あるいは位置のズレなどが生じて、デザイン性を損なうという問題があった。   However, due to differences in the baseline between Japanese characters and European characters, there is a problem in that the design of the font is impaired due to differences in the size of the characters or misalignment in the case of different typefaces with the same character size. was there.

そこで、和文文字と欧文文字とが混在する場合、和文文字、及び欧文文字ごとに書体、文字サイズ、あるいはベースラインなどを任意に変更して、一つのフォントを示す合成フォントデータを保存することができる合成フォント編集装置が提案されている(特許文献1参照)。   Therefore, when Japanese characters and European characters are mixed, it is possible to arbitrarily change the font, character size, baseline, etc. for each Japanese character and European character, and save composite font data indicating one font. A composite font editing device that can be used has been proposed (see Patent Document 1).

ところで、昨今、インターネットの普及に伴い、和文文字と欧文文字とが混在するウェブサイトにおいても、和文文字と欧文文字とで異なる書体を指定した文字組版によってデザイン性の向上を図ることがある。この際、和文文字と欧文文字とを異なる書体にすることで生じる上述したような問題を解決するために、様々な方法が提案されている。   By the way, recently, with the spread of the Internet, even in a website where Japanese characters and European characters are mixed, designability may be improved by character composition designating different typefaces for Japanese characters and European characters. At this time, various methods have been proposed in order to solve the above-mentioned problems caused by making Japanese characters and European characters different fonts.

例えば、ウェブサイトを構成するHTMLファイルにおける和文文字、及び欧文文字に対して、書体などを指定するスタイル言語タグを付与することで、和文文字、及び欧文文字ごとに異なる書体で表示可能にして、デザイン性の向上を図る方法がある。   For example, by adding a style language tag that specifies a typeface to Japanese characters and European characters in an HTML file that constitutes a website, it is possible to display in different typefaces for each Japanese character and European character, There is a way to improve design.

しかしながら、和文文字、及び欧文文字ごとにスタイル言語タグを付与する場合、単語単位、あるいは一文字単位でのスタイル言語タグの付与が必要であり、HTMLファイルの作成に非常に手間がかかるという問題がある。   However, when a style language tag is assigned to each Japanese character and each European character, it is necessary to attach a style language tag in units of words or in units of characters, and there is a problem that it takes much time to create an HTML file. .

また、別の方法として、特許文献1の合成フォント編集装置で作成したような合成フォントデータを表示に用いる書体としてスタイル言語タグで予めHTMLファイルに記述するとともに、合成フォントデータをサーバーに予め記憶する。そして、HTMLファイルを閲覧するたびに合成フォントデータをサーバーから閲覧者のコンピュータに配信する方法がある。   As another method, the synthesized font data created by the synthesized font editing apparatus of Patent Document 1 is described in the HTML file in advance as a style font used for display in the style language tag, and the synthesized font data is stored in the server in advance. . Then, there is a method of delivering the composite font data from the server to the viewer's computer every time the HTML file is browsed.

しかしながら、合成フォントデータは、そのサイズが大きくなりやすく、かつウェブサイトごとに異なる構成となる。このため、ウェブサイトごとに異なる合成フォントデータによって、サーバーの限られた記憶容量が圧迫されやすいという問題がある。   However, the size of the composite font data is likely to increase, and has a different configuration for each website. For this reason, there is a problem in that the limited storage capacity of the server is easily pressed by the synthetic font data that is different for each website.

特開2002−169798号公報JP 2002-169798 A

この発明は、上述の問題に鑑み、限られた記憶資源を圧迫することなく、和文文字・欧文文字混在のマークアップ文書における文字組版の利便性を向上することができるフォント配信システム、及びフォント配信方法を提供することを目的とする。   In view of the above-described problems, the present invention provides a font distribution system and font distribution that can improve the convenience of character composition in markup documents containing both Japanese characters and European characters without squeezing limited storage resources. It aims to provide a method.

この発明は、マークアップ言語を用いてマークアップ文書を作成する文書作成装置で作成された前記マークアップ文書を記憶する文書記憶手段、及び通信回線を介して前記マークアップ文書を配信する文書配信手段を備えたウェブサーバーと、複数のフォントを記憶するフォント記憶手段、及び前記通信回線を介して前記フォントを配信するフォント配信手段を備えたフォント配信サーバーと、閲覧者による入力操作を許容する入力手段、前記マークアップ文書を表示する表示手段、前記マークアップ文書の配信を前記ウェブサーバーに要求する文書要求手段、取得した前記マークアップ文書に基づいて前記フォントの配信を前記フォント配信サーバーに要求するフォント要求手段、及び取得した前記フォントに基づいて前記マークアップ文書を前記表示手段で閲覧可能にする閲覧制御手段を備えた文書閲覧装置とで構成したフォント配信システム、及びフォント配信方法であって、前記文書作成装置に、少なくとも前記マークアップ文書における文字の文字種と、該文字種の書体を示す文字種別書体名とを関連付けるとともに、前記文字種同士を関連付けて組み合わせた組合せフォント情報を、前記フォント配信サーバーの前記フォントに基づいて指定する指定手段と、前記組合せフォント情報を示す組合せフォント名を有する組合せ指定文字列、及び前記組合せフォント情報に対応する前記フォントの配信の要求を示す要求文字列からなる要求命令文を、前記マークアップ文書に登録する作成登録手段と、前記組合せフォント名を関連付けた前記組合せフォント情報を、前記フォント配信サーバーに前記通信回線を介して送信する送信手段と、作成した前記マークアップ文書を、前記通信回線を介して前記ウェブサーバーの前記文書記憶手段に記憶させる文書登録手段とを備え、前記フォント配信サーバーに、前記文書作成装置から取得した前記組合せフォント名と前記組合せフォント情報とを関連付けて登録したフォントテーブルを記憶するテーブル記憶手段と、前記文書作成装置から前記組合せフォント名を関連付けた前記組合せフォント情報を取得すると、少なくとも前記要求文字列を生成して、前記文書作成装置に送信する命令送信手段とを備え、前記文書閲覧装置の前記フォント要求手段を、前記マークアップ文書を取得する度に、前記要求命令文に基づいて、前記マークアップ文書から前記文字を示す文字情報を抽出する文字情報抽出処理と、前記文字情報、及び前記組合せフォント名を関連付けて、前記フォント配信サーバーに送信する文字送信処理とを実行する構成とし、前記フォント配信サーバーの前記フォント配信手段を、前記文書閲覧装置から前記文字情報、及び前記組合せフォント名を取得する度に、前記組合せフォント名に対応する前記フォントテーブルに基づいて、前記文字種ごとの前記フォントから前記文字種別書体名に対応するとともに、前記文字情報に対応する前記フォントを前記フォント記憶手段から抽出するフォント抽出処理と、前記抽出したフォントを列挙格納したサブセットデータを生成するサブセット生成処理と、前記サブセットデータをウェブフォントとして、前記文書閲覧装置に前記通信回線を介して配信するサブセットデータ配信処理とを実行する構成としたことを特徴とする。 The present invention provides document storage means for storing the markup document created by a document creation apparatus that creates a markup document using a markup language, and document distribution means for delivering the markup document via a communication line. A font storage server including a font storage unit that stores a plurality of fonts, a font distribution unit that distributes the font via the communication line, and an input unit that allows an input operation by a viewer Display means for displaying the markup document, document request means for requesting the web server to distribute the markup document, and a font for requesting the font distribution server to distribute the font based on the acquired markup document Request means, and the markup sentence based on the acquired font A font distribution system constituted by a document reading apparatus having a viewing control means for viewable by said display means, and the font distribution method, the document creation device, a character type of the character at least the markup document A combination means for associating a font type name indicating the font type of the character type and associating and combining the character types with each other based on the font of the font distribution server; and the combination font information. and creation and registration means for combining string, and the request statement consisting request string that indicates the request for the font distribution corresponding to the combination font information, and registers the markup document having a combination font name indicating the The combination font information associated with the combination font name is stored in the font. And transmitting means for transmitting through the communication line to the cement delivery server, the mark-up document that was created, the document registration means to be stored in the document storage means of the web server via the communication line, the font Table storage means for storing a font table in which the combination font name acquired from the document creation device and the combination font information are associated and registered in a distribution server; and the combination in which the combination font name is associated from the document creation device When obtaining font information, at least the request character string is generated and transmitted to the document creation apparatus, and the font requesting means of the document browsing apparatus acquires the markup document each time. , A character indicating the character from the markup document based on the request statement A character information extraction process for extracting information, and a character transmission process for associating the character information and the combination font name and transmitting the information to the font distribution server, wherein the font distribution means of the font distribution server includes: Each time the character information and the combination font name are acquired from the document browsing device , the font type corresponding to the combination font name corresponds to the character typeface name from the font for each character type. And a font extraction process for extracting the font corresponding to the character information from the font storage means, a subset generation process for generating subset data in which the extracted fonts are listed and stored, and the subset data as a web font, Distribution to the document browsing device via the communication line Characterized by being configured to execute the subset data distribution process that.

上記マークアップ言語は、HTML言語、XHTML言語、あるいはスタイル言語などとすることができる。
上記文字は、マークアップ文書における本文やタイトルを示す文字などとすることができる。
上記フォントは、明朝体やゴシック体などの書体で形成された文字書体とすることができる。
上記文字種は、仮名、漢字、英字、数字、あるいは和文文字と欧文文字などとすることができる。
The markup language can be an HTML language, an XHTML language, a style language, or the like.
The character may be a character indicating a text or a title in a markup document.
The font may be a character typeface formed with a typeface such as Mincho or Gothic.
The character types may be kana, kanji, English, numbers, Japanese characters, and European characters.

上記組合せ指定文字列は、スタイル言語やスクリプト言語などで記述され、マークアップ文書を表示する際の文字の書体を指定する文字列などとすることができる。
上記要求文字列は、スクリプト言語などで記述された文字列とすることができる。
The combination designation character string is described in a style language, a script language, or the like, and can be a character string that designates a typeface of characters when displaying a markup document.
The request character string can be a character string described in a script language or the like.

この発明により、限られた記憶資源を圧迫することなく、和文文字・欧文文字混在のマークアップ文書における文字組版の利便性を向上することができる。
具体的には、文書閲覧装置がマークアップ文書を取得する度に、組合せフォント情報に対応するフォントを文書閲覧装置に配信するフォント配信サーバーのフォント配信手段により、フォント配信システム、及びフォント配信方法は、組合せフォント情報に基づいて構成された配信用の新しいフォントを別途用意し、フォント配信サーバーのフォント記憶手段に予め記憶することを不要にして、マークアップ文書の表示に必要なフォントを文書閲覧装置に配信することができる。
According to the present invention, it is possible to improve the convenience of character composition in a markup document containing both Japanese characters and European characters without squeezing limited storage resources.
Specifically, every time the document browsing device acquires a markup document, the font distribution system and the font distribution method of the font distribution server that distributes the font corresponding to the combination font information to the document browsing device are: Document browsing apparatus for preparing a new font for distribution configured based on combination font information, eliminating the need to store in advance in the font storage means of the font distribution server, and displaying the font necessary for displaying the markup document Can be delivered to.

これにより、フォント配信サーバーに組合せフォント情報に対応する新しいフォントを予め記憶する場合、新しいフォントによってフォント配信サーバーの記憶容量が圧迫されるのに対して、フォント配信システム、及びフォント配信方法は、組合せフォント情報に対応する新しいフォントを記憶しないため、フォント配信サーバーにおけるフォント記憶手段の限られた記憶容量を圧迫することなく、有効に活用することができる。   Thus, when a new font corresponding to the combination font information is stored in advance in the font distribution server, the storage capacity of the font distribution server is compressed by the new font, whereas the font distribution system and the font distribution method are combined. Since a new font corresponding to the font information is not stored, it can be effectively used without squeezing the limited storage capacity of the font storage means in the font distribution server.

そして、文書閲覧装置は、取得したフォントによって、マークアップ文書の文字を、作成者が意図した書体で表示手段に表示することができる。すなわち、作成者は、マークアップ文書に要求命令文を記述するだけで、文字を所望する書体で表示できるマークアップ文書を作成することができる。このため、フォント配信システム、及びフォント配信方法は、例えば、作成者がマークアップ文書の文字、あるいは単語に対して文字種ごとにスタイル言語タグを一つ一つ付与するような手間を不要にすることができる。   Then, the document browsing apparatus can display the characters of the markup document on the display unit in the typeface intended by the creator using the acquired font. That is, the creator can create a markup document in which characters can be displayed in a desired font simply by describing a request command statement in the markup document. For this reason, the font distribution system and the font distribution method eliminate the need for the creator to add a style language tag for each character type to the characters or words of the markup document, for example. Can do.

また、文字情報抽出処理、及び文字送信処理とを実行する文書閲覧装置のフォント要求手段、及びフォント抽出処理、サブセット生成処理、及びサブセットデータ配信処理を実行するフォント配信サーバーのフォント配信手段により、フォント配信システム、及びフォント配信方法は、マークアップ文書の文字に対応するフォントだけをウェブフォントとして、フォント配信サーバーから文書閲覧装置に配信することができる。Further, the font request means of the document browsing apparatus that executes the character information extraction process and the character transmission process, and the font distribution means of the font distribution server that executes the font extraction process, the subset generation process, and the subset data distribution process, The distribution system and the font distribution method can distribute only the font corresponding to the characters of the markup document as a web font from the font distribution server to the document browsing apparatus.

これにより、フォント配信システムは、フォント配信サーバーから文書閲覧装置に送信するデータサイズを大幅に抑えることができる。このため、フォント配信システム、及びフォント配信方法は、文書閲覧装置がマークアップ文書を取得してからマークアップ文書を表示するまでに要する時間を短縮することができる。Thereby, the font distribution system can largely suppress the data size transmitted from the font distribution server to the document browsing apparatus. For this reason, the font distribution system and the font distribution method can reduce the time required from when the document browsing apparatus acquires the markup document until the markup document is displayed.

さらに、フォント配信サーバーから文書閲覧装置にフォントを配信する際、フォント配信システムは、通信回線のトラフィックの増加を抑制することができる。加えて、フォント配信システム、及びフォント配信方法は、取得したフォントが文書閲覧装置の記憶容量を圧迫することを抑制できる。Furthermore, when distributing fonts from the font distribution server to the document browsing device, the font distribution system can suppress an increase in traffic on the communication line. In addition, the font distribution system and the font distribution method can suppress the acquired font from pressing the storage capacity of the document browsing apparatus.

加えて、例えば、マークアップ文書の表示に必要な配信用のフォントのサブセットデータを作成者が予めフォント配信サーバーに記憶した場合、マークアップ文書の内容を更新するたびに、作成者は、サブセットデータも更新する必要がある。これに対して、フォント配信システム、及びフォント配信方法は、フォント配信サーバーにおいて、マークアップ文書の文字情報からその都度サブセットデータを生成して配信するため、作成者がマークアップ文書の内容の更新に伴いサブセットデータも更新することを不要にできる。In addition, for example, when the creator previously stores the subset data of the fonts for distribution necessary for displaying the markup document in the font distribution server, each time the content of the markup document is updated, the creator Also need to be updated. In contrast, the font distribution system and the font distribution method generate and distribute subset data from the character information of the markup document each time in the font distribution server, so that the creator can update the contents of the markup document. Accordingly, it is unnecessary to update the subset data.

このため、例えば、ブログサービスのように頻繁に内容が更新されるサービスにおいて、ブログサービスの利用者がブログの更新を行う際、フォント配信システム、及びフォント配信方法は、サブセットデータの生成や登録などの操作を利用者に要求することを不要にできる。これにより、ブログサービスの利用者は、フォント配信サーバーから配信されるサブセットデータの内容を意識することなく、ブログの更新を行うことができる。For this reason, for example, when a user of a blog service updates a blog in a service that is frequently updated, such as a blog service, the font distribution system and the font distribution method include the generation and registration of subset data, etc. It is unnecessary to request the user to perform this operation. Thereby, the user of the blog service can update the blog without being aware of the contents of the subset data distributed from the font distribution server.

また、文書作成装置の指定手段と、フォント配信サーバーのテーブル記憶手段とにより、文書作成装置を使用する利用者は、指定手段によって文字種ごとに所望する文字種別書体名を容易に指定できるとともに、送信手段を介してフォント配信サーバーのフォントテーブルに組合せフォント情報を登録するだけで、マークアップ文書の文字の表示に必要な要求文字列をフォント配信サーバーから容易に取得することができる。In addition, the specification means of the document creation apparatus and the table storage means of the font distribution server allow the user who uses the document creation apparatus to easily specify the desired character typeface name for each character type using the designation means, and send By simply registering the combination font information in the font table of the font distribution server via the means, the required character string necessary for displaying the characters of the markup document can be easily acquired from the font distribution server.

すなわち、フォント配信システム、及びフォント配信方法は、オンラインによるDTPを実現するとともに、マークアップ文書における文字組版の自由度を向上して作成者に対する利便性を向上することができる。That is, the font distribution system and the font distribution method can realize online DTP and improve the degree of freedom of character composition in the markup document to improve the convenience for the creator.

このため、フォント配信システム、及びフォント配信方法は、作成者がマークアップ文書ごとに異なる要求文字列を、その都度作成する手間を省くことができる。さらに、フォント配信サーバーから要求文字列を取得することで、作成者が誤った要求文字列からなる要求命令文をマークアップ文書に登録することを防止できる。これにより、フォント配信システム、及びフォント配信方法は、作成者に対する利便性を向上するとともに、文書閲覧装置で表示に必要なフォントを確実に配信することができる。For this reason, the font distribution system and the font distribution method can save the time and effort for the creator to create a different request character string for each markup document. Furthermore, by acquiring the request character string from the font distribution server, it is possible to prevent the creator from registering a request command statement including an incorrect request character string in the markup document. Thus, the font distribution system and the font distribution method can improve the convenience for the creator and can reliably distribute the fonts necessary for display by the document browsing apparatus.

一方、フォント配信サーバーは、文書閲覧装置に配信するフォントの組合せをフォントテーブルとして予め記憶することができる。この際、フォント配信サーバーは、マークアップ文書ごとに異なるフォントテーブルを複数記憶したとしても、フォントテーブルのデータサイズが小さいため、テーブル記憶手段の記憶容量がフォントテーブルで圧迫されることを抑制できる。On the other hand, the font distribution server can previously store a combination of fonts to be distributed to the document browsing apparatus as a font table. At this time, even if the font distribution server stores a plurality of different font tables for each markup document, since the data size of the font table is small, the storage capacity of the table storage unit can be suppressed from being compressed by the font table.

これにより、フォント配信システム、及びフォント配信方法は、組合せフォント情報の指定を容易にして、和文文字・欧文文字混在のマークアップ文書における文字組版の利便性をより向上することができる。As a result, the font distribution system and the font distribution method can easily specify the combination font information, and can further improve the convenience of character composition in a markup document containing both Japanese characters and European characters.

従って、フォント配信システム、及びフォント配信方法は、限られた記憶資源を圧迫することなく、和文文字・欧文文字混在のマークアップ文書における文字組版の利便性を向上することができる Therefore, the font distribution system and the font distribution method can improve the convenience of character composition in a markup document containing both Japanese characters and European characters without squeezing limited storage resources .

た、この発明の態様として、前記組合せフォント情報を、前記フォント配信サーバーにおける前記フォントの所定の属性、及び該所定の属性を示す文字属性値と、前記文字種とを関連付けた構成とし、前記フォント配信サーバーに、前記フォント記憶手段から抽出した前記フォントを、前記組合せフォント情報における前記所定の属性、及び前記文字属性値に基づいて加工するフォント加工手段を備え、前記フォント配信サーバーの前記フォント配信手段を、前記フォント加工手段で加工した前記フォントを前記文書閲覧装置に配信する構成とすることができる。 Also, an embodiment of the present invention, the combination font information, and the character attribute value indicating the font predetermined attribute in the font distribution server, and the predetermined attribute, the structure that associates with the character type, the font The distribution server further comprises a font processing unit that processes the font extracted from the font storage unit based on the predetermined attribute and the character attribute value in the combination font information, and the font distribution unit of the font distribution server Can be configured to distribute the font processed by the font processing means to the document browsing apparatus.

上記所定の属性は、ベースライン、拡大縮小率、あるいは回転角度などとすることができる。
上記文字属性値は、絶対値、もしくは相対値とすることができる。
The predetermined attribute may be a baseline, an enlargement / reduction ratio, a rotation angle, or the like.
The character attribute value can be an absolute value or a relative value.

この発明により、和文文字・欧文文字混在のマークアップ文書におけるデザイン性と利便性とを向上することができる。
具体的には、フォント配信システムは、所定の属性、文字属性値、及びフォント加工手段により、文字種ごとに書体を異ならせるだけでなく、ベースラインや大きさなどを任意に変更することができる。これにより、和文文字と欧文文字とが混在するマークアップ文書において、和文文字と欧文文字とのベースラインの違いなどによる位置のズレなどの問題を解消して、マークアップ文書のデザイン性を向上することができる。
According to the present invention, it is possible to improve design and convenience in a markup document including both Japanese characters and European characters.
Specifically, the font distribution system can change not only the typeface for each character type but also the baseline, size, etc., by a predetermined attribute, character attribute value, and font processing means. This improves the design of markup documents by eliminating problems such as misalignment due to differences in the baseline between Japanese characters and European characters in markup documents that contain both Japanese and European characters. be able to.

さらに、フォント配信サーバーのフォント加工手段により、フォント配信システムは、文字種ごとの書体や文字属性値を変更しても、これらを反映したフォントをフォント配信サーバーにおいて容易に生成することができる。このため、フォント配信システムは、文書作成装置において、文字属性値を反映したフォントを生成する手間を省くことができる。   Furthermore, the font distribution system of the font distribution server allows the font distribution system to easily generate a font reflecting these in the font distribution server even if the typeface or character attribute value for each character type is changed. For this reason, the font distribution system can save the trouble of generating the font reflecting the character attribute value in the document creation apparatus.

さらにまた、フォント配信サーバーからフォントを配信する際に、フォントの加工を行うため、文書作成装置を操作する作成者は、組合せフォント情報を書き換えるだけで、フォントの加工を容易に行うことができる。
従って、フォント配信システムは、和文文字・欧文文字混在のマークアップ文書におけるデザイン性と利便性とを向上することができる。
Furthermore, since the font is processed when the font is distributed from the font distribution server, the creator who operates the document creation apparatus can easily process the font only by rewriting the combination font information.
Therefore, the font distribution system can improve the design and convenience in a markup document containing both Japanese characters and European characters.

また、この発明の態様として、前記所定の属性を、前記フォント配信サーバーにおける前記フォントのベースラインとすることができる。
この発明により、和文文字と欧文文字とのベースラインの違いによる見栄えの悪さを解消することができ、マークアップ文書におけるデザイン性を向上することができる。
As an aspect of the present invention, the predetermined attribute can be a baseline of the font in the font distribution server.
According to the present invention, it is possible to eliminate the poor appearance due to the difference in the baseline between Japanese characters and European characters, and to improve the design in the markup document.

また、この発明の態様として、前記所定の属性を、前記フォント配信サーバーにおける前記フォントの大きさとすることができる。
この発明により、和文文字と欧文文字との見かけ上の大きさの違いを解消することができ、マークアップ文書におけるデザイン性を向上することができる
As an aspect of the present invention, the predetermined attribute can be the size of the font in the font distribution server.
According to the present invention, the difference in the apparent size between Japanese characters and European characters can be eliminated, and the design in the markup document can be improved .

た、この発明の態様として、前記文書作成装置の指定手段を、前記組合せフォント情報に対して任意の前記組合せフォント名を入力許容する構成とすることができる。
この発明により、作成者は、組合せフォント情報における文字種別書体名の組合せを容易に把握できる組合せフォント名を任意に決定することができる。
Also, as an aspect of the invention, the designating means of the document creating device may be an allowable input constituting any of said combination font name for the combination font information.
According to the present invention, the creator can arbitrarily determine a combination font name with which the combination of character type face names in the combination font information can be easily grasped.

具体的には、例えば、フォント配信サーバーで組合せフォント名をランダムに決定した場合、作成者は、フォント配信サーバーに記憶したフォントテーブルの内容を組合せフォント名から推測することができない。これに対して、フォント配信システムは、任意の組合せフォント名を入力許容することで、作成者がフォントテーブルの内容を組合せフォント名から容易に把握することができる。
従って、フォント配信システムは、作成者に組合せフォント名を任意に決定させることで、マークアップ文書を作成する際の利便性を向上することができる。
Specifically, for example, when the combination font name is randomly determined by the font distribution server, the creator cannot infer the contents of the font table stored in the font distribution server from the combination font name. On the other hand, the font distribution system allows the creator to easily grasp the contents of the font table from the combination font name by allowing input of any combination font name.
Therefore, the font distribution system can improve the convenience when creating a markup document by allowing the creator to arbitrarily determine a combination font name.

この発明により、限られた記憶資源を圧迫することなく、和文文字・欧文文字混在のマークアップ文書における文字組版の利便性を向上できるフォント配信システム、及びフォント配信方法を提供することができる。   According to the present invention, it is possible to provide a font distribution system and a font distribution method that can improve the convenience of character composition in a markup document containing both Japanese characters and European characters without squeezing limited storage resources.

フォント配信システムの構成を示す構成図。The block diagram which shows the structure of a font delivery system. フォント配信システムの内部構成を示すブロック図。The block diagram which shows the internal structure of a font delivery system. フォントテーブルの構成を示すテーブル構成図。The table block diagram which shows the structure of a font table. フォント配信システムにおける各種情報の受け渡しの流れを示すシーケンス図。The sequence diagram which shows the flow of delivery of various information in a font delivery system. 文書作成装置における組合せフォント指定処理の動作を示すフローチャート。10 is a flowchart showing an operation of combination font designation processing in the document creation apparatus. フォント配信サーバーにおける組合せフォント登録処理の動作を示すフローチャート。The flowchart which shows the operation | movement of the combination font registration process in a font delivery server. 文字種ごとの書体名、ベースライン補正率、及び拡大縮小率の入力を促す画面を示す設定入力画面。A setting input screen showing a screen for prompting input of a typeface name, a baseline correction rate, and an enlargement / reduction rate for each character type. スクリプトコードを表示した画面を示すコード表示画面。A code display screen showing the screen displaying the script code. HTMLファイルのスタイルコード、及びスクリプトコードを説明する説明図。Explanatory drawing explaining the style code and script code of an HTML file. 文書閲覧装置における閲覧処理の動作を示すフローチャート。The flowchart which shows the operation | movement of the browsing process in a document browsing apparatus. フォント配信サーバーにおけるウェブフォント配信処理の動作を示すフローチャート。The flowchart which shows the operation | movement of the web font delivery process in a font delivery server. HTML文書を表示した画面を示す文書表示画面。A document display screen showing a screen on which an HTML document is displayed.

この発明の一実施形態を以下図面と共に説明する。
まず、本実施例におけるフォント配信システム1について図1から図3を用いて詳しく説明する。
なお、図1はフォント配信システム1の構成図を示し、図2はフォント配信システム1の内部構成のブロック図を示し、図3はフォントテーブル25のテーブル構成図を示している。
An embodiment of the present invention will be described below with reference to the drawings.
First, the font distribution system 1 in the present embodiment will be described in detail with reference to FIGS.
1 shows a configuration diagram of the font distribution system 1, FIG. 2 shows a block diagram of an internal configuration of the font distribution system 1, and FIG. 3 shows a table configuration diagram of the font table 25.

フォント配信システム1は、図1に示すように、後述するHTML文書34の作成に用いる文書作成装置10、HTML文書34の表示に必要なフォントの記憶と配信に用いるフォント配信サーバー20、HTML文書34の記憶と配信に用いるウェブサーバー30、及びHTML文書34の閲覧に用いる文書閲覧装置40で構成され、それぞれ通信回線2を介して相互に通信可能に接続している。
通信回線2は、LAN回線、専用回線、インターネット回線などで構成している。
As shown in FIG. 1, the font distribution system 1 includes a document creation apparatus 10 used for creating an HTML document 34, which will be described later, a font delivery server 20 used for storing and delivering fonts necessary for displaying the HTML document 34, and an HTML document 34. And a document browsing device 40 used for browsing the HTML document 34, which are connected to each other via the communication line 2.
The communication line 2 includes a LAN line, a dedicated line, an internet line, and the like.

文書作成装置10は、図2に示すように、入力部11、表示部12、記憶部13、回線接続部14、及び作成制御部15で構成している。
入力部11は、キーボード11aやマウス11bで構成し、利用者による入力操作を受け付ける機能を有している。
表示部12は、CRTあるいは液晶ディスプレイなどで構成し、各種情報を表示する機能を有している。
As shown in FIG. 2, the document creation apparatus 10 includes an input unit 11, a display unit 12, a storage unit 13, a line connection unit 14, and a creation control unit 15.
The input unit 11 includes a keyboard 11a and a mouse 11b, and has a function of accepting an input operation by a user.
The display unit 12 is composed of a CRT or a liquid crystal display and has a function of displaying various information.

記憶部13は、ハードディスクあるいは不揮発性メモリなどで構成し、各種情報を書き込んで記憶する機能と、各種情報を読み出す機能とを有している。
回線接続部14は、有線LANカードあるいは無線LAN子機などで構成し、通信回線2に接続する機能と、通信回線2を介してフォント配信サーバー20、及びウェブサーバー30と各種情報の送受信を行う機能とを有している。
The storage unit 13 includes a hard disk or a nonvolatile memory, and has a function of writing and storing various information and a function of reading various information.
The line connection unit 14 is composed of a wired LAN card or a wireless LAN slave unit, etc., and transmits / receives various functions to / from the font distribution server 20 and the web server 30 via the communication line 2. It has a function.

作成制御部15は、CPU及びメモリなどをハード構成と、プログラム及びデータなどのソフト構成とで構成し、利用者が文書作成装置10を操作してHTML文書34の作成を行う作成操作等の各種処理機能や、所定のバスを介して接続された各部の動作を制御する機能を有している。   The creation control unit 15 includes a CPU and a memory configured with a hardware configuration and a software configuration such as a program and data, and various operations such as a creation operation in which a user operates the document creation device 10 to create an HTML document 34. It has a processing function and a function of controlling the operation of each unit connected via a predetermined bus.

フォント配信サーバー20は、図2に示すように、テーブル記憶部21、フォント記憶部22、回線接続部23、及び配信制御部24で構成している。
テーブル記憶部21は、ハードディスクあるいは不揮発性メモリなどで構成し、各種情報を書き込んで記憶する機能と、各種情報を読み出す機能とを有している。なお、テーブル記憶部21には、利用者によって選択入力された文字種ごとの書体名などを登録したフォントテーブル25を記憶している。
As shown in FIG. 2, the font distribution server 20 includes a table storage unit 21, a font storage unit 22, a line connection unit 23, and a distribution control unit 24.
The table storage unit 21 is composed of a hard disk or a nonvolatile memory, and has a function of writing and storing various information and a function of reading various information. The table storage unit 21 stores a font table 25 in which typeface names and the like for each character type selected and input by the user are registered.

このフォントテーブル25は、図3に示すように、組合せ書体名欄25a、文字種欄25b、文字種別書体名欄25c、ベースライン補正率欄25d、及び拡大縮小率欄25eをそれぞれ関連付けて登録している。   In the font table 25, as shown in FIG. 3, a combination font name column 25a, a character type column 25b, a character type font name column 25c, a baseline correction rate column 25d, and an enlargement / reduction rate column 25e are registered in association with each other. Yes.

文字種欄25bは、複数の文字種が登録され、ここでは仮名、漢字、英字、及び数字が予め登録されている。
文字種別書体名欄25cは、文字種ごとに設定された書体名を登録している。
ベースライン補正率欄25dは、後述するフォント記憶部22に記憶されたフォントにおけるベースラインの位置に対して、文書閲覧装置40に配信されるフォントのベースラインの位置の相対的な移動量の比率を文字種ごとに登録している。
A plurality of character types are registered in the character type column 25b, and here, kana, kanji, English characters, and numbers are registered in advance.
The character typeface name column 25c registers the typeface name set for each character type.
The baseline correction factor column 25d is a ratio of the relative movement amount of the base line position of the font distributed to the document browsing device 40 with respect to the base line position in the font stored in the font storage unit 22 to be described later. Is registered for each character type.

拡大縮小率欄25eは、後述するフォント記憶部22に記憶されたフォントの大きさに対して、文書閲覧装置40に配信されるフォントの拡大縮小率を文字種ごとに登録している。
組合せ書体名欄25aは、文字種欄25b、文字種別書体名欄25c、ベースライン補正率欄25d、及び拡大縮小率欄25eの内容を組み合わせて構成された任意の書体を示す組合せ書体名を登録している。
The enlargement / reduction rate column 25e registers, for each character type, the enlargement / reduction rate of the font distributed to the document browsing device 40 with respect to the size of the font stored in the font storage unit 22 described later.
The combination font name column 25a registers a combination font name indicating an arbitrary font composed by combining the contents of the character type column 25b, the character type font name column 25c, the baseline correction factor column 25d, and the enlargement / reduction factor column 25e. ing.

フォント記憶部22は、ハードディスクあるいは不揮発性メモリなどで構成し、各種情報を書き込んで記憶する機能と各種情報を読み出す機能とを有している。このフォント記憶部22には、仮名文字用のフォント群である仮名書体ファイル26、漢字用のフォント群である漢字書体ファイル27、英字用のフォント群である英字書体ファイル28、及び数字用のフォント群である数字書体ファイル29を記憶している。なお、フォントは、所定の大きさのアウトライン形式で形成されるとともに、明朝体やゴシック体などの書体で形成された文字書体である。   The font storage unit 22 is composed of a hard disk or a nonvolatile memory, and has a function of writing and storing various information and a function of reading various information. The font storage unit 22 includes a kana typeface file 26 that is a font group for kana characters, a kanji typeface file 27 that is a font group for kanji, an alphabetic typeface file 28 that is a font group for alphabetic characters, and a font for numbers. A number typeface file 29 which is a group is stored. Note that the font is a character font that is formed in an outline format of a predetermined size and is formed in a font such as a Mincho or Gothic font.

回線接続部23は、有線LANカードあるいは無線LAN子機などで構成し、通信回線2に接続する機能と、通信回線2を介して文書作成装置10、及び文書閲覧装置40と各種情報の送受信を行う機能とを有している。
配信制御部24は、CPU及びメモリなどをハード構成と、プログラム及びデータなどのソフト構成とで構成し、文書作成装置10や文書閲覧装置40との各種情報の受け渡し等に係る各種処理機能や、所定のバスを介して接続された各部の動作を制御する機能を有している。
The line connection unit 23 is composed of a wired LAN card or a wireless LAN slave unit, etc., and transmits / receives various information to / from the document creation apparatus 10 and the document browsing apparatus 40 via the communication line 2. It has a function to perform.
The distribution control unit 24 is configured with a hardware configuration and a software configuration such as a program and data such as a CPU and a memory, and various processing functions related to the exchange of various information with the document creation device 10 and the document browsing device 40, It has a function of controlling the operation of each unit connected via a predetermined bus.

ウェブサーバー30は、図2に示すように、記憶部31、回線接続部32、及び制御部33で構成している。
記憶部31は、ハードディスクあるいは不揮発性メモリなどで構成し、各種情報を書き込んで記憶する機能と、各種情報を読み出す機能とを有している。この記憶部31には、文書作成装置10で作成され、後述する文書閲覧装置40のWEBブラウザ80(図12参照)で閲覧可能な複数のHTML文書34,35を記憶している。
As shown in FIG. 2, the web server 30 includes a storage unit 31, a line connection unit 32, and a control unit 33.
The storage unit 31 is configured by a hard disk or a nonvolatile memory, and has a function of writing and storing various information and a function of reading various information. The storage unit 31 stores a plurality of HTML documents 34 and 35 that are created by the document creation apparatus 10 and can be browsed by a WEB browser 80 (see FIG. 12) of the document browsing apparatus 40 described later.

HTML文書34,35は、HTML言語で記述されたHTMLファイル(図示省略)と、HTMLファイルに関連付けられたイメージファイル(図示省略)とで構成している。なお、HTMLファイルは、HTML言語のタグや本文の記述だけでなく、スタイルシート言語のタグや、JavaScript(登録商標)のタグなどで構成している。   The HTML documents 34 and 35 are composed of an HTML file (not shown) described in the HTML language and an image file (not shown) associated with the HTML file. Note that the HTML file includes not only HTML language tags and body descriptions, but also style sheet language tags, JavaScript (registered trademark) tags, and the like.

回線接続部32は、有線LANカードあるいは無線LAN子機などで構成し、通信回線2に接続する機能と、通信回線2を介して文書作成装置10、及び文書閲覧装置40と各種情報の送受信を行う機能とを有している。
制御部33は、CPU及びメモリなどをハード構成と、プログラム及びデータなどのソフト構成とで構成し、文書作成装置10や文書閲覧装置40との各種情報の受け渡し等に係る各種処理機能や、所定のバスを介して接続された各部の動作を制御する機能を有している。
The line connection unit 32 is configured by a wired LAN card or a wireless LAN slave unit, and transmits and receives various information to and from the document creation apparatus 10 and the document browsing apparatus 40 via the communication line 2. It has a function to perform.
The control unit 33 includes a CPU, a memory, and the like with a hardware configuration and a software configuration such as a program and data, and various processing functions related to the exchange of various information with the document creation device 10 and the document browsing device 40, and a predetermined It has a function of controlling the operation of each unit connected via the bus.

文書閲覧装置40は、図2に示すように、入力部41、表示部42、記憶部43、回線接続部44、及び閲覧制御部45で構成している。
入力部41は、キーボード41aやタッチパッド41bで構成し、利用者による入力操作を受け付ける機能を有している。
表示部42は、液晶ディスプレイで構成し、各種情報を表示する機能を有している。
As shown in FIG. 2, the document browsing device 40 includes an input unit 41, a display unit 42, a storage unit 43, a line connection unit 44, and a browsing control unit 45.
The input unit 41 includes a keyboard 41a and a touch pad 41b, and has a function of accepting an input operation by a user.
The display unit 42 includes a liquid crystal display and has a function of displaying various information.

記憶部43は、ハードディスクあるいは不揮発性メモリなどで構成し、各種情報を書き込んで記憶する機能と、各種情報を読み出す機能とを有している。
回線接続部44は、有線LANカードあるいは無線LAN子機などで構成し、通信回線2に接続する機能と、通信回線2を介してフォント配信サーバー20、及びウェブサーバー30と各種情報の送受信を行う機能とを有している。
The storage unit 43 is configured by a hard disk or a nonvolatile memory, and has a function of writing and storing various information and a function of reading various information.
The line connection unit 44 is composed of a wired LAN card or a wireless LAN slave unit, etc., and transmits / receives various functions to / from the font distribution server 20 and the web server 30 via the communication line 2. It has a function.

閲覧制御部45は、CPU及びメモリなどをハード構成と、プログラム及びデータなどのソフト構成とで構成し、利用者が文書閲覧装置40を操作してHTML文書34を閲覧する閲覧操作等の各種処理機能や、所定のバスを介して接続された各部の動作を制御する機能を有している。   The browsing control unit 45 includes a CPU and a memory with a hardware configuration and a software configuration such as a program and data, and various processes such as a browsing operation in which the user browses the HTML document 34 by operating the document browsing device 40. It has a function and a function of controlling the operation of each unit connected via a predetermined bus.

以上のような構成のフォント配信システム1において、作成者が文書作成装置10を操作して作成したHTML文書34をウェブサーバー30に登録するとともに、フォント配信サーバー20のテーブル記憶部21にフォントテーブル25を登録する際のフォント配信システム1の動作について図4から図9を用いて説明する。   In the font delivery system 1 configured as described above, the HTML document 34 created by the creator operating the document creation device 10 is registered in the web server 30 and the font table 25 is stored in the table storage unit 21 of the font delivery server 20. The operation of the font distribution system 1 when registering a message will be described with reference to FIGS.

なお、図4はフォント配信システム1における各種情報の受け渡しのシーケンス図を示し、図5は文書作成装置10における組合せフォント指定処理の動作のフローチャートを示し、図6はフォント配信サーバー20における組合せフォント登録処理の動作のフローチャートを示し、図7は文字種ごとの書体名、ベースライン補正率、及び拡大縮小率の入力を促す設定入力画面60を示し、図8はスクリプトコードを表示したコード表示画面70を示し、図9はHTMLファイルのスタイルコード34a、及びスクリプトコード34bを説明する説明図を示している。   4 shows a sequence diagram for transferring various types of information in the font distribution system 1, FIG. 5 shows a flowchart of the operation of combination font designation processing in the document creation apparatus 10, and FIG. 6 shows combination font registration in the font distribution server 20. FIG. 7 shows a setting input screen 60 for prompting input of a typeface name, a baseline correction rate, and an enlargement / reduction rate for each character type, and FIG. 8 shows a code display screen 70 displaying script codes. FIG. 9 shows an explanatory diagram for explaining the style code 34a and script code 34b of the HTML file.

まず、図4に示すように、文書作成装置10において、HTML文書34を作成する作成者の操作によって、WEBブラウザ50(図7参照)を起動してURL欄52(図7参照)に、フォント配信サーバー20にアクセスするURLが入力されると、作成制御部15は、入力されたURLをURL情報として通信回線2を介してフォント配信サーバー20に送信するURL送信処理を実行する(ステップS101)。   First, as shown in FIG. 4, in the document creation apparatus 10, the WEB browser 50 (see FIG. 7) is started by the operation of the creator who creates the HTML document 34, and the font in the URL column 52 (see FIG. 7) is displayed. When the URL for accessing the distribution server 20 is input, the creation control unit 15 executes URL transmission processing for transmitting the input URL as URL information to the font distribution server 20 via the communication line 2 (step S101). .

URL情報の受信を検知すると、フォント配信サーバー20の配信制御部24は、組合せフォント指定応答処理を実行する(ステップS102)。この際、配信制御部24は、文字種ごとに任意の書体名を指定する書体指定プログラムを文書作成装置10に通信回線2を介して送信する。   When the reception of URL information is detected, the distribution control unit 24 of the font distribution server 20 executes a combination font designation response process (step S102). At this time, the distribution control unit 24 transmits a typeface designation program for designating an arbitrary typeface name for each character type to the document creation apparatus 10 via the communication line 2.

書体指定プログラムの受信を検知すると、文書作成装置10の作成制御部15は、書体指定プログラムをメモリに一時記憶したのち、書体指定プログラムを実行して表示部12に表示したWEBブラウザ50上にメニュー画面(図示省略)を表示させる。そして、作成者がメニュー画面のメニューから文字種ごとに書体名の指定を行うメニューボタン(図示省略)を押下すると、作成制御部15は、組合せフォント指定処理を実行する(ステップS103)。   When the reception of the typeface designation program is detected, the creation control unit 15 of the document creation apparatus 10 temporarily stores the typeface designation program in the memory, and then executes the typeface designation program and displays a menu on the WEB browser 50 displayed on the display unit 12. A screen (not shown) is displayed. When the creator depresses a menu button (not shown) for designating a typeface name for each character type from the menu on the menu screen, the creation control unit 15 executes a combination font designation process (step S103).

組合せフォント指定処理を開始すると、図5に示すように、文書作成装置10の作成制御部15は、作成者に文字種ごとに任意の書体名などの選択入力を促す設定入力画面60を表示部12に表示されたWEBブラウザ50上に表示させる(ステップS201)。   When the combination font designation process is started, as shown in FIG. 5, the creation control unit 15 of the document creation apparatus 10 displays a setting input screen 60 that prompts the creator to select and input an arbitrary typeface name for each character type. Is displayed on the WEB browser 50 displayed in step S201.

この設定入力画面60は、図7に示すように、上部に作成者による任意の名称が入力される組合せ書体名欄61を表示し、その下方に文字種である仮名、漢字、英字、及び数字に対して、それぞれの書体名をプルダウンリスト(図示省略)から選択する仮名書体名欄62、漢字書体名欄63、英字書体名欄64、及び数字書体名欄65が表示されている。なお、プルダウンリストには、フォント配信サーバー20のフォント記憶部22に記憶されたフォントを示す書体名がリスト表示される。   As shown in FIG. 7, the setting input screen 60 displays a combined typeface name field 61 in which an arbitrary name by the creator is input at the top, and a kana, kanji, alphabetic characters, and numbers that are character types below it. On the other hand, a kana typeface name column 62, a kanji typeface name column 63, an alphabetic typeface name column 64, and a number typeface name column 65 for selecting each typeface name from a pull-down list (not shown) are displayed. In the pull-down list, font names indicating fonts stored in the font storage unit 22 of the font distribution server 20 are displayed as a list.

さらに、仮名書体名欄62、漢字書体名欄63、英字書体名欄64、及び数字書体名欄65の右横には、それぞれ選択されたフォントにおけるベースライン位置の移動量の比率を指定するベースライン補正率欄62a,63a,64a,65a、及び選択されたフォントの大きさの拡大縮小率を指定する拡大縮小率欄62b,63b,64b,65bを表示している。なお、ベースライン補正率欄62a,63a,64a,65a、及び拡大縮小率欄62b,63b,64b,65bには、フォント配信サーバー20に記憶されたフォントに対する比率を入力する。   Further, on the right side of the kana typeface name column 62, the kanji typeface name column 63, the alphabetic typeface name column 64, and the number typeface name column 65, a base for designating the ratio of the movement amount of the baseline position in each selected font. The line correction factor columns 62a, 63a, 64a, 65a and the enlargement / reduction rate columns 62b, 63b, 64b, 65b for designating the enlargement / reduction rate of the selected font size are displayed. In the baseline correction rate columns 62a, 63a, 64a, and 65a and the enlargement / reduction rate columns 62b, 63b, 64b, and 65b, the ratios to the fonts stored in the font distribution server 20 are input.

加えて、数字書体名欄65の下方には、WEBブラウザ50で設定されている文字のサイズを示すブラウザ文字サイズ欄66、文字種ごとに指定された書体名やサイズなどを反映したサンプル文字を表示するサンプル表示欄67が表示され、サンプル表示欄67の下方には組合せフォント指定処理をキャンセルするキャンセルボタン68、及び指定された各欄の値をフォント配信サーバー20に登録する登録ボタン69を表示している。   In addition, below the numeric font name column 65, a browser character size column 66 indicating the size of the character set in the WEB browser 50, and sample characters reflecting the font name and size specified for each character type are displayed. A sample display field 67 to be displayed is displayed. Below the sample display field 67, a cancel button 68 for canceling the combination font designation process and a registration button 69 for registering the value of each designated field in the font distribution server 20 are displayed. ing.

設定入力画面60をWEBブラウザ50に表示すると、作成制御部15は、サンプル更新処理を実行する(ステップS202)。
具体的には、仮名書体名欄62、漢字書体名欄63、英字書体名欄64、及び数字書体名欄65のいずれかの書体名を作成者が選択変更する、もしくはベースライン補正率欄62a,63a,64a,65a、及び拡大縮小率欄62b,63b,64b,65bのいずれかの値を作成者が入力変更すると、作成制御部15は、図4のステップS103に示すように、その都度フォント配信サーバー20に対して指定された値を変更情報として送信する。
When the setting input screen 60 is displayed on the WEB browser 50, the creation control unit 15 executes a sample update process (step S202).
Specifically, the creator selects or changes any of the font names in the kana typeface name column 62, the kanji typeface name column 63, the alphabetic typeface name column 64, and the number typeface name column 65, or the baseline correction factor column 62a. , 63a, 64a, 65a and the enlargement / reduction ratio fields 62b, 63b, 64b, 65b, each time the creator inputs and changes the value, the creation control unit 15 performs each time as shown in step S103 of FIG. The specified value is transmitted to the font distribution server 20 as change information.

そして、フォント配信サーバー20は、図4のステップS102において、受信した変更情報に基づいて文字種ごとに指定された書体名やベースライン補正率、あるいは拡大縮小率を反映したサンプル文字のフォントを応答情報として文書作成装置10に送信する。   Then, in step S102 of FIG. 4, the font distribution server 20 sends the response of the sample character font reflecting the typeface name, the baseline correction rate, or the enlargement / reduction rate specified for each character type based on the received change information. As shown in FIG.

応答情報を受信した作成制御部15は、サンプル文字のフォントを取得したフォントに置換してサンプル表示欄67の表示内容を更新する。
例えば、図7に示した設定入力画面60において、組合せ書体名欄61に「組合せ書体A」が入力され、仮名に対して、仮名書体名欄62には「MSゴシック」が選択され、仮名のベースライン補正率欄62aには「0.0」が入力され、仮名の拡大縮小率欄62bには「105.0」が入力されている。
Upon receiving the response information, the creation control unit 15 replaces the font of the sample character with the acquired font and updates the display content of the sample display field 67.
For example, in the setting input screen 60 shown in FIG. 7, “combination typeface A” is input to the combination typeface name field 61, and “MS Gothic” is selected in the kana typeface name field 62 for the kana. “0.0” is entered in the baseline correction factor column 62a, and “105.0” is entered in the kana scaling factor column 62b.

漢字に対して、漢字書体名欄63には「MS明朝」が選択され、漢字のベースライン補正率欄63aには「0.0」が入力され、漢字の拡大縮小率欄63bには「100.0」が入力されている。
英字に対しては、英字書体名欄64には「Times
New Roman」が選択され、英字のベースライン補正率欄64aには「−10.0」が入力され、英字の拡大縮小率欄64bには「110.0」が入力されている。
For the Chinese character, “MS Mincho” is selected in the Chinese character type name column 63, “0.0” is input in the Kanji baseline correction rate column 63a, and “Kanji expansion / reduction rate column 63b” "100.0" is entered.
For English letters, the English font face name field 64 displays “Times”.
"New Roman" is selected, "-10.0" is entered in the English baseline correction factor column 64a, and "110.0" is entered in the English enlargement / reduction factor column 64b.

数字に対しては、数字書体名欄65には「Impact」が選択され、数字のベースライン補正率欄65aには「0.0」が入力され、数字の拡大縮小率欄65bには「107.0」が入力されている。
なお、ブラウザ文字サイズ欄66にはWEBブラウザ50から取得した文字サイズである「10」を表示している。
For numbers, “Impact” is selected in the number typeface name column 65 , “0.0” is input in the number baseline correction rate column 65a, and “107” is input in the number scaling rate column 65b. .0 "is entered.
In the browser character size column 66, “10” which is the character size acquired from the WEB browser 50 is displayed.

このように仮名書体名欄62などに選択入力された内容に基づいて、文書作成装置10とフォント配信サーバー20との間で変更情報と応答情報との授受が行われ、文書作成装置10の作成制御部15は、サンプル表示欄67の「配信書体さんぷるテキストabcxyz123789」というサンプル文字を更新する。この際、サンプル表示欄67に表示されるサンプル文字は、フォント配信サーバー20のフォントに対してベースラインの補正、及び拡大縮小処理したフォントと、WEBブラウザ50で設定されている文字のサイズに基づいて表示される。   As described above, the change information and the response information are exchanged between the document creation apparatus 10 and the font distribution server 20 based on the contents selected and input in the kana typeface name field 62 and the like. The control unit 15 updates the sample character “delivery typeface sample text abcxyz123789” in the sample display field 67. At this time, the sample characters displayed in the sample display column 67 are based on the font of the font of the font distribution server 20 that has been corrected for baseline and enlarged / reduced, and the character size set in the WEB browser 50. Displayed.

より詳しくは、サンプル表示欄67には、「配信書体」がMS明朝で表示され、「さんぷるテキスト」がMSゴシックで表示され、「abcxyz」がベースラインを下方に10%オフセットしたTimes
New Romanで表示され、「123789」がImpactで表示されている。これらサンプル文字は、フォント配信サーバー20のフォントにベースラインの補正、及び拡大縮小処理を施したフォントを、文字サイズ10ptの大きさに変換して表示されている。
More specifically, in the sample display field 67, “delivery typeface” is displayed in MS Mincho, “Sampuru text” is displayed in MS Gothic, and “abcxyz” is offset by 10% downward from the baseline.
“New Roman” is displayed, and “123789” is displayed as “Impact”. These sample characters are displayed after converting the font of the font of the font distribution server 20 to the baseline correction and the enlargement / reduction processing into a character size of 10 pt.

その後、作成制御部15は、登録ボタン69あるいはキャンセルボタン68のいずれかが押下されたかを判定する(ステップS203)。作成者の操作によってキャンセルボタン68が押下されると(ステップS203:2)、作成制御部15は、組合せフォント指定処理を終了する。   Thereafter, the creation control unit 15 determines whether either the registration button 69 or the cancel button 68 has been pressed (step S203). When the cancel button 68 is pressed by the creator's operation (step S203: 2), the creation control unit 15 ends the combination font designation process.

一方、作成者の操作によって登録ボタン69が押下されると(ステップS203:1)、作成制御部15は、組合せフォント情報送信処理を実行して(ステップS204)、組合せ書体名欄61、仮名書体名欄62、漢字書体名欄63、英字書体名欄64、数字書体名欄65、ベースライン補正率欄62a,63a,64a,65a、及び拡大縮小率欄62b,63b,64b,65bに入力された値を関連付けて組合せフォント情報としてフォント配信サーバー20に通信回線2を介して送信する。   On the other hand, when the registration button 69 is pressed by the creator's operation (step S203: 1), the creation control unit 15 executes a combination font information transmission process (step S204) to obtain a combination typeface name field 61, a kana typeface. Name field 62, kanji typeface name field 63, alphabetic typeface name field 64, numeric typeface name field 65, baseline correction factor fields 62a, 63a, 64a, 65a, and enlargement / reduction factor fields 62b, 63b, 64b, 65b These values are associated and transmitted to the font distribution server 20 via the communication line 2 as combination font information.

図4に示すように、組合せフォント情報の受信を検知すると、フォント配信サーバー20の配信制御部24は、取得した組合せフォント情報をフォントテーブル25に登録する組合せフォント登録処理を実行する(ステップS104)。   As shown in FIG. 4, when the reception of the combination font information is detected, the distribution control unit 24 of the font distribution server 20 executes a combination font registration process for registering the acquired combination font information in the font table 25 (step S104). .

組合せフォント登録処理を開始すると、フォント配信サーバー20の配信制御部24は、図6に示すように、取得した組合せフォント情報をフォントテーブル25に登録するフォントテーブル登録処理を実行する(ステップS301)。   When the combination font registration process is started, the distribution control unit 24 of the font distribution server 20 executes a font table registration process for registering the acquired combination font information in the font table 25 as shown in FIG. 6 (step S301).

具体的には、配信制御部24は、組合せフォント情報に基づいて、フォントテーブル25の組合せ書体名欄25aに組合せ書体名「組合せ書体A」を登録し、文字種別書体名欄25c、ベースライン補正率欄25d、及び拡大縮小率欄25eにそれぞれ文字種欄25bの文字種に対応する値を登録したのち、フォントテーブル25をテーブル記憶部21に記憶する。   Specifically, the distribution control unit 24 registers the combination typeface name “combination typeface A” in the combination typeface name field 25a of the font table 25 based on the combination font information, and the character typeface name field 25c, baseline correction. After the values corresponding to the character types in the character type column 25b are registered in the rate column 25d and the enlargement / reduction rate column 25e, the font table 25 is stored in the table storage unit 21.

例えば、フォントテーブル25の組合せ書体名欄25aに図7の設定入力画面60で入力した「組合せ書体A」を登録し、文字種欄25bの「仮名」に対応する文字種別書体名欄25cには「MSゴシック」を登録し、ベースライン補正率欄25dには「0.0」を登録し、拡大縮小率欄25eには「105.0」を登録する。同様に、文字種欄25bの「漢字」、「英字」及び「数字」に対応する文字種別書体名欄25c、ベースライン補正率欄25d、及び拡大縮小率欄25eに、組合せフォント情報に基づいた値を登録する。   For example, “combination typeface A” input in the setting input screen 60 of FIG. 7 is registered in the combination typeface name field 25a of the font table 25, and “character name typeface name field 25c corresponding to“ kana ”in the character type field 25b“ “MS Gothic” is registered, “0.0” is registered in the baseline correction factor column 25d, and “105.0” is registered in the enlargement / reduction factor column 25e. Similarly, values based on the combination font information are displayed in the character typeface name column 25c, the baseline correction factor column 25d, and the enlargement / reduction factor column 25e corresponding to “Kanji”, “English characters”, and “numeric characters” in the character type column 25b. Register.

フォントテーブル25をテーブル記憶部21に記憶すると、配信制御部24は、HTMLファイルに記載するスクリプトコードを生成するコード生成処理を実行する(ステップS302)。このスクリプトコードは、HTMLファイルに記述することで、後述するフォント配信プログラムの送信要求を文書閲覧装置40からフォント配信サーバー20に行うJavaScriptコードである。   When the font table 25 is stored in the table storage unit 21, the distribution control unit 24 executes a code generation process for generating a script code described in the HTML file (step S302). This script code is a JavaScript code that is described in an HTML file and makes a transmission request for a font distribution program, which will be described later, from the document browsing apparatus 40 to the font distribution server 20.

スクリプトコードを生成すると、配信制御部24は、スクリプトコードをコード情報として文書作成装置10に通信回線2を介して送信するコード情報送信処理を実行する(ステップS303)。その後、配信制御部24は、組合せフォント登録処理を終了する。   When the script code is generated, the distribution control unit 24 executes code information transmission processing for transmitting the script code as code information to the document creation apparatus 10 via the communication line 2 (step S303). Thereafter, the distribution control unit 24 ends the combination font registration process.

図5のステップS204に戻り、文書作成装置10において、フォント配信サーバー20に組合せフォント情報を送信すると、作成制御部15は、コード情報を受信したか否かを判定する(ステップS205)。コード情報を受信していなければ(ステップS205:No)、作成制御部15は、コード情報を受信するまで処理を待機する。   Returning to step S204 of FIG. 5, when the combination font information is transmitted to the font distribution server 20 in the document creation apparatus 10, the creation control unit 15 determines whether or not the code information is received (step S205). If code information has not been received (step S205: No), the creation control unit 15 waits for processing until code information is received.

一方、コード情報を受信すると(ステップS205:Yes)、作成制御部15は、WEBブラウザ50にコード表示画面70を表示させる(ステップS206)。
このコード表示画面70は、図8に示すように、上部に「下記コードをコピーして、HTMLファイルの<body>〜</body>の間に貼り付けて下さい。」という案内メッセージと、コード情報をスクリプトコードに変換して表示するコード表示欄71とを表示している。
On the other hand, when receiving the code information (step S205: Yes), the creation control unit 15 displays the code display screen 70 on the WEB browser 50 (step S206).
As shown in FIG. 8, the code display screen 70 has an information message and a code in the upper part “copy the following code and paste it between <body> to </ body>” of the HTML file. A code display field 71 for displaying information converted into script code is displayed.

コード表示画面70を表示すると、作成制御部15は、WEBブラウザ50の閉じるボタン51が押下されたか否かを判定する(ステップS207)。閉じるボタン51が押下されなければ(ステップS207:No)、作成制御部15は、閉じるボタン51が押下されるまで処理を待機する。一方、閉じるボタン51が押下されると(ステップS207:Yes)、作成制御部15は、組合せフォント指定処理を終了する。   When the code display screen 70 is displayed, the creation control unit 15 determines whether or not the close button 51 of the WEB browser 50 has been pressed (step S207). If the close button 51 is not pressed (step S207: No), the creation control unit 15 waits for processing until the close button 51 is pressed. On the other hand, when the close button 51 is pressed (step S207: Yes), the creation control unit 15 ends the combination font designation process.

その後、作成者は、文書作成装置10を操作してHTMLファイルを編集するエディタ(図示省略)を起動する。そして、作成者は、エディタを用いて取得したスクリプトコードと組合せ書体名とをHTMLファイルの所定の位置に記述して和文文字・欧文文字混在のHTML文書34を完成させる。   Thereafter, the creator operates the document creation apparatus 10 to activate an editor (not shown) for editing the HTML file. Then, the creator describes the script code and the combination typeface name acquired using the editor at a predetermined position in the HTML file, and completes the HTML document 34 in which Japanese characters and European characters are mixed.

このHTML文書34は、図9に示すように、<head>〜</head>タグの間において、HTML文書の文字を「組合せ書体A」で表示させるスタイル言語によるスタイルコード34aを記述するとともに、<body>〜</body>タグの間において、JavaScript(登録商標)によるスクリプトコード34bを記述している。なお、HTML文書34の本文として、「フォント配信123sample」、及び「表示サンプル789abcxyz」が記述されている。   As shown in FIG. 9, the HTML document 34 describes a style code 34a in a style language that displays characters of the HTML document in a “combination typeface A” between <head> to </ head> tags. A script code 34b by JavaScript (registered trademark) is described between the <body> to </ body> tags. It should be noted that “font distribution 123 sample” and “display sample 789abcxyz” are described as the body of the HTML document 34.

図4のステップS103に戻り、HTML文書34を完成させた作成者の所定の操作により、文書作成装置10の作成制御部15は、文書送信処理を実行し(ステップS105)、完成したHTML文書34を文書情報として通信回線2を介してウェブサーバー30に送信する。
文書情報の受信を検知すると、ウェブサーバー30の制御部33は、文書登録処理を実行し(ステップS106)、取得した文書情報をHTML文書34として記憶部31に記憶する。
Returning to step S103 of FIG. 4, the creation control unit 15 of the document creation apparatus 10 executes document transmission processing by a predetermined operation of the creator who completed the HTML document 34 (step S105), and the completed HTML document 34 is obtained. As document information to the web server 30 via the communication line 2.
When the reception of the document information is detected, the control unit 33 of the web server 30 executes a document registration process (step S106), and stores the acquired document information in the storage unit 31 as the HTML document 34.

次に、文書閲覧装置40を閲覧者が操作してHTML文書34を閲覧する際のフォント配信システム1の動作について図4、及び図10から図12を用いて詳しく説明する。
なお、図10は文書閲覧装置40における閲覧処理の動作のフローチャートを示し、図11はフォント配信サーバー20におけるウェブフォント配信処理の動作のフローチャートを示し、図12はHTML文書34を表示した文書表示画面90を示している。
Next, the operation of the font distribution system 1 when the viewer operates the document browsing device 40 to browse the HTML document 34 will be described in detail with reference to FIGS. 4 and 10 to 12.
10 shows a flowchart of the browsing process operation in the document browsing apparatus 40, FIG. 11 shows a flowchart of the web font distribution process operation in the font distribution server 20, and FIG. 12 shows a document display screen displaying the HTML document 34. 90 is shown.

図4に示すように、文書閲覧装置40において、HTML文書34の閲覧を希望する閲覧者の操作によって起動したWEBブラウザ80(図12参照)のURL欄81(図12参照)に、ウェブサーバー30にアクセスするURLが入力されると、作成制御部15は、入力されたURLをURL情報として通信回線2を介してウェブサーバー30に送信するURL送信処理を実行する(ステップS111)。   As shown in FIG. 4, in the document browsing device 40, the web server 30 is displayed in the URL column 81 (see FIG. 12) of the WEB browser 80 (see FIG. 12) activated by the operation of a viewer who wants to browse the HTML document 34. When the URL for accessing is input, the creation control unit 15 executes URL transmission processing for transmitting the input URL as URL information to the web server 30 via the communication line 2 (step S111).

URL情報の受信を検知すると、ウェブサーバー30の制御部33は、文書配信処理を実行して(ステップS112)、取得したURL情報に対応するHTML文書34を記憶部31から読み出して文書情報として文書作成装置10に通信回線2を介して送信する。   When the reception of the URL information is detected, the control unit 33 of the web server 30 executes a document distribution process (step S112), reads out the HTML document 34 corresponding to the acquired URL information from the storage unit 31, and stores the document as document information. The data is transmitted to the creation device 10 via the communication line 2.

文書情報の受信を検知すると、文書閲覧装置40の閲覧制御部45は、文書情報をHTML文書34として記憶部43に記憶する。その後、閲覧制御部45は、HTML文書34を記憶部43から読み出すとともに、HTML文書34を解析して、WEBブラウザ80で閲覧可能にする閲覧処理を実行する(ステップS113)。   When the reception of the document information is detected, the browsing control unit 45 of the document browsing device 40 stores the document information in the storage unit 43 as the HTML document 34. Thereafter, the browsing control unit 45 reads the HTML document 34 from the storage unit 43 and analyzes the HTML document 34 to execute a browsing process for enabling browsing with the WEB browser 80 (step S113).

閲覧処理を開始すると、図10に示すように、文書閲覧装置40の閲覧制御部45は、HTML文書34を解析してHTMLファイルにスクリプトコード34bが記述されているか否かを判定する(ステップS401)。   When the browsing process is started, as shown in FIG. 10, the browsing control unit 45 of the document browsing apparatus 40 analyzes the HTML document 34 and determines whether or not the script code 34b is described in the HTML file (step S401). ).

HTMLファイルにスクリプトコード34bが記述されていれば(ステップS401:Yes)、閲覧制御部45は、配信プログラム要求処理を実行して(ステップS402)、HTMLファイルのスクリプトコード34bに基づいてフォント配信プログラムの送信を要求する配信プログラム要求情報をフォント配信サーバー20に通信回線2を介して送信する。   If the script code 34b is described in the HTML file (step S401: Yes), the browsing control unit 45 executes the distribution program request process (step S402), and the font distribution program based on the script code 34b of the HTML file. The distribution program request information for requesting the transmission is transmitted to the font distribution server 20 via the communication line 2.

図4に示すように、配信プログラム要求情報の受信を検知すると、フォント配信サーバー20の配信制御部24は、ウェブフォント配信処理を実行する(ステップS114)。
ウェブフォント配信処理を開始すると、図11に示すように、配信制御部24は、フォント配信プログラム送信処理を実行して(ステップS501)、取得した配信プログラム要求情報に基づいてフォント配信プログラムを文書閲覧装置40に通信回線2を介して送信する。
As shown in FIG. 4, when the reception of distribution program request information is detected, the distribution control unit 24 of the font distribution server 20 executes web font distribution processing (step S114).
When the web font distribution process is started, as shown in FIG. 11, the distribution control unit 24 executes a font distribution program transmission process (step S501), and browses the font distribution program based on the acquired distribution program request information. The data is transmitted to the device 40 via the communication line 2.

その後、配信制御部24は、後述するサブセット要求情報を受信したか否かを判定する(ステップS502)。サブセット要求情報を受信していなければ(ステップS502:No)、配信制御部24は、サブセット要求情報を受信するまで処理を待機する。   Thereafter, the distribution control unit 24 determines whether or not subset request information described later has been received (step S502). If the subset request information has not been received (step S502: No), the distribution control unit 24 waits for processing until the subset request information is received.

図10のステップS402に戻り、文書閲覧装置40において、配信プログラム要求情報をフォント配信サーバー20に送信すると、閲覧制御部45は、フォント配信プログラムを受信したか否かを判定する(ステップS403)。フォント配信プログラムを受信していなければ(ステップS403:No)、閲覧制御部45は、フォント配信プログラムを受信するまで処理を待機する。   Returning to step S402 in FIG. 10, when the distribution program request information is transmitted to the font distribution server 20 in the document browsing apparatus 40, the browsing control unit 45 determines whether or not the font distribution program has been received (step S403). If the font distribution program has not been received (step S403: No), the browsing control unit 45 waits for processing until the font distribution program is received.

一方、フォント配信プログラムを受信すると(ステップS403:Yes)、閲覧制御部45は、フォント配信プログラムをメモリに一時記憶したのちフォント配信プログラムを実行する。その後、閲覧制御部45は、フォント配信プログラムに基づいてHTML文書34の文字の文字コードを抽出する文字コード抽出処理を実行する(ステップS404)。この際、閲覧制御部45は、HTMLファイルにおけるHTML言語タグ、あるいはスタイル言語タグで囲われた文字列を1文字単位で抽出して、抽出した文字の文字コードを文字情報としてメモリに一時記憶する。   On the other hand, when the font distribution program is received (step S403: Yes), the browsing control unit 45 temporarily stores the font distribution program in the memory and then executes the font distribution program. Thereafter, the browsing control unit 45 executes a character code extraction process for extracting the character code of the character of the HTML document 34 based on the font distribution program (step S404). At this time, the browsing control unit 45 extracts a character string enclosed by the HTML language tag or the style language tag in the HTML file in units of one character, and temporarily stores the character code of the extracted character in the memory as character information. .

文字コード抽出処理を終了すると、閲覧制御部45は、フォント配信プログラムに基づいてサブセット情報の配信をフォント配信サーバー20に要求するサブセット情報要求処理を実行する(ステップS405)。この際、閲覧制御部45は、一時記憶した文字情報と、HTMLファイルに記述された組合せ書体名、ここでは「組合せ書体A」とを関連付けてサブセット要求情報として通信回線2を介してフォント配信サーバー20に送信する。   When the character code extraction process is completed, the browsing control unit 45 executes a subset information request process for requesting the font distribution server 20 to distribute subset information based on the font distribution program (step S405). At this time, the browsing control unit 45 associates the temporarily stored character information with the combination font name described in the HTML file, in this case “combination font A”, as the subset request information via the communication line 2 as a font distribution server. 20 to send.

その後、閲覧制御部45は、サブセット情報を受信したか否かを判定する(ステップS406)。サブセット情報を受信していなければ(ステップS406:No)、閲覧制御部45は、サブセット情報を受信するまで処理を待機する。   Thereafter, the browsing control unit 45 determines whether or not subset information has been received (step S406). If the subset information has not been received (step S406: No), the browsing control unit 45 waits for processing until the subset information is received.

図11のステップS502に戻り、フォント配信サーバー20において、サブセット要求情報を受信すると(ステップS502:Yes)、配信制御部24は、サブセット要求情報に基づいてフォントテーブル検索処理を実行する(ステップS503)。この際、配信制御部24は、サブセット要求情報の組合せ書体名「組合せ書体A」と、テーブル記憶部21に記憶されたフォントテーブル25の組合せ書体名欄25aとを比較して、受信した組合せ書体名「組合せ書体A」に対応するフォントテーブル25を検索する。   Returning to step S502 of FIG. 11, when the font distribution server 20 receives the subset request information (step S502: Yes), the distribution control unit 24 executes a font table search process based on the subset request information (step S503). . At this time, the distribution control unit 24 compares the combination typeface name “combination typeface A” of the subset request information with the combination typeface name field 25a of the font table 25 stored in the table storage unit 21, and receives the received combination typeface. The font table 25 corresponding to the name “combination typeface A” is searched.

受信した組合せ書体名に対応するフォントテーブル25を検出すると、配信制御部24は、フォントテーブル25に基づいてフォント記憶部22からフォントを抽出するフォント抽出処理を実行する(ステップS504)。   When the font table 25 corresponding to the received combination typeface name is detected, the distribution control unit 24 executes a font extraction process for extracting a font from the font storage unit 22 based on the font table 25 (step S504).

より詳しくは、配信制御部24は、文字情報の文字コードから文字コードごとに文字種を判別し、判別した文字種に対応する書体ファイル(仮名書体ファイル26、漢字書体ファイル27、英字書体ファイル28、あるいは数字書体ファイル29)をフォント記憶部22から読み出す。   More specifically, the distribution control unit 24 determines the character type for each character code from the character code of the character information, and the typeface file (kana typeface file 26, kanji typeface file 27, alphabetic typeface file 28, or The number typeface file 29) is read from the font storage unit 22.

その後、配信制御部24は、フォントテーブル25の文字種欄25b、及び文字種別書体名欄25cから文字種に対応する書体名を識別し、フォント記憶部22から読み出した各書体ファイルから文字コードに対応するフォントを読み出す。   Thereafter, the distribution control unit 24 identifies the font name corresponding to the character type from the character type column 25b and the character type font name column 25c of the font table 25, and corresponds to the character code from each typeface file read from the font storage unit 22. Read the font.

例えば、図9に示したHTMLファイルの場合、配信制御部24は、「フ」、「ォ」、「ン」、及び「ト」という文字に対応するそれぞれの文字コードから仮名であることを判別し、仮名書体ファイル26をフォント記憶部22から読み出す。その後、配信制御部24は、フォントテーブル25から仮名がMSゴシックであることを識別し、仮名書体ファイル26から文字コードに対応するMSゴシックのフォントを読み出す。   For example, in the case of the HTML file shown in FIG. 9, the distribution control unit 24 determines that the character is a kana from each character code corresponding to the characters “fu”, “o”, “n”, and “g”. The kana typeface file 26 is read from the font storage unit 22. Thereafter, the distribution control unit 24 identifies that the kana is MS Gothic from the font table 25, and reads the MS Gothic font corresponding to the character code from the kana typeface file 26.

フォント抽出処理を終了すると、配信制御部24は、読み出したフォントを加工するフォント加工処理を実行する(ステップS505)。
より詳しくは、配信制御部24は、フォントテーブル25のベースライン補正率欄25d、及び拡大縮小率欄25eの各値に基づいて、読み出した文字コードごとのフォントに対してベースラインの位置の移動、あるいは拡大縮小の処理を行ったのち、メモリに一時記憶する。
When the font extraction process ends, the distribution control unit 24 executes a font processing process that processes the read font (step S505).
More specifically, the distribution control unit 24 moves the position of the baseline with respect to the font for each read character code based on the values in the baseline correction factor column 25d and the enlargement / reduction factor column 25e of the font table 25. Or, after enlarging / reducing processing, it is temporarily stored in the memory.

フォント加工処理を終了すると、配信制御部24は、ウェブフォント生成処理を実行して(ステップS506)、文字情報の全ての文字コードに対応する加工済みのフォントを集約して、「組合せ書体A」という書体名の配信用フォントであるウェブフォントを生成する。   When the font processing process ends, the distribution control unit 24 executes a web font generation process (step S506), aggregates the processed fonts corresponding to all the character codes of the character information, and displays “combination typeface A”. A web font, which is a font for distribution with the typeface name, is generated.

すなわち、「組合せ書体A」というウェブフォントは、HTML文書34中の文字の文字コードに対して、仮名の文字コードに対応するMSゴシックのフォントと、漢字の文字コードに対応するMS明朝のフォントと、英字の文字コードに対応するTimes
New Romanのフォントと、数字の文字コードに対応するImpactのフォントとが、それぞれ加工された状態で列挙格納されている。
That is, the web font “combination typeface A” is an MS Gothic font corresponding to the character code of the kana and an MS Mincho font corresponding to the character code of the kanji for the character code of the HTML document 34. And Times corresponding to alphabetic character codes
A New Roman font and an Impact font corresponding to a numeric character code are enumerated and stored in a processed state.

その後、配信制御部24は、サブセット情報配信処理を実行し(ステップS507)、生成したウェブフォントをサブセット情報として、通信回線2を介して文書閲覧装置40に送信したのち、フォント配信処理を終了する。   Thereafter, the distribution control unit 24 executes subset information distribution processing (step S507), transmits the generated web font as subset information to the document browsing apparatus 40 via the communication line 2, and then ends the font distribution processing. .

図9のステップS406に戻り、文書閲覧装置40において、サブセット情報を受信すると(ステップS406:Yes)、閲覧制御部45は、サブセット情報を「組合せ書体A」という書体名のウェブフォントとして記憶部43に記憶する。   Returning to step S406 in FIG. 9, when the document browsing apparatus 40 receives the subset information (step S406: Yes), the browsing control unit 45 stores the subset information as a web font having a font name “combination font A”. To remember.

そして、閲覧制御部45は、ブラウザ表示処理を実行して(ステップS407)、HTML文書34と取得したウェブフォントとに基づいてHTML文書34を閲覧可能してWEBブラウザ80に文書表示画面90を表示する。   Then, the browsing control unit 45 executes browser display processing (step S407), can browse the HTML document 34 based on the HTML document 34 and the acquired web font, and displays the document display screen 90 on the WEB browser 80. To do.

この文書表示画面90は、図12に示すように、HTMLファイルの「フォント配信123sample」、及び「表示サンプル789abcxyz」という文字に対して、「組合せ書体A」のウェブフォントを適用して、文字種ごとに書体、ベースラインの位置、及び大きさの異なる文字書体でHTMLファイルを表示している。   As shown in FIG. 12, the document display screen 90 applies the web font “combination typeface A” to the characters “font distribution 123 sample” and “display sample 789abcxyz” in the HTML file, HTML files are displayed in a typeface with different typeface, baseline position, and size.

より具体的には、文書作成装置10において、組合せフォント指定処理におけるサンプル更新処理によってサンプル表示欄67に表示されたサンプル文字のように、文書閲覧装置40は、文字種ごとの書体などを異ならせてHTMLファイルの文字を表示している。
文書表示画面90を表示すると、閲覧制御部45は、閲覧処理を終了する。
More specifically, in the document creation device 10, the document browsing device 40 changes the typeface for each character type and the like as the sample characters displayed in the sample display column 67 by the sample update processing in the combination font designation processing. The characters of the HTML file are displayed.
When the document display screen 90 is displayed, the browsing control unit 45 ends the browsing process.

なお、図10のステップS401において、HTMLファイルにスクリプトコード34bが記述されていなければ(ステップS401:No)、閲覧制御部45は、WEBブラウザ80で予め設定された書体に基づいてHTML文書34の文字を表示したのち、閲覧処理を終了する。   If the script code 34b is not described in the HTML file in step S401 in FIG. 10 (step S401: No), the viewing control unit 45 stores the HTML document 34 based on the font set in advance in the WEB browser 80. After displaying the characters, the browsing process is terminated.

以上のような動作を実現するフォント配信システム1、及びフォント配信方法は、限られた記憶資源を圧迫することなく、和文文字・欧文文字混在のHTMLファイルにおける文字組版の利便性を向上することができる。   The font distribution system 1 and the font distribution method that realize the above operations can improve the convenience of character composition in an HTML file containing both Japanese characters and European characters, without squeezing limited storage resources. it can.

具体的には、文書閲覧装置40がHTML文書34を取得する度に、サブセット要求情報に対応するウェブフォントを文書閲覧装置40に配信するフォント配信サーバー20の配信制御部24により、フォント配信システム1、及びフォント配信方法は、サブセット要求情報に対応する配信用の新しいフォントを別途用意し、フォント配信サーバー20のフォント記憶部22に予め記憶することを不要にして、HTMLファイルの表示に必要なウェブフォントを文書閲覧装置40に配信することができる。   Specifically, every time the document browsing device 40 acquires the HTML document 34, the font distribution system 1 uses the distribution control unit 24 of the font distribution server 20 that distributes the web font corresponding to the subset request information to the document browsing device 40. And a font distribution method, a new font for distribution corresponding to the subset request information is separately prepared and stored in the font storage unit 22 of the font distribution server 20 in advance, and the web necessary for displaying the HTML file The font can be distributed to the document browsing device 40.

これにより、フォント配信サーバー20にサブセット要求情報に対応する新しいフォントを予め記憶する場合、新しいフォントによってフォント配信サーバー20の記憶容量が圧迫されるのに対して、フォント配信システム1、及びフォント配信方法は、サブセット要求情報に対応するウェブフォントを記憶しないため、フォント配信サーバー20におけるフォント記憶部22の限られた記憶容量を圧迫することなく、有効に活用することができる。   Thus, when a new font corresponding to the subset request information is stored in advance in the font distribution server 20, the storage capacity of the font distribution server 20 is compressed by the new font, whereas the font distribution system 1 and the font distribution method Since the web font corresponding to the subset request information is not stored, it can be effectively used without squeezing the limited storage capacity of the font storage unit 22 in the font distribution server 20.

そして、文書閲覧装置40は、取得したウェブフォントによって、HTMLファイルの文字を、作成者が意図した書体で表示部42に表示されたWEBブラウザ80に表示することができる。すなわち、作成者は、HTMLファイルにスタイルコード34aやスクリプトコード34bを記述するだけで、文字を所望する書体で表示できるHTMLファイルを作成することができる。このため、フォント配信システム1、及びフォント配信方法は、例えば、作成者がHTMLファイルの文字、あるいは単語に対して文字種ごとにスタイル言語タグを一つ一つ付与するような手間を不要にすることができる。   Then, the document browsing device 40 can display the characters of the HTML file on the WEB browser 80 displayed on the display unit 42 in the typeface intended by the creator, using the acquired web font. That is, the creator can create an HTML file that can display characters in a desired typeface simply by describing the style code 34a and script code 34b in the HTML file. For this reason, the font distribution system 1 and the font distribution method, for example, eliminate the need for the creator to add a style language tag for each character type to the character or word of the HTML file. Can do.

従って、フォント配信システム1、及びフォント配信方法は、限られた記憶資源を圧迫することなく、和文文字・欧文文字混在のHTMLファイルにおける文字組版の利便性を向上することができる。   Therefore, the font distribution system 1 and the font distribution method can improve the convenience of character composition in an HTML file containing both Japanese characters and European characters without squeezing limited storage resources.

また、文書閲覧装置40の閲覧制御部45を、文字コード抽出処理と、サブセット情報要求処理とを実行する構成とし、フォント配信サーバー20の配信制御部24を、フォント抽出処理と、ウェブフォント生成処理と、サブセット情報配信処理とを実行する構成としたことにより、フォント配信システム1は、HTMLファイルの文字に対応するフォントだけをウェブフォントとして、フォント配信サーバー20から文書閲覧装置40に配信することができる。   Further, the browsing control unit 45 of the document browsing device 40 is configured to execute character code extraction processing and subset information request processing, and the distribution control unit 24 of the font distribution server 20 performs font extraction processing and web font generation processing. By executing the subset information distribution process, the font distribution system 1 can distribute only the font corresponding to the characters of the HTML file as a web font from the font distribution server 20 to the document browsing apparatus 40. it can.

これにより、フォント配信システム1は、フォント配信サーバー20から文書閲覧装置40に送信するデータサイズを大幅に抑えることができる。このため、フォント配信システム1は、文書閲覧装置40がHTML文書34を取得してからHTML文書34を表示するまでに要する時間を短縮することができる。   Thereby, the font distribution system 1 can largely suppress the data size transmitted from the font distribution server 20 to the document browsing device 40. For this reason, the font distribution system 1 can reduce the time required from when the document browsing device 40 acquires the HTML document 34 until the HTML document 34 is displayed.

さらに、フォント配信サーバー20から文書閲覧装置40にウェブフォントを配信する際、フォント配信システム1は、通信回線のトラフィックの増加を抑制することができる。加えて、フォント配信システム1は、取得したウェブフォントが文書閲覧装置40の記憶容量を圧迫することを抑制できる。   Furthermore, when the web font is distributed from the font distribution server 20 to the document browsing device 40, the font distribution system 1 can suppress an increase in traffic on the communication line. In addition, the font distribution system 1 can suppress the acquired web font from pressing the storage capacity of the document browsing device 40.

さらにまた、例えば、HTMLファイルの表示に必要なウェブフォントを作成者が予めフォント配信サーバー20に記憶した場合、HTMLファイルの内容を更新するたびに、作成者は、ウェブフォントも更新する必要がある。これに対して、フォント配信システム1は、フォント配信サーバー20においてHTMLファイルの文字コードからその都度ウェブフォントを生成して配信するため、作成者がHTMLファイルの内容の更新に伴いウェブフォントも更新することを不要にできる。   Furthermore, for example, when the creator previously stores the web font necessary for displaying the HTML file in the font distribution server 20, the creator needs to update the web font every time the content of the HTML file is updated. . On the other hand, since the font distribution system 1 generates and distributes a web font from the character code of the HTML file in the font distribution server 20 every time, the creator also updates the web font as the contents of the HTML file are updated. Can be made unnecessary.

このため、例えば、ブログサービスのように頻繁に内容が更新されるサービスにおいて、ブログサービスの利用者がブログの更新を行う際、フォント配信システム1は、ウェブフォントの生成や登録などの操作を利用者に要求することを不要にできる。これにより、ブログサービスの利用者は、フォント配信サーバー20から配信されるウェブフォントの内容を意識することなく、ブログの更新を行うことができる。   For this reason, for example, when a user of a blog service updates a blog in a service that is frequently updated, such as a blog service, the font distribution system 1 uses operations such as generation and registration of a web font. It can be made unnecessary to request from the person. Thereby, the user of the blog service can update the blog without being conscious of the contents of the web font distributed from the font distribution server 20.

従って、フォント配信システム1は、文書閲覧装置40での表示に必要なフォントだけを配信することで、文書閲覧装置40の限られた記憶資源が圧迫されることを防止するとともに、利用者の利便性を向上することができる。   Therefore, the font distribution system 1 distributes only the fonts necessary for display on the document browsing apparatus 40, thereby preventing the limited storage resources of the document browsing apparatus 40 from being compressed and user convenience. Can be improved.

また、文書作成装置10の表示部12に表示したWEBブラウザ50上の設定入力画面60で、ベースライン補正値率、拡大縮小率を文字種ごとに入力許容して、フォント配信サーバー20の配信制御部24において、フォントテーブル25に登録されたベースライン補正率、及び拡大縮小率に基づいてフォントを加工し、加工したフォントを文書閲覧装置40に配信する構成としたことにより、和文文字・欧文文字混在のHTMLファイルにおけるデザイン性と利便性とを向上することができる。   Further, on the setting input screen 60 on the WEB browser 50 displayed on the display unit 12 of the document creation apparatus 10, the baseline correction value rate and the enlargement / reduction rate are allowed to be input for each character type, and the distribution control unit of the font distribution server 20 is used. 24, the font is processed based on the baseline correction rate and the enlargement / reduction rate registered in the font table 25, and the processed font is distributed to the document browsing device 40, so that both Japanese characters and European characters are mixed. The design and convenience of the HTML file can be improved.

具体的には、フォント配信システム1は、ベースライン補正値率、及び拡大縮小率に基づいてフォントを加工する配信制御部24により、文字種ごとに書体を異ならせるだけでなく、ベースラインや大きさなどを任意に変更することができる。これにより、和文文字と欧文文字とが混在するHTMLファイルにおいて、和文文字と欧文文字とのベースラインの違いなどによる位置のズレなどの問題を解消して、HTMLファイルのデザイン性を向上することができる。   Specifically, the font distribution system 1 not only changes the typeface for each character type by the distribution control unit 24 that processes the font based on the baseline correction value rate and the enlargement / reduction rate, but also the baseline and size. Etc. can be arbitrarily changed. As a result, in an HTML file in which Japanese characters and European characters are mixed, problems such as misalignment due to differences in the baseline between Japanese characters and European characters can be solved, and the design of the HTML file can be improved. it can.

さらに、フォント配信サーバー20の配信制御部24により、フォント配信システム1は、文字種ごとの書体やベースライン補正率などを変更しても、これらを反映したウェブフォントをフォント配信サーバー20において容易に生成することができる。このため、フォント配信システム1は、文書作成装置10において、ベースライン補正率などを反映したウェブフォントを生成する手間を省くことができる。   Furthermore, even if the font distribution system 1 changes the typeface or the baseline correction rate for each character type, the font distribution server 20 easily generates a web font that reflects them in the font distribution server 20 by the distribution control unit 24 of the font distribution server 20. can do. For this reason, the font distribution system 1 can save the trouble of generating the web font reflecting the baseline correction rate and the like in the document creation device 10.

さらにまた、フォント配信サーバー20からウェブフォントを配信する際に、フォントの加工を行うため、文書作成装置10を操作する作成者は、フォントテーブル25を書き換えるだけで、フォントの加工を容易に行うことができる。
従って、フォント配信システム1は、和文文字・欧文文字混在のHTMLファイルにおけるデザイン性と利便性とを向上することができる。
Furthermore, when the web font is distributed from the font distribution server 20, the font is processed, so that the creator who operates the document creation apparatus 10 can easily process the font only by rewriting the font table 25. Can do.
Therefore, the font distribution system 1 can improve the design and convenience in an HTML file containing both Japanese characters and European characters.

また、ベースライン補正率を入力許容することにより、和文文字と欧文文字とのベースラインの違いによる見栄えの悪さを解消することができ、HTMLファイルにおけるデザイン性を向上することができる。   In addition, by allowing the baseline correction factor to be input, it is possible to eliminate the poor appearance due to the difference in the baseline between Japanese characters and European characters, and to improve the design in the HTML file.

また、拡大縮小率を入力許容することにより、和文文字と欧文文字との見かけ上の大きさの違いを解消することができ、HTMLファイルにおけるデザイン性を向上することができる。   In addition, by allowing the input of the enlargement / reduction ratio, the difference in apparent size between Japanese characters and European characters can be eliminated, and the design in the HTML file can be improved.

また、文書作成装置10におけるWEBブラウザ50に表示された設定入力画面60で指定した組合せフォント情報をフォント配信サーバー20のフォントテーブル25に記憶するとともに、スクリプトコード34bを生成して文書作成装置10に送信し、組合せフォント名に対応するフォントテーブル25に基づいて、ウェブフォントを文書閲覧装置40に配信する構成としたことにより、文書作成装置10を使用する利用者は、WEBブラウザ50に表示された設定入力画面60によって文字種ごとに所望する文字種別書体名を容易に指定できるとともに、作成制御部15を介してフォント配信サーバー20のフォントテーブル25に組合せフォント情報を登録するだけで、HTMLファイルの文字の表示に必要なスクリプトコード34bをフォント配信サーバー20から容易に取得することができる。   In addition, the combination font information specified on the setting input screen 60 displayed on the web browser 50 in the document creation apparatus 10 is stored in the font table 25 of the font distribution server 20, and the script code 34 b is generated and stored in the document creation apparatus 10. The web font is transmitted to the document browsing device 40 based on the font table 25 corresponding to the combination font name, so that the user using the document creation device 10 is displayed on the WEB browser 50. It is possible to easily specify a desired character typeface name for each character type on the setting input screen 60, and only register combination font information in the font table 25 of the font distribution server 20 via the creation control unit 15, and the characters of the HTML file Code 34 required to display Can be easily obtained from the font distribution server 20.

すなわち、フォント配信システム1は、オンラインによるDTPを実現するとともに、HTMLファイルにおける文字組版の自由度を向上して作成者に対する利便性を向上することができる。   That is, the font distribution system 1 can realize online DTP and improve the degree of freedom of character composition in the HTML file to improve the convenience for the creator.

このため、フォント配信システム1は、作成者がHTML文書ごとに異なるスクリプトコード34bを、その都度作成する手間を省くことができる。さらに、フォント配信サーバー20からスクリプトコード34bを取得することで、作成者が誤ったスクリプトコード34bからなるスタイルコード34aやスクリプトコード34bをHTMLファイルに登録することを防止できる。これにより、フォント配信システム1は、作成者に対する利便性を向上するとともに、文書閲覧装置40で表示に必要なウェブフォントを確実に配信することができる。   For this reason, the font distribution system 1 can save the trouble that a creator creates the script code 34b which differs for every HTML document each time. Furthermore, by acquiring the script code 34b from the font distribution server 20, it is possible to prevent the creator from registering the style code 34a or the script code 34b including the incorrect script code 34b in the HTML file. Thereby, the font delivery system 1 can improve the convenience for the creator, and can reliably deliver the web font necessary for display by the document browsing device 40.

一方、フォント配信サーバー20は、文書閲覧装置40に配信するフォントの組合せをフォントテーブル25として予め記憶することができる。この際、フォント配信サーバー20は、HTMLファイルごとに異なるフォントテーブル25を複数記憶したとしても、フォントテーブル25のデータサイズが小さいため、テーブル記憶部21の記憶容量がフォントテーブル25で圧迫されることを抑制できる。   On the other hand, the font distribution server 20 can store a combination of fonts to be distributed to the document browsing device 40 as a font table 25 in advance. At this time, even if the font distribution server 20 stores a plurality of different font tables 25 for each HTML file, the data size of the font table 25 is small, so that the storage capacity of the table storage unit 21 is compressed by the font table 25. Can be suppressed.

従って、フォント配信システム1は、組合せフォント情報の指定を容易にして、和文文字・欧文文字混在のHTMLファイルにおける文字組版の利便性をより向上することができる。   Therefore, the font distribution system 1 can easily specify the combination font information, and can further improve the convenience of character composition in an HTML file containing both Japanese characters and European characters.

また、文書作成装置10のWEBブラウザ50に表示された設定入力画面60を、組合せフォント情報に対して任意の組合せ書体名を入力許容する構成としたことにより、作成者は、組合せフォント情報における書体名の組合せを容易に把握できる組合せ書体名を任意に決定することができる。   In addition, the setting input screen 60 displayed on the WEB browser 50 of the document creation apparatus 10 is configured to allow the input of an arbitrary combination font name for the combination font information, so that the creator can select the font in the combination font information. It is possible to arbitrarily determine a combination font name that can easily grasp the combination of names.

具体的には、例えば、フォント配信サーバー20で組合せ書体名をランダムに決定した場合、作成者は、フォント配信サーバー20に記憶したフォントテーブル25の内容を組合せ書体名から推測することができない。これに対して、フォント配信システム1は、任意の組合せ書体名を入力許容することで、作成者がフォントテーブル25の内容を組合せ書体名から容易に把握することができる。
従って、フォント配信システム1は、作成者に組合せ書体名を任意に決定させることで、HTMLファイルを作成する際の利便性を向上することができる。
Specifically, for example, when the font combination server 20 randomly determines the combination font name, the creator cannot infer the contents of the font table 25 stored in the font distribution server 20 from the combination font name. On the other hand, the font distribution system 1 allows the creator to easily grasp the contents of the font table 25 from the combination typeface name by allowing the input of any combination typeface name.
Therefore, the font distribution system 1 can improve the convenience at the time of creating an HTML file by allowing the creator to arbitrarily determine a combination font name.

なお、上述の実施例1において、書体名、及びフォントとしてMSゴシック、MS明朝などとしたが、これに限定せず、フォント配信サーバー20のフォント記憶部22に記憶されているフォントであればよい。   In the first embodiment, the typeface name and the font are MS Gothic, MS Mincho, etc., but the present invention is not limited to this, and any font stored in the font storage unit 22 of the font distribution server 20 may be used. Good.

また、仮名、漢字、英字、及び数字を文字種としたが、これに限定せず、文字種の分け方は任意の構成としてもよい。例えば、仮名をさらに、平仮名と片仮名とに分けて、平仮名、片仮名、漢字、英字、及び数字としてもよい。あるいは、仮名や漢字だけでなく英字や数字にも対応した和文と、英字、及び数字に対応する欧文とを文字種としてもよい。   In addition, although kana, kanji, alphabetic characters, and numbers are used as character types, the present invention is not limited to this, and the character type may be divided arbitrarily. For example, the hiragana may be further divided into hiragana and katakana to be hiragana, katakana, kanji, alphabetic characters, and numbers. Alternatively, Japanese characters corresponding to not only kana and kanji but also English characters and numbers and European characters corresponding to English characters and numbers may be used as character types.

また、フォント配信サーバー20のフォント記憶部22に仮名書体ファイル26、漢字書体ファイル27、英字書体ファイル28、及び数字書体ファイル29を記憶したが、これに限定せず、適宜の書体ファイルを記憶してもよい。例えば、仮名や漢字だけでなく英字や数字にも対応した和文フォント群である和文書体ファイルと英字、及び数字に対応する欧文フォント群である欧文書体ファイルとしてもよい。   Further, although the kana typeface file 26, the kanji typeface file 27, the alphabetic typeface file 28, and the number typeface file 29 are stored in the font storage unit 22 of the font distribution server 20, the present invention is not limited to this, and an appropriate typeface file is stored. May be. For example, a Japanese document file which is a Japanese font group corresponding to not only kana and kanji but also English characters and numbers and a European document file which is a European font group corresponding to English characters and numbers may be used.

また、設定入力画面60でベースライン補正率、及び拡大縮小率を入力許容したが、これに限定せず、フォントの回転角度、フォントの左右位置、あるいは文字種ごとの文字間隔などを入力許容する構成としてもよい。
また、ベースライン補正率としたが、これに限定せず、例えば、EMなどのベースラインの位置を変更できる単位であれば適宜の単位としてもよい。
In addition, although the baseline correction rate and the enlargement / reduction rate are allowed to be input on the setting input screen 60, the present invention is not limited to this, and the configuration allows the input of the font rotation angle, the left / right position of the font, the character spacing for each character type, and the like. It is good.
In addition, although the baseline correction factor is used, the present invention is not limited to this, and may be an appropriate unit as long as the unit can change the position of the baseline such as EM.

また、組合せ書体名を作成者により任意に設定入力する構成としたが、これに限定せず、設定入力画面60において組合せ書体名を入力許容しない構成とし、組合せフォント情報を受信したフォント配信サーバー20において、配信制御部24が適宜の組合せ書体名を生成し、コード情報を文書作成装置10に送信する際、コード情報とともに生成した組合せ書体名を送信する構成としてもよい。この際、コード表示画面70において、スクリプトコードと組合せ書体名とを表示する。   Further, the combination typeface name is arbitrarily set and input by the creator. However, the present invention is not limited to this, and the font distribution server 20 that has received the combination font information is configured not to allow the combination typeface name to be input on the setting input screen 60. In the configuration, when the distribution control unit 24 generates an appropriate combination font name and transmits the code information to the document creation apparatus 10, the combination font name generated together with the code information may be transmitted. At this time, the script code and the combination font name are displayed on the code display screen 70.

これにより、例えば、異なる作成者が登録したフォントテーブル25が同一構成の場合、フォント配信システム1は、1つのフォントテーブル25を複数のHTML文書に対して使用することができる。つまり、フォント配信サーバー20に配信プログラム要求情報を送信するHTML文書の数に対して、テーブル記憶部21に記憶するフォントテーブル25の数を削減することができる。このため、フォント配信サーバー20のテーブル記憶部21の限られた記憶容量をより効率的に使用することができる。   Thereby, for example, when the font tables 25 registered by different creators have the same configuration, the font distribution system 1 can use one font table 25 for a plurality of HTML documents. That is, the number of font tables 25 stored in the table storage unit 21 can be reduced with respect to the number of HTML documents that transmit distribution program request information to the font distribution server 20. For this reason, the limited storage capacity of the table storage unit 21 of the font distribution server 20 can be used more efficiently.

また、図6のステップS302において、フォント配信プログラムの配信を要求するスクリプトコード34bを生成、配信したが、これに限定せず、スタイルコード34aと、スクリプトコード34bとを生成、配信する構成としてもよい。
加えて、HTMLファイルに記述することで、ウェブフォントの配信をフォント配信サーバー20に要求するものであれば適宜の構成のスクリプトコードとしてもよい。
Further, although the script code 34b for requesting the distribution of the font distribution program is generated and distributed in step S302 of FIG. 6, the present invention is not limited to this, and the configuration may be such that the style code 34a and the script code 34b are generated and distributed. Good.
In addition, script code having an appropriate configuration may be used as long as it is requested to the font distribution server 20 to distribute the web font by describing it in the HTML file.

この発明の構成と、上述の実施形態との対応において、
この発明のマークアップ言語は、実施形態のHTML言語、及びスタイル言語に対応し、
以下同様に、
マークアップ文書は、HTMLファイルに対応し、
文書記憶手段は、記憶部31に対応し、
文書配信手段は、制御部33に対応し、
フォントは、仮名書体ファイル26、漢字書体ファイル27、英字書体ファイル28、及び数字書体ファイル29の文字書体に対応し、
フォント記憶手段は、フォント記憶部22に対応し、
フォント配信手段は、配信制御部24に対応し、
入力手段は、入力部41に対応し、
表示手段は、表示部42に表示されたWEBブラウザ80に対応し、
文書要求手段は、閲覧制御部45に対応し、
フォント要求手段は、閲覧制御部45に対応し、
閲覧制御手段は、閲覧制御部45に対応し、
作成登録手段は、入力部11、及びエディタに対応し、
文書登録手段は、作成制御部15に対応し、
文字種は、仮名、漢字、英字、及び数字に対応し、
文字種別書体名は、書体名に対応し、
組合せフォント情報は、組合せフォント情報、及びサブセット要求情報に対応し、
組合せ指定文字列は、スタイルコード34aに対応し、
要求文字列は、スクリプトコード34bに対応し、
要求命令文は、スタイルコード34a、及びスクリプトコード34bに対応し、
文字情報は、文字コードに対応し、
サブセットデータは、ウェブフォントに対応し、
文字情報抽出処理は、ステップS404に対応し、
文字送信処理は、ステップS405に対応し、
フォント抽出処理は、ステップS504に対応し、
サブセット生成処理は、ステップS506に対応し、
サブセットデータ配信処理は、ステップS507に対応し、
文字属性値は、ベースライン補正率、及び拡大縮小率に対応し、
フォント加工手段は、配信制御部24に対応し、
指定手段は、WEBブラウザ50に表示された設定入力画面60に対応し、
送信手段は、作成制御部15に対応し、
組合せフォント名は、組合せ書体名に対応し、
テーブル記憶手段は、テーブル記憶部21に対応し、
命令送信手段は、配信制御部24に対応するが、
この発明は、上述の実施形態の構成のみに限定されるものではなく、多くの実施の形態を得ることができる。
In correspondence between the configuration of the present invention and the above-described embodiment,
The markup language of the present invention corresponds to the HTML language and style language of the embodiment,
Similarly,
Markup documents support HTML files,
The document storage means corresponds to the storage unit 31,
The document distribution means corresponds to the control unit 33,
The font corresponds to the character fonts of the kana font file 26, the kanji font file 27, the alphabet font file 28, and the number font file 29,
The font storage means corresponds to the font storage unit 22,
The font distribution means corresponds to the distribution control unit 24, and
The input means corresponds to the input unit 41,
The display means corresponds to the WEB browser 80 displayed on the display unit 42,
The document request means corresponds to the browsing control unit 45,
The font request means corresponds to the browsing control unit 45,
The browsing control means corresponds to the browsing control unit 45,
The creation registration means corresponds to the input unit 11 and the editor,
The document registration unit corresponds to the creation control unit 15 and
The character types correspond to Kana, Kanji, English, and numbers.
Character typeface names correspond to typeface names,
The combination font information corresponds to the combination font information and the subset request information,
The combination designation character string corresponds to the style code 34a,
The request character string corresponds to the script code 34b,
The request command statement corresponds to the style code 34a and the script code 34b.
The character information corresponds to the character code,
Subset data corresponds to web fonts,
The character information extraction process corresponds to step S404,
The character transmission process corresponds to step S405,
The font extraction process corresponds to step S504,
The subset generation process corresponds to step S506,
The subset data distribution process corresponds to step S507,
The character attribute value corresponds to the baseline correction factor and the scaling factor,
The font processing means corresponds to the distribution control unit 24,
The designation means corresponds to the setting input screen 60 displayed on the WEB browser 50,
The transmission means corresponds to the creation control unit 15,
The combination font name corresponds to the combination font name,
The table storage means corresponds to the table storage unit 21,
The command transmission means corresponds to the distribution control unit 24,
The present invention is not limited only to the configuration of the above-described embodiment, and many embodiments can be obtained.

1…フォント配信システム
2…通信回線
10…文書作成装置
11…入力部
15…作成制御部
20…フォント配信サーバー
21…テーブル記憶部
22…フォント記憶部
24…配信制御部
25…フォントテーブル
26…仮名書体ファイル
27…漢字書体ファイル
28…英字書体ファイル
29…数字書体ファイル
30…ウェブサーバー
31…記憶部
33…制御部
34a…スタイルコード
34b…スクリプトコード
40…文書閲覧装置
41…入力部
45…閲覧制御部
50…WEBブラウザ
60…設定入力画面
80…WEBブラウザ
DESCRIPTION OF SYMBOLS 1 ... Font delivery system 2 ... Communication line 10 ... Document preparation apparatus 11 ... Input part 15 ... Creation control part 20 ... Font delivery server 21 ... Table storage part 22 ... Font storage part 24 ... Delivery control part 25 ... Font table 26 ... Kana Typeface file 27 ... Kanji typeface file 28 ... Alphabet typeface file 29 ... Number typeface file 30 ... Web server 31 ... Storage part 33 ... Control part 34a ... Style code 34b ... Script code 40 ... Document browsing device 41 ... Input part 45 ... Browse control Part 50 ... WEB browser 60 ... Setting input screen 80 ... WEB browser

Claims (8)

マークアップ言語を用いてマークアップ文書を作成する文書作成装置で作成された前記マークアップ文書を記憶する文書記憶手段、及び通信回線を介して前記マークアップ文書を配信する文書配信手段を備えたウェブサーバーと、
複数のフォントを記憶するフォント記憶手段、及び前記通信回線を介して前記フォントを配信するフォント配信手段を備えたフォント配信サーバーと、
閲覧者による入力操作を許容する入力手段、前記マークアップ文書を表示する表示手段、前記マークアップ文書の配信を前記ウェブサーバーに要求する文書要求手段、取得した前記マークアップ文書に基づいて前記フォントの配信を前記フォント配信サーバーに要求するフォント要求手段、及び取得した前記フォントに基づいて前記マークアップ文書を前記表示手段で閲覧可能にする閲覧制御手段を備えた文書閲覧装置とで構成したフォント配信システムであって、
前記文書作成装置に、
作成者の入力操作を許容して、所定の情報を前記マークアップ文書に登録する作成登録手段と、
前記通信回線を介して作成した前記マークアップ文書を前記ウェブサーバーの前記文書記憶手段に記憶させる文書登録手段とを備え、
前記文書作成装置の前記作成登録手段を、
少なくとも前記マークアップ文書における文字の文字種と、該文字種の書体を示す文字種別書体名とを関連付けるとともに、前記文字種同士を関連付けて組み合わせた組合せフォント情報を示す組合せ指定文字列、及び前記組合せフォント情報に対応する前記フォントの配信の要求を示す要求文字列からなる要求命令文を前記マークアップ文書に登録する構成とし、
前記文書閲覧装置の前記フォント要求手段を、
前記マークアップ文書を取得する度に、前記要求命令文に基づいて、少なくとも前記組合せフォント情報に対応する前記フォントの配信を前記フォント配信サーバーに要求する構成とし、
前記フォント配信サーバーの前記フォント配信手段を、
前記文書閲覧装置から前記フォントの配信の要求を受け付ける度に、前記フォント記憶手段から少なくとも前記組合せフォント情報に対応する前記フォントを前記文字種ごとに抽出して、前記文書閲覧装置に配信する構成とした
フォント配信システム。
A web comprising document storage means for storing the markup document created by a document creation device for creating a markup document using a markup language, and document delivery means for delivering the markup document via a communication line Server,
A font distribution server that includes a font storage unit that stores a plurality of fonts, and a font distribution unit that distributes the font via the communication line;
An input unit that allows an input operation by a viewer; a display unit that displays the markup document; a document request unit that requests the web server to distribute the markup document; and the font based on the acquired markup document A font distribution system comprising: a font requesting unit that requests distribution to the font distribution server; and a document browsing device including a browsing control unit that allows the display unit to browse the markup document based on the acquired font. Because
In the document creation device,
Creation registration means for allowing the creator's input operation and registering predetermined information in the markup document;
Document registration means for storing the markup document created via the communication line in the document storage means of the web server,
The creation registration means of the document creation device;
A character combination of at least the character in the markup document and a character typeface name indicating the typeface of the character type, and a combination designation character string indicating combination font information in which the character types are associated and combined, and the combination font information A request command statement consisting of a request character string indicating a request for distribution of the corresponding font is registered in the markup document.
The font requesting means of the document browsing device;
Each time the markup document is acquired, the font distribution server is requested to distribute the font corresponding to at least the combination font information based on the request command statement.
The font distribution means of the font distribution server;
Each time a request for distribution of the font is received from the document browsing apparatus, the font corresponding to at least the combination font information is extracted from the font storage unit for each character type and distributed to the document browsing apparatus. Font distribution system.
前記文書閲覧装置の前記フォント要求手段を、
前記マークアップ文書から前記文字を示す文字情報を抽出する文字情報抽出処理と、
前記文字情報、及び前記組合せフォント情報を前記フォント配信サーバーに送信する文字送信処理とを実行する構成とし、
前記フォント配信サーバーの前記フォント配信手段を、
取得した前記文字情報、及び前記組合せフォント情報に対応する前記フォントを前記フォント記憶手段から抽出するフォント抽出処理と、
前記抽出したフォントを列挙格納したサブセットデータを生成するサブセット生成処理と、
前記サブセットデータを前記文書閲覧装置に前記通信回線を介して配信するサブセットデータ配信処理とを実行する構成とした
請求項1に記載のフォント配信システム。
The font requesting means of the document browsing device;
Character information extraction processing for extracting character information indicating the characters from the markup document;
The character information and the character transmission processing for transmitting the combination font information to the font distribution server,
The font distribution means of the font distribution server;
A font extraction process for extracting the font corresponding to the acquired character information and the combination font information from the font storage means;
Subset generation processing for generating subset data in which the extracted fonts are enumerated and stored;
The font distribution system according to claim 1, wherein a subset data distribution process for distributing the subset data to the document browsing apparatus via the communication line is executed.
前記組合せフォント情報を、
前記フォント配信サーバーにおける前記フォントの所定の属性、及び該所定の属性を示す文字属性値と、前記文字種とを関連付けた構成とし、
前記フォント配信サーバーに、
前記フォント記憶手段から抽出した前記フォントを、前記組合せフォント情報における前記所定の属性、及び前記文字属性値に基づいて加工するフォント加工手段を備え、
前記フォント配信サーバーの前記フォント配信手段を、
前記フォント加工手段で加工した前記フォントを前記文書閲覧装置に配信する構成とした
請求項1または2に記載のフォント配信システム。
The combination font information is
A predetermined attribute of the font in the font distribution server, a character attribute value indicating the predetermined attribute, and the character type,
To the font distribution server,
Font processing means for processing the font extracted from the font storage means based on the predetermined attribute in the combination font information and the character attribute value;
The font distribution means of the font distribution server;
The font distribution system according to claim 1, wherein the font processed by the font processing unit is configured to be distributed to the document browsing apparatus.
前記所定の属性を、前記フォント配信サーバーにおける前記フォントのベースラインとした
請求項3に記載のフォント配信システム。
The font distribution system according to claim 3, wherein the predetermined attribute is a baseline of the font in the font distribution server.
前記所定の属性を、前記フォント配信サーバーにおける前記フォントの大きさとした
請求項3または4に記載のフォント配信システム。
The font distribution system according to claim 3 or 4, wherein the predetermined attribute is a size of the font in the font distribution server.
前記文書作成装置に、
前記フォント配信サーバーの前記フォント記憶手段に記憶された前記フォントに基づいて、前記組合せフォント情報を指定する指定手段と、
該指定手段で指定した前記組合せフォント情報を前記フォント配信サーバーに前記通信回線を介して送信する送信手段とを備え、
前記フォント配信サーバーに、
前記組合せフォント情報を示す組合せフォント名と前記組合せフォント情報とを関連付けて登録したフォントテーブルを記憶するテーブル記憶手段と、
少なくとも前記要求文字列を生成して、前記文書作成装置に送信する命令送信手段とを備え、
前記フォント配信サーバーの前記フォント配信手段を、
前記組合せフォント名に対応する前記フォントテーブルに基づいて、前記フォント記憶手段の前記フォントを前記文書閲覧装置に配信する構成とした
請求項1から5のいずれか1つに記載のフォント配信システム。
In the document creation device,
Designation means for designating the combination font information based on the font stored in the font storage means of the font distribution server;
Transmission means for transmitting the combination font information designated by the designation means to the font distribution server via the communication line,
To the font distribution server,
Table storage means for storing a font table registered in association with the combination font name indicating the combination font information and the combination font information;
Command transmission means for generating at least the request character string and transmitting it to the document creation device;
The font distribution means of the font distribution server;
The font distribution system according to any one of claims 1 to 5, wherein the font stored in the font storage unit is distributed to the document browsing device based on the font table corresponding to the combination font name.
記文書作成装置の指定手段を、
前記組合せフォント情報に対して任意の前記組合せフォント名を入力許容する構成とした
請求項6に記載のフォント配信システム。
Specifying means of the document creation device,
The font distribution system according to claim 6, wherein an arbitrary combination font name is allowed to be input to the combination font information.
マークアップ言語を用いてマークアップ文書を作成する文書作成装置で作成された前記マークアップ文書を記憶する文書記憶手段、及び通信回線を介して前記マークアップ文書を配信する文書配信手段を備えたウェブサーバーと、
複数のフォントを記憶するフォント記憶手段、及び前記通信回線を介して前記フォントを配信するフォント配信手段を備えたフォント配信サーバーと、
閲覧者による入力操作を許容する入力手段、前記マークアップ文書を表示する表示手段、前記マークアップ文書の配信を前記ウェブサーバーに要求する文書要求手段、取得した前記マークアップ文書に基づいて前記フォントの配信を前記フォント配信サーバーに要求するフォント要求手段、及び取得した前記フォントに基づいて前記マークアップ文書を前記表示手段で閲覧可能にする閲覧制御手段を備えた文書閲覧装置とで構成したシステムを用いたフォント配信方法であって、
作成者の入力操作を許容して、所定の情報を前記マークアップ文書に登録する作成登録手段と、前記通信回線を介して作成した前記マークアップ文書を前記ウェブサーバーの前記文書記憶手段に記憶させる文書登録手段とを備えた前記文書作成装置の前記作成登録手段で、少なくとも前記マークアップ文書における文字の文字種と、該文字種の書体を示す文字種別書体名とを関連付けるとともに、前記文字種同士を関連付けて組み合わせた組合せフォント情報を示す組合せ指定文字列、及び前記組合せフォント情報に対応する前記フォントの配信の要求を示す要求文字列からなる要求命令文を前記マークアップ文書に登録して、
前記文書閲覧装置の前記フォント要求手段により、前記マークアップ文書を取得する度に、前記要求命令文に基づいて、少なくとも前記組合せフォント情報に対応する前記フォントの配信を前記フォント配信サーバーに要求し、
前記フォント配信サーバーの前記フォント配信手段により、前記文書閲覧装置から前記フォントの配信の要求を受け付ける度に、前記フォント記憶手段から少なくとも前記組合せフォント情報に対応する前記フォントを前記文字種ごとに抽出して、前記文書閲覧装置に配信する
フォント配信方法。
A web comprising document storage means for storing the markup document created by a document creation device for creating a markup document using a markup language, and document delivery means for delivering the markup document via a communication line Server,
A font distribution server that includes a font storage unit that stores a plurality of fonts, and a font distribution unit that distributes the font via the communication line;
An input unit that allows an input operation by a viewer; a display unit that displays the markup document; a document request unit that requests the web server to distribute the markup document; and the font based on the acquired markup document A system comprising: a font requesting unit that requests distribution to the font distribution server; and a document browsing device that includes a browsing control unit that allows the display unit to browse the markup document based on the acquired font. The font delivery method
A creation registration unit that allows a creator's input operation to register predetermined information in the markup document, and the markup document created through the communication line is stored in the document storage unit of the web server. In the creation registration means of the document creation device comprising a document registration means, at least associating the character type of the character in the markup document with the character typeface name indicating the typeface of the character type, and associating the character types with each other A request command statement consisting of a combination designation character string indicating combined font information combined and a request character string indicating a request for distribution of the font corresponding to the combination font information is registered in the markup document,
Each time the markup document is acquired by the font request unit of the document browsing device, the font distribution server is requested to distribute the font corresponding to at least the combination font information based on the request command statement.
Each time the font distribution unit of the font distribution server receives a request for distribution of the font from the document browsing device, the font storage unit extracts at least the font corresponding to the combination font information for each character type. A font distribution method for distributing to the document browsing apparatus.
JP2012232608A 2012-10-22 2012-10-22 Font distribution system and font distribution method Pending JP2014085746A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2012232608A JP2014085746A (en) 2012-10-22 2012-10-22 Font distribution system and font distribution method
PCT/JP2013/078430 WO2014065227A1 (en) 2012-10-22 2013-10-21 Font delivery system and font delivery method
TW102138093A TW201416884A (en) 2012-10-22 2013-10-22 Font distribution system and method of font distribution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012232608A JP2014085746A (en) 2012-10-22 2012-10-22 Font distribution system and font distribution method

Publications (1)

Publication Number Publication Date
JP2014085746A true JP2014085746A (en) 2014-05-12

Family

ID=50544607

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012232608A Pending JP2014085746A (en) 2012-10-22 2012-10-22 Font distribution system and font distribution method

Country Status (3)

Country Link
JP (1) JP2014085746A (en)
TW (1) TW201416884A (en)
WO (1) WO2014065227A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015118548A (en) * 2013-12-18 2015-06-25 ソフトバンク・テクノロジー株式会社 Server device, method for character-spacing, and program
JP2017102763A (en) * 2015-12-03 2017-06-08 株式会社モリサワ Font distribution system and font distribution method
WO2018134942A1 (en) * 2017-01-19 2018-07-26 株式会社モリサワ Font delivery system and font delivery method
KR20190138187A (en) * 2018-06-04 2019-12-12 주식회사 한글과컴퓨터 Apparatus for maintaining layout of electric document on web electric document editor and operating method thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868357B (en) * 2016-03-29 2019-02-22 凯里供电局 File managing and control system and method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002169798A (en) * 2000-09-25 2002-06-14 Adobe Syst Inc Composite font editing device, composite font editing program and recording medium recording the same

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002169798A (en) * 2000-09-25 2002-06-14 Adobe Syst Inc Composite font editing device, composite font editing program and recording medium recording the same

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
CSND201100516009; 小山田晃浩: 'CSS Lab. Webフォントで広がるWebデザイン' Web Designing 第11巻第10号, 20111001, 110-113頁, (株)毎日コミュニケーションズ *
JPN6013061455; 小山田晃浩: 'CSS Lab. Webフォントで広がるWebデザイン' Web Designing 第11巻第10号, 20111001, 110-113頁, (株)毎日コミュニケーションズ *
JPN6013061456; モリサワがWebフォントサービスを開始! 「TypeSquare」の設定方法やあれこれ , 20120315 *
JPN6013061459; 国広信哉: Webディレクターとしておさえておきたい!日本語Webフォント最新事情 , 20120905 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015118548A (en) * 2013-12-18 2015-06-25 ソフトバンク・テクノロジー株式会社 Server device, method for character-spacing, and program
JP2017102763A (en) * 2015-12-03 2017-06-08 株式会社モリサワ Font distribution system and font distribution method
WO2018134942A1 (en) * 2017-01-19 2018-07-26 株式会社モリサワ Font delivery system and font delivery method
KR20190138187A (en) * 2018-06-04 2019-12-12 주식회사 한글과컴퓨터 Apparatus for maintaining layout of electric document on web electric document editor and operating method thereof
KR102076576B1 (en) * 2018-06-04 2020-02-13 주식회사 한글과컴퓨터 Apparatus for maintaining layout of electric document on web electric document editor and operating method thereof

Also Published As

Publication number Publication date
TW201416884A (en) 2014-05-01
WO2014065227A1 (en) 2014-05-01

Similar Documents

Publication Publication Date Title
US8707164B2 (en) Integrated document viewer
CN104978317B (en) Webpage generation method and device, website generation method and website establishment server
WO2014065227A1 (en) Font delivery system and font delivery method
US20190073342A1 (en) Presentation of electronic information
JP2015520894A (en) How to display a customized address bar or search results in a browser
JP2002091655A (en) Hypertext display
JP2013501997A (en) Method, apparatus and system for displaying web pages
JP2008084286A (en) Electric comic book delivering server and apparatus for creating translated electric comic book
JP6527227B2 (en) Modify native document comments in preview
JP2014146128A (en) Information processing apparatus, information processing system, information processing method, and program
JP2012164113A (en) Content display system and content annotation generation device
US20220222310A1 (en) Method and apparatus for generating web page
WO2023155712A1 (en) Page generation method and apparatus, page display method and apparatus, and electronic device and storage medium
US20150309680A1 (en) Electronic-book display processing program and electronic-book system
JP2016167148A (en) Information processing apparatus, information processing program, and recording medium
US20170070623A1 (en) Document generation system, document server, document generation method, and computer program
JP5832056B1 (en) Program for displaying Web page, terminal device, and server device
JP2008071116A (en) Information delivery system, information delivery device, information delivery method and information delivery program
JP2020060804A (en) Output content generation device, output content generation method and program
CN115114556A (en) Method and device for creating page
US9946698B2 (en) Inserting text and graphics using hand markup
JP2019086931A (en) Information processing apparatus and computer program
US7461341B2 (en) Structured document display processor, method for processing display of structured document, and program for displaying structured document
JP2005208706A (en) Position information acquisition apparatus and method, display media creation apparatus, and the like
US9251126B1 (en) System and method for using pre-defined character ranges to denote document features

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20140624