[go: up one dir, main page]

HK1119270B - Apparatus and method for online producing web documents in multiple typefaces within distribution system of website - Google Patents

Apparatus and method for online producing web documents in multiple typefaces within distribution system of website Download PDF

Info

Publication number
HK1119270B
HK1119270B HK08112189.8A HK08112189A HK1119270B HK 1119270 B HK1119270 B HK 1119270B HK 08112189 A HK08112189 A HK 08112189A HK 1119270 B HK1119270 B HK 1119270B
Authority
HK
Hong Kong
Prior art keywords
font
file
webpage
web
data
Prior art date
Application number
HK08112189.8A
Other languages
Chinese (zh)
Other versions
HK1119270A1 (en
Inventor
郑国扬
Original Assignee
威锋数位开发股份有限公司
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
Priority claimed from JP2006350474A external-priority patent/JP2008165264A/en
Application filed by 威锋数位开发股份有限公司 filed Critical 威锋数位开发股份有限公司
Publication of HK1119270A1 publication Critical patent/HK1119270A1/en
Publication of HK1119270B publication Critical patent/HK1119270B/en

Links

Description

Equipment and method for online making multi-font web page file in website release system
Technical Field
The invention relates to the technical field of Chinese character processing, in particular to equipment and a method for providing an online multi-font webpage file in a website publishing system.
Background
Internet browsers are widely used in personal computers to browse web page files posted on web sites. Typically, the user computer enters the URL of the desired web page through a browser, or searches for desired web pages by a search engine, and selects the desired web page from the desired web pages, or directly clicks the URL displayed on the screen. At this point the browser will take the web page file down according to the indicated URL and display the web page file on the computer screen.
With the network technology that advances with time, the internet browser in the personal computer can not only browse the web page files on the website, but also make the web page files and publish them on the website for others to read. For example, in the application of "BLOG", a BLOG author can publish the web page files he authored on a website for other readers to read and respond, thus generating more web page files to stream in the society of "BLOG". A typical way of creating a web page file is that an internet browser can be linked with a man-machine dialog window provided by a website, so that a user can create, edit, and see a process of creating a web page file displayed in real time on a screen of a computer screen.
Generally, when a user computer connects to a website, the user operates a browser in the computer to run a man-machine dialog window provided by the website to create a web page file. The fonts which can be supported and displayed by the browser come from two approaches: the first approach is to take font data from the font already available to the user's computer, i.e., the system font supported by the user's computer; the second approach is taken from the font data built into the HTML document, i.e., the user's self-defined font. The font data of the HTML document can be interpreted by the browser and then directly sent to the font engine in the user's computer to generate text fonts.
Although most personal computers have many standard system fonts, none store non-standard or personally defined fonts or symbols, and the standard system fonts stored in each set of personal computers are inconsistent. If the text font of the special font exists in the web page file and the text font does not exist in the personal computer, the personal computer cannot see the original appearance of the file when viewing the web page file through the browser.
Therefore, most existing online file publishing systems can only support a specific system font. When a user's computer does not support fonts of the same font, the font that the user views online from the computer is not already in place, but is replaced. This situation sometimes causes the phenomenon that the idea that the original author wants to express is distorted, which is more serious for the Chinese document. Because in the web page publishing system of the Chinese document, the author often wants to highlight the main points of the text by characters with different fonts or to express the metaphor of the sentence by pictographic combination characters or symbols. Under the condition, the current online Chinese document publishing system cannot meet the idea that the author wants to express.
Fig. 1 shows the architecture of the currently popular online chinese document publishing system. The architecture includes servers of a web site 21 connected to a number of user computers (of which the user computers designated 15 and 17 are used for illustration) via the internet 22. The author of the user computer 15 posts a chinese web page 30 on the web site 21 through a special document making tool. The words of the web page 30 in this example are metaphorical words that the author wants to express that no matter how big the officer is due (break-ahead). Wherein the character 35 is expressed by the pronunciation of English letters and the mixture of water drops, and the other characters 36, 37 and 38 are expressed by some characters and/or images, respectively. For example, the text 37 is expressed by a snake as a stroke to enter the dangerous situation. However, because user computer 15 does not support these non-standard textual fonts, what is seen on the screen of user computer 17 is a complete loss of the creative idea that the author wants to pictorially express a lexical metaphor, as shown by web page 39.
From the above description it follows that: there is a need for a mechanism and method that enables a user to create, edit and browse to a multi-font chinese web page file with an original appearance on his computer without changing the operating specifications of the existing online published chinese file system, including the manner in which the browser and the user operate.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method for editing, creating and viewing a multi-font chinese web page file capable of retaining original appearance on a network, so that a user on the internet can create, edit and browse the multi-font chinese web page file with original appearance on his computer.
Another object of the present invention is to provide an apparatus for enabling a user to make, edit and view a chinese web document having original multi-fonts on his computer through a browser, when connecting to a web server of an existing chinese web publishing system.
Another object of the present invention is to provide a method for online editing of a chinese document with multi-font on the internet, wherein the font is a character font that cannot be obtained from a personal computer, so that the user can make, edit and browse the original chinese web document with multi-font on his computer.
It is still another object of the present invention to provide a web page font providing system for users to edit, prepare and display multi-font Chinese web page documents with original appearance on the internet.
This summary is provided merely as a conceptual guide to the following description of preferred embodiments and is not intended to identify target features of the claimed subject matter.
According to one aspect of the present disclosure, a method for generating a multi-font Chinese web document on-line is provided. This method comprises the following three steps: (1) providing a web font center server to connect to an existing web site; (2) establishing a communication pipeline which mainly transmits webpage font information between a webpage font center server and a website server; (3) the user's computer on the website is allowed to select at least one or more fonts online to edit and generate a Chinese web page file.
According to an aspect of the present invention, the web font center server of the present invention is mainly composed of five components: a receiver; a communication protocol decoder; a font data searcher; and a web font provider comprising a font file builder and an exporter. The receiver processes user requests from web servers and user computers, and the receiver includes a firewall design for verifying the request's usage rights to maintain integrity of the web font center server jobs. The communication protocol decoder identifies the fonts of characters or symbols defined or entered into the web page file at the web site or at the user computer side, for example, identifying the entered codewords (Unicode/JIS/EUC, etc.) and their fonts. The font data searcher goes to the web page font data base to find the font data of the user request font of the characters and symbols. The font file builder packages the font data obtained from the searcher into a formatted font file, and delivers the formatted font file to the website server or the user computer via the exporter. The installer of the setter embeds the font option menu in the man-machine dialog window provided by the website, enabling the user of the website at the user computer end to generate or edit the chinese web page file based on the selection and use of multifonts.
According to another aspect of the invention, there is provided the second step of the method for establishing a transfer of font-related information between the web font server and the web server, comprising embedding a font selection menu in a man-machine dialog window provided by the web site for the web site user to use to edit a multi-font chinese web document.
According to another aspect of the present invention, the present invention provides an online system for generating a multi-font chinese web document online. This system comprises two components: (1) a web font center server connected to an existing website providing multi-font options to support the production of non-standard font display text or symbols in Chinese documents; (2) and a web font supply center connected to the web font center server and storing the non-standard fonts in the web font database, and supplying the non-standard fonts to the web font center server.
According to another aspect of the present invention, the web font center server further provides: (1) means for checking usage rights and receiving a user request for a non-standard font; (2) means for decoding font information transmitted between the web font center server and the web server to confirm the font of the text or symbol on the requested web document; (3) means for searching the web page font data of the requested text or symbol; (4) means for packaging the searched web font data into a web font file; (5) means for transmitting font option menu or web page font file to web server.
According to yet another aspect of the present invention, font data for a non-standard font is first constructed using stroke-based font techniques, and the constructed stroke font is then converted into outline-based font data. Stroke-based typeface technology can build high-quality computer words independent of resolution, whereas typical browsers only support outline words. Therefore, it is necessary to automatically convert stroke words into outline words. The construction method of stroke words is described in detail in chinese patent No. 183788, and the method of converting stroke words into outline words is described in us patent No. 6,661,417.
According to another aspect of the present invention, a method for on-line editing to generate a multi-font Chinese document is provided. The method is realized by a user computer according to the following two steps: (1) starting up to enter a browser routine which is provided by a website and contains a man-machine conversation window; (2) open edit routine to implement: (a) selecting which words in the text are to change their font; (b) and selecting the desired font in a font option menu provided by the webpage font center server.
According to yet another aspect of the present invention, a method for generating a multi-font chinese document by editing includes the steps of, after a web document is edited: (3) storing the system font data in the background text file and storing the non-system font data in the foreground text file.
According to still another aspect of the present invention, there is provided a method for browsing a multi-font chinese web page document published on a web site by each user computer. Although the font type in the file is not supported by the user's computer, this approach allows the original rendered file to be viewed by the general browser. The method shows that the non-systematic (non-standard) font data in the foreground text file is based on the following procedure: (1) transmitting font related information including font, font code, font data, file name and the like to a user computer; (2) the user computer is made to acquire the information; (3) a font engine in the user computer calculates font data in the information to generate a dot matrix corresponding to the font, and the browser displays the generated dot matrix font at a proper position of the text on the computer screen.
According to the technical scheme, the invention has the following beneficial effects:
1. by using the invention, the web page font center server is connected to the existing web page publishing system, so that the web page publishing system can make, edit and watch the Chinese web page file with multi-font original appearance, and further the internet user can make, edit and browse the Chinese web page file with multi-font original appearance on the computer.
2. The present invention achieves this goal by providing web page font data (which is provided by a web page font server) that can be displayed by a typical browser to display the fonts of characters in the original web page document, and more particularly, the present invention provides multi-font data by systematic means and methods to display non-standard fonts of characters in the original web page document. Although these multi-font fonts do not exist in the user's computer, the user's computer can edit and view the original multi-font Chinese web page through a general browser.
Drawings
Various aspects of the present disclosure may be more clearly understood in light of the following detailed description of specific embodiments illustrated in the accompanying drawings, in which:
FIG. 1 illustrates a prior art Chinese web document publishing system;
FIG. 2 illustrates an overall system implemented by the present invention for generating or editing a multi-font Chinese web document for distribution to a website such that a user of the website can view the original appearance of the document;
FIG. 3 is a flow chart of the processing of components in the Web font center server; how the processing of these components achieves the objectives of the present invention is described in accordance with one disclosure of the present invention;
FIG. 4 is a flow chart showing initial settings in a web font center server according to one aspect of the present disclosure;
FIG. 5(a) is a flow chart illustrating a process for editing a web page file at a client according to one disclosure of the present invention;
FIG. 5(b) is a flowchart illustrating a process for displaying an original appearance of a webpage document on a user computer according to one aspect of the present invention;
FIG. 6(a) is an example of a partial screen for showing a web document displayed before the editing routine of the present invention has not been entered;
FIG. 6(b) shows a partial screen after entering an editing routine;
FIG. 6(c) shows a partial screen under editing;
FIG. 6(d) shows a partial screen after editing;
FIG. 7(a) shows an HTML file corresponding to the web page file of FIG. 6 (a);
FIG. 7(b) shows an HTML file corresponding to the edited web page file of FIG. 6 (d);
FIG. 8 is a graphical illustration of how stroke words are represented with explicit and implicit parameters to create some concepts of stroke shapes, in accordance with a disclosure of the present invention;
FIG. 9(a) is a flow chart illustrating a process for automatically converting stroke words into outline words, in accordance with one disclosure of the present invention;
FIG. 9(b) is a schematic diagram illustrating a process of converting stroke words into outline words according to one aspect of the present disclosure.
Detailed Description
According to the disclosure of the method and system of the invention, the invention adopts the webpage font center server to connect to the existing webpage publishing system, so that the webpage publishing system can make, edit and watch the Chinese webpage file with multi-font original appearance. In the following description of the embodiments, it will be shown that the present invention achieves this object by providing web page font data (provided by a web page font server) capable of being displayed by a general browser to display the font of characters in an original web page document, and more particularly, the present invention provides multi-font data to display non-standard fonts of characters in an original web page document by using the apparatus and method of the system. Although these multi-font fonts do not exist in the user's computer, the user's computer can edit and view the original multi-font Chinese web page through a general browser.
Fig. 2 shows an embodiment of the invention. As shown, the environment in which the system of the present invention is implemented includes a Web server 21 in an existing system that supports the creation of Chinese Web pages 30 as displayed on a user computer 15, that also supports the viewing of Chinese Web pages 30 on the Internet by a user computer 17, and that the user computer creates or views the Chinese Web pages 30 through a conventional browser 28. The existing system further connects the web font center server 24 so that in this environment, the web font center server 24 can assemble the multi-font data in the web text file by itself and publish the multi-font web text file on the web server 21 so that the user computer views the original web text file through the browser 28. The web font center server 24 includes a web font database 25 connected thereto, and web font data of the web font database 25 is provided by a web font supply center 27 through network transmission.
The web font center server 24 is connected to the web server 21 in such a manner that an Internet Protocol (IP) address of the web font center server 24 is assigned to a Socket Function (Socket Function) of a web file managed in the web server 21, so as to communicate information by a TCP/IP (Transmission Control Protocol/Internet Protocol) calling method. The user computer connects to the web site by assigning an internet protocol address of the web site to the browser.
The user computer 15 creates the web page file by entering a man-machine dialog window provided by the web server 21 through its browser 28 and displaying the text entered by the user on the computer screen (existing systems only support displaying text in a particular system font). If the character style displayed by the browser is supported by the user computer, the browser directly feeds the input character code and the appointed character style to the computer to generate the corresponding character style and display the character on the screen. Conversely, if the font is not supported by the user's computer, the browser will retrieve the font data for the corresponding character from the web page text file, feed the font data to the font engine in the computer to generate the font for the character, and then display the character on the screen. Generally, the Font data that can be displayed by the browser at present is an Outline-Based Font (Outline-Based Font). However, it is a Stroke-Based Font (see, for example, the Chinese patent: No. 183788 for details) that can produce high quality Chinese characters at various resolutions. Thus, the web page font is an outline character, and the web page font supply center 27 must have a font data converter that automatically converts stroke characters into outline characters.
According to an embodiment of the present invention, the web font center server is mainly composed of five devices. The first device is a receiver that includes firewall facilities to protect the web font server from external forces or from unauthorized users. As shown in block 71 of fig. 3, the receiver accepts a legitimate user request including information such as font data for fonts that the user's computer does not support or a font selection menu for a man-machine dialog window of the web server. As shown in block 72, the receiver accepts only legitimate user requests through the firewall facility and enters information of the legitimate user request into the second device: a communication protocol decoder. If the user request is to edit the font of a text, as shown in block 74, the communication protocol decoder decrypts the web page font information of the user request incorporated in the communication protocol, and if the user request is to edit the font of a text, as shown in block 75, the communication protocol decoder identifies the font, the font code, the edited text content, and the file name, and passes the identified information to the third device: a font searcher. As shown in block 76, the font searcher searches the web font data of the desired text content from the identified font and font codes in the web font data database 25 (fig. 2), and transmits the found web font data and the associated font, font codes, text content and file name information to the fourth device via the communication protocol decoder: a web font provider. The web page font provider includes a font file assembler, as shown in block 77, which packages the web page font related information from the communication protocol decoder into a formatted file. The formatted file can be interpreted by the browser and displayed in plain multifonted text. If the user request is for a web server to install a menu on the menu bar of the man-machine interaction window, the communication protocol decoder passes the request to the fifth device, as shown in block 74: a setter containing an installation program.
Fig. 4 shows an execution program of the setup program. When the user request from the communication protocol decoder is to install a new font menu option, as shown in block 81, the installer then prepares a new font menu option, formats the menu option into an HTML document for display on the screen, and outputs the HTML document to the man-machine dialog window in the web server, as shown in block 82. The program embeds it in the display file of the picture, enabling the browser to see the new font menu option and select the desired font on it in the man-machine dialog window. If the user request is from the web font supply center 27 (FIG. 2) requesting storage of a new font text font data file, as shown in block 84, the installer stores the new font text font data file in the web font database (FIG. 2), as shown in block 85.
Fig. 5(a) is a flowchart showing how a browser edits the text font of a chinese web document so that the edited web document can be published on a web site, allowing a user computer to view the original appearance of the web document with the new font through its browser. As shown in block 91, the user of the website opens the computer into the browser, connects to the man-machine interaction window provided by the website server, and edits the text font in the web document on the computer screen. The web page file may be retrieved from a web site or entered by the user from the keyboard of the computer. For example, the web page file shown in fig. 6(a) exemplifies 9 chinese characters (denoted by 101), and each character is displayed in a font 103 supported by the user's computer. Where a three-word (markup 105) user wants to change to another font that the user's computer cannot support. As shown in block 92 of fig. 6(b), the user clicks on the image 107 on the screen to enter the routine for editing fonts, and once the routine for editing fonts is entered, as shown in fig. 6(c), a scroll bar 110 is displayed on the screen for scrolling up and down a list 109 of options menus so that the font center of the web page can provide as many font options as possible. Referring to block 92, after selecting the desired font to change and selecting the new font 111 from the menu, the information is packaged as the user request and sent to the netpage font center 24 for processing by the internet protocol, the netpage font center sends the processed document containing information related to the netpage font back to the working man-machine dialog window of the netpage server, and generates the result shown in fig. 6(d) as screen 201 to replace 101, and the browser 28 (fig. 2) then publishes the edited document 201 on the website for other users to view.
Fig. 5(b) is a flowchart showing how a browser views a chinese web page file with a plurality of fonts published on a web site. The user's computer opens the browser to view the web page file, as shown in block 94, and when viewing the web page file, the browser typically receives the HTML file for the web page file, the browser interprets the received HTML file and displays the text of the web page file on the computer screen, as shown in block 95. Within the concept of the invention, an HTML document can be seen as consisting of two text documents: one is a background text file and the other is a foreground text file. Font data of the background text file can be supported by the computer, and font data of the foreground text file is provided by the webpage font center server. When the browser interprets the font data of the background text file, as shown in block 96, the browser retrieves the dot matrix of its text directly from the computer for display, as shown in block 97. Conversely, as shown in block 98, when the browser interprets the font data file of the foreground text file, the font data in the file body is passed to the font engine of the computer to generate a dot matrix of its text for display.
Fig. 7 shows an HTML file related to the portion of the character font data in fig. 6, where fig. 7(a) is the HTML file for the system font of fig. 6(a), and the system font 103 and the font of the character 101 are defined in the header 201 to indicate the information where and how they exist. The text data carried by these messages is installed in the file body 202. As shown in fig. 7(a), font data 203 is a font data name and font data 205 is a character code of data content. Fig. 7(b) shows an HTML file corresponding to the text of fig. 6(d), in which the clicked fonts 111 (fig. 6(c)) are assigned to the edited characters 105 (fig. 6(b)), which are defined in the header of the HTML file to indicate where they are stored, such as the URL address of the label 207, and whose font data are placed in the file portion 208 because the fonts of these characters do not belong to the computer support.
The HTML file shown in fig. 7(b) can be regarded as being composed of two text files. One for background text files to display systematic fonts and the other for foreground text files to display non-systematic fonts. As shown in fig. 7(b), the background text file is defined by font data 201 in the header, and the font name 209 and character codes 211 and 217 thereof are placed in the body of the file, and the browser parses these font data to know that it is a system font. The dot matrix image of the corresponding characters is then directly obtained from the system font of the local computer by the coding of the characters, and the dot matrix of the characters is displayed on the proper position of the text. The foreground text file font data 207 is defined in the header of the file and its font name 213 and font data file 215 are placed in the body of the file. Font data files are provided (denoted by x) by a web font center server and are outline characters because a general browser can only parse outline characters. The browser sends the font data to the font engine of the computer to generate the dot matrix of the characters, and the browser displays the character matrix on the proper position of the text.
Referring again to fig. 2. Generally, the Chinese font data is first constructed by stroke words in the web font providing center 27. Because the quality of the stroke word can be kept consistent at various resolutions, the detailed technology of the stroke word can be referred to as chinese patent No. 183788. In order to provide the web page font for the general browser to analyze, the web page font providing center 27 must have a font converter capable of automatically converting stroke font into outline font and storing the converted web page font in the web page font database 25 connected to the web page font center server, so that the web page font server can construct the Chinese web page file on the website to contain multi-fonts, and when the general browser analyzes the HTML file, the multi-fonts of the Chinese web page file can be presented in original form.
Fig. 8 shows a method of expressing stroke characters. As shown, a stroke 810 of any composition type may be represented by a function F (K, W, F, Cr), where K represents a "keypoint" (K is shown on the figure)1And K2) W represents a "width value" (as indicated by W on the figure)i) And F represents a "feature point" (F is shown on the figure)1,F2And F3) And Cr represents a "curve ratio value" (shown as Δ AF on the graph)3F2,ΔCEF2And Δ BF3E) The keypoint and width values define the Explicit Parameters (Explicit Parameters) of the stroke, while the feature point and curve scale values are implicit Parameters (implicit Parameters) that can be derived from the keypoint and width values. These parameters form the shape of the stroke, e.g. FIG. 8 shows F1And F3Can be derived from the key point (K) substituted into equations 811 and 8121And K2) And a width value (W)1) Their positions are calculated. Moreover, once the feature points are determined, the curve between two adjacent feature points can be shaped from the curve scale values of the binary tree structure 830.
Binary tree structure 830 is constructed based on the shape between two adjacent feature points. For example, in FIG. 8, 830 is the multi-level cut curve 820 (at F)3And F2M) was obtained. Therefore, the binary tree structure 830 is used to define the feature point F3And F2Each curve segment is represented by a Bezier Triangle, and the Triangle vertex is represented by the curve scale value. Such as Δ AF3F2With a bottom line F3F2And a vertex A, the curve proportion value Cr is the proportion value of the triangle central line length divided by the base line length. Thus, the vertex of the triangle can be determined by the base line length and Cr. In the same way, Δ BF3E defines F3And the curve segment between E, and Δ CEF2Definitions E and F2The thinner the cut, the closer the ideal curve shape can be seen. For example, the combination of the two triangular curve segments is larger than the curve segment (Δ AF) of the previous layer3F2) More closely approximating the desired shape. Thus, a deeper binary tree structure can be built to define the curve shape of the stroke outline which is cut more finely, the curve proportion value of the deeper curve is taken when the resolution is high, and the curve proportion value of the shallow curve is taken when the resolution is low, so that the font based on the stroke can be compatible on low resolution or high resolution. Thus, the use of the same binary tree structure ensures a consistent high quality font, whether at low or high resolution.
Points on the periphery of any stroke may be taken from the Bezier triangle in which it is located, e.g., as shown in FIG. 8, a point I on the periphery of stroke 810 is located at the Bezier triangle Δ BF3E, and the triangle determines the Bezier curve Δ BF3E(t)831,t∈[0,1]Therefore, point I can be calculated from bezier curve 831 at t ═ 0.4. Similarly, the intersection point of two strokes can also be calculated from the intersection condition of the two strokes in the Bezier triangle of the binary tree structure.
FIG. 9(a) shows a flow chart of the conversion of stroke words into outline words by the web page font supply center 27 (FIG. 2). As shown in step 301, the conversion process determines whether two strokes intersect, for example, the text 901 shown in FIG. 9(b) is composed of three strokes, wherein the two strokes intersect. At step 302, four points I at which strokes intersect are calculated1,I2,I3And I4In step 303, the stroke-intersected pattern is cut into Components represented in a Single run-length to obtain Components 2, 3, 4, 5, and 6 as indicated by reference numeral 902 in FIG. 9 (b). Referring again to step 301, if a stroke is independent (does not intersect other strokes), then the stroke itself is represented by its single stroke component, as shown in block 304. As shown in step 305, the transformation program generates outline font data expressed in one-stroke components, each of which is expressed in left and right partial curves, such as the left partial curves 904 and 904 of the component 903 (which is the text 902 component 4) in FIG. 9(b)The right partial curves 905 are each composed of some bezier curve segments that intersect the stroke. Other sub-terms (e.g., the sub-terms 1, 2, 3, 5, and 6 of the text 902) are formed by the left and right curves of the original stroke. The traditional font generator in the computer of the general user receives the font data of the single stroke sub-items, and can directly put the font data into the dot matrix according to the size of the characters to generate the dot matrix image corresponding to each single stroke sub-item.
Once the preferred embodiment systems, devices, and operations have been disclosed, those skilled in the art will appreciate that various modifications, including use of the devices separately, or in combination with other disclosed processes, can be made to accomplish the same objectives. Accordingly, some other alternative variations are possible, even without departing from the spirit and scope of the invention.

Claims (15)

1. A method for providing editing, preparing and viewing of a multi-font chinese web document capable of retaining original appearance over a network, the method comprising:
A. connecting a web font center server providing multi-font processing to a website server, so that the website and the web font center server can be communicated with each other by font-related information, and the method comprises the steps of adding a multi-font option menu to a man-machine conversation window provided by the website;
B. acquiring input information of the whole process of editing, making and watching a multi-font Chinese webpage file on a man-machine conversation window from a user computer end starting to launch a browser installed in the user computer end, wherein each input information is taken as a user request by a webpage font center server;
C. the webpage font center server judges whether the user request belongs to a system font, if so, the browser directly obtains a dot matrix of the font from the computer and displays the dot matrix on a computer screen; if not, the browser obtains the data of the outline character from the character data file and sends the data to a character engine in the computer to generate a dot matrix of the character, and then the dot matrix is displayed on the computer screen.
2. The method of claim 1, wherein the step a of connecting the web font center server to the web site server comprises:
and appointing the IP address of the Internet communication protocol of the webpage font center server to a socket function which governs the webpage file in the website so as to finish the intercommunication information of the two through calling TCP/IP.
3. The method of claim 1, wherein the interworking of font-related information between the website server and the web page font center server in step a further comprises:
file name, character code, selected character code, font and font data of characters of non-system-supported font; and
and indicating the relevant command that the monitoring font information is successful or failed.
4. The method of claim 1, wherein step C further comprises:
receiving, by a software program installed in the browser, each initiated event including a user request to initiate on their computer a edit to modify the font of certain words in the text;
the software program transmits a user request including font-related information of fonts related to the start event to a server of the website;
a webpage font center server acquires a user request containing font related information from a website server side;
the webpage font center server packages the font data of multiple fonts which are not supported by a system and requested by a user into an HTML file and transmits the HTML file to a user computer terminal; and
the browser operated at the user computer end explains according to the marked value of the HTML file, if the HTML file belongs to the font supported by the system, the dot matrix is directly generated and displayed by the computer; if the mark value belongs to the font which is not supported by the system, the browser interprets the font data of the HTML file received from the webpage font center server, and then a font engine in the computer generates a dot matrix and displays the dot matrix on a screen.
5. An apparatus for editing, preparing and viewing a chinese web document having multiple fonts capable of retaining original appearance on a network, which enables a user to prepare, edit and view a chinese web document having original appearance of multiple fonts on his computer by accessing the internet through a browser when connecting to a web server of an existing chinese web publishing system, the apparatus comprising:
a receiver including a firewall configured to protect the device from damage, the receiver receiving a user-requested communication protocol retrieved by the web server;
a communication protocol decoder for identifying font related information requested by user, including font, character code, font file and contents of edited characters;
a character data searcher for searching the character data of the identified character from the character database;
a web page font supplier, including a font file builder for packaging the web page font data of the recognized font characters into HTML files, the supplier transmitting the built HTML files to the user computer; and
a setting device containing installation program for adding the multi-font option menu into the man-machine conversation window provided by the web server to become the program which can be executed by the man-machine conversation window.
6. The apparatus of claim 5,
the receiver appoints the address of the webpage font center server to a socket function of a management webpage program through an Internet communication protocol, and the receiver is connected with the website server in a TCP/IP calling mode;
receiving a user request transmitted from the website server, wherein the user request comprises the fonts, character codes and webpage files of the nonstandard characters designated in the editing; and
checking the ID or Password of the user; if the checking result is a legal user, the request is received, otherwise, the request is rejected.
7. The apparatus of claim 5,
the webpage font supplier builds the collected text data transmitted by the text data searcher into a file to be interpreted by the browser; wherein the File Header records the File length, font code, and data block corresponding to each font code, and the File Body records the data which can be directly taken by the computer font engine to generate the font corresponding to each font code;
and packaging the established text data file in a webpage file, so that the formed Chinese webpage file comprises two parts: a background text file rendered in a system font and another foreground text file rendered in a non-system font; and
and transmitting the packaged file to a website server in a TCP/IP calling mode to form a webpage file published on a website.
8. The apparatus of claim 5, wherein the setter installer performs the steps of:
receiving the information which is sent by the communication protocol decoder and represents that the website server requests to set the font menu;
packaging the pre-made font menu and the pictures of the clicking modes thereof into picture files; and
the packaged picture file is transmitted to a website server by a TCP/IP calling mode to become a partial program of an execution routine of a man-machine conversation window.
9. A method for a personal computer to engage in online editing of a chinese document having a multi-font typeface, wherein the font type of the font is a character font that cannot be retrieved from the personal computer, the method comprising the steps of:
entering an editing operation program of a browser from a personal computer, opening a man-machine conversation window provided by a website, and editing the fonts of the Chinese file under the guidance of the picture transfer; re-facing certain characters in the document into desired character fonts including fonts not supported by a personal computer;
selecting characters of which the fonts are required to be changed from original texts displayed on a picture;
selecting a specific font to be changed from a font menu provided by a webpage font center server of a man-machine conversation window;
the selected result is packaged into a communication protocol of a user request by a man-machine conversation window provided by the website, the communication protocol is transmitted to a webpage font center server for processing, and finally the user request is packaged into a new webpage file which is transmitted back to the website server, wherein the webpage file comprises a system font and a non-system font;
judging whether the user request belongs to the system font, if so, directly obtaining a dot matrix of the font from the computer by the browser and displaying the dot matrix on a computer screen; if not, the browser takes the data of the outline character from the character data file to a character engine in the computer to generate a dot matrix of the character, and then the dot matrix is displayed on the computer screen.
10. A kind of webpage font supply system, in order to provide users' computer to surf the net and edit, make and display Chinese webpage file with original multi-font, characterized by that, the font supply system of the webpage includes:
a web font center server connected to a website, the website connected to a user computer;
the webpage font database is administered by the webpage font center server;
a web font supply center connected with the web font database; wherein
The webpage font supplying center manufactures webpage font data for producing multi-font Chinese and symbols and stores the produced font data into the webpage font database;
the webpage font center server receives information of a user request webpage font transmitted from the website server, searches font data of a font of a character to be required in a webpage font database according to the requested font information, packages the font data of the character into a webpage font file and adds the webpage font file into a webpage text file;
the webpage font center server transmits a webpage file containing a webpage font file back to the website server, and the user computer displays the webpage file containing the webpage font file through a browser, wherein the webpage file comprises a standard font and a non-standard font; judging whether the user request is a standard font, if so, directly obtaining a dot matrix of the font from the computer by the browser and displaying the dot matrix on a computer screen; if not, the browser acquires the data of the outline character from the character data file and sends the data to a character engine in the computer to generate a dot matrix of the character, and then the dot matrix is displayed on a computer screen;
wherein, the web font center server further comprises:
a device for checking the use authority and receiving the non-standard font requested by the user;
means for decoding font information transmitted between the web font center server and the web server to confirm the font of the text or symbol on the requested web document;
means for searching the web page font data of the requested text or symbol;
means for packaging the searched web font data into a web font file; and
means for transmitting the font option menu or the web font file to the web server.
11. The web page font rendering system of claim 10, wherein the user computer displaying the web page file containing the web page font file comprises:
the browser reads the packaged webpage font from the webpage file;
the browser directly transmits the webpage font data to a font engine in a user computer to generate a font; and
the browser adds the fonts generated by the font engine to the text of the web page file and displays them on the computer screen.
12. The web page font providing system of claim 10, wherein the web page font providing center manufacturing the web page font data for producing multi-font chinese and symbols comprises:
generating font data of characters by adopting a stroke character combination technology; and
a stroke-based font data is converted to font data expressed in outline form by a font data converter.
13. The web page font providing system of claim 12, wherein the font data converter converts stroke-based font data into font data represented in an outline shape comprising:
calculating the intersection point of the overlapped strokes by using a Bezier Triangle of the stroke edge expressed by the Bezier function;
determining a single-stroke length block of the stroke crossing part according to the scanning line on the stroke crossing point; and
the font data expressed by the outline shape is registered in each region expressed by the left and right curves of the single stroke block.
14. The web page font rendering system of claim 12, wherein generating font data for a text using stroke-and-word techniques comprises:
defining basic strokes as the basis for expressing the font shape by using the explicit parameters of key points and width values and the implicit parameters of characteristic points and curve proportion values; wherein the characteristic points on the stroke are determined by a function represented by the key points and the width value, and the curve between two adjacent characteristic points is determined by the curve proportion value represented by the pre-fabricated tree structure, so that once a certain basic stroke is given to the key point position and the width value, the font shape of the stroke is determined;
writing with basic strokes as "writing brush" to combine the shapes of each Chinese font; the basic stroke is used for generating a stroke shape similar to writing with a writing brush according to the specified key point position and the stroke width value;
and recording the external display parameter value of each stroke forming a character as the font data of the character, and recording the font data of all characters forming a font as the font data of the set of font.
15. The web page font providing system according to claim 14, wherein the fonts generated by the web page font providing center include various fonts, symbols or patterns, and various mixed fonts combining partial font characters and patterns.
HK08112189.8A 2006-12-26 2008-11-06 Apparatus and method for online producing web documents in multiple typefaces within distribution system of website HK1119270B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2006-350474 2006-12-26
JP2006350474A JP2008165264A (en) 2006-12-26 2006-12-26 System and method for editing asia web page document using various font by through network

Publications (2)

Publication Number Publication Date
HK1119270A1 HK1119270A1 (en) 2009-02-27
HK1119270B true HK1119270B (en) 2011-01-21

Family

ID=

Similar Documents

Publication Publication Date Title
CN101256563B (en) Equipment and method for online making multi-font web page file in website release system
JP4344693B2 (en) System and method for browser document editing
US7984076B2 (en) Document processing apparatus, document processing method, document processing program and recording medium
US7176931B2 (en) Modifying hyperlink display characteristics
US6966029B1 (en) Script embedded in electronic documents as invisible encoding
US9047261B2 (en) Document editing method
US8387055B1 (en) System and method for providing information and associating information
US7167925B2 (en) Non-intrusive digital rights enforcement
US20050216836A1 (en) Electronic document processing
US20110264705A1 (en) Method and system for interactive generation of presentations
WO1997010555A1 (en) Apparatus and methods for creating and using portable fonts
WO2011127758A1 (en) Method for manufacturing webpage, system, client and server thereof
US20190073342A1 (en) Presentation of electronic information
US20040117732A1 (en) Method of and apparatus for creating a computer document
JP2007011733A (en) Method, device and system for preparing asian web font document
US7685229B1 (en) System and method for displaying server side code results in an application program
US7380201B2 (en) Checking missing transaction values in generated document
US7506251B2 (en) Cross-reference generation
US6665090B1 (en) System and method for creating and printing a creative expression
US20140215323A1 (en) Element detection and inline modification
KR100522186B1 (en) Methods for dynamically building the home page and Apparatus embodied on the web therefor
HK1119270B (en) Apparatus and method for online producing web documents in multiple typefaces within distribution system of website
WO2006101287A1 (en) System and method for providing translated font image data using multi-language font servers
AU2003255777A1 (en) Electronic document processing
Ingram A Federal Standard on electronic media