JP2015118548A - Server device, method for character-spacing, and program - Google Patents

Server device, method for character-spacing, and program Download PDF

Info

Publication number
JP2015118548A
JP2015118548A JP2013261649A JP2013261649A JP2015118548A JP 2015118548 A JP2015118548 A JP 2015118548A JP 2013261649 A JP2013261649 A JP 2013261649A JP 2013261649 A JP2013261649 A JP 2013261649A JP 2015118548 A JP2015118548 A JP 2015118548A
Authority
JP
Japan
Prior art keywords
character
padding
font
filling
glyph data
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.)
Granted
Application number
JP2013261649A
Other languages
Japanese (ja)
Other versions
JP6351969B2 (en
Inventor
仁 瀬口
Hitoshi Seguchi
仁 瀬口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SB Technology Corp
Original Assignee
SoftBank Technology Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SoftBank Technology Corp filed Critical SoftBank Technology Corp
Priority to JP2013261649A priority Critical patent/JP6351969B2/en
Publication of JP2015118548A publication Critical patent/JP2015118548A/en
Application granted granted Critical
Publication of JP6351969B2 publication Critical patent/JP6351969B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a technique for easily adjusting the space between characters in a Web font.SOLUTION: The above problem is resolved by having determination means for determining whether character-spacing is designated in a request from a client device, character-spacing means for extracting the glyph data of characters of the target font, changing the extracted glyph data, and adjusting the space between characters when it is determined by the determination means that character-spacing is designated, generation means for generating a new font including the glyph data changed by the character-spacing means, and supply means for supplying the font generated by the generation means to the client device.

Description

本発明は、サーバ装置、文字詰め方法及びプログラムに関する。   The present invention relates to a server device, a character filling method, and a program.

Javascript(登録商標)を用いて、自動的に文字単位でspan等のタグで区切って、更にCSSのletter−spacingを使うことで文字間のスペースを調整する方法がある(例えば、非特許文献1参照)。   There is a method of adjusting the space between characters by using JavaScript (registered trademark), automatically separating characters by tags such as span, and further using CSS letter-spacing (for example, Non-Patent Document 1). reference).

“文字と文字の間隔を変更できるletter−spacingプロパティ”、[online]、[平成25年12月9日検索]、インターネット<URL:http://www.atmarkit.co.jp/fwcr/design/cssref/text/letterspacing.html>“Letter-spacing property that can change the interval between characters”, [online], [searched on December 9, 2013], Internet <URL: http: // www. atmarkit. co. jp / fwcr / design / cssref / text / letterspacing. html>

上記技術によれば、細かい設定ができる半面、その設定を文字ごとや文字の並びごとに行う必要がある。また、テキストを修正した場合は、改めて設定し直す必要があった。そのため、こだわりの強いWebデザイナーにはよいが、一般的にはあまり好まれず、普及しにくい問題があった。   According to the above technique, fine setting can be performed, but it is necessary to perform the setting for each character or character sequence. Moreover, when the text was corrected, it was necessary to set again. Therefore, although it is good for a Web designer who has a strong commitment, there is a problem that it is generally not preferred and difficult to spread.

本発明はこのような問題点に鑑みなされたもので、Webフォントにおける文字詰めを容易に実現する技術を提供することを目的とする。   The present invention has been made in view of such problems, and an object of the present invention is to provide a technique for easily realizing character filling in a Web font.

そこで、本発明は、サーバ装置であって、クライアント装置からの要求において文字詰めを行うことが指定されているか否かを判定する判定手段と、前記判定手段により文字詰めを行うことが指定されていると判定された場合、対象とするフォントの文字のグリフデータを抽出し、抽出したグリフデータを変更し、文字詰めを行う文字詰め手段と、前記文字詰め手段により変更されたグリフデータを含む新しいフォントを生成する生成手段と、前記生成手段により生成されたフォントを前記クライアント装置に提供する提供手段と、を有する。   Therefore, the present invention is a server device, wherein a determination unit that determines whether or not to perform character padding is specified in a request from a client device, and that the character padding is specified by the determination unit. If it is determined that the character glyph data of the target font is extracted, the extracted glyph data is changed, the character filling means for filling the characters, and the new glyph data including the glyph data changed by the character filling means Generating means for generating a font; and providing means for providing the font generated by the generating means to the client device.

本発明によれば、Webフォントにおける文字詰めを容易に実現する技術を提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the technique which implement | achieves the character filling in a web font easily can be provided.

Webフォント配信システムのシステム構成の一例を示す図である。It is a figure which shows an example of the system configuration | structure of a web font delivery system. サーバ装置のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of a server apparatus. サーバ装置のソフトウェア構成の一例を示す図である。It is a figure which shows an example of the software structure of a server apparatus. サーバ装置と、クライアント装置と、の間の処理等の一例を示すシーケンス図である。It is a sequence diagram which shows an example of the process etc. between a server apparatus and a client apparatus. サーバ装置における文字詰め処理の一例を示すフローチャートである。It is a flowchart which shows an example of the character filling process in a server apparatus. 方法1による文字詰めの一例を示す概念図である。FIG. 5 is a conceptual diagram illustrating an example of character filling by method 1; 方法1に係るWebページの作成方法の一例を示す図である。6 is a diagram illustrating an example of a Web page creation method according to Method 1. FIG. 方法2に係るWebページの作成方法の一例を示す図である。10 is a diagram illustrating an example of a Web page creation method according to Method 2. FIG.

以下、本発明の実施形態について図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、Webフォント配信システムのシステム構成の一例を示す図である。
図1に示されるように、Webフォント配信システムは、サーバ装置10と、クライアント装置12と、がネットワーク11を介して通信可能に接続されている。
サーバ装置10は、クライアント装置12からの要求に応じて、文字詰め表示に係るプログラムを提供する。クライアント装置12は、ダウンロードした文字詰め表示に係るプログラムを実行する。クライアント装置12は、文字詰め表示に係るプログラムの実行によって、表示対象のWebページに係るフォント名、フォントが使われている文字、文字詰めの方法を指定する指定情報、OSの種類、Webブラウザの種別等の情報を取得する。そして、クライアント装置12は、取得した情報を含むフォント要求をサーバ装置10に送信する。サーバ装置10は、フォント要求を受け取ると、文字詰めの方法を指定する指定情報に応じて、前記フォントが使われている文字に対して、文字詰めを行い、文字詰めを行った新たなフォントを生成する。そして、サーバ装置10は、生成したフォントをクライアント装置12に送信する。より具体的に説明すると、サーバ装置10は、前記OSの種類及びWebブラウザの種別に応じて、前記フォントをWebブラウザに適したフォーマットに変換して、クライアント装置12に送信する。フォントを受け取ったクライアント装置12は、受け取ったフォントを用いて該当するWebページを表示する。
このような処理を実行することによって、Webフォントにおける文字詰めを容易に実現することができる。
なお、図1ではクライアント装置12は、1つであるが、複数であってもよい。また、クライアント装置12は、タブレット端末装置、スマートフォン、携帯電話装置等であってもよい。また、図1では、サーバ装置10は、1つであるが、複数であってもよい。つまり、サーバ装置10の機能を、複数のサーバ装置が互いに分担しあいながら処理を実行するクラウドの様なシステムであってもよい。また、サーバ装置10は、コンピュータの一例である。
FIG. 1 is a diagram illustrating an example of a system configuration of a Web font distribution system.
As shown in FIG. 1, in the Web font distribution system, a server device 10 and a client device 12 are connected to be communicable via a network 11.
In response to a request from the client device 12, the server device 10 provides a program related to character filling display. The client device 12 executes the program related to the downloaded character padding display. By executing a program related to character padding display, the client device 12 executes the font name related to the Web page to be displayed, the characters using the font, the designation information specifying the character padding method, the OS type, the Web browser Get information such as type. Then, the client device 12 transmits a font request including the acquired information to the server device 10. Upon receiving the font request, the server device 10 performs character padding on the character in which the font is used in accordance with the designation information for designating the character padding method, and a new font with the character padding is obtained. Generate. Then, the server device 10 transmits the generated font to the client device 12. More specifically, the server device 10 converts the font into a format suitable for the Web browser according to the OS type and the Web browser type, and transmits the converted font to the client device 12. The client device 12 that has received the font displays the corresponding Web page using the received font.
By executing such processing, it is possible to easily realize character filling in the Web font.
In FIG. 1, there is one client device 12, but there may be a plurality of client devices 12. The client device 12 may be a tablet terminal device, a smartphone, a mobile phone device, or the like. In FIG. 1, there is one server device 10, but there may be a plurality of server devices 10. That is, a system such as a cloud in which a plurality of server devices execute processing while sharing the functions of the server device 10 with each other may be used. The server device 10 is an example of a computer.

図2は、サーバ装置10のハードウェア構成の一例を示す図である。
図2に示されるように、サーバ装置10は、ハードウェア構成として、CPU20と、メモリ21と、ネットワークI/F22と、を含む。
CPU20は、サーバ装置10全体を制御する。CPU20が、メモリ21に記憶されているプログラムに基づき処理を実行することによって、後述するサーバ装置10に係るソフトウェア構成及び後述するフローチャート等に係る処理が実現される。メモリ21は、RAM、ROM、HDD等であって、プログラムやCPU20がプログラムを実行する際に参照するデータ等を記憶する。ネットワークI/F22は、サーバ装置10をネットワーク11に接続するためのインターフェースである。
クライアント装置12のハードウェア構成もサーバ装置10と同様で、少なくとも、CPUと、メモリと、ネットワークI/Fと、を含む。そして、クライアント装置12のCPUがクライアント装置12のメモリに記憶されているプログラムに基づき処理を実行することによって、後述するクライアント装置12の機能等が実現される。
FIG. 2 is a diagram illustrating an example of a hardware configuration of the server device 10.
As illustrated in FIG. 2, the server device 10 includes a CPU 20, a memory 21, and a network I / F 22 as a hardware configuration.
The CPU 20 controls the entire server device 10. When the CPU 20 executes a process based on a program stored in the memory 21, a process related to a software configuration related to the server apparatus 10 described later, a flowchart described later, and the like is realized. The memory 21 is a RAM, ROM, HDD, or the like, and stores a program, data to be referred to when the CPU 20 executes the program, and the like. The network I / F 22 is an interface for connecting the server device 10 to the network 11.
The hardware configuration of the client device 12 is the same as that of the server device 10 and includes at least a CPU, a memory, and a network I / F. Then, the CPU of the client device 12 executes processing based on a program stored in the memory of the client device 12, thereby realizing functions and the like of the client device 12 described later.

図3は、サーバ装置10のソフトウェア構成の一例を示す図である。
図3に示されるように、サーバ装置10は、ソフトウェア構成として、プログラム提供部30と、文字詰め機能提供部31と、を含む。
プログラム提供部30は、クライアント装置12からの要求に応じて、文字詰め表示に係るプログラムを提供する。文字詰め表示に係るプログラムの一例としては、例えば、文字詰め表示に係るJavascriptである。
FIG. 3 is a diagram illustrating an example of a software configuration of the server apparatus 10.
As illustrated in FIG. 3, the server device 10 includes a program providing unit 30 and a character filling function providing unit 31 as a software configuration.
The program providing unit 30 provides a program related to character padding display in response to a request from the client device 12. An example of a program related to character padding display is, for example, Javascript related to character padding display.

文字詰め機能提供部31は、クライアント装置12より、表示対象のWebページに係るフォント名、フォントが使われている文字、文字詰めの方法を指定する指定情報、Webブラウザ等の情報を含むフォント要求を受信する。文字詰め機能提供部31は、前記フォント要求を受信すると、前記フォント要求に含まれる前記指定情報を抽出する。そして、文字詰め機能提供部31は、抽出した前記指定情報に基づいて、指定されている文字詰めの方法を特定し、特定した文字詰めの方法で文字詰めを行う。
より具体的に説明すると、本実施形態における文字詰めの方法には、方法1と、方法2と、が存在する。方法1は、文字間のスペースを均一にする文字詰めの方法で、方法2は、フォントデザイナーが設定した文字幅の情報(例えば、プロポーショナルメトリックス等)に基づき文字を詰める文字詰めの方法である。
文字詰め機能提供部31は、フォント要求に含まれる前記指定情報で指定された文字詰めの方法で文字詰めを行う。つまり、文字詰め機能提供部31は、前記指定情報で方法1が指定されていた場合、方法1で文字詰めを行い、前記指定情報で方法2が指定されていた場合、方法2で文字詰めを行う。
文字詰め機能提供部31は、文字詰めを行った新たなフォントを生成し、生成したフォントをクライアント装置12に送信する。
The font filling function providing unit 31 receives a font request from the client device 12 including the font name related to the Web page to be displayed, the characters in which the font is used, the designation information for specifying the font filling method, and information such as the web browser. Receive. When the font filling function providing unit 31 receives the font request, the character filling function providing unit 31 extracts the designation information included in the font request. The character padding function providing unit 31 specifies a specified character padding method based on the extracted designation information, and performs character padding using the specified character padding method.
More specifically, there are a method 1 and a method 2 as the character filling method in the present embodiment. Method 1 is a character filling method that makes the space between characters uniform, and method 2 is a character filling method that fills characters based on character width information (for example, proportional metrics) set by the font designer.
The character padding function providing unit 31 performs character padding using the character padding method designated by the designation information included in the font request. That is, the character padding function providing unit 31 performs the character padding by the method 1 when the method 1 is designated by the designation information, and the character padding by the method 2 when the method 2 is designated by the designation information. Do.
The character padding function providing unit 31 generates a new font with character padding, and transmits the generated font to the client device 12.

図4は、サーバ装置10と、クライアント装置12と、の間の処理等の一例を示すシーケンス図である。
シーケンスSC40において、サーバ装置10は、クライアント装置12からの要求に応じて、文字詰め表示に係るプログラムを提供する。前記要求とは、例えば、Webページの表示要求等である。
シーケンスSC41において、クライアント装置12は、ダウンロードした文字詰め表示に係るプログラムを実行する。クライアント装置12は、文字詰め表示に係るプログラムの実行によって、表示対象のWebページに係るフォント名、フォントが使われている文字、文字詰めの方法を指定する指定情報、Webブラウザ等の情報を取得する。
シーケンスSC42において、クライアント装置12は、取得した情報を含むフォント要求をサーバ装置10に送信する。
FIG. 4 is a sequence diagram illustrating an example of processing between the server device 10 and the client device 12.
In sequence SC <b> 40, the server apparatus 10 provides a program related to character padding display in response to a request from the client apparatus 12. The request is, for example, a Web page display request.
In sequence SC <b> 41, the client apparatus 12 executes the downloaded program related to character padding display. The client device 12 obtains information such as a font name related to a display target Web page, a character in which the font is used, designation information designating a character filling method, a Web browser, and the like by executing a program related to character filling display. To do.
In sequence SC42, the client apparatus 12 transmits a font request including the acquired information to the server apparatus 10.

シーケンスSC43において、サーバ装置10は、フォント要求を受け取ると、前記フォント要求に含まれる文字詰めの方法を指定する指定情報に応じて、前記フォントが使われている文字に対して、文字詰めを行い、文字詰めを行った新たなフォントを生成する。また、サーバ装置10は、前記OSの種類及びWebブラウザの種別に応じて、前記フォントをWebブラウザに適したフォーマットに変換する。
シーケンスSC44において、サーバ装置10は、生成し、変換したフォントをクライアント装置12に送信する。
シーケンスSC45において、クライアント装置12は、受信したフォントを用いてWebページを表示する。
このことによって、文字詰めが行われたフォントでWebページの表示が行われる。
In sequence SC43, when the server device 10 receives the font request, the server device 10 performs character padding on the characters in which the font is used in accordance with the designation information for designating the character padding method included in the font request. Generate a new font with character filling. Further, the server device 10 converts the font into a format suitable for the Web browser according to the OS type and the Web browser type.
In sequence SC <b> 44, the server apparatus 10 transmits the generated and converted font to the client apparatus 12.
In sequence SC45, the client apparatus 12 displays a Web page using the received font.
As a result, the Web page is displayed in a font in which characters are stuffed.

図5は、サーバ装置10における文字詰め処理の一例を示すフローチャートである。
ステップS50において、CPU20は、クライアント装置12からフォント要求を受信したか否かを判定する。CPU20は、クライアント装置12からフォント要求を受信したと判定した場合、処理をステップS51に進め、クライアント装置12からフォント要求を受信していないと判定した場合、ステップS50の処理を繰り返す。
ステップS51において、CPU20は、フォント要求から文字詰めの方法を指定する指定情報を抽出する。
FIG. 5 is a flowchart illustrating an example of character padding processing in the server device 10.
In step S <b> 50, the CPU 20 determines whether a font request is received from the client device 12. If the CPU 20 determines that a font request has been received from the client device 12, the process proceeds to step S51. If the CPU 20 determines that a font request has not been received from the client device 12, the process of step S50 is repeated.
In step S51, the CPU 20 extracts designation information for designating a character filling method from the font request.

ステップS52において、CPU20は、抽出した指定情報に基づいて、文字詰め方法が方法1か方法2かを判定する。CPU20は、抽出した指定情報が方法1を示していた場合、方法1による文字詰めであると判定し、処理をステップS53に進め、抽出した指定情報が方法2を示していた場合、方法2による文字詰めであると判定し、処理をステップS54に進める。
ステップS53において、CPU20は、文字間のスペースを均一にする文字詰めの方法で、文字詰めを行う。より具体的説明すると、CPU20は、フォント要求に含まれるフォント名やフォントが使われている文字の情報に基づき、対象とするフォントの各文字のグリフデータを抽出する。CPU20は、字面の最も左の座標と最も右の座標とから前記字面の幅を取得し、仮想ボディの幅を前記字面の幅と同じにして、前記字面を示す各ポイントの座標位置を合わせて左に再配置することでスペースのないグリフデータを生成し、文字詰めを行う。
ここで、図6は、方法1による文字詰めの一例を示す概念図である。
図6に示されるように、方法1による文字詰めでは余白が削除する。余白を削除し、CSSを設定すれば、文字間の余白を統一して見栄えをよくすることができる。
In step S52, the CPU 20 determines whether the character filling method is method 1 or method 2 based on the extracted designation information. When the extracted designation information indicates the method 1, the CPU 20 determines that the character is padded by the method 1, and proceeds to step S53. When the extracted designation information indicates the method 2, the method 20 It is determined that characters are padded, and the process proceeds to step S54.
In step S53, the CPU 20 performs character padding by a character padding method that makes the space between characters uniform. More specifically, the CPU 20 extracts glyph data of each character of the target font based on the font name included in the font request and information on the character using the font. The CPU 20 obtains the width of the face from the leftmost coordinate and the rightmost coordinate of the face, makes the width of the virtual body the same as the width of the face, and matches the coordinate position of each point indicating the face. By rearranging to the left, glyph data without spaces is generated and characters are padded.
Here, FIG. 6 is a conceptual diagram showing an example of character filling by the method 1. FIG.
As shown in FIG. 6, the blank space is deleted in the character filling by the method 1. If the margin is deleted and CSS is set, the margin between characters can be unified to improve the appearance.

一方、ステップS54において、CPU20は、Webページの所定のタグ等に予め設定されているスペース情報に合わせて仮想ボディの幅を狭くし、字面を示す各ポイントの座標位置を合わせて左に再配置することでグリフデータを生成し、文字詰めを行う。スペース情報は、例えば、クライアント装置12からのフォント要求に含まれているものとする。つまり、フォントデザイナー等にとって最も好ましいと思われるスペース情報が設定されており、クライアント装置12では、このスペース情報を抽出し、フォント要求に含めてサーバ装置10に送信する。サーバ装置10は、このスペース情報がフォント要求に含まれていた場合は、方法2による文字詰め方法であると判定する。
ステップS55において、CPU20は、ステップS53又はステップS54の文字詰めにより変更されたグリフデータを含む新しいフォントを生成する。
ステップS56において、CPU20は、生成された新しいフォントを要求元のクライアント装置12に送信する。
On the other hand, in step S54, the CPU 20 narrows the width of the virtual body in accordance with the space information set in advance on a predetermined tag or the like of the web page, aligns the coordinate position of each point indicating the face, and rearranges it to the left. By doing so, glyph data is generated and characters are padded. The space information is assumed to be included in the font request from the client device 12, for example. That is, space information that is most preferable for a font designer or the like is set, and the client device 12 extracts this space information and transmits it to the server device 10 in a font request. When the space information is included in the font request, the server device 10 determines that the character filling method is the method 2.
In step S55, the CPU 20 generates a new font including the glyph data changed by the character padding in step S53 or step S54.
In step S <b> 56, the CPU 20 transmits the generated new font to the requesting client device 12.

図7は、方法1に係るWebページの作成方法の一例を示す図である。
まず、Webページを作成する作成者等はサーバ装置10に接続し、文字間の余白を削除するWebページを作成する場合には、図7の(a)に示すようなスクリプト発行画面において、文字間の余白削除の「する」を選択する。
そうすると、サーバ装置10によって、図7の(b)に示すようなスクリプトが生成される。このスクリプトが埋め込まれたWebページの場合、クライアント装置12は、方法1で文字詰めを行うWebページであると判断し、指定情報にその旨を記載し、フォント要求をサーバ装置10に送信する。
Webページを作成する作成者等は、図7の(c)に示されるCSS:letter−spacingを、Webフォントを設定する箇所に設定する。
FIG. 7 is a diagram illustrating an example of a Web page creation method according to Method 1.
First, when a creator or the like who creates a Web page connects to the server device 10 and creates a Web page that deletes the space between characters, a character is displayed on the script issuance screen as shown in FIG. Select “Yes” to delete the blank space.
Then, a script as shown in FIG. 7B is generated by the server device 10. In the case of a Web page in which the script is embedded, the client device 12 determines that the character page is a Web page to be filled with the method 1, describes that in the designation information, and transmits a font request to the server device 10.
A creator or the like who creates a Web page sets CSS: letter-spacing shown in FIG. 7C to a place where a Web font is set.

図8は、方法2に係るWebページの作成方法の一例を示す図である。
方法2の場合、Webページを作成する作成者等はスクリプトタグのパラメータを変更するだけでよい。
このスクリプトタグが埋め込まれたWebページの場合、クライアント装置12は、方法2で文字詰めを行うWebページであると判断し、指定情報にその旨を記載し、フォント要求をサーバ装置10に送信する。
FIG. 8 is a diagram illustrating an example of a Web page creation method according to Method 2.
In the case of the method 2, the creator who creates the Web page only needs to change the parameter of the script tag.
In the case of a Web page in which the script tag is embedded, the client apparatus 12 determines that the character page is a Web page to be filled with the method 2, describes that in the designation information, and transmits a font request to the server apparatus 10. .

上述した実施形態によれば、Webフォントにおける文字詰めを容易に実現する技術を提供することができる。
また、方法1による文字詰めの方法によれば、ユーザーが通常では触れることができないグリフデータを直接変更し、また、字面を基準に好みのスペースをユーザーが使いなれたCSSで調整することができる。また、SEO効果が薄れることもない。
また、方法2による文字詰めの方法によれば、フォントデザイナーが最適であると予め設定したスペースに、一括で文字幅を設定することができる。
また、図7や図8に示すように、Webページを生成する人は、簡単に文字詰めの設定等を行うことができる。
また、Webページを生成する際に、同一ページ内のどの部分に文字詰めを適用するかを指定可能としてもよい。このように指定された場合、クライアント装置12は、Webページ内のどの部分を文字詰めするのかを判断し、指定情報にその場所に記載された文字と指定されたフォント名及び文字詰めの方法等を記載し、フォント要求をサーバ装置10に送信する。サーバ装置10では、フォント要求に記載された前記場所における文字やフォント名、そして文字詰めの方法を抽出し、この文字詰めの方法の情報に基づき、指定された方法で文字詰めを行い、要求元のクライアント装置12に提供することができる。このような構成によれば、例えば、Webページ内の部分によって、ある部分は方法1で文字詰めを行い、ある部分は方法2で文字詰めを行う等、よりユーザーの好みに応じたWebフォントにおける文字詰めを容易に実現することができる。
According to the above-described embodiment, it is possible to provide a technique for easily realizing character filling in a Web font.
In addition, according to the method of filling characters by Method 1, glyph data that the user cannot normally touch can be directly changed, and the favorite space can be adjusted with the CSS that the user can use based on the character face. . Further, the SEO effect is not diminished.
In addition, according to the character filling method according to method 2, it is possible to set the character width in a lump in a space preset as optimal by the font designer.
Also, as shown in FIGS. 7 and 8, a person who generates a Web page can easily set character filling.
Further, when generating a Web page, it may be possible to specify which part of the same page to apply character padding. When specified in this way, the client device 12 determines which part of the Web page is to be padded with characters, the character described in the location in the specified information, the font name specified, the padding method, etc. And the font request is transmitted to the server device 10. The server device 10 extracts characters and font names at the location described in the font request and a character padding method, performs character padding by a designated method based on the information on the character padding method, and sends the request source. To the client device 12. According to such a configuration, for example, depending on the part in the Web page, a certain part is filled with characters by the method 1, and a certain part is filled with the character by the method 2, etc. Character filling can be easily realized.

以上、本発明の好ましい実施形態について詳述したが、本発明は係る特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。   The preferred embodiments of the present invention have been described in detail above, but the present invention is not limited to such specific embodiments, and various modifications can be made within the scope of the gist of the present invention described in the claims.・ Change is possible.

10 サーバ装置
11 ネットワーク
12 クライアント装置
10 Server device 11 Network 12 Client device

Claims (7)

クライアント装置からの要求において文字詰めを行うことが指定されているか否かを判定する判定手段と、
前記判定手段により文字詰めを行うことが指定されていると判定された場合、対象とするフォントの文字のグリフデータを抽出し、抽出したグリフデータを変更し、文字詰めを行う文字詰め手段と、
前記文字詰め手段により変更されたグリフデータを含む新しいフォントを生成する生成手段と、
前記生成手段により生成されたフォントを前記クライアント装置に提供する提供手段と、
を有するサーバ装置。
Determining means for determining whether or not to specify padding in a request from the client device;
When it is determined by the determining means that character filling is specified, character glyph data of a target font character is extracted, the extracted glyph data is changed, and character filling means for performing character padding;
Generating means for generating a new font including the glyph data changed by the character filling means;
Providing means for providing the font generated by the generating means to the client device;
A server device.
前記判定手段により文字詰めを行うことが指定されていると判定された場合、文字詰めの方法を指定する指定情報を抽出する抽出手段を更に有し、
前記文字詰め手段は、前記抽出手段により抽出された指定情報で指定されている文字詰めの方法で文字詰めを行う請求項1記載のサーバ装置。
When it is determined by the determination means that it is designated to perform character padding, it further includes an extraction means for extracting designation information for designating a character padding method,
The server device according to claim 1, wherein the character padding unit performs character padding by a character padding method specified by the designation information extracted by the extraction unit.
前記文字詰め手段は、前記抽出手段により抽出された指定情報で指定されている文字詰めの方法が第1の文字詰めの方法であった場合、対象とするフォントの各文字のグリフデータを抽出して、字面の最も左の座標と最も右の座標とから前記字面の幅を取得し、仮想ボディの幅を前記字面の幅と同じにして、前記字面を示す各ポイントの座標位置を合わせて左に再配置することでスペースのないグリフデータを生成し、文字詰めを行う請求項2記載のサーバ装置。   The character padding unit extracts glyph data of each character of the target font when the character padding method specified by the designation information extracted by the extraction unit is the first character padding method. The width of the face is obtained from the leftmost coordinate and the rightmost coordinate of the face, the width of the virtual body is made equal to the width of the face, and the coordinate position of each point indicating the face is aligned and left The server device according to claim 2, wherein glyph data having no space is generated by rearranging the characters and the characters are padded. 前記文字詰め手段は、前記抽出手段により抽出された指定情報で指定されている文字詰めの方法が第2の文字詰めの方法であった場合、予め設定されているスペース情報に合わせて仮想ボディの幅を狭くし、字面を示す各ポイントの座標位置を合わせて左に再配置することでグリフデータを生成し、文字詰めを行う請求項2記載のサーバ装置。   When the character padding method specified by the designation information extracted by the extraction unit is the second character padding method, the character padding unit is configured to match the virtual body according to preset space information. The server device according to claim 2, wherein the glyph data is generated by narrowing the width, rearranging the coordinate positions of the respective points indicating the character face to the left, and filling the characters. 前記文字詰め手段は、前記指定情報で指定されたWebページ内の一部の文字に対して文字詰めを行う請求項2乃至4何れか1項記載のサーバ装置。   The server device according to claim 2, wherein the character padding unit performs character padding for a part of characters in the Web page specified by the specification information. サーバ装置が実行する文字詰め方法であって、
クライアント装置からの要求において文字詰めを行うことが指定されているか否かを判定する判定ステップと、
前記判定ステップにより文字詰めを行うことが指定されていると判定された場合、対象とするフォントの文字のグリフデータを抽出し、抽出したグリフデータを変更し、文字詰めを行う文字詰めステップと、
前記文字詰めステップにより変更されたグリフデータを含む新しいフォントを生成する生成ステップと、
前記生成ステップにより生成されたフォントを前記クライアント装置に提供する提供ステップと、
を有する文字詰め方法。
A character filling method executed by a server device,
A determination step of determining whether or not to specify padding in a request from the client device;
When it is determined that character filling is specified by the determination step, character glyph data of the target font is extracted, the extracted glyph data is changed, and the character filling step is performed for character filling;
Generating a new font including the glyph data changed by the character filling step;
A providing step of providing the client device with the font generated by the generating step;
A method for filling characters.
コンピュータに、
クライアント装置からの要求において文字詰めを行うことが指定されているか否かを判定する判定ステップと、
前記判定ステップにより文字詰めを行うことが指定されていると判定された場合、対象とするフォントの文字のグリフデータを抽出し、抽出したグリフデータを変更し、文字詰めを行う文字詰めステップと、
前記文字詰めステップにより変更されたグリフデータを含む新しいフォントを生成する生成ステップと、
前記生成ステップにより生成されたフォントを前記クライアント装置に提供する提供ステップと、
を実行するためのプログラム。
On the computer,
A determination step of determining whether or not to specify padding in a request from the client device;
When it is determined that character filling is specified by the determination step, character glyph data of the target font is extracted, the extracted glyph data is changed, and the character filling step is performed for character filling;
Generating a new font including the glyph data changed by the character filling step;
A providing step of providing the client device with the font generated by the generating step;
A program for running.
JP2013261649A 2013-12-18 2013-12-18 Server apparatus, character filling method and program Active JP6351969B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013261649A JP6351969B2 (en) 2013-12-18 2013-12-18 Server apparatus, character filling method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013261649A JP6351969B2 (en) 2013-12-18 2013-12-18 Server apparatus, character filling method and program

Publications (2)

Publication Number Publication Date
JP2015118548A true JP2015118548A (en) 2015-06-25
JP6351969B2 JP6351969B2 (en) 2018-07-04

Family

ID=53531209

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013261649A Active JP6351969B2 (en) 2013-12-18 2013-12-18 Server apparatus, character filling method and program

Country Status (1)

Country Link
JP (1) JP6351969B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02122957A (en) * 1988-11-02 1990-05-10 Fujitsu Ltd Character magnification and reduction device
JPH03148725A (en) * 1989-10-17 1991-06-25 Nec Off Syst Ltd Character string preparing system
US7064757B1 (en) * 1999-05-07 2006-06-20 Apple Computer, Inc. Automatic synthesis of font tables for character layout
JP2011059914A (en) * 2009-09-09 2011-03-24 Nagoya Institute Of Technology Fast distribution method for electronic sentence and word using variety of font
JP2014085746A (en) * 2012-10-22 2014-05-12 Morisawa:Kk Font distribution system and font distribution method
US20140136957A1 (en) * 2012-11-09 2014-05-15 Monotype Imaging Inc. Supporting Scalable Fonts

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02122957A (en) * 1988-11-02 1990-05-10 Fujitsu Ltd Character magnification and reduction device
JPH03148725A (en) * 1989-10-17 1991-06-25 Nec Off Syst Ltd Character string preparing system
US7064757B1 (en) * 1999-05-07 2006-06-20 Apple Computer, Inc. Automatic synthesis of font tables for character layout
JP2011059914A (en) * 2009-09-09 2011-03-24 Nagoya Institute Of Technology Fast distribution method for electronic sentence and word using variety of font
JP2014085746A (en) * 2012-10-22 2014-05-12 Morisawa:Kk Font distribution system and font distribution method
US20140136957A1 (en) * 2012-11-09 2014-05-15 Monotype Imaging Inc. Supporting Scalable Fonts

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
INDESIGNの「文字ツメ」と「プロポーショナルメトリクス」, JPN6017038753, 16 June 2009 (2009-06-16) *
モリサワがWEBフォントサービスを開始! 「TYPESQUARE」の設定方法やあれこれ, JPN6013061456, 15 March 2012 (2012-03-15) *
国広信哉, WEBディレクターとしておさえておきたい!日本語WEBフォント最新事情, JPN6013061459, 5 September 2012 (2012-09-05) *
小山田 晃浩: "CSS Lab. Webフォントで広がるWebデザイン", WEB DESIGNING, vol. 第11巻第10号, JPN6017038752, 1 October 2011 (2011-10-01), JP, pages 110 - 113 *
葛西 新平: "CSS Lab. Webフォント入門編", WEB DESIGNING, vol. 第13巻第12号, JPN6018018473, 1 December 2013 (2013-12-01), JP, pages 116 - 119 *

Also Published As

Publication number Publication date
JP6351969B2 (en) 2018-07-04

Similar Documents

Publication Publication Date Title
CN106294816B (en) Page information processing method and device
WO2017088509A1 (en) Page customization method and device
JP5967614B2 (en) Method, apparatus and system for displaying web pages
WO2016026384A1 (en) Client page display method, device and system
CN107168999A (en) A kind of method for updating pages and device
CN108073435B (en) Multi-information integrated display method and system
CN103197925A (en) Bill displaying device and bill displaying method
JP2016518647A (en) Campaign optimization for experience content datasets
CN106062741B (en) Method and system for information processing in social network system
JPWO2014155742A1 (en) Information processing system, information processing system control method, information processing apparatus, information processing apparatus control method, information storage medium, and program
WO2015196979A1 (en) Web page information presentation method and system
US9706006B2 (en) System and method of context aware adaption of content for a mobile device
JP2016162200A5 (en) Information processing system, server, control method, and computer program
JP5987012B2 (en) Information providing device, terminal device, information providing method, information providing program, and information acquisition program
JP6261325B2 (en) Web font distribution method and system therefor
JP6351969B2 (en) Server apparatus, character filling method and program
US10674022B2 (en) Server, server system, non-transitory computer-readable recording medium storing computer-readable instructions for server, and method performed by server
CN111581565A (en) Page style configuration method, system, medium and equipment
CA2751930C (en) Treatment controller
US20170083481A1 (en) Method and apparatus for rendering a screen-representation of an electronic document
WO2016029705A1 (en) Method and device for inserting webpage toolbar, and storage medium
TW201512984A (en) Client/server program generation device and client/server program generation program
US20140379790A1 (en) Information processing apparatus, method and medium
JP2021071790A (en) Information processing device, information processing method, and program
FI126142B (en) Determining the location of embedded content on a web page

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161118

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170925

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171010

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171129

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180522

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180606

R150 Certificate of patent or registration of utility model

Ref document number: 6351969

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371