JP2014085746A - Font distribution system and font distribution method - Google Patents
Font distribution system and font distribution method Download PDFInfo
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/126—Character encoding
- G06F40/129—Handling non-Latin characters, e.g. kana-to-kanji conversion
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/109—Font handling; Temporal or kinetic typography
Abstract
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.
この発明は、上述の問題に鑑み、限られた記憶資源を圧迫することなく、和文文字・欧文文字混在のマークアップ文書における文字組版の利便性を向上することができるフォント配信システム、及びフォント配信方法を提供することを目的とする。 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.
この発明の一実施形態を以下図面と共に説明する。
まず、本実施例におけるフォント配信システム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
The
文書作成装置10は、図2に示すように、入力部11、表示部12、記憶部13、回線接続部14、及び作成制御部15で構成している。
入力部11は、キーボード11aやマウス11bで構成し、利用者による入力操作を受け付ける機能を有している。
表示部12は、CRTあるいは液晶ディスプレイなどで構成し、各種情報を表示する機能を有している。
As shown in FIG. 2, the
The
The
記憶部13は、ハードディスクあるいは不揮発性メモリなどで構成し、各種情報を書き込んで記憶する機能と、各種情報を読み出す機能とを有している。
回線接続部14は、有線LANカードあるいは無線LAN子機などで構成し、通信回線2に接続する機能と、通信回線2を介してフォント配信サーバー20、及びウェブサーバー30と各種情報の送受信を行う機能とを有している。
The
The
作成制御部15は、CPU及びメモリなどをハード構成と、プログラム及びデータなどのソフト構成とで構成し、利用者が文書作成装置10を操作してHTML文書34の作成を行う作成操作等の各種処理機能や、所定のバスを介して接続された各部の動作を制御する機能を有している。
The
フォント配信サーバー20は、図2に示すように、テーブル記憶部21、フォント記憶部22、回線接続部23、及び配信制御部24で構成している。
テーブル記憶部21は、ハードディスクあるいは不揮発性メモリなどで構成し、各種情報を書き込んで記憶する機能と、各種情報を読み出す機能とを有している。なお、テーブル記憶部21には、利用者によって選択入力された文字種ごとの書体名などを登録したフォントテーブル25を記憶している。
As shown in FIG. 2, the
The
このフォントテーブル25は、図3に示すように、組合せ書体名欄25a、文字種欄25b、文字種別書体名欄25c、ベースライン補正率欄25d、及び拡大縮小率欄25eをそれぞれ関連付けて登録している。
In the font table 25, as shown in FIG. 3, a combination
文字種欄25bは、複数の文字種が登録され、ここでは仮名、漢字、英字、及び数字が予め登録されている。
文字種別書体名欄25cは、文字種ごとに設定された書体名を登録している。
ベースライン補正率欄25dは、後述するフォント記憶部22に記憶されたフォントにおけるベースラインの位置に対して、文書閲覧装置40に配信されるフォントのベースラインの位置の相対的な移動量の比率を文字種ごとに登録している。
A plurality of character types are registered in the
The character
The baseline
拡大縮小率欄25eは、後述するフォント記憶部22に記憶されたフォントの大きさに対して、文書閲覧装置40に配信されるフォントの拡大縮小率を文字種ごとに登録している。
組合せ書体名欄25aは、文字種欄25b、文字種別書体名欄25c、ベースライン補正率欄25d、及び拡大縮小率欄25eの内容を組み合わせて構成された任意の書体を示す組合せ書体名を登録している。
The enlargement /
The combination
フォント記憶部22は、ハードディスクあるいは不揮発性メモリなどで構成し、各種情報を書き込んで記憶する機能と各種情報を読み出す機能とを有している。このフォント記憶部22には、仮名文字用のフォント群である仮名書体ファイル26、漢字用のフォント群である漢字書体ファイル27、英字用のフォント群である英字書体ファイル28、及び数字用のフォント群である数字書体ファイル29を記憶している。なお、フォントは、所定の大きさのアウトライン形式で形成されるとともに、明朝体やゴシック体などの書体で形成された文字書体である。
The
回線接続部23は、有線LANカードあるいは無線LAN子機などで構成し、通信回線2に接続する機能と、通信回線2を介して文書作成装置10、及び文書閲覧装置40と各種情報の送受信を行う機能とを有している。
配信制御部24は、CPU及びメモリなどをハード構成と、プログラム及びデータなどのソフト構成とで構成し、文書作成装置10や文書閲覧装置40との各種情報の受け渡し等に係る各種処理機能や、所定のバスを介して接続された各部の動作を制御する機能を有している。
The
The
ウェブサーバー30は、図2に示すように、記憶部31、回線接続部32、及び制御部33で構成している。
記憶部31は、ハードディスクあるいは不揮発性メモリなどで構成し、各種情報を書き込んで記憶する機能と、各種情報を読み出す機能とを有している。この記憶部31には、文書作成装置10で作成され、後述する文書閲覧装置40のWEBブラウザ80(図12参照)で閲覧可能な複数のHTML文書34,35を記憶している。
As shown in FIG. 2, the
The
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
The
文書閲覧装置40は、図2に示すように、入力部41、表示部42、記憶部43、回線接続部44、及び閲覧制御部45で構成している。
入力部41は、キーボード41aやタッチパッド41bで構成し、利用者による入力操作を受け付ける機能を有している。
表示部42は、液晶ディスプレイで構成し、各種情報を表示する機能を有している。
As shown in FIG. 2, the
The
The
記憶部43は、ハードディスクあるいは不揮発性メモリなどで構成し、各種情報を書き込んで記憶する機能と、各種情報を読み出す機能とを有している。
回線接続部44は、有線LANカードあるいは無線LAN子機などで構成し、通信回線2に接続する機能と、通信回線2を介してフォント配信サーバー20、及びウェブサーバー30と各種情報の送受信を行う機能とを有している。
The
The
閲覧制御部45は、CPU及びメモリなどをハード構成と、プログラム及びデータなどのソフト構成とで構成し、利用者が文書閲覧装置40を操作してHTML文書34を閲覧する閲覧操作等の各種処理機能や、所定のバスを介して接続された各部の動作を制御する機能を有している。
The
以上のような構成のフォント配信システム1において、作成者が文書作成装置10を操作して作成したHTML文書34をウェブサーバー30に登録するとともに、フォント配信サーバー20のテーブル記憶部21にフォントテーブル25を登録する際のフォント配信システム1の動作について図4から図9を用いて説明する。
In the font delivery system 1 configured as described above, the
なお、図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
まず、図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
URL情報の受信を検知すると、フォント配信サーバー20の配信制御部24は、組合せフォント指定応答処理を実行する(ステップS102)。この際、配信制御部24は、文字種ごとに任意の書体名を指定する書体指定プログラムを文書作成装置10に通信回線2を介して送信する。
When the reception of URL information is detected, the
書体指定プログラムの受信を検知すると、文書作成装置10の作成制御部15は、書体指定プログラムをメモリに一時記憶したのち、書体指定プログラムを実行して表示部12に表示したWEBブラウザ50上にメニュー画面(図示省略)を表示させる。そして、作成者がメニュー画面のメニューから文字種ごとに書体名の指定を行うメニューボタン(図示省略)を押下すると、作成制御部15は、組合せフォント指定処理を実行する(ステップS103)。
When the reception of the typeface designation program is detected, the
組合せフォント指定処理を開始すると、図5に示すように、文書作成装置10の作成制御部15は、作成者に文字種ごとに任意の書体名などの選択入力を促す設定入力画面60を表示部12に表示されたWEBブラウザ50上に表示させる(ステップS201)。
When the combination font designation process is started, as shown in FIG. 5, the
この設定入力画面60は、図7に示すように、上部に作成者による任意の名称が入力される組合せ書体名欄61を表示し、その下方に文字種である仮名、漢字、英字、及び数字に対して、それぞれの書体名をプルダウンリスト(図示省略)から選択する仮名書体名欄62、漢字書体名欄63、英字書体名欄64、及び数字書体名欄65が表示されている。なお、プルダウンリストには、フォント配信サーバー20のフォント記憶部22に記憶されたフォントを示す書体名がリスト表示される。
As shown in FIG. 7, the setting
さらに、仮名書体名欄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
加えて、数字書体名欄65の下方には、WEBブラウザ50で設定されている文字のサイズを示すブラウザ文字サイズ欄66、文字種ごとに指定された書体名やサイズなどを反映したサンプル文字を表示するサンプル表示欄67が表示され、サンプル表示欄67の下方には組合せフォント指定処理をキャンセルするキャンセルボタン68、及び指定された各欄の値をフォント配信サーバー20に登録する登録ボタン69を表示している。
In addition, below the numeric
設定入力画面60をWEBブラウザ50に表示すると、作成制御部15は、サンプル更新処理を実行する(ステップS202)。
具体的には、仮名書体名欄62、漢字書体名欄63、英字書体名欄64、及び数字書体名欄65のいずれかの書体名を作成者が選択変更する、もしくはベースライン補正率欄62a,63a,64a,65a、及び拡大縮小率欄62b,63b,64b,65bのいずれかの値を作成者が入力変更すると、作成制御部15は、図4のステップS103に示すように、その都度フォント配信サーバー20に対して指定された値を変更情報として送信する。
When the setting
Specifically, the creator selects or changes any of the font names in the kana
そして、フォント配信サーバー20は、図4のステップS102において、受信した変更情報に基づいて文字種ごとに指定された書体名やベースライン補正率、あるいは拡大縮小率を反映したサンプル文字のフォントを応答情報として文書作成装置10に送信する。
Then, in step S102 of FIG. 4, the
応答情報を受信した作成制御部15は、サンプル文字のフォントを取得したフォントに置換してサンプル表示欄67の表示内容を更新する。
例えば、図7に示した設定入力画面60において、組合せ書体名欄61に「組合せ書体A」が入力され、仮名に対して、仮名書体名欄62には「MSゴシック」が選択され、仮名のベースライン補正率欄62aには「0.0」が入力され、仮名の拡大縮小率欄62bには「105.0」が入力されている。
Upon receiving the response information, the
For example, in the setting
漢字に対して、漢字書体名欄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
For English letters, the English font
"New Roman" is selected, "-10.0" is entered in the English baseline
数字に対しては、数字書体名欄64には「Impact」が選択され、数字のベースライン補正率欄65aには「0.0」が入力され、数字の拡大縮小率欄65bには「107.0」が入力されている。
なお、ブラウザ文字サイズ欄66にはWEBブラウザ50から取得した文字サイズである「10」を表示している。
For numbers, “Impact” is selected in the number
In the browser
このように仮名書体名欄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
より詳しくは、サンプル表示欄67には、「配信書体」がMS明朝で表示され、「さんぷるテキスト」がMSゴシックで表示され、「abcxyz」がベースラインを下方に10%オフセットしたTimes
New Romanで表示され、「123789」がImpactで表示されている。これらサンプル文字は、フォント配信サーバー20のフォントにベースラインの補正、及び拡大縮小処理を施したフォントを、文字サイズ10ptの大きさに変換して表示されている。
More specifically, in the
“New Roman” is displayed, and “123789” is displayed as “Impact”. These sample characters are displayed after converting the font of the font of the
その後、作成制御部15は、登録ボタン69あるいはキャンセルボタン68のいずれかが押下されたかを判定する(ステップS203)。作成者の操作によってキャンセルボタン68が押下されると(ステップS203:2)、作成制御部15は、組合せフォント指定処理を終了する。
Thereafter, the
一方、作成者の操作によって登録ボタン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
図4に示すように、組合せフォント情報の受信を検知すると、フォント配信サーバー20の配信制御部24は、取得した組合せフォント情報をフォントテーブル25に登録する組合せフォント登録処理を実行する(ステップS104)。
As shown in FIG. 4, when the reception of the combination font information is detected, the
組合せフォント登録処理を開始すると、フォント配信サーバー20の配信制御部24は、図6に示すように、取得した組合せフォント情報をフォントテーブル25に登録するフォントテーブル登録処理を実行する(ステップS301)。
When the combination font registration process is started, the
具体的には、配信制御部24は、組合せフォント情報に基づいて、フォントテーブル25の組合せ書体名欄25aに組合せ書体名「組合せ書体A」を登録し、文字種別書体名欄25c、ベースライン補正率欄25d、及び拡大縮小率欄25eにそれぞれ文字種欄25bの文字種に対応する値を登録したのち、フォントテーブル25をテーブル記憶部21に記憶する。
Specifically, the
例えば、フォントテーブル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
フォントテーブル25をテーブル記憶部21に記憶すると、配信制御部24は、HTMLファイルに記載するスクリプトコードを生成するコード生成処理を実行する(ステップS302)。このスクリプトコードは、HTMLファイルに記述することで、後述するフォント配信プログラムの送信要求を文書閲覧装置40からフォント配信サーバー20に行うJavaScriptコードである。
When the font table 25 is stored in the
スクリプトコードを生成すると、配信制御部24は、スクリプトコードをコード情報として文書作成装置10に通信回線2を介して送信するコード情報送信処理を実行する(ステップS303)。その後、配信制御部24は、組合せフォント登録処理を終了する。
When the script code is generated, the
図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
一方、コード情報を受信すると(ステップ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
As shown in FIG. 8, the
コード表示画面70を表示すると、作成制御部15は、WEBブラウザ50の閉じるボタン51が押下されたか否かを判定する(ステップS207)。閉じるボタン51が押下されなければ(ステップS207:No)、作成制御部15は、閉じるボタン51が押下されるまで処理を待機する。一方、閉じるボタン51が押下されると(ステップS207:Yes)、作成制御部15は、組合せフォント指定処理を終了する。
When the
その後、作成者は、文書作成装置10を操作してHTMLファイルを編集するエディタ(図示省略)を起動する。そして、作成者は、エディタを用いて取得したスクリプトコードと組合せ書体名とをHTMLファイルの所定の位置に記述して和文文字・欧文文字混在のHTML文書34を完成させる。
Thereafter, the creator operates the
このHTML文書34は、図9に示すように、<head>〜</head>タグの間において、HTML文書の文字を「組合せ書体A」で表示させるスタイル言語によるスタイルコード34aを記述するとともに、<body>〜</body>タグの間において、JavaScript(登録商標)によるスクリプトコード34bを記述している。なお、HTML文書34の本文として、「フォント配信123sample」、及び「表示サンプル789abcxyz」が記述されている。
As shown in FIG. 9, the
図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
When the reception of the document information is detected, the
次に、文書閲覧装置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
10 shows a flowchart of the browsing process operation in the
図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
URL情報の受信を検知すると、ウェブサーバー30の制御部33は、文書配信処理を実行して(ステップS112)、取得したURL情報に対応するHTML文書34を記憶部31から読み出して文書情報として文書作成装置10に通信回線2を介して送信する。
When the reception of the URL information is detected, the
文書情報の受信を検知すると、文書閲覧装置40の閲覧制御部45は、文書情報をHTML文書34として記憶部43に記憶する。その後、閲覧制御部45は、HTML文書34を記憶部43から読み出すとともに、HTML文書34を解析して、WEBブラウザ80で閲覧可能にする閲覧処理を実行する(ステップS113)。
When the reception of the document information is detected, the
閲覧処理を開始すると、図10に示すように、文書閲覧装置40の閲覧制御部45は、HTML文書34を解析してHTMLファイルにスクリプトコード34bが記述されているか否かを判定する(ステップS401)。
When the browsing process is started, as shown in FIG. 10, the
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
図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
When the web font distribution process is started, as shown in FIG. 11, the
その後、配信制御部24は、後述するサブセット要求情報を受信したか否かを判定する(ステップS502)。サブセット要求情報を受信していなければ(ステップS502:No)、配信制御部24は、サブセット要求情報を受信するまで処理を待機する。
Thereafter, the
図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
一方、フォント配信プログラムを受信すると(ステップ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
文字コード抽出処理を終了すると、閲覧制御部45は、フォント配信プログラムに基づいてサブセット情報の配信をフォント配信サーバー20に要求するサブセット情報要求処理を実行する(ステップS405)。この際、閲覧制御部45は、一時記憶した文字情報と、HTMLファイルに記述された組合せ書体名、ここでは「組合せ書体A」とを関連付けてサブセット要求情報として通信回線2を介してフォント配信サーバー20に送信する。
When the character code extraction process is completed, the
その後、閲覧制御部45は、サブセット情報を受信したか否かを判定する(ステップS406)。サブセット情報を受信していなければ(ステップS406:No)、閲覧制御部45は、サブセット情報を受信するまで処理を待機する。
Thereafter, the
図11のステップS502に戻り、フォント配信サーバー20において、サブセット要求情報を受信すると(ステップS502:Yes)、配信制御部24は、サブセット要求情報に基づいてフォントテーブル検索処理を実行する(ステップS503)。この際、配信制御部24は、サブセット要求情報の組合せ書体名「組合せ書体A」と、テーブル記憶部21に記憶されたフォントテーブル25の組合せ書体名欄25aとを比較して、受信した組合せ書体名「組合せ書体A」に対応するフォントテーブル25を検索する。
Returning to step S502 of FIG. 11, when the
受信した組合せ書体名に対応するフォントテーブル25を検出すると、配信制御部24は、フォントテーブル25に基づいてフォント記憶部22からフォントを抽出するフォント抽出処理を実行する(ステップS504)。
When the font table 25 corresponding to the received combination typeface name is detected, the
より詳しくは、配信制御部24は、文字情報の文字コードから文字コードごとに文字種を判別し、判別した文字種に対応する書体ファイル(仮名書体ファイル26、漢字書体ファイル27、英字書体ファイル28、あるいは数字書体ファイル29)をフォント記憶部22から読み出す。
More specifically, the
その後、配信制御部24は、フォントテーブル25の文字種欄25b、及び文字種別書体名欄25cから文字種に対応する書体名を識別し、フォント記憶部22から読み出した各書体ファイルから文字コードに対応するフォントを読み出す。
Thereafter, the
例えば、図9に示したHTMLファイルの場合、配信制御部24は、「フ」、「ォ」、「ン」、及び「ト」という文字に対応するそれぞれの文字コードから仮名であることを判別し、仮名書体ファイル26をフォント記憶部22から読み出す。その後、配信制御部24は、フォントテーブル25から仮名がMSゴシックであることを識別し、仮名書体ファイル26から文字コードに対応するMSゴシックのフォントを読み出す。
For example, in the case of the HTML file shown in FIG. 9, the
フォント抽出処理を終了すると、配信制御部24は、読み出したフォントを加工するフォント加工処理を実行する(ステップS505)。
より詳しくは、配信制御部24は、フォントテーブル25のベースライン補正率欄25d、及び拡大縮小率欄25eの各値に基づいて、読み出した文字コードごとのフォントに対してベースラインの位置の移動、あるいは拡大縮小の処理を行ったのち、メモリに一時記憶する。
When the font extraction process ends, the
More specifically, the
フォント加工処理を終了すると、配信制御部24は、ウェブフォント生成処理を実行して(ステップS506)、文字情報の全ての文字コードに対応する加工済みのフォントを集約して、「組合せ書体A」という書体名の配信用フォントであるウェブフォントを生成する。
When the font processing process ends, the
すなわち、「組合せ書体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
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
図9のステップS406に戻り、文書閲覧装置40において、サブセット情報を受信すると(ステップS406:Yes)、閲覧制御部45は、サブセット情報を「組合せ書体A」という書体名のウェブフォントとして記憶部43に記憶する。
Returning to step S406 in FIG. 9, when the
そして、閲覧制御部45は、ブラウザ表示処理を実行して(ステップS407)、HTML文書34と取得したウェブフォントとに基づいてHTML文書34を閲覧可能してWEBブラウザ80に文書表示画面90を表示する。
Then, the
この文書表示画面90は、図12に示すように、HTMLファイルの「フォント配信123sample」、及び「表示サンプル789abcxyz」という文字に対して、「組合せ書体A」のウェブフォントを適用して、文字種ごとに書体、ベースラインの位置、及び大きさの異なる文字書体でHTMLファイルを表示している。
As shown in FIG. 12, the
より具体的には、文書作成装置10において、組合せフォント指定処理におけるサンプル更新処理によってサンプル表示欄67に表示されたサンプル文字のように、文書閲覧装置40は、文字種ごとの書体などを異ならせてHTMLファイルの文字を表示している。
文書表示画面90を表示すると、閲覧制御部45は、閲覧処理を終了する。
More specifically, in the
When the
なお、図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
以上のような動作を実現するフォント配信システム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
これにより、フォント配信サーバー20にサブセット要求情報に対応する新しいフォントを予め記憶する場合、新しいフォントによってフォント配信サーバー20の記憶容量が圧迫されるのに対して、フォント配信システム1、及びフォント配信方法は、サブセット要求情報に対応するウェブフォントを記憶しないため、フォント配信サーバー20におけるフォント記憶部22の限られた記憶容量を圧迫することなく、有効に活用することができる。
Thus, when a new font corresponding to the subset request information is stored in advance in the
そして、文書閲覧装置40は、取得したウェブフォントによって、HTMLファイルの文字を、作成者が意図した書体で表示部42に表示されたWEBブラウザ80に表示することができる。すなわち、作成者は、HTMLファイルにスタイルコード34aやスクリプトコード34bを記述するだけで、文字を所望する書体で表示できるHTMLファイルを作成することができる。このため、フォント配信システム1、及びフォント配信方法は、例えば、作成者がHTMLファイルの文字、あるいは単語に対して文字種ごとにスタイル言語タグを一つ一つ付与するような手間を不要にすることができる。
Then, the
従って、フォント配信システム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
これにより、フォント配信システム1は、フォント配信サーバー20から文書閲覧装置40に送信するデータサイズを大幅に抑えることができる。このため、フォント配信システム1は、文書閲覧装置40がHTML文書34を取得してからHTML文書34を表示するまでに要する時間を短縮することができる。
Thereby, the font distribution system 1 can largely suppress the data size transmitted from the
さらに、フォント配信サーバー20から文書閲覧装置40にウェブフォントを配信する際、フォント配信システム1は、通信回線のトラフィックの増加を抑制することができる。加えて、フォント配信システム1は、取得したウェブフォントが文書閲覧装置40の記憶容量を圧迫することを抑制できる。
Furthermore, when the web font is distributed from the
さらにまた、例えば、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
このため、例えば、ブログサービスのように頻繁に内容が更新されるサービスにおいて、ブログサービスの利用者がブログの更新を行う際、フォント配信システム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
従って、フォント配信システム1は、文書閲覧装置40での表示に必要なフォントだけを配信することで、文書閲覧装置40の限られた記憶資源が圧迫されることを防止するとともに、利用者の利便性を向上することができる。
Therefore, the font distribution system 1 distributes only the fonts necessary for display on the
また、文書作成装置10の表示部12に表示したWEBブラウザ50上の設定入力画面60で、ベースライン補正値率、拡大縮小率を文字種ごとに入力許容して、フォント配信サーバー20の配信制御部24において、フォントテーブル25に登録されたベースライン補正率、及び拡大縮小率に基づいてフォントを加工し、加工したフォントを文書閲覧装置40に配信する構成としたことにより、和文文字・欧文文字混在のHTMLファイルにおけるデザイン性と利便性とを向上することができる。
Further, on the setting
具体的には、フォント配信システム1は、ベースライン補正値率、及び拡大縮小率に基づいてフォントを加工する配信制御部24により、文字種ごとに書体を異ならせるだけでなく、ベースラインや大きさなどを任意に変更することができる。これにより、和文文字と欧文文字とが混在するHTMLファイルにおいて、和文文字と欧文文字とのベースラインの違いなどによる位置のズレなどの問題を解消して、HTMLファイルのデザイン性を向上することができる。
Specifically, the font distribution system 1 not only changes the typeface for each character type by the
さらに、フォント配信サーバー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
さらにまた、フォント配信サーバー20からウェブフォントを配信する際に、フォントの加工を行うため、文書作成装置10を操作する作成者は、フォントテーブル25を書き換えるだけで、フォントの加工を容易に行うことができる。
従って、フォント配信システム1は、和文文字・欧文文字混在のHTMLファイルにおけるデザイン性と利便性とを向上することができる。
Furthermore, when the web font is distributed from the
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
すなわち、フォント配信システム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
一方、フォント配信サーバー20は、文書閲覧装置40に配信するフォントの組合せをフォントテーブル25として予め記憶することができる。この際、フォント配信サーバー20は、HTMLファイルごとに異なるフォントテーブル25を複数記憶したとしても、フォントテーブル25のデータサイズが小さいため、テーブル記憶部21の記憶容量がフォントテーブル25で圧迫されることを抑制できる。
On the other hand, the
従って、フォント配信システム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
具体的には、例えば、フォント配信サーバー20で組合せ書体名をランダムに決定した場合、作成者は、フォント配信サーバー20に記憶したフォントテーブル25の内容を組合せ書体名から推測することができない。これに対して、フォント配信システム1は、任意の組合せ書体名を入力許容することで、作成者がフォントテーブル25の内容を組合せ書体名から容易に把握することができる。
従って、フォント配信システム1は、作成者に組合せ書体名を任意に決定させることで、HTMLファイルを作成する際の利便性を向上することができる。
Specifically, for example, when the
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
また、仮名、漢字、英字、及び数字を文字種としたが、これに限定せず、文字種の分け方は任意の構成としてもよい。例えば、仮名をさらに、平仮名と片仮名とに分けて、平仮名、片仮名、漢字、英字、及び数字としてもよい。あるいは、仮名や漢字だけでなく英字や数字にも対応した和文と、英字、及び数字に対応する欧文とを文字種としてもよい。 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
また、設定入力画面60でベースライン補正率、及び拡大縮小率を入力許容したが、これに限定せず、フォントの回転角度、フォントの左右位置、あるいは文字種ごとの文字間隔などを入力許容する構成としてもよい。
また、ベースライン補正率としたが、これに限定せず、例えば、EMなどのベースラインの位置を変更できる単位であれば適宜の単位としてもよい。
In addition, although the baseline correction rate and the enlargement / reduction rate are allowed to be input on the setting
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
これにより、例えば、異なる作成者が登録したフォントテーブル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
また、文書閲覧装置10における閲覧処理において、HTML文書34の文字の文字コードを抽出する文字コード抽出処理を実行し、フォント配信サーバー20のフォント配信処理において、文字コードに対応するフォントを抽出したが、これに限定せず、文書閲覧装置10における文字コード抽出処理を不要にして、フォント配信サーバー20において、フォントテーブル25に基づいて文字種に対応するフォントを抽出し、抽出したフォントをもとにウェブフォントを生成してもよい。
In the browsing process in the
また、図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
In addition, script code having an appropriate configuration may be used as long as it is requested to the
また、作成者が文書作成装置のWEBブラウザ50に設定入力画面60を表示させて、文字種ごとの書体名を指定したが、これに限定せず、作成者がスタイルコード34aやスクリプトコード34bを直接、HTMLファイルに記述してもよい。この場合、フォントテーブル25、及びフォント配信サーバー20のテーブル記憶部21を不要にするとともに、図4におけるステップS101からS104の処理を省略する。さらに、HTMLファイルには、文字種、文字種ごとの書体名、ウェブフォントの配信を要求するスクリプトコードなどを記述する。
In addition, the creator displays the setting
この発明の構成と、上述の実施形態との対応において、
この発明のマークアップ言語は、実施形態の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
The document distribution means corresponds to the
The font corresponds to the character fonts of the kana font file 26, the kanji font file 27, the
The font storage means corresponds to the
The font distribution means corresponds to the
The input means corresponds to the
The display means corresponds to the
The document request means corresponds to the
The font request means corresponds to the
The browsing control means corresponds to the
The creation registration means corresponds to the
The document registration unit corresponds to the
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
The request character string corresponds to the script code 34b,
The request command statement corresponds to the
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
The designation means corresponds to the setting
The transmission means corresponds to the
The combination font name corresponds to the combination font name,
The table storage means corresponds to the
The command transmission means corresponds to the
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 ...
この発明は、例えば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.
この発明は、上述の問題に鑑み、限られた記憶資源を圧迫することなく、和文文字・欧文文字混在のマークアップ文書における文字組版の利便性を向上することができるフォント配信システム、及びフォント配信方法を提供することを目的とする。 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.
この発明の一実施形態を以下図面と共に説明する。
まず、本実施例におけるフォント配信システム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
The
文書作成装置10は、図2に示すように、入力部11、表示部12、記憶部13、回線接続部14、及び作成制御部15で構成している。
入力部11は、キーボード11aやマウス11bで構成し、利用者による入力操作を受け付ける機能を有している。
表示部12は、CRTあるいは液晶ディスプレイなどで構成し、各種情報を表示する機能を有している。
As shown in FIG. 2, the
The
The
記憶部13は、ハードディスクあるいは不揮発性メモリなどで構成し、各種情報を書き込んで記憶する機能と、各種情報を読み出す機能とを有している。
回線接続部14は、有線LANカードあるいは無線LAN子機などで構成し、通信回線2に接続する機能と、通信回線2を介してフォント配信サーバー20、及びウェブサーバー30と各種情報の送受信を行う機能とを有している。
The
The
作成制御部15は、CPU及びメモリなどをハード構成と、プログラム及びデータなどのソフト構成とで構成し、利用者が文書作成装置10を操作してHTML文書34の作成を行う作成操作等の各種処理機能や、所定のバスを介して接続された各部の動作を制御する機能を有している。
The
フォント配信サーバー20は、図2に示すように、テーブル記憶部21、フォント記憶部22、回線接続部23、及び配信制御部24で構成している。
テーブル記憶部21は、ハードディスクあるいは不揮発性メモリなどで構成し、各種情報を書き込んで記憶する機能と、各種情報を読み出す機能とを有している。なお、テーブル記憶部21には、利用者によって選択入力された文字種ごとの書体名などを登録したフォントテーブル25を記憶している。
As shown in FIG. 2, the
The
このフォントテーブル25は、図3に示すように、組合せ書体名欄25a、文字種欄25b、文字種別書体名欄25c、ベースライン補正率欄25d、及び拡大縮小率欄25eをそれぞれ関連付けて登録している。
In the font table 25, as shown in FIG. 3, a combination
文字種欄25bは、複数の文字種が登録され、ここでは仮名、漢字、英字、及び数字が予め登録されている。
文字種別書体名欄25cは、文字種ごとに設定された書体名を登録している。
ベースライン補正率欄25dは、後述するフォント記憶部22に記憶されたフォントにおけるベースラインの位置に対して、文書閲覧装置40に配信されるフォントのベースラインの位置の相対的な移動量の比率を文字種ごとに登録している。
A plurality of character types are registered in the
The character
The baseline
拡大縮小率欄25eは、後述するフォント記憶部22に記憶されたフォントの大きさに対して、文書閲覧装置40に配信されるフォントの拡大縮小率を文字種ごとに登録している。
組合せ書体名欄25aは、文字種欄25b、文字種別書体名欄25c、ベースライン補正率欄25d、及び拡大縮小率欄25eの内容を組み合わせて構成された任意の書体を示す組合せ書体名を登録している。
The enlargement /
The combination
フォント記憶部22は、ハードディスクあるいは不揮発性メモリなどで構成し、各種情報を書き込んで記憶する機能と各種情報を読み出す機能とを有している。このフォント記憶部22には、仮名文字用のフォント群である仮名書体ファイル26、漢字用のフォント群である漢字書体ファイル27、英字用のフォント群である英字書体ファイル28、及び数字用のフォント群である数字書体ファイル29を記憶している。なお、フォントは、所定の大きさのアウトライン形式で形成されるとともに、明朝体やゴシック体などの書体で形成された文字書体である。
The
回線接続部23は、有線LANカードあるいは無線LAN子機などで構成し、通信回線2に接続する機能と、通信回線2を介して文書作成装置10、及び文書閲覧装置40と各種情報の送受信を行う機能とを有している。
配信制御部24は、CPU及びメモリなどをハード構成と、プログラム及びデータなどのソフト構成とで構成し、文書作成装置10や文書閲覧装置40との各種情報の受け渡し等に係る各種処理機能や、所定のバスを介して接続された各部の動作を制御する機能を有している。
The
The
ウェブサーバー30は、図2に示すように、記憶部31、回線接続部32、及び制御部33で構成している。
記憶部31は、ハードディスクあるいは不揮発性メモリなどで構成し、各種情報を書き込んで記憶する機能と、各種情報を読み出す機能とを有している。この記憶部31には、文書作成装置10で作成され、後述する文書閲覧装置40のWEBブラウザ80(図12参照)で閲覧可能な複数のHTML文書34,35を記憶している。
As shown in FIG. 2, the
The
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
The
文書閲覧装置40は、図2に示すように、入力部41、表示部42、記憶部43、回線接続部44、及び閲覧制御部45で構成している。
入力部41は、キーボード41aやタッチパッド41bで構成し、利用者による入力操作を受け付ける機能を有している。
表示部42は、液晶ディスプレイで構成し、各種情報を表示する機能を有している。
As shown in FIG. 2, the
The
The
記憶部43は、ハードディスクあるいは不揮発性メモリなどで構成し、各種情報を書き込んで記憶する機能と、各種情報を読み出す機能とを有している。
回線接続部44は、有線LANカードあるいは無線LAN子機などで構成し、通信回線2に接続する機能と、通信回線2を介してフォント配信サーバー20、及びウェブサーバー30と各種情報の送受信を行う機能とを有している。
The
The
閲覧制御部45は、CPU及びメモリなどをハード構成と、プログラム及びデータなどのソフト構成とで構成し、利用者が文書閲覧装置40を操作してHTML文書34を閲覧する閲覧操作等の各種処理機能や、所定のバスを介して接続された各部の動作を制御する機能を有している。
The
以上のような構成のフォント配信システム1において、作成者が文書作成装置10を操作して作成したHTML文書34をウェブサーバー30に登録するとともに、フォント配信サーバー20のテーブル記憶部21にフォントテーブル25を登録する際のフォント配信システム1の動作について図4から図9を用いて説明する。
In the font delivery system 1 configured as described above, the
なお、図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
まず、図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
URL情報の受信を検知すると、フォント配信サーバー20の配信制御部24は、組合せフォント指定応答処理を実行する(ステップS102)。この際、配信制御部24は、文字種ごとに任意の書体名を指定する書体指定プログラムを文書作成装置10に通信回線2を介して送信する。
When the reception of URL information is detected, the
書体指定プログラムの受信を検知すると、文書作成装置10の作成制御部15は、書体指定プログラムをメモリに一時記憶したのち、書体指定プログラムを実行して表示部12に表示したWEBブラウザ50上にメニュー画面(図示省略)を表示させる。そして、作成者がメニュー画面のメニューから文字種ごとに書体名の指定を行うメニューボタン(図示省略)を押下すると、作成制御部15は、組合せフォント指定処理を実行する(ステップS103)。
When the reception of the typeface designation program is detected, the
組合せフォント指定処理を開始すると、図5に示すように、文書作成装置10の作成制御部15は、作成者に文字種ごとに任意の書体名などの選択入力を促す設定入力画面60を表示部12に表示されたWEBブラウザ50上に表示させる(ステップS201)。
When the combination font designation process is started, as shown in FIG. 5, the
この設定入力画面60は、図7に示すように、上部に作成者による任意の名称が入力される組合せ書体名欄61を表示し、その下方に文字種である仮名、漢字、英字、及び数字に対して、それぞれの書体名をプルダウンリスト(図示省略)から選択する仮名書体名欄62、漢字書体名欄63、英字書体名欄64、及び数字書体名欄65が表示されている。なお、プルダウンリストには、フォント配信サーバー20のフォント記憶部22に記憶されたフォントを示す書体名がリスト表示される。
As shown in FIG. 7, the setting
さらに、仮名書体名欄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
加えて、数字書体名欄65の下方には、WEBブラウザ50で設定されている文字のサイズを示すブラウザ文字サイズ欄66、文字種ごとに指定された書体名やサイズなどを反映したサンプル文字を表示するサンプル表示欄67が表示され、サンプル表示欄67の下方には組合せフォント指定処理をキャンセルするキャンセルボタン68、及び指定された各欄の値をフォント配信サーバー20に登録する登録ボタン69を表示している。
In addition, below the numeric
設定入力画面60をWEBブラウザ50に表示すると、作成制御部15は、サンプル更新処理を実行する(ステップS202)。
具体的には、仮名書体名欄62、漢字書体名欄63、英字書体名欄64、及び数字書体名欄65のいずれかの書体名を作成者が選択変更する、もしくはベースライン補正率欄62a,63a,64a,65a、及び拡大縮小率欄62b,63b,64b,65bのいずれかの値を作成者が入力変更すると、作成制御部15は、図4のステップS103に示すように、その都度フォント配信サーバー20に対して指定された値を変更情報として送信する。
When the setting
Specifically, the creator selects or changes any of the font names in the kana
そして、フォント配信サーバー20は、図4のステップS102において、受信した変更情報に基づいて文字種ごとに指定された書体名やベースライン補正率、あるいは拡大縮小率を反映したサンプル文字のフォントを応答情報として文書作成装置10に送信する。
Then, in step S102 of FIG. 4, the
応答情報を受信した作成制御部15は、サンプル文字のフォントを取得したフォントに置換してサンプル表示欄67の表示内容を更新する。
例えば、図7に示した設定入力画面60において、組合せ書体名欄61に「組合せ書体A」が入力され、仮名に対して、仮名書体名欄62には「MSゴシック」が選択され、仮名のベースライン補正率欄62aには「0.0」が入力され、仮名の拡大縮小率欄62bには「105.0」が入力されている。
Upon receiving the response information, the
For example, in the setting
漢字に対して、漢字書体名欄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
For English letters, the English font
"New Roman" is selected, "-10.0" is entered in the English baseline
数字に対しては、数字書体名欄65には「Impact」が選択され、数字のベースライン補正率欄65aには「0.0」が入力され、数字の拡大縮小率欄65bには「107.0」が入力されている。
なお、ブラウザ文字サイズ欄66にはWEBブラウザ50から取得した文字サイズである「10」を表示している。
For numbers, “Impact” is selected in the number
In the browser
このように仮名書体名欄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
より詳しくは、サンプル表示欄67には、「配信書体」がMS明朝で表示され、「さんぷるテキスト」がMSゴシックで表示され、「abcxyz」がベースラインを下方に10%オフセットしたTimes
New Romanで表示され、「123789」がImpactで表示されている。これらサンプル文字は、フォント配信サーバー20のフォントにベースラインの補正、及び拡大縮小処理を施したフォントを、文字サイズ10ptの大きさに変換して表示されている。
More specifically, in the
“New Roman” is displayed, and “123789” is displayed as “Impact”. These sample characters are displayed after converting the font of the font of the
その後、作成制御部15は、登録ボタン69あるいはキャンセルボタン68のいずれかが押下されたかを判定する(ステップS203)。作成者の操作によってキャンセルボタン68が押下されると(ステップS203:2)、作成制御部15は、組合せフォント指定処理を終了する。
Thereafter, the
一方、作成者の操作によって登録ボタン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
図4に示すように、組合せフォント情報の受信を検知すると、フォント配信サーバー20の配信制御部24は、取得した組合せフォント情報をフォントテーブル25に登録する組合せフォント登録処理を実行する(ステップS104)。
As shown in FIG. 4, when the reception of the combination font information is detected, the
組合せフォント登録処理を開始すると、フォント配信サーバー20の配信制御部24は、図6に示すように、取得した組合せフォント情報をフォントテーブル25に登録するフォントテーブル登録処理を実行する(ステップS301)。
When the combination font registration process is started, the
具体的には、配信制御部24は、組合せフォント情報に基づいて、フォントテーブル25の組合せ書体名欄25aに組合せ書体名「組合せ書体A」を登録し、文字種別書体名欄25c、ベースライン補正率欄25d、及び拡大縮小率欄25eにそれぞれ文字種欄25bの文字種に対応する値を登録したのち、フォントテーブル25をテーブル記憶部21に記憶する。
Specifically, the
例えば、フォントテーブル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
フォントテーブル25をテーブル記憶部21に記憶すると、配信制御部24は、HTMLファイルに記載するスクリプトコードを生成するコード生成処理を実行する(ステップS302)。このスクリプトコードは、HTMLファイルに記述することで、後述するフォント配信プログラムの送信要求を文書閲覧装置40からフォント配信サーバー20に行うJavaScriptコードである。
When the font table 25 is stored in the
スクリプトコードを生成すると、配信制御部24は、スクリプトコードをコード情報として文書作成装置10に通信回線2を介して送信するコード情報送信処理を実行する(ステップS303)。その後、配信制御部24は、組合せフォント登録処理を終了する。
When the script code is generated, the
図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
一方、コード情報を受信すると(ステップ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
As shown in FIG. 8, the
コード表示画面70を表示すると、作成制御部15は、WEBブラウザ50の閉じるボタン51が押下されたか否かを判定する(ステップS207)。閉じるボタン51が押下されなければ(ステップS207:No)、作成制御部15は、閉じるボタン51が押下されるまで処理を待機する。一方、閉じるボタン51が押下されると(ステップS207:Yes)、作成制御部15は、組合せフォント指定処理を終了する。
When the
その後、作成者は、文書作成装置10を操作してHTMLファイルを編集するエディタ(図示省略)を起動する。そして、作成者は、エディタを用いて取得したスクリプトコードと組合せ書体名とをHTMLファイルの所定の位置に記述して和文文字・欧文文字混在のHTML文書34を完成させる。
Thereafter, the creator operates the
このHTML文書34は、図9に示すように、<head>〜</head>タグの間において、HTML文書の文字を「組合せ書体A」で表示させるスタイル言語によるスタイルコード34aを記述するとともに、<body>〜</body>タグの間において、JavaScript(登録商標)によるスクリプトコード34bを記述している。なお、HTML文書34の本文として、「フォント配信123sample」、及び「表示サンプル789abcxyz」が記述されている。
As shown in FIG. 9, the
図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
When the reception of the document information is detected, the
次に、文書閲覧装置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
10 shows a flowchart of the browsing process operation in the
図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
URL情報の受信を検知すると、ウェブサーバー30の制御部33は、文書配信処理を実行して(ステップS112)、取得したURL情報に対応するHTML文書34を記憶部31から読み出して文書情報として文書作成装置10に通信回線2を介して送信する。
When the reception of the URL information is detected, the
文書情報の受信を検知すると、文書閲覧装置40の閲覧制御部45は、文書情報をHTML文書34として記憶部43に記憶する。その後、閲覧制御部45は、HTML文書34を記憶部43から読み出すとともに、HTML文書34を解析して、WEBブラウザ80で閲覧可能にする閲覧処理を実行する(ステップS113)。
When the reception of the document information is detected, the
閲覧処理を開始すると、図10に示すように、文書閲覧装置40の閲覧制御部45は、HTML文書34を解析してHTMLファイルにスクリプトコード34bが記述されているか否かを判定する(ステップS401)。
When the browsing process is started, as shown in FIG. 10, the
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
図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
When the web font distribution process is started, as shown in FIG. 11, the
その後、配信制御部24は、後述するサブセット要求情報を受信したか否かを判定する(ステップS502)。サブセット要求情報を受信していなければ(ステップS502:No)、配信制御部24は、サブセット要求情報を受信するまで処理を待機する。
Thereafter, the
図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
一方、フォント配信プログラムを受信すると(ステップ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
文字コード抽出処理を終了すると、閲覧制御部45は、フォント配信プログラムに基づいてサブセット情報の配信をフォント配信サーバー20に要求するサブセット情報要求処理を実行する(ステップS405)。この際、閲覧制御部45は、一時記憶した文字情報と、HTMLファイルに記述された組合せ書体名、ここでは「組合せ書体A」とを関連付けてサブセット要求情報として通信回線2を介してフォント配信サーバー20に送信する。
When the character code extraction process is completed, the
その後、閲覧制御部45は、サブセット情報を受信したか否かを判定する(ステップS406)。サブセット情報を受信していなければ(ステップS406:No)、閲覧制御部45は、サブセット情報を受信するまで処理を待機する。
Thereafter, the
図11のステップS502に戻り、フォント配信サーバー20において、サブセット要求情報を受信すると(ステップS502:Yes)、配信制御部24は、サブセット要求情報に基づいてフォントテーブル検索処理を実行する(ステップS503)。この際、配信制御部24は、サブセット要求情報の組合せ書体名「組合せ書体A」と、テーブル記憶部21に記憶されたフォントテーブル25の組合せ書体名欄25aとを比較して、受信した組合せ書体名「組合せ書体A」に対応するフォントテーブル25を検索する。
Returning to step S502 of FIG. 11, when the
受信した組合せ書体名に対応するフォントテーブル25を検出すると、配信制御部24は、フォントテーブル25に基づいてフォント記憶部22からフォントを抽出するフォント抽出処理を実行する(ステップS504)。
When the font table 25 corresponding to the received combination typeface name is detected, the
より詳しくは、配信制御部24は、文字情報の文字コードから文字コードごとに文字種を判別し、判別した文字種に対応する書体ファイル(仮名書体ファイル26、漢字書体ファイル27、英字書体ファイル28、あるいは数字書体ファイル29)をフォント記憶部22から読み出す。
More specifically, the
その後、配信制御部24は、フォントテーブル25の文字種欄25b、及び文字種別書体名欄25cから文字種に対応する書体名を識別し、フォント記憶部22から読み出した各書体ファイルから文字コードに対応するフォントを読み出す。
Thereafter, the
例えば、図9に示したHTMLファイルの場合、配信制御部24は、「フ」、「ォ」、「ン」、及び「ト」という文字に対応するそれぞれの文字コードから仮名であることを判別し、仮名書体ファイル26をフォント記憶部22から読み出す。その後、配信制御部24は、フォントテーブル25から仮名がMSゴシックであることを識別し、仮名書体ファイル26から文字コードに対応するMSゴシックのフォントを読み出す。
For example, in the case of the HTML file shown in FIG. 9, the
フォント抽出処理を終了すると、配信制御部24は、読み出したフォントを加工するフォント加工処理を実行する(ステップS505)。
より詳しくは、配信制御部24は、フォントテーブル25のベースライン補正率欄25d、及び拡大縮小率欄25eの各値に基づいて、読み出した文字コードごとのフォントに対してベースラインの位置の移動、あるいは拡大縮小の処理を行ったのち、メモリに一時記憶する。
When the font extraction process ends, the
More specifically, the
フォント加工処理を終了すると、配信制御部24は、ウェブフォント生成処理を実行して(ステップS506)、文字情報の全ての文字コードに対応する加工済みのフォントを集約して、「組合せ書体A」という書体名の配信用フォントであるウェブフォントを生成する。
When the font processing process ends, the
すなわち、「組合せ書体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
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
図9のステップS406に戻り、文書閲覧装置40において、サブセット情報を受信すると(ステップS406:Yes)、閲覧制御部45は、サブセット情報を「組合せ書体A」という書体名のウェブフォントとして記憶部43に記憶する。
Returning to step S406 in FIG. 9, when the
そして、閲覧制御部45は、ブラウザ表示処理を実行して(ステップS407)、HTML文書34と取得したウェブフォントとに基づいてHTML文書34を閲覧可能してWEBブラウザ80に文書表示画面90を表示する。
Then, the
この文書表示画面90は、図12に示すように、HTMLファイルの「フォント配信123sample」、及び「表示サンプル789abcxyz」という文字に対して、「組合せ書体A」のウェブフォントを適用して、文字種ごとに書体、ベースラインの位置、及び大きさの異なる文字書体でHTMLファイルを表示している。
As shown in FIG. 12, the
より具体的には、文書作成装置10において、組合せフォント指定処理におけるサンプル更新処理によってサンプル表示欄67に表示されたサンプル文字のように、文書閲覧装置40は、文字種ごとの書体などを異ならせてHTMLファイルの文字を表示している。
文書表示画面90を表示すると、閲覧制御部45は、閲覧処理を終了する。
More specifically, in the
When the
なお、図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
以上のような動作を実現するフォント配信システム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
これにより、フォント配信サーバー20にサブセット要求情報に対応する新しいフォントを予め記憶する場合、新しいフォントによってフォント配信サーバー20の記憶容量が圧迫されるのに対して、フォント配信システム1、及びフォント配信方法は、サブセット要求情報に対応するウェブフォントを記憶しないため、フォント配信サーバー20におけるフォント記憶部22の限られた記憶容量を圧迫することなく、有効に活用することができる。
Thus, when a new font corresponding to the subset request information is stored in advance in the
そして、文書閲覧装置40は、取得したウェブフォントによって、HTMLファイルの文字を、作成者が意図した書体で表示部42に表示されたWEBブラウザ80に表示することができる。すなわち、作成者は、HTMLファイルにスタイルコード34aやスクリプトコード34bを記述するだけで、文字を所望する書体で表示できるHTMLファイルを作成することができる。このため、フォント配信システム1、及びフォント配信方法は、例えば、作成者がHTMLファイルの文字、あるいは単語に対して文字種ごとにスタイル言語タグを一つ一つ付与するような手間を不要にすることができる。
Then, the
従って、フォント配信システム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
これにより、フォント配信システム1は、フォント配信サーバー20から文書閲覧装置40に送信するデータサイズを大幅に抑えることができる。このため、フォント配信システム1は、文書閲覧装置40がHTML文書34を取得してからHTML文書34を表示するまでに要する時間を短縮することができる。
Thereby, the font distribution system 1 can largely suppress the data size transmitted from the
さらに、フォント配信サーバー20から文書閲覧装置40にウェブフォントを配信する際、フォント配信システム1は、通信回線のトラフィックの増加を抑制することができる。加えて、フォント配信システム1は、取得したウェブフォントが文書閲覧装置40の記憶容量を圧迫することを抑制できる。
Furthermore, when the web font is distributed from the
さらにまた、例えば、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
このため、例えば、ブログサービスのように頻繁に内容が更新されるサービスにおいて、ブログサービスの利用者がブログの更新を行う際、フォント配信システム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
従って、フォント配信システム1は、文書閲覧装置40での表示に必要なフォントだけを配信することで、文書閲覧装置40の限られた記憶資源が圧迫されることを防止するとともに、利用者の利便性を向上することができる。
Therefore, the font distribution system 1 distributes only the fonts necessary for display on the
また、文書作成装置10の表示部12に表示したWEBブラウザ50上の設定入力画面60で、ベースライン補正値率、拡大縮小率を文字種ごとに入力許容して、フォント配信サーバー20の配信制御部24において、フォントテーブル25に登録されたベースライン補正率、及び拡大縮小率に基づいてフォントを加工し、加工したフォントを文書閲覧装置40に配信する構成としたことにより、和文文字・欧文文字混在のHTMLファイルにおけるデザイン性と利便性とを向上することができる。
Further, on the setting
具体的には、フォント配信システム1は、ベースライン補正値率、及び拡大縮小率に基づいてフォントを加工する配信制御部24により、文字種ごとに書体を異ならせるだけでなく、ベースラインや大きさなどを任意に変更することができる。これにより、和文文字と欧文文字とが混在するHTMLファイルにおいて、和文文字と欧文文字とのベースラインの違いなどによる位置のズレなどの問題を解消して、HTMLファイルのデザイン性を向上することができる。
Specifically, the font distribution system 1 not only changes the typeface for each character type by the
さらに、フォント配信サーバー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
さらにまた、フォント配信サーバー20からウェブフォントを配信する際に、フォントの加工を行うため、文書作成装置10を操作する作成者は、フォントテーブル25を書き換えるだけで、フォントの加工を容易に行うことができる。
従って、フォント配信システム1は、和文文字・欧文文字混在のHTMLファイルにおけるデザイン性と利便性とを向上することができる。
Furthermore, when the web font is distributed from the
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
すなわち、フォント配信システム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
一方、フォント配信サーバー20は、文書閲覧装置40に配信するフォントの組合せをフォントテーブル25として予め記憶することができる。この際、フォント配信サーバー20は、HTMLファイルごとに異なるフォントテーブル25を複数記憶したとしても、フォントテーブル25のデータサイズが小さいため、テーブル記憶部21の記憶容量がフォントテーブル25で圧迫されることを抑制できる。
On the other hand, the
従って、フォント配信システム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
具体的には、例えば、フォント配信サーバー20で組合せ書体名をランダムに決定した場合、作成者は、フォント配信サーバー20に記憶したフォントテーブル25の内容を組合せ書体名から推測することができない。これに対して、フォント配信システム1は、任意の組合せ書体名を入力許容することで、作成者がフォントテーブル25の内容を組合せ書体名から容易に把握することができる。
従って、フォント配信システム1は、作成者に組合せ書体名を任意に決定させることで、HTMLファイルを作成する際の利便性を向上することができる。
Specifically, for example, when the
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
また、仮名、漢字、英字、及び数字を文字種としたが、これに限定せず、文字種の分け方は任意の構成としてもよい。例えば、仮名をさらに、平仮名と片仮名とに分けて、平仮名、片仮名、漢字、英字、及び数字としてもよい。あるいは、仮名や漢字だけでなく英字や数字にも対応した和文と、英字、及び数字に対応する欧文とを文字種としてもよい。 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
また、設定入力画面60でベースライン補正率、及び拡大縮小率を入力許容したが、これに限定せず、フォントの回転角度、フォントの左右位置、あるいは文字種ごとの文字間隔などを入力許容する構成としてもよい。
また、ベースライン補正率としたが、これに限定せず、例えば、EMなどのベースラインの位置を変更できる単位であれば適宜の単位としてもよい。
In addition, although the baseline correction rate and the enlargement / reduction rate are allowed to be input on the setting
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
これにより、例えば、異なる作成者が登録したフォントテーブル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
また、図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
In addition, script code having an appropriate configuration may be used as long as it is requested to the
この発明の構成と、上述の実施形態との対応において、
この発明のマークアップ言語は、実施形態の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
The document distribution means corresponds to the
The font corresponds to the character fonts of the kana font file 26, the kanji font file 27, the
The font storage means corresponds to the
The font distribution means corresponds to the
The input means corresponds to the
The display means corresponds to the
The document request means corresponds to the
The font request means corresponds to the
The browsing control means corresponds to the
The creation registration means corresponds to the
The document registration unit corresponds to the
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
The request character string corresponds to the script code 34b,
The request command statement corresponds to the
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
The designation means corresponds to the setting
The transmission means corresponds to the
The combination font name corresponds to the combination font name,
The table storage means corresponds to the
The command transmission means corresponds to the
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 ...
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.
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)
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)
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)
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 |
-
2012
- 2012-10-22 JP JP2012232608A patent/JP2014085746A/en active Pending
-
2013
- 2013-10-21 WO PCT/JP2013/078430 patent/WO2014065227A1/en active Application Filing
- 2013-10-22 TW TW102138093A patent/TW201416884A/en unknown
Patent Citations (1)
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)
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)
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 |