CA2203709A1 - Word display system - Google Patents
Word display systemInfo
- Publication number
- CA2203709A1 CA2203709A1 CA 2203709 CA2203709A CA2203709A1 CA 2203709 A1 CA2203709 A1 CA 2203709A1 CA 2203709 CA2203709 CA 2203709 CA 2203709 A CA2203709 A CA 2203709A CA 2203709 A1 CA2203709 A1 CA 2203709A1
- Authority
- CA
- Canada
- Prior art keywords
- word
- display
- windows
- displaying
- word set
- 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.)
- Abandoned
Links
Landscapes
- Controls And Circuits For Display Device (AREA)
- Bus Control (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
This invention relates to a system for displaying and setting word sets non-supported by the operating system so as to display multiple national languages. The subject matter of this invention is a word display system can suitably display multiple national languages. The word display system includes a Windows system 1 for displaying a plurality of windows on a screen and activating a word display control system 3 for displaying multiple national languages. The word display control system 3 distributes word sets displaying words on the screen.
Description
- CA 02203709 1997-04-2~
WORD DISPLAY SYSTEM
BACKGROUND OF THE INVENTION
1. Field of the Invention The present invention relates to a word display system for displaying and setting word sets, which are not ~ul~pol Led by an operating system (OS), in units of windows thereby displaying multinational languages.
WORD DISPLAY SYSTEM
BACKGROUND OF THE INVENTION
1. Field of the Invention The present invention relates to a word display system for displaying and setting word sets, which are not ~ul~pol Led by an operating system (OS), in units of windows thereby displaying multinational languages.
2. Description of the Prior Art Windows systems are widely used as operating environment for personal computers. Generally, if the application programs intend to display words, an application program interface (API) within the Windows systems having a word display function is used.
However, when the Windows systems having a word display function is used to display words, only the words ~u~ol l~d by the Windows systems can be displayed.Such as, for a Japanese Windows system, only ASCII characters and Japan Industrial Standard (JIS) code characters can be displayed while the simplified Chinese characters used in m~inl~nd China and Korean characters etc., can not be displayed.
A plenty amount of information have been released from home pages on Internet and written in respective local languages, accordingly, there is a need for displaying home pages in foreign languages on a local Windows system.
There are the following two approaches for a Windows system to support foreign languages. A first approach is to replace original word sets with the word set other than original (default). However, such an approach will replace all of the word sets in units of systems. For example, when the word sets from a Japanese Windows systemare replaced with Chinese word sets, the Jap~nese characters shown on menu and auxiliary graphics will also be replaced with Chinese character, thus, the content thereof cannot be correctly displayed. A second approach is to replace word sets of the Windows system with colle~l,onding foreign characters, the foreign characters will be displayed in accordance with fonts regarding the words. However, as the word sets are converted into original word sets supported by the OS, such as, if the OS is for supporting Japanese word sets and does not support the word sets for Chinese and Korean, thus, if a text file is to be displayed, the word sets of the file have to be converted into fonts of the original word sets one by one.
For example, if the t'onts of Chinese characters are distributed to corresponding JIS codes of word sets, as a word length of Chinese characters is double of the length of the JIS code characters, thus, the Chinese Characters cannot be correctly presented.
Further, some of the Japanese JIS codes are represented by ~ half length'', i.e., I bit CA 02203709 1997-04-2~
code. Thus, such l-bit codes cannot be adequately distributed to the word sets composed of 2-bit code of Chinese.
SUMMARY OF THE ~NVENTION
It is an object of the present invention to provide a word display system capable of partially replacing the word sets within systems.
It is another object of the present invention to provide a word display system capable of displaying in multinational languages.
According to the first aspect of the present invention, there is provided a worddisplay system for Windows system displaying a plurality of windows and word sets, including distribution means for distributing word sets of words to be displayed on the windows displayed by the Windows system and word display means for displaying col,~spol-ding word codes of the displayed words in each window with the words of the word sets distributed to said window.
According to this aspect, each windows can display its collc;s~ollding word set.Accordingly, a screen can simultaneously display home pages in Chinese, Korean, and Fngli~h downloaded from Intemet.
According to the second aspect of the present invention, there is provided with a word display system including word set recognition means for receiving an objectword string having word codes and recognizing a value range of said word code thereby det~lll,inhlg a word set co,les~ ding to said value range of word set and display means for displaying the object word string in accordance with the word set determined by said word set recognition means.
Generally, each word set has a di~lc;lll word code value range. Therefore, word sets can be distinguished by checking the value range of word codes for word string to be displayed.
Further, if an on-line dictionary is applied, the word sets can more easily distinguished. The application of an on-line dictionary is optional.
According to the third aspect of the present invention, there is provided with aword display system including means for supporting an assigned word set and executing an operating system having an application program interface with text output port, means for executing an application program displaying words corresponding to the word code on a display by providing word codes from said text output port from said operating system, word access means for accessing word codes trom said application program which are not delivered to said operating system, word set setting means for setting a word set of the word codes accessed by the word access means, font memory means tor storing tonts corresponding the word set, reading means t'or reading tont data of word codes accessed by word access means t'rom said t'ont memory means in accordance with the word set set by word set setting means;
CA 02203709 1997-04-2~
and display means for displaying the fonts read by said reading means.
According to the fourth aspect of the present invention, there is provided with a word display system including means for su~ ing an assigned word set and executing an ope~ g system having an application program interface with text output port, means for executing an application program displaying words co.le~ ding to the word code on a display by providing word codes from said textoutput port on said operating system, word access means for accessing word codesfrom said application program which are not delivered to said operating system, word set setting means for determining a word set pertaining to a range defined by the word set accessed by the word access means, font memory means for storing font information of word sets set by said word set access means, reading means for reading said font information of accec~e~l word codes by said word access means from said font memory means in accordance with the word set set by the word set setting means;
and display means for displaying the font information read by the reading means.BRIEF DESCRIPTION OF THE DRAWINGS
A complete understanding of the present invention may be gained by considering the following detailed description in conjunction with the accompanying drawing, in which:
Fig. 1 is a block diagram showing a Windows system incorporated into the word display system of the present invention;
Fig. 2 shows a schematic view of an application program interface;
Fig. 3 is a block diagram of a COI~ system shown in Fig. 1;
Fig. 4 is a block diagram showing functions implemented by a word display control system shown in Fig. 1;
Fig. 5 is a flow chart for initi~li7ing the word display control system shown inFig. I;
Fig. 6 is a flow chart for the word display control system to assign a word set.;
Fig. 7 is a flow chart for incorporating a WWW browser into the word display control system;
Fig. 8 is a flow chart for displaying text by the word display control system shown in Fig. I;
Fig. 9 is a flow chart for the word display control system in Fig. 1 to inform the word size from the application programs;
Fig. 10 is a flow chart for turning otf the Windows systemby the word display control system shown in Fig. l;
Fig. I I is a flow chart t'or turning otf the word display control system shown in Fig. l;
Fig. 12 is an illustrative view showing dit't'erent languages of word sets; and CA 02203709 1997-04-2~
Fig. 13 is a flow chart for executing the automation judging and setting for word sets.
DETALED DESCRIPTION OF THE P~EFERRED EMBODIMENTS
Fig. I shows a block diagram for the word display system to be applied onto a world wide web (WWW) access system. As shown, the word display system comprises a Windows system 1, a WWW browser 2, a word display control system 37 and a video memory (i.e.7 screen) 4. The Windows system 1 is an ope~ g system with multiple windows and a multitask function. In view of software architecture, Windows system I can be separated from the opel~ing system but in some aspects can be deemed as a whole.
The Windows system I is composed of system functions, such as Application progr~mming Interface (API) I l. The API 11 includes a text output port 12 composed of functions such as TextOut and ExtTextOut for displaying word strings on the windows of a screen. The WWW browser 2 is an application program for accessing data on home pages on the Internet. The WWW browser 2 ll~n~rel~ the accessed data to the screen 4 via the text output port 12 within the API 1 lor further via a text drawing section 3 IB of the word display control system 3, which will be furtherdetailed later.
The text display control system 3 includes a font m~n~ger 31, a font loader 32, a font file 33, and a Windows data base 34. The font manager 31 includes a text output section 31A and the text drawing section 31B for m~n~ing the font loader 32 and the Windows data base 34. The text output section 31 A receives display information output from the WWW browser 2 and then judges whether the received display information (word set) is supported by the Windows system 1 by reference with Windows data base 34. If yes, then the display information will be transmitted to the text output port 12 of API I 1. If no, the text string inforrnation will be transmitted to the text drawing section 31B.
When application program inquires the word size of the words to be displayed, such inquire will not be forwarded to the text output port 12 but to the application program itself. The text output section 3 IA then judges the word set for display from the Windows system I by referring to the Windows data base 34, if the word sets are supported by the Windows system 1, the display information will be returned to the text output port 12 of the API I I . On the contrary, if the word sets are not supported by the Windows system 1, the word size will be sent to application program. For t'acilitating this process, the word display control system 3 changes the addresses for ExtTextOut and TextOut in API I l as the addresses tor text output section 31 A. Then retrieves the addresses t'or ExtTextOut and TextOut to its original address when the word display control system is stop Such an operation is named arbitrary hook of CA 02203709 1997-04-2~
API.
Text drawing section 31B forwards drawing il~foll.lation to video memory 4.
Each word set is provided with a font loader 32 reads font data from font file 33, which stores font data and on which each word set is provided with at least one file.
Windows data base 34 is used to manage the information of the word sets of each window displayed on the screen.
Referring to Fig. 4, the font manager 31 writes a Window ID for each window and an assigned type of a word set to the Windows data base 34 then read the type of the assigned word set for each window based on the ~vindow ID written on the Windows data base 34. Such a process relating to Windows data base 34 is executed by text output section 31 A as shown in Fig. I .
The text drawing section 3 IB of the font manager 31 requests the fond loader 32to read font data based on the type of the word set of the text output section 3 lA
while the font manager 31 reads header infoll..ation of the fonts initially stored in font file 33 by the word display control system 3 and tr~n~mitc to the text drawing section 31B (Fig. 1). The text drawing section 31B then request the fond loader 32 to read font data in response to said header information. The font loader 32 then temporarily stores the font data requested by font manager 31 into a cache memory 32A. Then the font loader 32 returns the font data stored in the cache memory 32A to the font manager 31 in response to the request.
Referring back to Fig. 1, video memory 4 recovers the fonts at predetermined positions in accordance with the drawing inforrnation input from the text output port 12 or text drawing section 31 B. A picture will be shown on the display in accordance with a pattern recovered in the video memory 4. Further, as shown, the WWW
browser 2 outputs a plurality of display information, including word code strings, DC
(device contact), window ID and the information about the words. The drawing information includes font information and the display location thereof (the recovery position within the video memory). WWW browser 2 sometimes also inquires the size of the displayed word.
The word display system shown in Fig. I is for software implementation while Fig. 3 shows the operations thereof on a computer.
As shown in Fig. 3, the computer includes a central processing unit (CPU) 51, a display 52, a memory 53, a hard disk drive 54, a keyboard 55, a mouse 56, and intert'aces (I/F) 57, 58, 59. CPU 51 and memory 53 are connected on a system bus 50.
The display 52 is connected to the system bus 50 via the interface 57 while the hard disk drive 54 is connected to the system bus 50 via the interface 58. The keyboard 55 and mouse 56 are connected to the system bus 50 via the intert'ace 59. Hard disk drive 5~ stores the Window system 1, WWW browser 2, the word display control system 3, and various files. The video memory shown in Fig. I is disposed within the display 52, i.e., font data of the words to be displayed are read by the hard disk drive 54 and recovered within the video memory 4 of the display 52.
When the computer is activated, CPU 51 reads data from the hard disk drive 54 via the interface 58 then activates the programs within the Windows system I, then displays data on display 52 via interface 57 and sets up the memory 53.
CPU 51 then reads and activates a plurality of programs including WWW
browser 2, word display control system 3 by ope~1ing the keyboard 55 and the mouse 56. The activated Windows system 1 in Fig. I will control the hardware composed of CPU 51, display 52, memory 53, hard disk drive 54, keyboard 55, mouse 56, and interfaces 57, 58, 59.
Figs. 5-11 are flowcharts showing the operation of the word display control system 3. The operations of the word display control system 3 are divided into five phases, i.e., initialization phase, ~igning phase, displaying phase, Window-turn-off phase, and termination phase. The following description is based on a situation where Windows system 1 and WWW browser 2 have been activated.
Fig. 5 shows a flow chart for illustrating the initialization phase for the worddisplay control system 3. This flow chart begins by reading the headers of all of the fonts stored in font file 33 and writing the headers into the font drawing section 3 lB
(step S41). Then, all of the fonts stored in the font file 33 is written to the font loader 32 and loaded into the main memory 53 (step S42).Then replaces the addresses forthe ExtTextOut and TextOUT of API 11 of Windows system 1 with the addresses for TextTextOut of text output section 31 A such that the display information of theWWW browser 2 and word size inquiry etc. is transmitted into the text output section 3 lA. That is, the inquiries of the display information and the word sizes are forced to be hooked (step S43). When the word display control system 3 is terminated, a "Windows Close" message informed by Windows system I will show on the screen 4.
Then the message is stored in the Windows manager (not shown) of the Windows system 1 (step S44). Then, the initialization phase is completed. Thus activated word display control system 3 will display a corresponding window of word display control system 3 on display 52.
The process for each window of word display control system 3 to assign word set is described in reference with the flow chart of Fig. 6.
The flow chart shown in Fig. 6 begins by activating the window of word display control system 3 on screen and selecting an assigned word set t'rom the menu forsetting the word set on an active window (tront window) or deleting information with set word set at the same time When the process is activated, a process is made to judL~e whether set a word set CA 02203709 1997-04-2~
or delete a word set (step S51). When the active window is set with word set, then it is deemed to set a word set, if the active window is not set with word set, then it is deemed tQ delete a word set. After step S51, a selection supplement for a word set will be shown on the display 52. A word set to be set on the active window is selected by mouse from the shown selection supplement. The word display control system 3 enables an active window ID to be col-e~l,onded to the selected word set and stored in the window data base 34 (step S52). Then, the process is completed.
If the result after step S51 is not for setting word set, i.e., for deleting the set word set, then delete the active window ID and word set stored in the window data base 34 (step S53). Then the process for Fig. 6 is completed.
A process for the WWW browser 2 to display words is described in reference to the flowcharts in Figs. 7 and 8.
In a WWW access system, the word display control system 3 shown in Fig. 7 is operated between the Windows system I and the WWW browser 2, i.e., there are three phases for a flow chart shown in Fig. 7, i.e., the Windows system I phase, the WWW browser 2 phase, and the word display control system 3 phase.
The flow chart begins by forming fonts for words to be displayed, i.e., forming object fonts (step S11). Then, the fonts (objects) of DC are replaced with the fonts (objects) fommed in step S11 (step S12). Then, the text output section 3 lA of word display control system is called by the font display words thereby transmitting the display information to the text output section 31A (step S13).
In the word display control system 3 phase, a text set of the acting window is judged whether it is a word set supported by Windows system 1 ~step S31), if yes, the text output port 12 of the API 11 within the Windows system I (Fig. 1) is called and the display infommation is transmitted to the text output port 12.
The Windows system 1 then reads the replaced font data (e.g., dot pattem) of fonts of DC fommed in step S12 from a file contained within the Windows system 1(step S21). Then, the read font data is expanded to fomm a dot pattem in a predetemnined coordination location within the video memory 4 (step S22). Then, the dot pattern expanded in the video memory 4 is displayed on the screen (step S23) and returned to the process of WWW browser 2.
If the result in step S31 is no, the word display control system 3 will proceed a process t'or word display (step S32), which will be detailed in the flow chart of Fig. 8.
Then, the process is restored to WWW browser 2 phase.
Then, the WWW browser 2 will replace the t'ont of DC in step S1' with the original fonts (step Sl 4), then. discard the fonts t'ormed in step Sl l (step S 15).
The process shown in Fig. 7 is executed when a request t'or word display happens.
CA 02203709 1997-04-2~
The process for word display control system 3 in Fig. 7 is hereinafter detailed in reference to Fig. 8.
When the WWW browser 2 calls the text output port 3 IA of word display control system 3 and provides display information, the process in Fig. 8 is activated and a counter for counting the processed word number is set to 0 (step S61).
Then, the word set in the active window (window for displaying word string) is read out from the windows data base 34 in accordance with the window ID (step S62) and judged whether the window has completed the setting of word sets (step S63). If step S63 judges the window ID of the active Window is stored in the window data base 34, the process is directed to step S65. If the window ID of the active window is not stored in the window data base 34, then the word set of the active window is set to the word set of Windows system 1 (word set supported by o~l~ling systeml (step S64). Then, the process is directed to step S65.
In step S65, a judgment is made whether the value in the counter is equal to thelength of the text string contained in the text string information. If not, access a word code in an identical position counted from a head of the text string by the value stored in the counter (step S66). Then, the word code accessed in step S66 is compared with a value of OX80 (step S67). If the word code is smaller than the value of OX80, then the text output port 12 of the API 11 of the Windows system 1 is retrieved for providing the display information of the word. Accordingly, Windows system 1 will display corresponding words on said window (step S72). Then, the process is again back to step S65. That is, whether a code system for Japanese word or a code system for Chinese word, whenever the word set is smaller than the value of OX80, the ~vord set will be ASCII code, which is supported by operating systems of all of the Fn~ h DOS, Japanese DOS, Chinese DOS. Thus, when such a word code is provided, the word set can directly utilize the display function of Windows system 1.
If the word code is larger than the value of OX80 (i.e., Japanese and Chinese etc.
are assigned), a determination will be made by judging whether the word set stored in the window data base 34 to be identical to the word set in the Windows system I (step S68). If the word set stored in the window data base is identical to the word set in the Windows system I, the text output port 12 of the API l l of the Windows system I is retrieved for providing the display information of the words. Accordingly, Windows system I will display corresponding words on said window (step S72). Then, the process is again back to step S65. lf the word set stored in the window data base is not identical to the word set in the Windows system 1, access an intormation regarding the font of the word displayed (such as shown in bold, italic, and ornamented) (step S69).
Then, font data are read from the tont file 33 via the t'ont loader 3~ and CA 02203709 1997-04-2~
expended in video memory 4 (step S70). Then, a display controller (not shown) will display the data e~r~n~le-~ in the video memory 4 on the display 52. Accordingly, the word process is completed. Then, the value of counter is incl ~."c.,led by I (step S7 1 and the process is again back to step S65.
In step S65, if the value in the counter is equal to the length of the text string contained in the text string information, then the process shown in Fig. 8 is complete.
WWW browser 2 sometimes inquires the size of the display word of the Windows system 1 for displaying the word in a suitable location. The process thereof is similar to the process shown in Fig. 7.
That is, as shown in Fig. 9, WWW browser 2 forms a font for displaying word (step S 1 1). The font of the DC is then replaced with the font formed in step S 1 1 (step S 12). Then, the inquiry about the word size of the font is passed to the text output port 31A (step S13).
Word display control system 3 judges whether the word set of the window is supported by the word set of the Windows system 1 in reference to the windows data base 34 (step S3 1).
In step S3 1, if the word set thereof is supported by the Windows system 1, worddisplay control system 3 will call the text output port 12 of the API11 of the Windows system 1 and transmit the inquiry information to the text output port 12. The Windows system 1 will return the display size of the word to the WWW browser 2 in response to the inquiry (step S24).
In step S3 1, if the word set thereof is not supported by the Window system 1, word display control system 3 will inform the size of the display word to the WWW
browser 2 (step S33). Then, WWW browser 2 recovers the replaced font of DC in step S12 to the original font (step S14) and discards the font formed in step S11 (step S15).
Such a process will occur whenever the word size is request to be informed.
Fig. 10 illustrates a process for the word display control system 3 to close thewindow of WWW browser 2.
This process begins by operating mouse 56 to click a close icon (not shown) on the window of the WWW browser 2. When the process is activated, a judgment will be make to determine whether the window ID of the window to be closed have been stored in the windows data base 34 (step S8 1). If the result of step S8 1 is yes, the window lD thereof and the information about the word set is deleted t'rom the windows data base 34 (step S82). Then, the process is complete. If no, the process is directly complete.
Fi~. l l shows a process t'or closin~ the word display control system 3. This process be~ins by operatinL~ mouse 56 to click the close icon (not shown) on the _ g _ CA 02203709 1997-04-2~
window of the word display control system 3.
When the process is activated, the font loader 32 loaded at step S42 is disabledfrom the memory 53 (step S9 1).
Then, the addresses of ExtTextOut and TextOut replaced in step S43, i.e., the addresses hooked by force are restored to the original addresses (step S92) so that the text output may be executed by the APIl 1 of the Windows system 1.
Then, the message of window close stored in the windows system I in step S44 is "unhooked" (step S93).
Then, redraw all of the windows stored with window ID within the windows data base 34 by using the text output port 12 of API11 of Windows system 1 (step S94) and then complete the process of this flow chart.
A complete embodiment exemplifying with three respective windows of Korean, Chinese, and simplified Chinese in identical cont~l,L~ is now described in reference to Fig. 12.
Windows system 1 is only for SUp~l til1g J~p~nçse word set (ASCII and JIS).
Therefore, if a user logs on Web sites in Korean, Chinese, and simplified Chinese, the text shown on screen will be illegible codes and the norrnal display carmot be .achieved. Thus, there is a need to activate the word display control system 3 of this invention. Then, three windows Wl, W2, and W3 shown in Fig. 12 will be opened inaccordance with the process for setting word set shown in Fig. 6. In this embodiment, window W1 is a Korean word set, window W2 is a simplified Chinese word set, and window W3 is a Chinese word set.
Then, the documents in Korean, simplified Chinese, Chinese are respectively read by a colles~x~nding window of windows Wl, W2, W3.
For example, if the window W3 is reading a document in Chinese, WWW
browser 2 will form fonts col-esponding to the document read as shown in Fig. 7 (step Sl l) and replace the font of DC with the formed font (step S12) and further provide display information to the word display control system 3 (step Sl 3). The word display control system 3 receives display inforrnation and judge the word set (Chinese characters) in window W3 is not supported by Windows system 1 (i.e., ASCII and JIS), then the corresponding word codes provided will be written into video memory 4 for displaying (steps S31, S32).
Referring to Fig. 8, if the counter is set to 0 (step S6 l ), the word set of window W3 assigned in windows data base is reco~nized as Chinese character (steps S62, S63), a o'h word code is accessed (step S66). Herein, a Chinese character of '~
shown in left and up of the screen is accessed and a corresponding word code will be determined whether to be greater than 0X80 or not (step S67). As the Chinese character is not a ASCIl character, the character is greater than 0X80. Then, the word CA 02203709 1997-04-2~
display control system 3 will judge the word set in window W3 is identical to the word set of Windows system 1 (step S68). As the Windows system 1 is for Japaneseword set, the result after step S68 is no, then the system 3 will access font information from DC and then access Chinese font from font file. Then, the font is written into video memory 4 for displaying. Then, update the value of the counter (step S71 ) for executing an identical process for next word code, i.e., a word code for "raw".
If the word code to be displayed presents an "A" of English character. Then, step S67 will have a result of said word code is smaller than OX80. Accordingly, the Windows system 1 will write an "A" on the video memory 4.
After all of the word for process is completed~ the value in the counter will beequal to the length of the word string thereby fini~hing the process for Fig. 8 and informing WWW browser 2 to complete the display process.
The WWW browser 2 will restore the original font ofthe fonts for DC (step S14) and discard the formed font (step S 15). Then, window W3 will assign J~p~nPse word set as word set. When the window W3 read the documents in Japanese, the results of step S3 1, step S67, and step S68 are yes, then the display of Windows system 1 is executed.
As mentioned, a word set unsupported by the o~ ling system is displayed by tilizing the word display control system 3. That is, the word display system is able to display dil~e-el~ language in the word display system 2 which is not supported by the Windows system 1. Further, as the word set for Windows system 1 retains as its original, the menu and the auxiliary descriptive icons can also be correctly displayed.
Furthermore, as the word display control system 3 moves the process to the text output port 12 of the Windows system 1 (steps S3 1, S68) by judging the word set to be supported by Windows system 1. The load of the computer system caused by memory can be reduced.
Further, as the setting for word set is in units of window (steps S5 1, S52), different language of text string can be displayed in units of windows.
As each of the word set is provided with a font loader 32, this enables the loader to read font information from font file 33 so that the system may directly use the word code of the word set displayed on window. Accordingly, different languages, which are not supported by the Windows system 1, can be displayed on the window without transforming the text.
Though the above embodiment is described in units of windows, those skilled in the art will appreciate to automatically recognize word sets.
In general, dit't'erent of word sets apply for dit'ferent code range.
Such as, tor Japanese S-JIS code, the first byte is t'rom OX81 to OXfc while thesecond byte is trom OX~O to OXfe (()Xa I to OXdf each are a one byte code t'or semi CA 02203709 1997-04-2~
Kana).
Altematively, for simplified Chinese word code, the first byte is from OXal to OXfe while the second byte is from Oxalto OXfe.
For Chinese word code, the first byte is from OXal to OXfe while the second byte is from OX40 to OXfe.
Accordingly, the step S3 1 in Fig. 7 for checking the word set t'or object word code of the received display word code as to judge the scope of word code thereby judging the word set of word string of the word.
For example, if all of the first bye of the word code is in a range of OX8 1 between OxaO, then, it can be derived that such a word set is an S-JIS.
If the word code of the first byte is in a range of Oxal to Oxfe as long as the second byte is in a range of Ox40 to OxaO, it can be derived that such a word set is a Chinese word set, while if the second byte is in a range of Oxal to Oxfe, it can be derived that such a word set is a simplified Chinese word set.
Therefore, when the word strings (code strings) to be displayed are received, a col-esl)ol1ding word set can be derived for displaying words of the word sets.
Accordingly, multiple languages can be displayed within one window.
Referring to Fig. 13, if the predetemmined selection items of the word set in step S52 in Fig. 6 includes an automatic setting. Then, the step S63 shown in Fig. 13 will judge if there is an automatic setting in reference to windows data base (step S74). If yes, the display control system 3 will determine the scope which the word code of word set belongs (step S75) and judge the co--es~,ot-ding word set (step S76) and setting the word set in window for displaying.
According to such arrangement, the word display control system may support for multiple languages in one window and automatically determine word set.
Further, if an on-line dictionary is applied in cooperation with this invention, a higher preciseness for judging word sets can be achieved. Such as, uses the word set of simplified Chinese to judge the word code string, though such word code strings will possibly not confomm to the words in the dictionary, however, if once the system 3 uses word set of Korean words and the word set of Korean words are stored in the dictionary, then, it can be derived that such word set is word set for Korean.
Accordingly, the incorporation of on-line dictionary is optional.
Further, in the above embodiments, the word set is judged whether to be supported by Windows system l in text output port 31 A of word display control system 3, i.e., the words, which are not supported by the Windows system l, can be displayed by word display control system 3. Altematively, all of the word sets, which are whether supported by Windows system l or not, can be displayed on display 52 by usin~ word display control system 3.
CA 02203709 1997-04-2~
In the above embodiment, WWW browser 2 is used as an application program Opf .a~ g on Windows system l. However, this invention is not limited to the WWWbrowser 2, any application program, which can be operated on Windows system l with the window ID and font thereof can be stored in window data base 34, can bedisplayed as word sets which are not supported by Window system l.
The word display system of this invention does not require a specific system, a general purpose computer will be suitable. To implement the above process in a general purpose computer, medium (such as floppy disc, CD-ROM etc.) are applied for storing program which executes above mentioned operation so as to install application program thereby constructing the word display system for multiple language words.
Meanwhile, the medium offering programs to computer can be communication medium, such as communication wires, communication networks, communication system, and t~ ,ol~lily and flowing programs. Such as the program can be presented on a BBS of communication network thereby download the program from the network. Then, a user may activate the program under the control of OS for executing the above process.
Though this invention read the programs stored in the hard disk drive, those skilled in the art will appreciate to access the programs from communication mediurn then download the programs into the computer.
However, when the Windows systems having a word display function is used to display words, only the words ~u~ol l~d by the Windows systems can be displayed.Such as, for a Japanese Windows system, only ASCII characters and Japan Industrial Standard (JIS) code characters can be displayed while the simplified Chinese characters used in m~inl~nd China and Korean characters etc., can not be displayed.
A plenty amount of information have been released from home pages on Internet and written in respective local languages, accordingly, there is a need for displaying home pages in foreign languages on a local Windows system.
There are the following two approaches for a Windows system to support foreign languages. A first approach is to replace original word sets with the word set other than original (default). However, such an approach will replace all of the word sets in units of systems. For example, when the word sets from a Japanese Windows systemare replaced with Chinese word sets, the Jap~nese characters shown on menu and auxiliary graphics will also be replaced with Chinese character, thus, the content thereof cannot be correctly displayed. A second approach is to replace word sets of the Windows system with colle~l,onding foreign characters, the foreign characters will be displayed in accordance with fonts regarding the words. However, as the word sets are converted into original word sets supported by the OS, such as, if the OS is for supporting Japanese word sets and does not support the word sets for Chinese and Korean, thus, if a text file is to be displayed, the word sets of the file have to be converted into fonts of the original word sets one by one.
For example, if the t'onts of Chinese characters are distributed to corresponding JIS codes of word sets, as a word length of Chinese characters is double of the length of the JIS code characters, thus, the Chinese Characters cannot be correctly presented.
Further, some of the Japanese JIS codes are represented by ~ half length'', i.e., I bit CA 02203709 1997-04-2~
code. Thus, such l-bit codes cannot be adequately distributed to the word sets composed of 2-bit code of Chinese.
SUMMARY OF THE ~NVENTION
It is an object of the present invention to provide a word display system capable of partially replacing the word sets within systems.
It is another object of the present invention to provide a word display system capable of displaying in multinational languages.
According to the first aspect of the present invention, there is provided a worddisplay system for Windows system displaying a plurality of windows and word sets, including distribution means for distributing word sets of words to be displayed on the windows displayed by the Windows system and word display means for displaying col,~spol-ding word codes of the displayed words in each window with the words of the word sets distributed to said window.
According to this aspect, each windows can display its collc;s~ollding word set.Accordingly, a screen can simultaneously display home pages in Chinese, Korean, and Fngli~h downloaded from Intemet.
According to the second aspect of the present invention, there is provided with a word display system including word set recognition means for receiving an objectword string having word codes and recognizing a value range of said word code thereby det~lll,inhlg a word set co,les~ ding to said value range of word set and display means for displaying the object word string in accordance with the word set determined by said word set recognition means.
Generally, each word set has a di~lc;lll word code value range. Therefore, word sets can be distinguished by checking the value range of word codes for word string to be displayed.
Further, if an on-line dictionary is applied, the word sets can more easily distinguished. The application of an on-line dictionary is optional.
According to the third aspect of the present invention, there is provided with aword display system including means for supporting an assigned word set and executing an operating system having an application program interface with text output port, means for executing an application program displaying words corresponding to the word code on a display by providing word codes from said text output port from said operating system, word access means for accessing word codes trom said application program which are not delivered to said operating system, word set setting means for setting a word set of the word codes accessed by the word access means, font memory means tor storing tonts corresponding the word set, reading means t'or reading tont data of word codes accessed by word access means t'rom said t'ont memory means in accordance with the word set set by word set setting means;
CA 02203709 1997-04-2~
and display means for displaying the fonts read by said reading means.
According to the fourth aspect of the present invention, there is provided with a word display system including means for su~ ing an assigned word set and executing an ope~ g system having an application program interface with text output port, means for executing an application program displaying words co.le~ ding to the word code on a display by providing word codes from said textoutput port on said operating system, word access means for accessing word codesfrom said application program which are not delivered to said operating system, word set setting means for determining a word set pertaining to a range defined by the word set accessed by the word access means, font memory means for storing font information of word sets set by said word set access means, reading means for reading said font information of accec~e~l word codes by said word access means from said font memory means in accordance with the word set set by the word set setting means;
and display means for displaying the font information read by the reading means.BRIEF DESCRIPTION OF THE DRAWINGS
A complete understanding of the present invention may be gained by considering the following detailed description in conjunction with the accompanying drawing, in which:
Fig. 1 is a block diagram showing a Windows system incorporated into the word display system of the present invention;
Fig. 2 shows a schematic view of an application program interface;
Fig. 3 is a block diagram of a COI~ system shown in Fig. 1;
Fig. 4 is a block diagram showing functions implemented by a word display control system shown in Fig. 1;
Fig. 5 is a flow chart for initi~li7ing the word display control system shown inFig. I;
Fig. 6 is a flow chart for the word display control system to assign a word set.;
Fig. 7 is a flow chart for incorporating a WWW browser into the word display control system;
Fig. 8 is a flow chart for displaying text by the word display control system shown in Fig. I;
Fig. 9 is a flow chart for the word display control system in Fig. 1 to inform the word size from the application programs;
Fig. 10 is a flow chart for turning otf the Windows systemby the word display control system shown in Fig. l;
Fig. I I is a flow chart t'or turning otf the word display control system shown in Fig. l;
Fig. 12 is an illustrative view showing dit't'erent languages of word sets; and CA 02203709 1997-04-2~
Fig. 13 is a flow chart for executing the automation judging and setting for word sets.
DETALED DESCRIPTION OF THE P~EFERRED EMBODIMENTS
Fig. I shows a block diagram for the word display system to be applied onto a world wide web (WWW) access system. As shown, the word display system comprises a Windows system 1, a WWW browser 2, a word display control system 37 and a video memory (i.e.7 screen) 4. The Windows system 1 is an ope~ g system with multiple windows and a multitask function. In view of software architecture, Windows system I can be separated from the opel~ing system but in some aspects can be deemed as a whole.
The Windows system I is composed of system functions, such as Application progr~mming Interface (API) I l. The API 11 includes a text output port 12 composed of functions such as TextOut and ExtTextOut for displaying word strings on the windows of a screen. The WWW browser 2 is an application program for accessing data on home pages on the Internet. The WWW browser 2 ll~n~rel~ the accessed data to the screen 4 via the text output port 12 within the API 1 lor further via a text drawing section 3 IB of the word display control system 3, which will be furtherdetailed later.
The text display control system 3 includes a font m~n~ger 31, a font loader 32, a font file 33, and a Windows data base 34. The font manager 31 includes a text output section 31A and the text drawing section 31B for m~n~ing the font loader 32 and the Windows data base 34. The text output section 31 A receives display information output from the WWW browser 2 and then judges whether the received display information (word set) is supported by the Windows system 1 by reference with Windows data base 34. If yes, then the display information will be transmitted to the text output port 12 of API I 1. If no, the text string inforrnation will be transmitted to the text drawing section 31B.
When application program inquires the word size of the words to be displayed, such inquire will not be forwarded to the text output port 12 but to the application program itself. The text output section 3 IA then judges the word set for display from the Windows system I by referring to the Windows data base 34, if the word sets are supported by the Windows system 1, the display information will be returned to the text output port 12 of the API I I . On the contrary, if the word sets are not supported by the Windows system 1, the word size will be sent to application program. For t'acilitating this process, the word display control system 3 changes the addresses for ExtTextOut and TextOut in API I l as the addresses tor text output section 31 A. Then retrieves the addresses t'or ExtTextOut and TextOut to its original address when the word display control system is stop Such an operation is named arbitrary hook of CA 02203709 1997-04-2~
API.
Text drawing section 31B forwards drawing il~foll.lation to video memory 4.
Each word set is provided with a font loader 32 reads font data from font file 33, which stores font data and on which each word set is provided with at least one file.
Windows data base 34 is used to manage the information of the word sets of each window displayed on the screen.
Referring to Fig. 4, the font manager 31 writes a Window ID for each window and an assigned type of a word set to the Windows data base 34 then read the type of the assigned word set for each window based on the ~vindow ID written on the Windows data base 34. Such a process relating to Windows data base 34 is executed by text output section 31 A as shown in Fig. I .
The text drawing section 3 IB of the font manager 31 requests the fond loader 32to read font data based on the type of the word set of the text output section 3 lA
while the font manager 31 reads header infoll..ation of the fonts initially stored in font file 33 by the word display control system 3 and tr~n~mitc to the text drawing section 31B (Fig. 1). The text drawing section 31B then request the fond loader 32 to read font data in response to said header information. The font loader 32 then temporarily stores the font data requested by font manager 31 into a cache memory 32A. Then the font loader 32 returns the font data stored in the cache memory 32A to the font manager 31 in response to the request.
Referring back to Fig. 1, video memory 4 recovers the fonts at predetermined positions in accordance with the drawing inforrnation input from the text output port 12 or text drawing section 31 B. A picture will be shown on the display in accordance with a pattern recovered in the video memory 4. Further, as shown, the WWW
browser 2 outputs a plurality of display information, including word code strings, DC
(device contact), window ID and the information about the words. The drawing information includes font information and the display location thereof (the recovery position within the video memory). WWW browser 2 sometimes also inquires the size of the displayed word.
The word display system shown in Fig. I is for software implementation while Fig. 3 shows the operations thereof on a computer.
As shown in Fig. 3, the computer includes a central processing unit (CPU) 51, a display 52, a memory 53, a hard disk drive 54, a keyboard 55, a mouse 56, and intert'aces (I/F) 57, 58, 59. CPU 51 and memory 53 are connected on a system bus 50.
The display 52 is connected to the system bus 50 via the interface 57 while the hard disk drive 54 is connected to the system bus 50 via the interface 58. The keyboard 55 and mouse 56 are connected to the system bus 50 via the intert'ace 59. Hard disk drive 5~ stores the Window system 1, WWW browser 2, the word display control system 3, and various files. The video memory shown in Fig. I is disposed within the display 52, i.e., font data of the words to be displayed are read by the hard disk drive 54 and recovered within the video memory 4 of the display 52.
When the computer is activated, CPU 51 reads data from the hard disk drive 54 via the interface 58 then activates the programs within the Windows system I, then displays data on display 52 via interface 57 and sets up the memory 53.
CPU 51 then reads and activates a plurality of programs including WWW
browser 2, word display control system 3 by ope~1ing the keyboard 55 and the mouse 56. The activated Windows system 1 in Fig. I will control the hardware composed of CPU 51, display 52, memory 53, hard disk drive 54, keyboard 55, mouse 56, and interfaces 57, 58, 59.
Figs. 5-11 are flowcharts showing the operation of the word display control system 3. The operations of the word display control system 3 are divided into five phases, i.e., initialization phase, ~igning phase, displaying phase, Window-turn-off phase, and termination phase. The following description is based on a situation where Windows system 1 and WWW browser 2 have been activated.
Fig. 5 shows a flow chart for illustrating the initialization phase for the worddisplay control system 3. This flow chart begins by reading the headers of all of the fonts stored in font file 33 and writing the headers into the font drawing section 3 lB
(step S41). Then, all of the fonts stored in the font file 33 is written to the font loader 32 and loaded into the main memory 53 (step S42).Then replaces the addresses forthe ExtTextOut and TextOUT of API 11 of Windows system 1 with the addresses for TextTextOut of text output section 31 A such that the display information of theWWW browser 2 and word size inquiry etc. is transmitted into the text output section 3 lA. That is, the inquiries of the display information and the word sizes are forced to be hooked (step S43). When the word display control system 3 is terminated, a "Windows Close" message informed by Windows system I will show on the screen 4.
Then the message is stored in the Windows manager (not shown) of the Windows system 1 (step S44). Then, the initialization phase is completed. Thus activated word display control system 3 will display a corresponding window of word display control system 3 on display 52.
The process for each window of word display control system 3 to assign word set is described in reference with the flow chart of Fig. 6.
The flow chart shown in Fig. 6 begins by activating the window of word display control system 3 on screen and selecting an assigned word set t'rom the menu forsetting the word set on an active window (tront window) or deleting information with set word set at the same time When the process is activated, a process is made to judL~e whether set a word set CA 02203709 1997-04-2~
or delete a word set (step S51). When the active window is set with word set, then it is deemed to set a word set, if the active window is not set with word set, then it is deemed tQ delete a word set. After step S51, a selection supplement for a word set will be shown on the display 52. A word set to be set on the active window is selected by mouse from the shown selection supplement. The word display control system 3 enables an active window ID to be col-e~l,onded to the selected word set and stored in the window data base 34 (step S52). Then, the process is completed.
If the result after step S51 is not for setting word set, i.e., for deleting the set word set, then delete the active window ID and word set stored in the window data base 34 (step S53). Then the process for Fig. 6 is completed.
A process for the WWW browser 2 to display words is described in reference to the flowcharts in Figs. 7 and 8.
In a WWW access system, the word display control system 3 shown in Fig. 7 is operated between the Windows system I and the WWW browser 2, i.e., there are three phases for a flow chart shown in Fig. 7, i.e., the Windows system I phase, the WWW browser 2 phase, and the word display control system 3 phase.
The flow chart begins by forming fonts for words to be displayed, i.e., forming object fonts (step S11). Then, the fonts (objects) of DC are replaced with the fonts (objects) fommed in step S11 (step S12). Then, the text output section 3 lA of word display control system is called by the font display words thereby transmitting the display information to the text output section 31A (step S13).
In the word display control system 3 phase, a text set of the acting window is judged whether it is a word set supported by Windows system 1 ~step S31), if yes, the text output port 12 of the API 11 within the Windows system I (Fig. 1) is called and the display infommation is transmitted to the text output port 12.
The Windows system 1 then reads the replaced font data (e.g., dot pattem) of fonts of DC fommed in step S12 from a file contained within the Windows system 1(step S21). Then, the read font data is expanded to fomm a dot pattem in a predetemnined coordination location within the video memory 4 (step S22). Then, the dot pattern expanded in the video memory 4 is displayed on the screen (step S23) and returned to the process of WWW browser 2.
If the result in step S31 is no, the word display control system 3 will proceed a process t'or word display (step S32), which will be detailed in the flow chart of Fig. 8.
Then, the process is restored to WWW browser 2 phase.
Then, the WWW browser 2 will replace the t'ont of DC in step S1' with the original fonts (step Sl 4), then. discard the fonts t'ormed in step Sl l (step S 15).
The process shown in Fig. 7 is executed when a request t'or word display happens.
CA 02203709 1997-04-2~
The process for word display control system 3 in Fig. 7 is hereinafter detailed in reference to Fig. 8.
When the WWW browser 2 calls the text output port 3 IA of word display control system 3 and provides display information, the process in Fig. 8 is activated and a counter for counting the processed word number is set to 0 (step S61).
Then, the word set in the active window (window for displaying word string) is read out from the windows data base 34 in accordance with the window ID (step S62) and judged whether the window has completed the setting of word sets (step S63). If step S63 judges the window ID of the active Window is stored in the window data base 34, the process is directed to step S65. If the window ID of the active window is not stored in the window data base 34, then the word set of the active window is set to the word set of Windows system 1 (word set supported by o~l~ling systeml (step S64). Then, the process is directed to step S65.
In step S65, a judgment is made whether the value in the counter is equal to thelength of the text string contained in the text string information. If not, access a word code in an identical position counted from a head of the text string by the value stored in the counter (step S66). Then, the word code accessed in step S66 is compared with a value of OX80 (step S67). If the word code is smaller than the value of OX80, then the text output port 12 of the API 11 of the Windows system 1 is retrieved for providing the display information of the word. Accordingly, Windows system 1 will display corresponding words on said window (step S72). Then, the process is again back to step S65. That is, whether a code system for Japanese word or a code system for Chinese word, whenever the word set is smaller than the value of OX80, the ~vord set will be ASCII code, which is supported by operating systems of all of the Fn~ h DOS, Japanese DOS, Chinese DOS. Thus, when such a word code is provided, the word set can directly utilize the display function of Windows system 1.
If the word code is larger than the value of OX80 (i.e., Japanese and Chinese etc.
are assigned), a determination will be made by judging whether the word set stored in the window data base 34 to be identical to the word set in the Windows system I (step S68). If the word set stored in the window data base is identical to the word set in the Windows system I, the text output port 12 of the API l l of the Windows system I is retrieved for providing the display information of the words. Accordingly, Windows system I will display corresponding words on said window (step S72). Then, the process is again back to step S65. lf the word set stored in the window data base is not identical to the word set in the Windows system 1, access an intormation regarding the font of the word displayed (such as shown in bold, italic, and ornamented) (step S69).
Then, font data are read from the tont file 33 via the t'ont loader 3~ and CA 02203709 1997-04-2~
expended in video memory 4 (step S70). Then, a display controller (not shown) will display the data e~r~n~le-~ in the video memory 4 on the display 52. Accordingly, the word process is completed. Then, the value of counter is incl ~."c.,led by I (step S7 1 and the process is again back to step S65.
In step S65, if the value in the counter is equal to the length of the text string contained in the text string information, then the process shown in Fig. 8 is complete.
WWW browser 2 sometimes inquires the size of the display word of the Windows system 1 for displaying the word in a suitable location. The process thereof is similar to the process shown in Fig. 7.
That is, as shown in Fig. 9, WWW browser 2 forms a font for displaying word (step S 1 1). The font of the DC is then replaced with the font formed in step S 1 1 (step S 12). Then, the inquiry about the word size of the font is passed to the text output port 31A (step S13).
Word display control system 3 judges whether the word set of the window is supported by the word set of the Windows system 1 in reference to the windows data base 34 (step S3 1).
In step S3 1, if the word set thereof is supported by the Windows system 1, worddisplay control system 3 will call the text output port 12 of the API11 of the Windows system 1 and transmit the inquiry information to the text output port 12. The Windows system 1 will return the display size of the word to the WWW browser 2 in response to the inquiry (step S24).
In step S3 1, if the word set thereof is not supported by the Window system 1, word display control system 3 will inform the size of the display word to the WWW
browser 2 (step S33). Then, WWW browser 2 recovers the replaced font of DC in step S12 to the original font (step S14) and discards the font formed in step S11 (step S15).
Such a process will occur whenever the word size is request to be informed.
Fig. 10 illustrates a process for the word display control system 3 to close thewindow of WWW browser 2.
This process begins by operating mouse 56 to click a close icon (not shown) on the window of the WWW browser 2. When the process is activated, a judgment will be make to determine whether the window ID of the window to be closed have been stored in the windows data base 34 (step S8 1). If the result of step S8 1 is yes, the window lD thereof and the information about the word set is deleted t'rom the windows data base 34 (step S82). Then, the process is complete. If no, the process is directly complete.
Fi~. l l shows a process t'or closin~ the word display control system 3. This process be~ins by operatinL~ mouse 56 to click the close icon (not shown) on the _ g _ CA 02203709 1997-04-2~
window of the word display control system 3.
When the process is activated, the font loader 32 loaded at step S42 is disabledfrom the memory 53 (step S9 1).
Then, the addresses of ExtTextOut and TextOut replaced in step S43, i.e., the addresses hooked by force are restored to the original addresses (step S92) so that the text output may be executed by the APIl 1 of the Windows system 1.
Then, the message of window close stored in the windows system I in step S44 is "unhooked" (step S93).
Then, redraw all of the windows stored with window ID within the windows data base 34 by using the text output port 12 of API11 of Windows system 1 (step S94) and then complete the process of this flow chart.
A complete embodiment exemplifying with three respective windows of Korean, Chinese, and simplified Chinese in identical cont~l,L~ is now described in reference to Fig. 12.
Windows system 1 is only for SUp~l til1g J~p~nçse word set (ASCII and JIS).
Therefore, if a user logs on Web sites in Korean, Chinese, and simplified Chinese, the text shown on screen will be illegible codes and the norrnal display carmot be .achieved. Thus, there is a need to activate the word display control system 3 of this invention. Then, three windows Wl, W2, and W3 shown in Fig. 12 will be opened inaccordance with the process for setting word set shown in Fig. 6. In this embodiment, window W1 is a Korean word set, window W2 is a simplified Chinese word set, and window W3 is a Chinese word set.
Then, the documents in Korean, simplified Chinese, Chinese are respectively read by a colles~x~nding window of windows Wl, W2, W3.
For example, if the window W3 is reading a document in Chinese, WWW
browser 2 will form fonts col-esponding to the document read as shown in Fig. 7 (step Sl l) and replace the font of DC with the formed font (step S12) and further provide display information to the word display control system 3 (step Sl 3). The word display control system 3 receives display inforrnation and judge the word set (Chinese characters) in window W3 is not supported by Windows system 1 (i.e., ASCII and JIS), then the corresponding word codes provided will be written into video memory 4 for displaying (steps S31, S32).
Referring to Fig. 8, if the counter is set to 0 (step S6 l ), the word set of window W3 assigned in windows data base is reco~nized as Chinese character (steps S62, S63), a o'h word code is accessed (step S66). Herein, a Chinese character of '~
shown in left and up of the screen is accessed and a corresponding word code will be determined whether to be greater than 0X80 or not (step S67). As the Chinese character is not a ASCIl character, the character is greater than 0X80. Then, the word CA 02203709 1997-04-2~
display control system 3 will judge the word set in window W3 is identical to the word set of Windows system 1 (step S68). As the Windows system 1 is for Japaneseword set, the result after step S68 is no, then the system 3 will access font information from DC and then access Chinese font from font file. Then, the font is written into video memory 4 for displaying. Then, update the value of the counter (step S71 ) for executing an identical process for next word code, i.e., a word code for "raw".
If the word code to be displayed presents an "A" of English character. Then, step S67 will have a result of said word code is smaller than OX80. Accordingly, the Windows system 1 will write an "A" on the video memory 4.
After all of the word for process is completed~ the value in the counter will beequal to the length of the word string thereby fini~hing the process for Fig. 8 and informing WWW browser 2 to complete the display process.
The WWW browser 2 will restore the original font ofthe fonts for DC (step S14) and discard the formed font (step S 15). Then, window W3 will assign J~p~nPse word set as word set. When the window W3 read the documents in Japanese, the results of step S3 1, step S67, and step S68 are yes, then the display of Windows system 1 is executed.
As mentioned, a word set unsupported by the o~ ling system is displayed by tilizing the word display control system 3. That is, the word display system is able to display dil~e-el~ language in the word display system 2 which is not supported by the Windows system 1. Further, as the word set for Windows system 1 retains as its original, the menu and the auxiliary descriptive icons can also be correctly displayed.
Furthermore, as the word display control system 3 moves the process to the text output port 12 of the Windows system 1 (steps S3 1, S68) by judging the word set to be supported by Windows system 1. The load of the computer system caused by memory can be reduced.
Further, as the setting for word set is in units of window (steps S5 1, S52), different language of text string can be displayed in units of windows.
As each of the word set is provided with a font loader 32, this enables the loader to read font information from font file 33 so that the system may directly use the word code of the word set displayed on window. Accordingly, different languages, which are not supported by the Windows system 1, can be displayed on the window without transforming the text.
Though the above embodiment is described in units of windows, those skilled in the art will appreciate to automatically recognize word sets.
In general, dit't'erent of word sets apply for dit'ferent code range.
Such as, tor Japanese S-JIS code, the first byte is t'rom OX81 to OXfc while thesecond byte is trom OX~O to OXfe (()Xa I to OXdf each are a one byte code t'or semi CA 02203709 1997-04-2~
Kana).
Altematively, for simplified Chinese word code, the first byte is from OXal to OXfe while the second byte is from Oxalto OXfe.
For Chinese word code, the first byte is from OXal to OXfe while the second byte is from OX40 to OXfe.
Accordingly, the step S3 1 in Fig. 7 for checking the word set t'or object word code of the received display word code as to judge the scope of word code thereby judging the word set of word string of the word.
For example, if all of the first bye of the word code is in a range of OX8 1 between OxaO, then, it can be derived that such a word set is an S-JIS.
If the word code of the first byte is in a range of Oxal to Oxfe as long as the second byte is in a range of Ox40 to OxaO, it can be derived that such a word set is a Chinese word set, while if the second byte is in a range of Oxal to Oxfe, it can be derived that such a word set is a simplified Chinese word set.
Therefore, when the word strings (code strings) to be displayed are received, a col-esl)ol1ding word set can be derived for displaying words of the word sets.
Accordingly, multiple languages can be displayed within one window.
Referring to Fig. 13, if the predetemmined selection items of the word set in step S52 in Fig. 6 includes an automatic setting. Then, the step S63 shown in Fig. 13 will judge if there is an automatic setting in reference to windows data base (step S74). If yes, the display control system 3 will determine the scope which the word code of word set belongs (step S75) and judge the co--es~,ot-ding word set (step S76) and setting the word set in window for displaying.
According to such arrangement, the word display control system may support for multiple languages in one window and automatically determine word set.
Further, if an on-line dictionary is applied in cooperation with this invention, a higher preciseness for judging word sets can be achieved. Such as, uses the word set of simplified Chinese to judge the word code string, though such word code strings will possibly not confomm to the words in the dictionary, however, if once the system 3 uses word set of Korean words and the word set of Korean words are stored in the dictionary, then, it can be derived that such word set is word set for Korean.
Accordingly, the incorporation of on-line dictionary is optional.
Further, in the above embodiments, the word set is judged whether to be supported by Windows system l in text output port 31 A of word display control system 3, i.e., the words, which are not supported by the Windows system l, can be displayed by word display control system 3. Altematively, all of the word sets, which are whether supported by Windows system l or not, can be displayed on display 52 by usin~ word display control system 3.
CA 02203709 1997-04-2~
In the above embodiment, WWW browser 2 is used as an application program Opf .a~ g on Windows system l. However, this invention is not limited to the WWWbrowser 2, any application program, which can be operated on Windows system l with the window ID and font thereof can be stored in window data base 34, can bedisplayed as word sets which are not supported by Window system l.
The word display system of this invention does not require a specific system, a general purpose computer will be suitable. To implement the above process in a general purpose computer, medium (such as floppy disc, CD-ROM etc.) are applied for storing program which executes above mentioned operation so as to install application program thereby constructing the word display system for multiple language words.
Meanwhile, the medium offering programs to computer can be communication medium, such as communication wires, communication networks, communication system, and t~ ,ol~lily and flowing programs. Such as the program can be presented on a BBS of communication network thereby download the program from the network. Then, a user may activate the program under the control of OS for executing the above process.
Though this invention read the programs stored in the hard disk drive, those skilled in the art will appreciate to access the programs from communication mediurn then download the programs into the computer.
Claims
1. A word display system for Windows system displaying a plurality of windows and word sets, comprising:
distribution means for distributing word sets of words to be displayed on the windows displayed by the Windows system; and word display means for displaying corresponding word codes of the displayed words in each window with the words of the word sets distributed to said window.2. The word display system as claimed in claim 1, wherein said Windows system includes an operating system with an assigned word set, said distributionmeans includes means for distributing word sets, which are not supported by the operating system, and said word display means includes font memory means for storing a plurality of fonts of word sets distributed by said distribution means and font display means for displaying fonts stored in said font memory means corresponding to the word code of the words to be displayed for each window.
3. The word display system as claimed in claim 2, wherein said distribution means includes means for distributing one of word sets of a plurality of languages which are not supported by said operating system in units of windows, said font memory means stores fonts of word sets of said plurality of languages and means for displaying word codes of word to be displayed of each windows by having the fonts stored in said font memory means correspond to fonts of word sets of said distributed window thereby displaying words in said plurality of languages in units of windows.
4. The word display system as claimed in claim 1, wherein said distribution means includes means for determining a corresponding word set of word codes by judging a value range of the word codes of a word string displayed thereby displaying said plurality of word sets within a window.
5. A word display system comprising:
word set recognition means for receiving an object word string having word codes and recognizing a value range of said word code thereby determining a word set corresponding to said value range of word set; and display means for displaying an object word string in accordance with the word set determined by said word set recognition means.
6. A word display system comprising:
means for supporting an assigned word set and executing an operating system having an application program interface with a text output port;
means for executing an application program displaying words corresponding to the word code on a display by providing a plurality of word codes from said text output port of said operating system;
word access means for accessing a plurality of word codes from said application program which are not delivered to said operating system;
word set setting means for setting a word set of the word codes accessed by the word access means;
font memory means for storing a plurality of fonts corresponding to the word set;
reading means for reading fonts of the word codes accessed by word access means from said font memory means in accordance with the word set set by word set setting means; and display means for displaying the fonts read by said reading means.
7. The word display system as claimed in claim 6 further comprising:
word set recognition means for recognizing the word set set by word set setting means to be said assigned word set supported by said operating system.
8. The word display system as claimed in claim 7 wherein said read means includes means for reading font data set by setting means from font memory meanswhen the word set recognition means recognizes the word set set in the word set setting means is not the assigned word and for providing said word set accessed from said application program by said word access means to said text output port.
9. The word display system as claimed in claim 8, wherein said operating system includes a window system for displaying a plurality of windows on said display means and said word set setting means includes means for setting word sets in units of windows.
10. The word display system as claimed in claim 6, wherein said word set setting means includes means for setting a word set corresponding to said word codes by judging a value of word code of the word string to be displayed thereby supporting a plurality of word sets in a single window.
11. A word display system comprising:
means for supporting an assigned word set and executing an operating system having an application program interface with a text output port;
means tor executing an application program displaying words corresponding to the word code on a display by providing a plurality of word codes from said textoutput port of said operating system;
word access means for accessing a plurality of word codes from said application program which are not delivered to said operating system;
word set setting means tor determining a word set pertaining to a range defined by the word set accessed by the word access means;
font memory means for storing font information of word sets set by said word set access means;
reading means for reading said font information of accessed word codes by said word access means from said font memory means in accordance with the word set set by the word set setting means; and display means for displaying the font information read by the reading means.
distribution means for distributing word sets of words to be displayed on the windows displayed by the Windows system; and word display means for displaying corresponding word codes of the displayed words in each window with the words of the word sets distributed to said window.2. The word display system as claimed in claim 1, wherein said Windows system includes an operating system with an assigned word set, said distributionmeans includes means for distributing word sets, which are not supported by the operating system, and said word display means includes font memory means for storing a plurality of fonts of word sets distributed by said distribution means and font display means for displaying fonts stored in said font memory means corresponding to the word code of the words to be displayed for each window.
3. The word display system as claimed in claim 2, wherein said distribution means includes means for distributing one of word sets of a plurality of languages which are not supported by said operating system in units of windows, said font memory means stores fonts of word sets of said plurality of languages and means for displaying word codes of word to be displayed of each windows by having the fonts stored in said font memory means correspond to fonts of word sets of said distributed window thereby displaying words in said plurality of languages in units of windows.
4. The word display system as claimed in claim 1, wherein said distribution means includes means for determining a corresponding word set of word codes by judging a value range of the word codes of a word string displayed thereby displaying said plurality of word sets within a window.
5. A word display system comprising:
word set recognition means for receiving an object word string having word codes and recognizing a value range of said word code thereby determining a word set corresponding to said value range of word set; and display means for displaying an object word string in accordance with the word set determined by said word set recognition means.
6. A word display system comprising:
means for supporting an assigned word set and executing an operating system having an application program interface with a text output port;
means for executing an application program displaying words corresponding to the word code on a display by providing a plurality of word codes from said text output port of said operating system;
word access means for accessing a plurality of word codes from said application program which are not delivered to said operating system;
word set setting means for setting a word set of the word codes accessed by the word access means;
font memory means for storing a plurality of fonts corresponding to the word set;
reading means for reading fonts of the word codes accessed by word access means from said font memory means in accordance with the word set set by word set setting means; and display means for displaying the fonts read by said reading means.
7. The word display system as claimed in claim 6 further comprising:
word set recognition means for recognizing the word set set by word set setting means to be said assigned word set supported by said operating system.
8. The word display system as claimed in claim 7 wherein said read means includes means for reading font data set by setting means from font memory meanswhen the word set recognition means recognizes the word set set in the word set setting means is not the assigned word and for providing said word set accessed from said application program by said word access means to said text output port.
9. The word display system as claimed in claim 8, wherein said operating system includes a window system for displaying a plurality of windows on said display means and said word set setting means includes means for setting word sets in units of windows.
10. The word display system as claimed in claim 6, wherein said word set setting means includes means for setting a word set corresponding to said word codes by judging a value of word code of the word string to be displayed thereby supporting a plurality of word sets in a single window.
11. A word display system comprising:
means for supporting an assigned word set and executing an operating system having an application program interface with a text output port;
means tor executing an application program displaying words corresponding to the word code on a display by providing a plurality of word codes from said textoutput port of said operating system;
word access means for accessing a plurality of word codes from said application program which are not delivered to said operating system;
word set setting means tor determining a word set pertaining to a range defined by the word set accessed by the word access means;
font memory means for storing font information of word sets set by said word set access means;
reading means for reading said font information of accessed word codes by said word access means from said font memory means in accordance with the word set set by the word set setting means; and display means for displaying the font information read by the reading means.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP8-330051 | 1996-12-10 | ||
JP8330051A JPH10171435A (en) | 1996-12-10 | 1996-12-10 | Character display system |
Publications (1)
Publication Number | Publication Date |
---|---|
CA2203709A1 true CA2203709A1 (en) | 1998-06-10 |
Family
ID=18228235
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CA 2203709 Abandoned CA2203709A1 (en) | 1996-12-10 | 1997-04-25 | Word display system |
Country Status (3)
Country | Link |
---|---|
JP (1) | JPH10171435A (en) |
CA (1) | CA2203709A1 (en) |
TW (1) | TW365660B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001028788A (en) * | 1999-05-13 | 2001-01-30 | Matsushita Electric Ind Co Ltd | Mobile communication terminal |
KR20020007022A (en) * | 2000-07-14 | 2002-01-26 | 박홍원 | Method and apparatus for multilingual display |
-
1996
- 1996-12-10 JP JP8330051A patent/JPH10171435A/en active Pending
-
1997
- 1997-01-14 TW TW086100326A patent/TW365660B/en active
- 1997-04-25 CA CA 2203709 patent/CA2203709A1/en not_active Abandoned
Also Published As
Publication number | Publication date |
---|---|
JPH10171435A (en) | 1998-06-26 |
TW365660B (en) | 1999-08-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5931935A (en) | File system primitive allowing reprocessing of I/O requests by multiple drivers in a layered driver I/O system | |
US8020107B2 (en) | Web interface for providing system-status on-demand | |
JP3312037B2 (en) | Display system, X window server system and display method | |
US7321917B2 (en) | Customizing a client application using an options page stored on a server computer | |
US5978815A (en) | File system primitive providing native file system support for remote storage | |
US5831607A (en) | Method for adapting multiple screens of information for access and use on a single graphical panel in a computer system | |
US6415289B1 (en) | Network information control method utilizing a common command format and a centralized storage management system | |
US6658461B1 (en) | Method of, system for, and computer program product for providing a user interface for configuring connections between a local workstation file system and a remote host file system | |
JP3444471B2 (en) | Form creation method and apparatus readable storage medium for causing digital processing device to execute form creation method | |
US7089279B1 (en) | Method and system for collaborating among interconnected client terminals | |
US7293072B2 (en) | Method and system for modifying host application functionality based upon downloaded content | |
US6323865B1 (en) | Automatic font management within an operating system environment | |
US6976059B1 (en) | System and method to provide applets using a server based virtual machine | |
US6493735B1 (en) | Method system and computer program product for storing bi-directional language data in a text string object for display on non-bidirectional operating systems | |
US6363433B1 (en) | Method and mechanism for client-side handling of extensions originally written for servers | |
US5831639A (en) | Scanning display driver | |
US5511193A (en) | Text services manager providing multiple instances of input methods for text language processing and automatic synchronization between met hods | |
US6856985B1 (en) | Server based control of robotic libraries | |
US6642941B1 (en) | Displaying optimum screens on various types of output terminals using a common application | |
CA2203709A1 (en) | Word display system | |
US20040194023A1 (en) | User selective reload of images | |
US20040100495A1 (en) | Apparatus, system and method of enabling a user to configure a desktop | |
JP3417451B2 (en) | Window enhanced locator hit test method and data processing system | |
JPH07175620A (en) | Menu system | |
EP1008045B1 (en) | File system primitive allowing reprocessing of i/o requests by multiple drivers in a layered driver i/o system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
EEER | Examination request | ||
FZDE | Dead |