WO2014051240A1 - Font processing method for maintaining electronic document layout - Google Patents

Font processing method for maintaining electronic document layout Download PDF

Info

Publication number
WO2014051240A1
WO2014051240A1 PCT/KR2013/004727 KR2013004727W WO2014051240A1 WO 2014051240 A1 WO2014051240 A1 WO 2014051240A1 KR 2013004727 W KR2013004727 W KR 2013004727W WO 2014051240 A1 WO2014051240 A1 WO 2014051240A1
Authority
WO
WIPO (PCT)
Prior art keywords
font
mbs
electronic document
original
size
Prior art date
Application number
PCT/KR2013/004727
Other languages
French (fr)
Korean (ko)
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
Application filed by (주)인프라웨어 filed Critical (주)인프라웨어
Publication of WO2014051240A1 publication Critical patent/WO2014051240A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/109Font handling; Temporal or kinetic typography

Definitions

  • the present invention relates to a font processing technology for maintaining an electronic document layout, and more particularly, to an electronic document (eg, a word file, a presentation file, etc.) in a user terminal (eg, a smartphone, a smart pad, a digital set-top box, etc.).
  • the present invention relates to a font processing technique that maintains the layout of the original even when the original font used in these electronic documents is not installed in the application program of the user terminal.
  • DOC file word file
  • PPT file presentation file
  • POLARIS OFFICE program application program
  • the original font used in the electronic document that is, the original font is not installed in the user terminal and cannot be used
  • various implementation methods are possible. If the environment is similar to a personal computer, the font data of the original font can be downloaded and applied in real time through the high-speed Internet.
  • this method is difficult to apply in a terminal such as a smart phone or smart pad, because the user does not want a situation in which the Internet communication environment is generally slow and user responsiveness is degraded. Accordingly, these terminals search similar fonts or implement them on the screen using the default font as a substitute font. In this case, the original font and the substitute font have a different document layout because the size of each character (character) is different.
  • a mobile communication terminal for providing a font message service, a message service device, and a method of providing the service thereof Korean Patent Application No. 10-2007-0101655
  • an object of the present invention to provide a font processing technique for maintaining an electronic document layout. More specifically, an object of the present invention was to use an electronic document (eg, a word file, a presentation file, etc.) when opening an electronic document (eg, a word file, a presentation file, etc.) on a user terminal (eg, a smartphone, smart pad, digital set-top box, etc.). Even if the original font is not installed in the application of the user terminal to provide a font processing technology that maintains the layout of the original to the maximum.
  • an electronic document eg, a word file, a presentation file, etc.
  • a user terminal eg, a smartphone, smart pad, digital set-top box, etc.
  • a font processing method for maintaining an electronic document layout including: a first step of setting, by an MBS engine module of a user terminal, MBS tables including reference size information of characters for various fonts; A second step of opening a specific electronic document by the document viewer application of the user terminal; The MBS engine module extracts the original font used in the electronic document and selects a substitute font to replace the original font; A fourth step of obtaining, by the MBS engine module, reference size information of the original font and the substitute font used in the electronic document from the MBS table; A fifth font that calculates an alternative font size that is approximately proportional to the reference size information and the original font size of the original font and inversely proportional to the reference size information of the alternative font for the characters included in the electronic document. step; And a sixth step of setting a substitute font and a substitute font size for the character.
  • the MBS engine module of the user terminal to set the MBS table for the substitute font that is operated in the user terminal;
  • a second step of the MBS engine module extracting the original font used in the electronic document and selecting a substitute font to replace the original font as the document viewer application of the user terminal opens the specific electronic document;
  • a fifth font that calculates an alternative font size that is approximately proportional to the reference size information and the original font size of the original font and inversely proportional to the reference size information of the alternative font for the characters included in the electronic document. step;
  • a sixth step of setting a substitute font and a substitute font size for the character is another embodiment of the font processing method for maintaining the layout of the electronic document.
  • the fifth step includes the steps of calculating the MBS ratio between the reference size of the original font and the reference size of the replacement font; Multiplying the original font size by the MBS ratio; And obtaining an alternative font size from a multiplication operation result. Also, in the present invention, the fifth step includes: multiplying the reference size of the original font and the original font size to obtain a display size; Dividing a reference size of the substitute font by the display size; Obtaining a substitute font size from a division operation result.
  • the above characters are selected as belonging to a range previously selected as an object sensitive to layout in an electronic document.
  • the MBS engine module receives the font list from the MBS management server and sets and updates the MBS table including the reference size information for each font for various fonts.
  • the font management terminal which is performed before the first step, generates MBS table by arranging the reference size information for each font for various fonts used for creating the electronic document. Making; Providing, by the font management terminal, uploading the generated MBS table to the MBS management server through a communication network; The MBS management server collecting the uploaded MBS table and maintaining a font list; Waiting for the MBS management server to provide a font list in response to a request from an external user terminal.
  • the computer-readable recording medium records a font processing program for performing the font processing method for maintaining the electronic document layout as described above.
  • the layout of the original document is maintained to the maximum, thereby providing the convenience of accurately expressing the intention of the document creator and thereby improving visibility and readability.
  • FIG. 1 is a diagram showing an overall system in which a font processing method for maintaining an electronic document layout according to the present invention is implemented.
  • FIG. 2 is a diagram illustrating a configuration of a font management terminal in which a font processing method for maintaining an electronic document layout according to the present invention is implemented;
  • FIG. 3 is a flowchart illustrating a process of generating an MBS table and a font list in the present invention.
  • FIG. 4 is a diagram illustrating a configuration of a user terminal in which a font processing method for maintaining an electronic document layout according to the present invention is implemented.
  • FIG. 5 is a flowchart illustrating a process of performing layout maintenance font processing using the MBS table in the present invention.
  • FIG. 6 is a flowchart illustrating another embodiment of a process of performing layout maintenance font processing using an MBS table in the present invention.
  • FIG. 1 is a diagram illustrating an entire system in which a font processing method for maintaining an electronic document layout according to the present invention is implemented.
  • the user terminal 10 performs data transmission and reception with the MBS management server 30 through the communication network 20, and the MBS management server 30 operates a database 31.
  • the user terminal 10 is a device that a general user uses to open an electronic document and check contents.
  • the smart phone, smart pad, digital set-top box, etc., the document viewer application is installed to open the electronic document to implement on the display screen.
  • the font management terminal 40 generates and provides data related to the font.
  • the font management terminal 40 may be a computer managed by a company that has authored a particular font, may be a computer managed by a person who has authored an electronic document, or a company that manufactures an Android smartphone (eg, Samsung Electronics, It may be a computer managed by Apple, or a computer operated by a company (eg, Infraware) that supplies an electronic document viewer application reflecting the technology of the present invention.
  • the font management terminal 40 generates the MBS table 15a as font-related data, and uploads the MBS table 15a to the MBS management server 30 through the communication network 20 to share the generated MBS table 15a.
  • the font management program executed in the font management terminal 40 preferably provides an upload menu for registering the MBS table 15a in the font list in addition to the function of generating font-related data.
  • the MBS management server 30 includes a database 31 to manage font-related data uploaded from the font management terminal 40 (ie, MBS table) in a font list, and manages font-related data for the user terminal 10. to provide.
  • the MBS management server 30 may be managed by a company (eg, terminal sales company) maintaining a performance of the user terminal 10 or a provider of a document viewer application.
  • the font management terminal 40 may be integrally implemented in the MBS management server 30.
  • the MBS management server 30 generates font-related data (ie, MBS table) for a specific font. It also has a function to. Accordingly, in response to a request of the user terminal 10, the MBS management server 30 may generate and provide an MBS table 15a for a specific font in real time.
  • the font management terminal 40 is a component that generates and provides data related to various original fonts used in an electronic document.
  • the input / output unit 41, the transmission / reception unit 42, and the font are provided.
  • the management control unit 43, the MBS generation module 44, and the storage unit 45 are included.
  • the MBS generation module 44 includes an MBS information generating means 44a and an MBS uploading means 44b.
  • the font management terminal 40 will be described in detail based on the configuration of the MBS generating module 44. do.
  • the MBS information generating means 44a generates the MBS table 45a for various fonts used in the original electronic document.
  • the MBS table 45a includes reference size information for each character (character) for the font. ) Is included.
  • the MBS table 45a is provided for each font, and the information included in the MBS table 45a is information corresponding to the display size when the character is displayed on the screen for each character in the corresponding font.
  • the font size and the screen resolution are preferably set to a reference value (eg, font size is 10 and resolution is 320 ⁇ 240).
  • a twip is assumed as a unit of the character size. Twips are mapped according to resolution (dpi), with 1 twipe divided by 1 inch by 1440, and a typical tweak per pixel of Windows 96 dpi is 1440/96, 15 twips.
  • the MBS engine module 14 obtains the size of the twips through graphic processing for a specific character of a specific font (for example, the letter 'A' of an Arial font), and when it is displayed on the display screen, truncates or rounds it up. Implement pixel by pixel.
  • the text size input to the MBS table 45a may be set in a twips unit for precise control.
  • the MBS table 45a may be configured to handle only the horizontal size.
  • a physical value eg, 87 twips, 2.5 MBS
  • a relative ratio eg, 1.2 times, 0.8 times
  • a basic font reference font
  • the MBS uploading means 44b transmits the MBS table 45a generated by the MBS information generating means 44a to the MBS management server 30 through the communication network 20 and is registered in the font list on the database 31 through this. do.
  • the MBS management server 30 maintains the MBS table 45a for various fonts as a font list.
  • the font management terminal 40 generates an MBS table 45a for individual fonts and transmits the MBS table 45a to the MBS management server 30.
  • the MBS management server 30 collects these MBS tables 45a to collect a font list. Maintain.
  • the font list includes the MBS table 45a for about 100 fonts.
  • the font list maintained by the MBS management server 30 is provided to the user terminal 10. Accordingly, the user terminal 10 includes a font list for about 100 fonts together with font data for 2 to 3 basic fonts. Corresponding to all fonts provided with.
  • Storage unit 45 is a configuration for providing a storage space for the font management terminal 40 in the present invention temporarily stores the MBS table (45a).
  • the MBS table 45a shows information on the size of each character in the display screen when it is implemented on the display screen.
  • the font size and the screen resolution are set as reference values (eg, font size 10, resolution 320 ⁇ 240). It is preferable to be set.
  • the font management control unit 43 controls the generation and upload of the MBS table 45a made by the MBS generation module 44.
  • FIG. 3 is a flowchart illustrating a process of generating a font list in the MBS management server 30 by generating the MBS table 45a in the present invention.
  • the MBS generation module 44 of the font management terminal 40 generates the font-specific MBS table 45a by obtaining the size of each font for the fonts used for creating the electronic document and arranging them into a table (S11).
  • the MBS table 45a is preferably stored with the recommended replacement font information for the font.
  • the MBS generation module 44 transmits the MBS table 45a to the MBS management server 30 through the communication network 20 (S12).
  • the MBS management server 30 collects the MBS table 45a provided from various font management terminals 40 and maintains the font list on the database 31 (S13).
  • the MBS management server 30 waits for the provision of the font list in response to a request from the external user terminal 10 (S14).
  • the font list is provided to the user terminal 10 from the MBS management server 30 according to the request and is utilized in the font processing process for maintaining the layout when the user terminal 10 opens the electronic document, which will be described later. do.
  • the user terminal 10 includes an input / output unit 11, a transceiver unit 12, a terminal controller 13, an MBS engine module 14, a storage unit 15, and a document viewer application 16. Include.
  • the MBS engine module 14 includes a font list sharing means 14a, a font information extracting means 14b, a font size calculating means 14c, a font size calculating means 14c, and a font implementing means 14d, and stores the same.
  • MBS tables 15a for various fonts are provided.
  • the user terminal 10 will be described in detail based on the configuration of the MBS engine module 14.
  • the font list sharing means 14a receives the font list managed by the MBS management server 30 and updates the MBS table 15a including the reference size information for each font for each font.
  • the font list sharing means 14a preferably receives the font list continuously from the MBS management server 30 and manages the MBS table 15a up to date.
  • the MBS table 15a installed in the slot may be used continuously. Instead of storing the font data (binary) for each font of the user terminal 10, the MBS table 15a for these fonts is provided. Meanwhile, for the purpose of the present invention, the MBS table 15a also stores size information for each character of the substitute font (that is, the basic font).
  • the font information extracting means 14b when the document viewer application 16 implements various fonts used in the electronic document as the user terminal 10 opens a specific electronic document, the font information extracting means 14b. Extracts the reference size information for each character of the original font from the MBS table 15a. In addition, the font information extracting means 14b extracts the character-specific reference size information from the MBS table 15a also for the basic font, that is, the substitute font, to replace the original font.
  • the font size calculation unit 14c acquires a font size to be performed for the character, and for this purpose, the font size and the original font for the corresponding character in the MBS table 15a are obtained.
  • the standard size information set in the substitute font In this specification, the font sizes of the original font and the substitute font are referred to as the original font size and the substitute font size, respectively.
  • the letter 'A' which is set to font size 16 in the electronic document, is implemented as the original font, it is represented by 126.4 MBS on the screen.
  • the ratio between the original font and the replacement font is obtained for the letter 'A', and the ratio is multiplied by the original font size set for the letter 'A' in the electronic document.
  • the replacement font results in a font size of 18 or 19, which is the same as the previous calculation result.
  • one letter 'A' is taken as an example, but the same method is applied to other letters B, C, or the like (1, 2, 3, etc.), and special symbols and letters (, ⁇ , etc.). Apply.
  • the font implementing means 14d configures the screen by utilizing the substitute font and the substitute font size for each character when the electronic document is implemented in the input / output unit 11.
  • the principle is to perform the above process individually on all text in an electronic document, but if the overall responsiveness is less than the computing power due to the high computing load, then layout-sensitive objects (e.g. tables, spaces, paragraphs with consecutive inputs) in the document It can be implemented to selectively apply to only part).
  • the font implementing means 14d simply expresses on the input / output unit 11 as a substitute font when it is determined by the font information extracting means 14b that the reference size information is not extractable from the MBS table 15a. .
  • an appropriate alternative application program Can open the electronic document.
  • an MS Word Viewer can be executed instead to open the docx document.
  • the storage unit 15 is a space for storing various codes and data for the operation of the terminal control unit 13, and in particular, stores the MBS table 15a for various fonts.
  • the storage unit 15 is not limited to a form embedded in the user terminal 10, and a method of accessing through a network is also possible.
  • the document viewer application 16 represents a set of various applications for opening an electronic document and displaying it on the input / output unit 11.
  • FIG. 5 is a flowchart illustrating a process of performing layout maintenance font processing by using the MBS table 15a in the present invention.
  • the MBS engine module 14 receives the font list and sets the MBS table 15a for various fonts (S21).
  • the MBS engine module 14 receives the font list from the MBS management server 30 through the communication network 20 and updates the MBS table 15a including the reference size information for each character.
  • the MBS engine module 14 continuously receives the font list, and accordingly prepares the MBS table 15a for each font.
  • the font data (binary data) for each font is not stored in the storage unit 15 of the user terminal 10, but the MBS table 15a is provided. Meanwhile, the MBS table 15a is recorded in the storage unit 15 when the user terminal 10 is first manufactured or when the document viewer application 16 is first installed, and may not be updated thereafter. What is important is that the user terminal 10 establishes the MBS table 15a.
  • the document viewer application 16 of the user terminal 10 opens a specific electronic document (S22).
  • the MBS engine module 14 extracts the original font used in the electronic document and selects a substitute font to replace the original font.
  • the MBS engine module 14 obtains reference size information of the original font used in the electronic document from the MBS table 15a (S23). At this time, the MBS engine module 14 also obtains reference size information on the substitute font from the MBS table 15a.
  • the MBS engine module 14 determines whether information on the original font can be extracted from the MBS table 15a (S24).
  • the MBS engine module 14 implements the basic font as a substitute font (S25). In this case, variations of the document layout are expected.
  • the font process according to the present invention is started for the object in which all characters or layouts included in the electronic document are sensitive (S26).
  • the MBS engine module 14 implements each character of the electronic document, the reference size information (MBS value) of the original font for the character, the reference size information (MBS value) of the substitute font, the original set in the character
  • the font size of the substitute font that is, the substitute font size, which allows the display layout to be maintained approximately by reflecting the font size comprehensively is calculated (S27).
  • the specific method for calculating the alternative font size that allows the display layout to be maintained approximately from this information has been described above in detail with respect to the font size calculating means 14c.
  • the MBS engine module 14 sets the substitute font and substitute font size for the corresponding character of the electronic document (S28). Through this, the corresponding character is displayed on the screen using the set substitute font and substitute font size.
  • FIG. 6 is a flowchart illustrating another embodiment of a process of performing layout maintenance font processing by using the MBS table 15a in the present invention.
  • the document viewer application 16 of the user terminal 10 opens a specific electronic document (S31).
  • the MBS engine module 14 extracts the original font used in the electronic document and selects a substitute font to replace the original font.
  • the MBS engine module 14 of the user terminal 10 requests the MBS management server 30 for the MBS table for the original font used in the electronic document, and correspondingly, the MBS management server 30.
  • MBS table of the original font is provided from (S32).
  • the MBS management server 30 finds the MBS table from the database 31 and provides the MBS table to the user terminal 10.
  • the MBS management server 30 may be integrated with the font management terminal 40 to generate the MBS table in real time and provide the MBS table to the user terminal 10 in real time. Can be configured to
  • the MBS engine module 14 obtains reference size information on the original font used in the electronic document and the replacement font for replacing the same from the MBS table 15a (S33). At this time, the MBS table 15a for the original font utilizes the data provided in step S32.
  • the MBS table 15a for the substitute font may be configured to be provided by requesting further to the MBS management server 30 in step S32, more preferably is configured to be embedded in the user terminal 10. Since the user terminal 10 operates two or three kinds of substitute fonts, the MBS table for these substitute fonts is built in the MBS table 15a of the storage unit 15 in advance. Even when the MBS table 15a for the substitute font is provided from the MBS management server 30, the MBS table 15a is preferably configured to be secured in advance before the electronic document is opened.
  • step S33 Since the processing after step S33 is the same as described above with reference to FIG. 5, a detailed description thereof will be omitted.
  • the invention can also be embodied in the form of computer readable codes on a computer readable recording medium.
  • the computer-readable recording medium includes all kinds of recording devices in which data that can be read by a computer system is stored.
  • Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage, and the like, which may be implemented in the form of a carrier wave (eg, transmission over the Internet). .
  • the computer readable recording medium can also store and execute computer readable code in a distributed manner over networked computer systems. And functional programs, codes, and code segments for implementing the present invention can be easily inferred by programmers in the technical field to which the present invention belongs.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The present invention relates to font processing technology for maintaining an electronic document layout and, more particularly, to font processing technology that maintains the original fonts used in source electronic documents (such as Word files and presentation files) to the greatest extent possible when the documents are opened in a user terminal (such as a smartphone, a smart pad, or a digital set-top box), even if the original fonts are not installed in an application program of the user terminal. According to the present invention, when an electronic document is opened in a user terminal, the source document layout is maximally maintained so that the intentions of the document creator are accurately represented and convenience can be accordingly provided in that the degree of recognition and readability of said documents can be improved. Also, according to the present invention, not only can various costs (costs for font layout and high-capacity flash memory) that were required in the prior art for integrating many different kinds of font data be reduced, but font data does not need to be loaded, by means of which the effect of improving response when opening an electronic document can be expected.

Description

전자문서 레이아웃 유지를 위한 폰트처리 방법Font Processing Method for Maintaining Electronic Document Layout
본 발명은 전자문서 레이아웃 유지를 위한 폰트처리 기술에 관한 것으로, 더욱 상세하게는 사용자 단말(예: 스마트폰, 스마트패드, 디지털 셋톱박스 등)에서 전자문서(예: 워드 파일, 프리젠테이션 파일 등)를 오픈할 때 이들 전자문서에서 사용되었던 원본 폰트가 사용자 단말의 응용프로그램에 설치되어 있지 않은 경우에도 원본의 레이아웃을 최대한 유지해주는 폰트처리 기술에 관한 것이다.The present invention relates to a font processing technology for maintaining an electronic document layout, and more particularly, to an electronic document (eg, a word file, a presentation file, etc.) in a user terminal (eg, a smartphone, a smart pad, a digital set-top box, etc.). The present invention relates to a font processing technique that maintains the layout of the original even when the original font used in these electronic documents is not installed in the application program of the user terminal.
스마트폰, 스마트패드, 디지털 셋톱박스 등과 같은 각종 사용자 단말에서 응용프로그램(POLARIS OFFICE 프로그램)을 실행하여 워드 파일(DOC 파일)이나 프리젠테이션 파일(PPT 파일) 등의 전자문서를 오픈할 때에는 전자문서에 포함된 각 문자의 폰트를 사용하여 화면에 출력함을 기본으로 한다.When opening an electronic document such as a word file (DOC file) or a presentation file (PPT file) by executing an application program (POLARIS OFFICE program) on various user terminals such as a smart phone, smart pad, digital set-top box, etc. It defaults to display on the screen using font of each character included.
그러나 전자 문서에 사용된 원래의 폰트, 즉 원본 폰트가 사용자 단말에 설치되어 있지 않아 활용이 불가능한 경우에는 다양한 구현방식이 가능하다. 개인용컴퓨터와 유사한 사용환경이라면 원본 폰트의 폰트데이터를 초고속 인터넷을 통해 실시간으로 다운로드하여 적용할 수 있다.However, if the original font used in the electronic document, that is, the original font is not installed in the user terminal and cannot be used, various implementation methods are possible. If the environment is similar to a personal computer, the font data of the original font can be downloaded and applied in real time through the high-speed Internet.
하지만 이러한 방식은 스마트폰이나 스마트패드와 같은 단말에서는 적용하기가 곤란한데, 이는 인터넷 통신환경이 대체로 느리고 사용자 응답성이 저하되는 상황을 사용자가 원하지 않기 때문이다. 그에 따라, 이들 단말에서는 비슷한 폰트를 검색하거나 혹은 기본 폰트를 대체 폰트로 사용하여 화면에 구현한다. 이때 원본 폰트와 대체 폰트는 각 문자(캐릭터)의 크기가 상이하기 때문에 문서 레이아웃이 달라지는 문제가 발생한다.However, this method is difficult to apply in a terminal such as a smart phone or smart pad, because the user does not want a situation in which the Internet communication environment is generally slow and user responsiveness is degraded. Accordingly, these terminals search similar fonts or implement them on the screen using the default font as a substitute font. In this case, the original font and the substitute font have a different document layout because the size of each character (character) is different.
이러한 현상이 발생하는 횟수를 감소시키기 위해 종래에는 최대한 많은 폰트데이터를 사용자 단말에 내장하려는 시도가 있다. 하지만 이를 위해서는 폰트 라이선스를 위해 상당한 비용이 추가로 발생할 뿐만 아니라 사용자 단말에 실장할 수 있는 바이너리 데이터의 크기가 제한되기 때문에 몇 개밖에 내장할 수가 없어 본질적으로 불완전한 접근이 되는 문제점이 있다.In order to reduce the number of times this phenomenon occurs, there is an attempt to embed as much font data in the user terminal as possible. However, this does not only incur a considerable cost for the font license, but also limits the size of binary data that can be mounted on the user terminal.
[관련기술문헌][Related Technical Documents]
1. 폰트데이터 제공 또는 이용 방법, 폰트데이터 제공 장치 및 폰트데이터를 사용하는 통신 단말(대한민국 특허출원 제10-2008-0087441호)1. Method of providing or using font data, apparatus for providing font data, and communication terminal using font data (Korean Patent Application No. 10-2008-0087441)
2. 폰트메시지 서비스를 제공하는 이동통신 단말, 메시지서비스 장치 및 그 서비스 제공 방법(대한민국 특허출원 제10-2007-0101655호)2. A mobile communication terminal for providing a font message service, a message service device, and a method of providing the service thereof (Korean Patent Application No. 10-2007-0101655)
본 발명의 목적은 전자문서 레이아웃 유지를 위한 폰트처리 기술을 제공하는 것이다. 더욱 상세하게는, 본 발명의 목적은 사용자 단말(예: 스마트폰, 스마트패드, 디지털 셋톱박스 등)에서 전자문서(예: 워드 파일, 프리젠테이션 파일 등)를 오픈할 때 이들 전자문서에서 사용되었던 원본 폰트가 사용자 단말의 응용프로그램에 설치되어 있지 않은 경우에도 원본의 레이아웃을 최대한 유지해주는 폰트처리 기술을 제공하는 것이다.It is an object of the present invention to provide a font processing technique for maintaining an electronic document layout. More specifically, an object of the present invention was to use an electronic document (eg, a word file, a presentation file, etc.) when opening an electronic document (eg, a word file, a presentation file, etc.) on a user terminal (eg, a smartphone, smart pad, digital set-top box, etc.). Even if the original font is not installed in the application of the user terminal to provide a font processing technology that maintains the layout of the original to the maximum.
이러한 과제를 달성하기 위한 본 발명에 따른 전자문서 레이아웃 유지를 위한 폰트처리 방법은, 사용자 단말의 MBS 엔진모듈이 여러 폰트에 대한 문자별 기준크기 정보를 포함하는 MBS 테이블을 설정하는 제 1 단계; 사용자 단말의 문서뷰어 어플이 특정 전자문서를 오픈하는 제 2 단계; MBS 엔진모듈은 전자문서에서 사용된 원본 폰트를 추출하고, 원본 폰트를 대신할 대체 폰트를 선정하는 제 3 단계; MBS 엔진모듈이 전자문서에 사용된 원본 폰트와 대체 폰트의 기준크기 정보를 MBS 테이블로부터 획득하는 제 4 단계; 전자문서에 포함되는 문자에 대해 원본 폰트의 기준크기 정보와 원본폰트 사이즈에는 비례하고 대체 폰트의 기준크기 정보에는 반비례하도록 반영하여 문자의 디스플레이 레이아웃을 근사적으로 유지시키는 대체폰트 사이즈를 연산하는 제 5 단계; 문자에 대해 대체 폰트와 대체폰트 사이즈를 설정하는 제 6 단계;를 포함하여 구성된다.According to an aspect of the present invention, there is provided a font processing method for maintaining an electronic document layout, the method including: a first step of setting, by an MBS engine module of a user terminal, MBS tables including reference size information of characters for various fonts; A second step of opening a specific electronic document by the document viewer application of the user terminal; The MBS engine module extracts the original font used in the electronic document and selects a substitute font to replace the original font; A fourth step of obtaining, by the MBS engine module, reference size information of the original font and the substitute font used in the electronic document from the MBS table; A fifth font that calculates an alternative font size that is approximately proportional to the reference size information and the original font size of the original font and inversely proportional to the reference size information of the alternative font for the characters included in the electronic document. step; And a sixth step of setting a substitute font and a substitute font size for the character.
본 발명에 따른 전자문서 레이아웃 유지를 위한 폰트처리 방법의 다른 구현예로서, 사용자 단말의 MBS 엔진모듈이 사용자 단말에서 운용하는 대체 폰트에 대한 MBS 테이블을 설정하는 제 1 단계; 사용자 단말의 문서뷰어 어플이 특정 전자문서를 오픈함에 따라 MBS 엔진모듈이 전자문서에서 사용된 원본 폰트를 추출하고 원본 폰트를 대신할 대체 폰트를 선정하는 제 2 단계; MBS 엔진모듈이 원본 폰트에 대한 MBS 테이블을 MBS 관리서버로 요청하여 제공받는 제 3 단계; MBS 엔진모듈이 전자문서에 사용된 원본 폰트와 대체 폰트의 기준크기 정보를 MBS 테이블로부터 획득하는 제 4 단계; 전자문서에 포함되는 문자에 대해 원본 폰트의 기준크기 정보와 원본폰트 사이즈에는 비례하고 대체 폰트의 기준크기 정보에는 반비례하도록 반영하여 문자의 디스플레이 레이아웃을 근사적으로 유지시키는 대체폰트 사이즈를 연산하는 제 5 단계; 문자에 대해 대체 폰트와 대체폰트 사이즈를 설정하는 제 6 단계;를 포함하여 구성될 수도 있다.As another embodiment of the font processing method for maintaining the layout of the electronic document according to the present invention, the MBS engine module of the user terminal to set the MBS table for the substitute font that is operated in the user terminal; A second step of the MBS engine module extracting the original font used in the electronic document and selecting a substitute font to replace the original font as the document viewer application of the user terminal opens the specific electronic document; A third step of receiving, by the MBS engine module, a request for the MBS table for the original font to the MBS management server; A fourth step of obtaining, by the MBS engine module, reference size information of the original font and the substitute font used in the electronic document from the MBS table; A fifth font that calculates an alternative font size that is approximately proportional to the reference size information and the original font size of the original font and inversely proportional to the reference size information of the alternative font for the characters included in the electronic document. step; And a sixth step of setting a substitute font and a substitute font size for the character.
본 발명에서 제 5 단계는, 원본 폰트의 기준크기와 대체 폰트의 기준크기 간의 MBS 비율을 연산하는 단계; 원본폰트 사이즈에 MBS 비율을 곱셈 연산하는 단계; 곱셈 연산 결과로부터 대체폰트 사이즈를 획득하는 단계;를 포함하여 구성될 수 있다. 또한, 본 발명에서 제 5 단계는, 원본 폰트의 기준크기와 원본폰트 사이즈를 곱셈 연산하여 표시사이즈를 획득하는 단계; 표시사이즈에 대체 폰트의 기준크기를 나눗셈 연산하는 단계; 나눗셈 연산 결과로부터 대체폰트 사이즈를 획득하는 단계;를 포함하여 구성될 수도 있다.In the present invention, the fifth step includes the steps of calculating the MBS ratio between the reference size of the original font and the reference size of the replacement font; Multiplying the original font size by the MBS ratio; And obtaining an alternative font size from a multiplication operation result. Also, in the present invention, the fifth step includes: multiplying the reference size of the original font and the original font size to obtain a display size; Dividing a reference size of the substitute font by the display size; Obtaining a substitute font size from a division operation result.
한편, 본 발명에서 위 문자는 전자문서에서 레이아웃에 민감한 객체로 미리 선정된 범위에 속하는 것으로 선별되는 것이 바람직하다. 또한, 본 발명에서 제 1 단계는 MBS 엔진모듈이 MBS 관리서버로부터 폰트리스트를 수신하여 여러 폰트에 대한 문자별 기준크기 정보를 포함하는 MBS 테이블을 설정 및 업데이트하는 것이 바람직하다.On the other hand, in the present invention, it is preferable that the above characters are selected as belonging to a range previously selected as an object sensitive to layout in an electronic document. In the first step of the present invention, it is preferable that the MBS engine module receives the font list from the MBS management server and sets and updates the MBS table including the reference size information for each font for various fonts.
또한 본 발명에 따른 전자문서 레이아웃 유지를 위한 폰트처리 방법은, 제 1 단계 이전에 수행되는, 폰트관리 단말이 전자문서 작성에 사용되는 각종 폰트에 대해 문자별 기준크기 정보를 정리하여 MBS 테이블을 생성하는 단계; 폰트관리 단말이 그 생성된 MBS 테이블을 통신망을 통해 MBS 관리서버로 업로드 제공하는 단계; MBS 관리서버가 그 업로드된 MBS 테이블을 취합하여 폰트리스트를 유지 관리하는 단계; MBS 관리서버가 외부 사용자 단말로부터의 요청에 따른 폰트리스트의 제공을 대기하는 단계;를 더 포함하여 구성될 수 있다.In addition, in the font processing method for maintaining the layout of the electronic document according to the present invention, the font management terminal, which is performed before the first step, generates MBS table by arranging the reference size information for each font for various fonts used for creating the electronic document. Making; Providing, by the font management terminal, uploading the generated MBS table to the MBS management server through a communication network; The MBS management server collecting the uploaded MBS table and maintaining a font list; Waiting for the MBS management server to provide a font list in response to a request from an external user terminal.
한편, 본 발명에 따른 컴퓨터로 판독가능한 기록매체는 이상과 같은 전자문서 레이아웃 유지를 위한 폰트처리 방법을 수행하기 위한 폰트처리 프로그램을 기록한 것이다.On the other hand, the computer-readable recording medium according to the present invention records a font processing program for performing the font processing method for maintaining the electronic document layout as described above.
본 발명에 따르면 사용자 단말에서 전자문서를 오픈할 때 원본 문서의 레이아웃이 최대한 유지되므로 문서 작성자의 의도가 정확하게 표현되고 그에 따라 시인성과 가독성을 개선할 수 있는 편의를 제공한다.According to the present invention, when the electronic document is opened in the user terminal, the layout of the original document is maintained to the maximum, thereby providing the convenience of accurately expressing the intention of the document creator and thereby improving visibility and readability.
또한, 본 발명에 따르면 종래기술에서 여러 폰트데이터를 내장하기 위해 소요되었던 각종 비용(폰트 라이센싱 비용, 대용량 플래시메모리 비용)을 절감할 수 있을 뿐만 아니라 폰트 데이터를 로딩할 필요가 없어 전자문서를 오픈할 때 응답성을 개선하는 효과도 기대할 수 있다.In addition, according to the present invention, not only can various costs (font licensing cost, large-capacity flash memory cost) required to embed various font data in the prior art can be saved, and there is no need to load font data to open an electronic document. The effect of improving responsiveness can also be expected.
도 1은 본 발명에 따른 전자문서 레이아웃 유지를 위한 폰트처리 방법이 구현되는 전체 시스템을 나타내는 도면.1 is a diagram showing an overall system in which a font processing method for maintaining an electronic document layout according to the present invention is implemented.
도 2는 본 발명에 따른 전자문서 레이아웃 유지를 위한 폰트처리 방법이 구현되는 폰트관리 단말의 구성을 나타내는 도면.2 is a diagram illustrating a configuration of a font management terminal in which a font processing method for maintaining an electronic document layout according to the present invention is implemented;
도 3은 본 발명에서 MBS 테이블과 폰트리스트를 생성하는 과정을 나타내는 순서도.3 is a flowchart illustrating a process of generating an MBS table and a font list in the present invention.
도 4는 본 발명에 따른 전자문서 레이아웃 유지를 위한 폰트처리 방법이 구현되는 사용자 단말의 구성을 나타내는 도면.4 is a diagram illustrating a configuration of a user terminal in which a font processing method for maintaining an electronic document layout according to the present invention is implemented.
도 5는 본 발명에서 MBS 테이블을 활용하여 레이아웃 유지 폰트처리를 수행하는 과정을 나타내는 순서도.5 is a flowchart illustrating a process of performing layout maintenance font processing using the MBS table in the present invention.
도 6은 본 발명에서 MBS 테이블을 활용하여 레이아웃 유지 폰트처리를 수행하는 과정의 다른 실시예를 나타내는 순서도.FIG. 6 is a flowchart illustrating another embodiment of a process of performing layout maintenance font processing using an MBS table in the present invention. FIG.
이하에서는 도면을 참조하여 본 발명을 상세하게 설명한다.Hereinafter, with reference to the drawings will be described in detail the present invention.
도 1은 본 발명에 따른 전자문서 레이아웃 유지를 위한 폰트처리 방법이 구현되는 전체 시스템을 나타내는 도면이다. 도 1을 참조하면, 사용자 단말(10)은 통신망(20)을 통해 MBS 관리서버(30)과 데이터 송수신을 수행하며, MBS 관리서버(30)는 데이터베이스(31)를 운용한다.1 is a diagram illustrating an entire system in which a font processing method for maintaining an electronic document layout according to the present invention is implemented. Referring to FIG. 1, the user terminal 10 performs data transmission and reception with the MBS management server 30 through the communication network 20, and the MBS management server 30 operates a database 31.
사용자 단말(10)은 일반 사용자가 전자문서를 오픈하여 내용을 확인하는 데에 활용하는 장치이다. 일반적으로 스마트폰, 스마트패드, 디지털 셋톱박스 등의 형태로 이루어지는데, 문서뷰어 어플리케이션이 설치되어 전자문서를 오픈하여 디스플레이 화면에 구현한다.The user terminal 10 is a device that a general user uses to open an electronic document and check contents. In general, the smart phone, smart pad, digital set-top box, etc., the document viewer application is installed to open the electronic document to implement on the display screen.
폰트관리 단말(40)은 폰트에 관련된 데이터를 생성하여 제공한다. 폰트관리 단말(40)은 특정 폰트를 저작한 업체에서 관리하는 컴퓨터가 될 수도 있고, 전자문서를 저작한 사람이 관리하는 컴퓨터가 될 수도 있고, 안드로이드 스마트폰을 제작하는 업체(예: 삼성전자, 애플)가 관리하는 컴퓨터가 될 수도 있으며, 본 발명의 기술이 반영된 전자문서 뷰어 어플리케이션을 공급하는 업체(예: 인프라웨어)가 운영하는 컴퓨터가 될 수도 있다.The font management terminal 40 generates and provides data related to the font. The font management terminal 40 may be a computer managed by a company that has authored a particular font, may be a computer managed by a person who has authored an electronic document, or a company that manufactures an Android smartphone (eg, Samsung Electronics, It may be a computer managed by Apple, or a computer operated by a company (eg, Infraware) that supplies an electronic document viewer application reflecting the technology of the present invention.
폰트관리 단말(40)은 폰트관련 데이터로서 MBS 테이블(15a)을 생성하는데, 그 생성된 MBS 테이블(15a)을 공유하기 위해 통신망(20)을 통해 MBS 관리서버(30)로 업로드한다. 이를 위해, 폰트관리 단말(40)에서 실행되는 폰트관리 프로그램은 폰트관련 데이터를 생성하는 기능 외에 MBS 테이블(15a)을 폰트리스트에 등록하기 위한 업로드 메뉴를 마련하는 것이 바람직하다.The font management terminal 40 generates the MBS table 15a as font-related data, and uploads the MBS table 15a to the MBS management server 30 through the communication network 20 to share the generated MBS table 15a. To this end, the font management program executed in the font management terminal 40 preferably provides an upload menu for registering the MBS table 15a in the font list in addition to the function of generating font-related data.
MBS 관리서버(30)는 데이터베이스(31)를 구비하여 폰트관리 단말(40)로부터 업로드되는 폰트관련 데이터(즉, MBS 테이블)을 폰트리스트로 관리하고, 사용자 단말(10)에 대해 폰트관련 데이터를 제공한다. MBS 관리서버(30)는 사용자 단말(10)의 성능을 유지관리하는 업체(예: 단말 판매 업체)나 문서뷰어 어플리케이션의 제공 업체에서 관리하는 것이 바람직하다.The MBS management server 30 includes a database 31 to manage font-related data uploaded from the font management terminal 40 (ie, MBS table) in a font list, and manages font-related data for the user terminal 10. to provide. The MBS management server 30 may be managed by a company (eg, terminal sales company) maintaining a performance of the user terminal 10 or a provider of a document viewer application.
한편, 본 발명에서 폰트관리 단말(40)은 MBS 관리서버(30)에 일체로 구현될 수도 있는데, 이 경우 MBS 관리서버(30)는 특정 폰트에 대해 폰트관련 데이터(즉, MBS 테이블)을 생성하는 기능도 구비하게 된다. 그에 따라, 사용자 단말(10)의 요청에 대응하여 MBS 관리서버(30)가 특정 폰트에 대한 MBS 테이블(15a)을 실시간으로 생성하여 제공하는 것도 가능해진다.Meanwhile, in the present invention, the font management terminal 40 may be integrally implemented in the MBS management server 30. In this case, the MBS management server 30 generates font-related data (ie, MBS table) for a specific font. It also has a function to. Accordingly, in response to a request of the user terminal 10, the MBS management server 30 may generate and provide an MBS table 15a for a specific font in real time.
도 2는 본 발명에 따른 전자문서 레이아웃 유지를 위한 폰트처리 방법이 구현되는 폰트관리 단말(40)의 구성을 나타내는 도면이다. 도 2를 참조하면, 폰트관리 단말(40)은 전자문서에서 사용되는 각종의 원본 폰트에 관련된 데이터를 생성하여 제공하는 구성요소로서, 상세하게는 입출력부(41), 송수신부(42), 폰트관리 제어부(43), MBS 생성모듈(44), 저장부(45)를 포함한다. MBS 생성모듈(44)은 MBS 정보생성 수단(44a)과 MBS 업로드수단(44b)을 구비하는데, 이하에서는 MBS 생성모듈(44)의 구성을 중심으로 폰트관리 단말(40)에 대해서 구체적으로 살펴보도록 한다.2 is a diagram illustrating a configuration of a font management terminal 40 in which a font processing method for maintaining an electronic document layout according to the present invention is implemented. Referring to FIG. 2, the font management terminal 40 is a component that generates and provides data related to various original fonts used in an electronic document. In detail, the input / output unit 41, the transmission / reception unit 42, and the font are provided. The management control unit 43, the MBS generation module 44, and the storage unit 45 are included. The MBS generation module 44 includes an MBS information generating means 44a and an MBS uploading means 44b. Hereinafter, the font management terminal 40 will be described in detail based on the configuration of the MBS generating module 44. do.
MBS 정보생성 수단(44a)은 원본 전자문서에서 사용되는 각종의 폰트에 대해 MBS 테이블(45a)을 생성하는데, MBS 테이블(45a)에는 해당 폰트에 대해 문자(캐릭터)별 기준크기 정보(reference size information)가 포함되어 있다. 이때, MBS 테이블(45a)은 폰트별로 마련되는데, MBS 테이블(45a)에 포함되는 정보는 해당 폰트에서 각 문자별로 화면에 표현된 경우의 표시사이즈에 대응되는 정보이다. 이때, 폰트사이즈와 화면해상도는 기준값(예: 폰트사이즈는 10, 해상도는 320×240)으로 설정되는 것이 바람직하다.The MBS information generating means 44a generates the MBS table 45a for various fonts used in the original electronic document. The MBS table 45a includes reference size information for each character (character) for the font. ) Is included. In this case, the MBS table 45a is provided for each font, and the information included in the MBS table 45a is information corresponding to the display size when the character is displayed on the screen for each character in the corresponding font. In this case, the font size and the screen resolution are preferably set to a reference value (eg, font size is 10 and resolution is 320 × 240).
한편 본 발명에서 문자 크기의 단위로는 트윕(twip)을 가정한다. 트윕은 해상도(dpi)에 따라 매핑하는 방법으로 1 트윕은 1 인치를 1440으로 나눈 값이며, 일반적인 윈도우 96 dpi의 한 픽셀당 트윕은 1440/96으로 15 트윕이다. MBS 엔진모듈(14)은 특정 폰트의 특정 문자(예: Arial 폰트의 문자 'A')에 대한 그래픽 처리를 통해 트윕 단위의 사이즈를 얻으며, 디스플레이 화면에 표시할 때에는 이를 내림(truncate) 또는 반올림해서 픽셀 단위로 구현한다. 문자 'A'의 경우를 예로 들면 사이즈가 150 트윕이면 10 픽셀(150/15 = 10), 165 트윕이면 11 픽셀(165/15 = 11), 154 트윕이면 10 픽셀(154/15 = 10.27)로 처리한다.Meanwhile, in the present invention, a twip is assumed as a unit of the character size. Twips are mapped according to resolution (dpi), with 1 twipe divided by 1 inch by 1440, and a typical tweak per pixel of Windows 96 dpi is 1440/96, 15 twips. The MBS engine module 14 obtains the size of the twips through graphic processing for a specific character of a specific font (for example, the letter 'A' of an Arial font), and when it is displayed on the display screen, truncates or rounds it up. Implement pixel by pixel. For example, for the letter 'A', the size would be 10 pixels (150/15 = 10) if the size was 150 twips, 11 pixels (165/15 = 11) if the size was 165, or 10 pixels (154/15 = 10.27) if the 154 twips were used. Process.
그에 따라 본 발명에서는 정밀한 제어를 위해 MBS 테이블(45a)로 입력되는 문자 크기를 트윕 단위로 설정할 수 있다. 다만, 트윕 단위로 하면 연산에 사용되는 숫자들이 너무 커져 컴퓨팅 로드가 과다할 우려가 있으므로, 이를 해소하기 위해 중간 정도의 단위(예: 1 MBS(Mapping Base Size) = 200 트윕)를 정의하여 사용하는 것이 바람직하다.Accordingly, in the present invention, the text size input to the MBS table 45a may be set in a twips unit for precise control. However, if the twips unit is used, the numbers used in the calculation may be too large, resulting in excessive computing load. Therefore, to solve this problem, a medium unit (for example, 1 MBS (Mapping Base Size) = 200 twips) is used. It is preferable.
또한, 문자의 가로/세로 사이즈를 모두 다룰 수도 있으나 전자문서 레이아웃은 가로 사이즈에 의해 크게 좌우되므로 MBS 테이블(45a)은 가로 사이즈만 다루도록 구성될 수도 있다. In addition, although both the horizontal and vertical sizes of the characters may be handled, the layout of the electronic document largely depends on the horizontal size, so the MBS table 45a may be configured to handle only the horizontal size.
또한, 문자의 기준크기 정보로서 물리적 수치(예: 87 트윕, 2.5 MBS)를 기재할 수도 있으나, 기본 폰트(기준 폰트)에 대한 상대 비율(예: 1.2배, 0.8배)를 입력할 수도 있다. 이 경우에는 사용자 단말(10)에서 전자문서를 화면에 표시할 때 소수점 계산을 다수 수행하는데, 사용자 단말(10)의 소수점 계산 능력을 감안하여 정보 표현 방식을 선택한다.In addition, a physical value (eg, 87 twips, 2.5 MBS) may be described as reference size information of a character, but a relative ratio (eg, 1.2 times, 0.8 times) to a basic font (reference font) may be input. In this case, when the electronic terminal displays the electronic document on the screen, a large number of decimal point calculations are performed, and an information expression method is selected in consideration of the decimal point calculating capability of the user terminal 10.
MBS 업로드수단(44b)은 MBS 정보생성 수단(44a)이 생성한 MBS 테이블(45a)을 통신망(20)을 통해 MBS 관리서버(30)로 전송하며 이를 통해 데이터베이스(31) 상의 폰트리스트에 등록되도록 한다. MBS 관리서버(30)는 각종 폰트에 대한 MBS 테이블(45a)을 폰트리스트로 유지 관리한다.The MBS uploading means 44b transmits the MBS table 45a generated by the MBS information generating means 44a to the MBS management server 30 through the communication network 20 and is registered in the font list on the database 31 through this. do. The MBS management server 30 maintains the MBS table 45a for various fonts as a font list.
즉, 폰트관리 단말(40)에서는 개별 폰트에 대한 MBS 테이블(45a)을 생성하여 MBS 관리서버(30)로 전송하는데, MBS 관리서버(30)는 이들 MBS 테이블(45a)을 취합하여 폰트리스트를 유지관리한다. 예를 들어, 폰트리스트에는 100여가지 폰트에 대한 MBS 테이블(45a)이 포함되어 있다. MBS 관리서버(30)에서 유지관리하는 폰트리스트는 사용자 단말(10)로 제공되며, 그에 따라 사용자 단말(10)은 2~3 가지 기본 폰트에 대한 폰트데이터와 함께 100여가지 폰트에 대한 폰트리스트를 구비하여 모든 폰트에 대응하게 된다.That is, the font management terminal 40 generates an MBS table 45a for individual fonts and transmits the MBS table 45a to the MBS management server 30. The MBS management server 30 collects these MBS tables 45a to collect a font list. Maintain. For example, the font list includes the MBS table 45a for about 100 fonts. The font list maintained by the MBS management server 30 is provided to the user terminal 10. Accordingly, the user terminal 10 includes a font list for about 100 fonts together with font data for 2 to 3 basic fonts. Corresponding to all fonts provided with.
저장부(45)는 폰트관리 단말(40)에 대해 저장공간을 제공하기 위한 구성으로 본 발명에서는 MBS 테이블(45a)을 임시 저장한다. MBS 테이블(45a)은 특정 폰트에서 각 문자별로 디스플레이 화면에 구현된 경우의 크기에 대한 정보를 표로 나타낸 것으로, 이때, 폰트사이즈와 화면해상도는 기준값(예: 폰트사이즈 10, 해상도 320×240)으로 설정되는 것이 바람직하다.Storage unit 45 is a configuration for providing a storage space for the font management terminal 40 in the present invention temporarily stores the MBS table (45a). The MBS table 45a shows information on the size of each character in the display screen when it is implemented on the display screen. In this case, the font size and the screen resolution are set as reference values (eg, font size 10, resolution 320 × 240). It is preferable to be set.
한편, 폰트관리 제어부(43)는 MBS 생성모듈(44)에서 이루어지는 MBS 테이블(45a)의 생성 및 업로드를 제어한다.On the other hand, the font management control unit 43 controls the generation and upload of the MBS table 45a made by the MBS generation module 44.
도 3은 본 발명에서 MBS 테이블(45a)을 생성하여 MBS 관리서버(30)에서 폰트리스트를 생성하는 과정을 나타내는 순서도이다.3 is a flowchart illustrating a process of generating a font list in the MBS management server 30 by generating the MBS table 45a in the present invention.
먼저, 폰트관리 단말(40)의 MBS 생성모듈(44)은 전자문서 작성에 사용되는 각종 폰트에 대해 문자별 크기를 구하여 테이블로 정리함으로써 폰트별 MBS 테이블(45a)을 생성한다(S11). 한편, MBS 테이블(45a)에는 해당 폰트에 대해 추천할만한 대체 폰트 정보도 함께 저장되는 것이 바람직하다.First, the MBS generation module 44 of the font management terminal 40 generates the font-specific MBS table 45a by obtaining the size of each font for the fonts used for creating the electronic document and arranging them into a table (S11). On the other hand, the MBS table 45a is preferably stored with the recommended replacement font information for the font.
단계(S11) 이후, MBS 생성모듈(44)은 MBS 테이블(45a)을 통신망(20)을 통해 MBS 관리서버(30)로 전송한다(S12).After step S11, the MBS generation module 44 transmits the MBS table 45a to the MBS management server 30 through the communication network 20 (S12).
단계(S12) 이후, MBS 관리서버(30)는 여러 폰트관리 단말(40)로부터 제공되는 MBS 테이블(45a)을 취합하여 데이터베이스(31) 상에서 폰트리스트를 유지 관리한다(S13).After step S12, the MBS management server 30 collects the MBS table 45a provided from various font management terminals 40 and maintains the font list on the database 31 (S13).
단계(S13) 이후, MBS 관리서버(30)는 외부의 사용자 단말(10)로부터의 요청에 따른 폰트리스트의 제공을 대기한다(S14). 이를 통해, 요청에 따라 폰트리스트는 MBS 관리서버(30)로부터 사용자 단말(10)로 제공되어 사용자 단말(10)이 전자문서를 오픈할 때 레이아웃 유지를 위한 폰트처리 프로세스에 활용되는데, 이에 대해서는 후술한다.After the step S13, the MBS management server 30 waits for the provision of the font list in response to a request from the external user terminal 10 (S14). Through this, the font list is provided to the user terminal 10 from the MBS management server 30 according to the request and is utilized in the font processing process for maintaining the layout when the user terminal 10 opens the electronic document, which will be described later. do.
도 4는 본 발명에 따른 전자문서 레이아웃 유지를 위한 폰트처리 방법이 구현되는 사용자 단말(10)의 구성을 나타내는 도면이다. 도 4를 참조하면, 사용자 단말(10)은 입출력부(11), 송수신부(12), 단말제어부(13), MBS 엔진모듈(14), 저장부(15), 문서뷰어 어플(16)을 포함한다. MBS 엔진모듈(14)은 폰트리스트 공유수단(14a), 폰트정보 추출수단(14b), 폰트사이즈 연산수단(14c), 폰트사이즈 연산수단(14c), 폰트 구현수단(14d)을 구비하고, 저장부(15)에는 각종 폰트에 대한 MBS 테이블(15a)이 마련되어 있다. 이하에서는 MBS 엔진모듈(14)의 구성을 중심으로 사용자 단말(10)에 대해서 구체적으로 살펴보도록 한다.4 is a diagram illustrating a configuration of a user terminal 10 in which a font processing method for maintaining an electronic document layout according to the present invention is implemented. Referring to FIG. 4, the user terminal 10 includes an input / output unit 11, a transceiver unit 12, a terminal controller 13, an MBS engine module 14, a storage unit 15, and a document viewer application 16. Include. The MBS engine module 14 includes a font list sharing means 14a, a font information extracting means 14b, a font size calculating means 14c, a font size calculating means 14c, and a font implementing means 14d, and stores the same. In the section 15, MBS tables 15a for various fonts are provided. Hereinafter, the user terminal 10 will be described in detail based on the configuration of the MBS engine module 14.
먼저, 폰트리스트 공유수단(14a)은 MBS 관리서버(30)과 관리하는 폰트리스트를 제공받아 각 폰트에 대해 문자별 기준크기 정보를 포함하는 MBS 테이블(15a)을 업데이트한다. 폰트리스트 공유수단(14a)은 MBS 관리서버(30)로부터 폰트리스트를 지속적으로 제공받아 MBS 테이블(15a)을 최신으로 관리하는 것이 바람직한데, 구현 예에 따라서는 사용자 단말(10)의 최초 판매시에 설치된 MBS 테이블(15a)이 지속적으로 사용될 수도 있다. 사용자 단말(10) 폰트별로 폰트데이터(바이너리)는 저장하지 않는 대신 이들 폰트에 대한 MBS 테이블(15a)을 갖추는 것이다. 한편, 본 발명의 목적상 MBS 테이블(15a)에는 대체 폰트(즉, 기본 폰트)에 대한 문자별 크기정보도 함께 저장되어 있다.First, the font list sharing means 14a receives the font list managed by the MBS management server 30 and updates the MBS table 15a including the reference size information for each font for each font. The font list sharing means 14a preferably receives the font list continuously from the MBS management server 30 and manages the MBS table 15a up to date. The MBS table 15a installed in the slot may be used continuously. Instead of storing the font data (binary) for each font of the user terminal 10, the MBS table 15a for these fonts is provided. Meanwhile, for the purpose of the present invention, the MBS table 15a also stores size information for each character of the substitute font (that is, the basic font).
폰트정보 추출수단(14b)에 대해 살펴보면, 사용자 단말(10)이 특정 전자문서를 오픈함에 따라 문서뷰어 어플(16)이 당해 전자문서에서 사용된 각종 폰트를 구현할 때, 폰트정보 추출수단(14b)은 원본 폰트의 문자별 기준크기 정보를 MBS 테이블(15a)로부터 추출한다. 또한, 폰트정보 추출수단(14b)은 원본 폰트를 대신할 기본 폰트, 즉 대체 폰트에 대해서도 문자별 기준크기 정보를 MBS 테이블(15a)로부터 추출한다.Referring to the font information extracting means 14b, when the document viewer application 16 implements various fonts used in the electronic document as the user terminal 10 opens a specific electronic document, the font information extracting means 14b. Extracts the reference size information for each character of the original font from the MBS table 15a. In addition, the font information extracting means 14b extracts the character-specific reference size information from the MBS table 15a also for the basic font, that is, the substitute font, to replace the original font.
폰트사이즈 연산수단(14c)은 전자문서에서 원본 폰트로 설정된 각 문자를 대체 폰트로 표현할 경우에 그 문자에 대해 할 폰트사이즈를 획득하며, 이를 위해 MBS 테이블(15a)에서 당해 문자에 대해 원본 폰트와 대체 폰트에서 설정된 기준크기 정보를 참조한다. 본 명세서에서는 원본 폰트 및 대체 폰트에서의 폰트사이즈를 각각 원본폰트 사이즈와 대체폰트 사이즈라 부른다.When the font size calculating means 14c expresses each character set as the original font in the electronic document as an alternative font, the font size calculation unit 14c acquires a font size to be performed for the character, and for this purpose, the font size and the original font for the corresponding character in the MBS table 15a are obtained. Refer to the standard size information set in the substitute font. In this specification, the font sizes of the original font and the substitute font are referred to as the original font size and the substitute font size, respectively.
예를 들어, 문자 'A'에 대해 원본 폰트는 기준크기 79 MBS로 설정되고 대체 폰트는 기준크기 67 MBS로 설정되어 있다고 가정한다. 전자문서 Happydays.docx에 문자 'A'에 대해 폰트사이즈 16이 설정되어 있다면(즉, 원본폰트 사이즈 = 16) 그 문자의 표시사이즈는 (79 × 1.6 = 126.4)에 의해 126.4 MBS(또는 25280 트윕)이다. 즉, 전자문서에서 폰트사이즈 16으로 설정된 문자 'A'를 원본 폰트로 구현하였다면 화면에 126.4 MBS 사이즈로 표현되는 것이다.For example, suppose that the original font is set to the reference size of 79 MBS and the replacement font is set to the reference size of 67 MBS for the letter 'A'. If font size 16 is set for the letter 'A' in the electronic document Happydays.docx (i.e. original font size = 16), the display size of that character is 126.4 MBS (or 25280 twips) by (79 × 1.6 = 126.4). to be. In other words, if the letter 'A', which is set to font size 16 in the electronic document, is implemented as the original font, it is represented by 126.4 MBS on the screen.
이 문자 'A'를 대체 폰트로 구현한다면 기준크기가 67 MBS이므로 (126.4 ÷ 67 = 1.88)이 되고, 그에 따라 기준 폰트사이즈 10을 고려하여 대체 폰트에서 당해 문자 A에 대해서는 폰트사이즈를 18 또는 19로 설정해야 함을 알 수 있다(즉, 대체폰트 사이즈 = 18 또는 19). 즉, 원본 폰트에서 폰트사이즈 16의 문자 'A'는 대체 폰트에서는 폰트사이즈를 18 또는 19로 설정해주어야 디스플레이 상에서 레이아웃이 유사하게 유지되는 것이다.If the letter 'A' is implemented as a substitute font, the reference size is 67 MBS (126.4 ÷ 67 = 1.88), and accordingly, the font size is set to 18 or 19 for the letter A in the substitute font considering the reference font size 10. It can be seen that it should be set to (i.e. alternative font size = 18 or 19). That is, the letter 'A' of font size 16 in the original font has to be set to 18 or 19 in the alternative font so that the layout remains similar on the display.
동일한 결론을 얻기 위한 다른 방식의 연산도 가능하다. 즉, 문자 'A'에 대해 원본 폰트와 대체 폰트 간의 비율을 구하고, 그 비율을 전자문서에서 문자 'A'에 대해 설정되어 있는 원본폰트 사이즈에 곱하는 것이다. 위의 예에서, 원본 폰트와 대체 폰트 간의 MBS 비율은 1.18이므로(즉, 79 ÷ 67 = 1.18), 이 값을 원본폰트 사이즈 16과 곱셈하면 18.88 이라는 대체폰트 사이즈 값을 얻는다. 그에 따라, 대체 폰트에서는 18 또는 19로 폰트사이즈를 설정해야 한다는 결과를 얻게 되며, 이는 앞에서의 연산 결과와 동일하다.Other operations are possible to achieve the same conclusion. That is, the ratio between the original font and the replacement font is obtained for the letter 'A', and the ratio is multiplied by the original font size set for the letter 'A' in the electronic document. In the above example, the MBS ratio between the original font and the replacement font is 1.18 (ie 79 ÷ 67 = 1.18), so multiplying this by the original font size of 16 yields an alternative font size of 18.88. As a result, the replacement font results in a font size of 18 or 19, which is the same as the previous calculation result.
한편, 본 명세서에서는 하나의 문자 'A'를 예로 들었으나, 그 밖의 문자 B, C 등 또는 숫자(1, 2, 3 등), 그리고 특수기호 및 문자(, ~ ^ 등)에 대해서도 동일한 방식이 적용된다.Meanwhile, in the present specification, one letter 'A' is taken as an example, but the same method is applied to other letters B, C, or the like (1, 2, 3, etc.), and special symbols and letters (, ^, etc.). Apply.
폰트 구현수단(14d)은 전자문서를 입출력부(11)에 구현할 때 각 문자에 대해 대체 폰트와 대체폰트 사이즈를 활용하여 화면을 구성한다. 전자문서의 모든 텍스트에 대해 개별적으로 이상의 과정을 수행하는 것이 원칙이나, 컴퓨팅 성능에 비해 컴퓨팅 로드가 많아서 전체적인 응답성이 떨어지는 경우에는 문서에서 레이아웃에 민감한 객체(예: 표, 스페이스가 연속 입력된 단락 부분)에 대해서만 선별적으로 적용하도록 구현 가능하다.The font implementing means 14d configures the screen by utilizing the substitute font and the substitute font size for each character when the electronic document is implemented in the input / output unit 11. The principle is to perform the above process individually on all text in an electronic document, but if the overall responsiveness is less than the computing power due to the high computing load, then layout-sensitive objects (e.g. tables, spaces, paragraphs with consecutive inputs) in the document It can be implemented to selectively apply to only part).
한편, 폰트 구현수단(14d)은 폰트정보 추출수단(14b)에 의해 원본 폰트에 기준크기 정보가 MBS 테이블(15a)에서 추출 불가능하다고 판단된 경우 대체 폰트로 입출력부(11)상에 단순 표현한다.On the other hand, the font implementing means 14d simply expresses on the input / output unit 11 as a substitute font when it is determined by the font information extracting means 14b that the reference size information is not extractable from the MBS table 15a. .
상기와 같은 구성을 통해 휴대폰, 스마트폰, 스마트패드, PC 단말 등으로 구현 가능한 사용자 단말(10)에서 전자문서를 오픈시 문서포맷에 정확히 일치하는 응용프로그램이 존재하지 않으면 적당한 대체 응용프로그램(alternative software)을 실행하여 전자문서를 오픈 가능하다. 예를 들어, MS워드 2010 프로그램으로 작성된 docx 파일을 사용자 단말(10)에서 오픈할 때, 사용자 단말(10)에 MS워드 2010 프로그램이 없다면 대신 MS 워드뷰어를 실행하여 docx 문서를 오픈할 수 있는 효과를 제공한다. 다만, 대체 응용프로그램에서는 원래의 프로그램에서 사용하였던 폰트가 없을 가능성이 높은데, 이때 상기와 같은 폰트처리를 통해 원본 레이아웃을 최대한 유지한다면 별달리 불만이 없게 된다.When the electronic document is opened in the user terminal 10 that can be implemented as a mobile phone, a smart phone, a smart pad, or a PC terminal through the above configuration, if there is no application program that exactly matches the document format, an appropriate alternative application program (alternative software) Can open the electronic document. For example, when opening a docx file created by the MS Word 2010 program on the user terminal 10, if there is no MS Word 2010 program on the user terminal 10, an MS Word Viewer can be executed instead to open the docx document. To provide. However, in the alternative application program, there is a high possibility that there is no font used in the original program. If the original layout is maintained to the maximum through the font processing as described above, there is no complaint.
한편, 저장부(15)는 단말제어부(13)의 동작을 위한 각종 코드와 데이터를 저장하는 공간이며, 특히 각종 폰트에 대한 MBS 테이블(15a)을 저장한다. 이때, 저장부(15)는 사용자 단말(10)에 내장된 형태에 한정되지 않으며, 네트워크를 통해 액세스하는 방식도 가능하다.On the other hand, the storage unit 15 is a space for storing various codes and data for the operation of the terminal control unit 13, and in particular, stores the MBS table 15a for various fonts. In this case, the storage unit 15 is not limited to a form embedded in the user terminal 10, and a method of accessing through a network is also possible.
또한, 문서뷰어 어플(16)은 전자문서를 오픈하여 입출력부(11)에 표시하는 각종 어플리케이션의 집합을 나타낸다.In addition, the document viewer application 16 represents a set of various applications for opening an electronic document and displaying it on the input / output unit 11.
도 5는 본 발명에서 MBS 테이블(15a)을 활용하여 레이아웃 유지 폰트처리를 수행하는 과정을 나타내는 순서도이다.5 is a flowchart illustrating a process of performing layout maintenance font processing by using the MBS table 15a in the present invention.
먼저, MBS 엔진모듈(14)은 폰트리스트를 제공받아 여러 폰트에 대한 MBS 테이블(15a)을 설정한다(S21). 일 실시예로서 MBS 엔진모듈(14)은 MBS 관리서버(30)로부터 통신망(20)을 통해 폰트리스트를 수신하여 폰트별로 문자별 기준크기 정보를 포함하는 MBS 테이블(15a)을 업데이트한다.First, the MBS engine module 14 receives the font list and sets the MBS table 15a for various fonts (S21). As an example, the MBS engine module 14 receives the font list from the MBS management server 30 through the communication network 20 and updates the MBS table 15a including the reference size information for each character.
즉, MBS 엔진모듈(14)은 폰트리스트를 지속적으로 업데이트 받으며 그에 따라 각 폰트별 MBS 테이블(15a)을 마련해 놓고 있다. 사용자 단말(10)의 저장부(15)에 각 폰트에 대해 폰트데이터(바이너리 데이터)는 저장되어있지 않은 대신 MBS 테이블(15a)을 구비하는 것이다. 한편, MBS 테이블(15a)은 사용자 단말(10)을 최초 제조하거나 문서뷰어 어플(16)을 최초 설치할 때 저장부(15)에 기록되며, 그 이후로 업데이트가 되지않도록 구현할 수도 있다. 중요한 것은 사용자 단말(10)에서 MBS 테이블(15a)을 구축한다는 점이다.That is, the MBS engine module 14 continuously receives the font list, and accordingly prepares the MBS table 15a for each font. The font data (binary data) for each font is not stored in the storage unit 15 of the user terminal 10, but the MBS table 15a is provided. Meanwhile, the MBS table 15a is recorded in the storage unit 15 when the user terminal 10 is first manufactured or when the document viewer application 16 is first installed, and may not be updated thereafter. What is important is that the user terminal 10 establishes the MBS table 15a.
단계(S21) 이후, 사용자 단말(10)의 문서뷰어 어플(16)이 특정 전자문서를 오픈한다(S22). 사용자 단말(10)에서 전자문서를 오픈함에 따라 MBS 엔진모듈(14)은 전자문서에서 사용된 원본 폰트를 추출하는 한편, 그 원본 폰트를 대신할 대체 폰트를 선정한다.After step S21, the document viewer application 16 of the user terminal 10 opens a specific electronic document (S22). As the user terminal 10 opens the electronic document, the MBS engine module 14 extracts the original font used in the electronic document and selects a substitute font to replace the original font.
이때, MBS 엔진모듈(14)은 전자문서에 사용된 원본 폰트에 대한 기준크기 정보를 MBS 테이블(15a)로부터 획득한다(S23). 이때, MBS 엔진모듈(14)은 대체 폰트에 대한 기준크기 정보도 MBS 테이블(15a)로부터 획득한다.At this time, the MBS engine module 14 obtains reference size information of the original font used in the electronic document from the MBS table 15a (S23). At this time, the MBS engine module 14 also obtains reference size information on the substitute font from the MBS table 15a.
단계(S23)의 수행에 따라, MBS 엔진모듈(14)은 원본 폰트에 대한 정보를 MBS 테이블(15a)에서 추출 가능 여부를 판단한다(S24).As the step S23 is performed, the MBS engine module 14 determines whether information on the original font can be extracted from the MBS table 15a (S24).
먼저, 단계(S24)의 판단결과 원본 폰트에 대한 기준크기 정보 추출이 불가능한 경우, MBS 엔진모듈(14)은 대체 폰트로 기본 구현한다(S25). 이 경우에는 문서 레이아웃의 변형이 예상된다.First, when it is impossible to extract the reference size information on the original font as a result of the determination in step S24, the MBS engine module 14 implements the basic font as a substitute font (S25). In this case, variations of the document layout are expected.
반대로, 단계(S24)의 판단결과 원본 폰트에 대한 기준크기 정보 추출이 가능한 경우에는 전자문서에 포함된 모든 문자 또는 레이아웃이 민감한 객체에 대해 본 발명에 따른 폰트처리를 개시한다(S26).On the contrary, when it is possible to extract the reference size information of the original font as a result of the determination in step S24, the font process according to the present invention is started for the object in which all characters or layouts included in the electronic document are sensitive (S26).
이를 위해, MBS 엔진모듈(14)은 전자문서의 각 문자를 구현할 때, 그 문자에 대한 원본 폰트의 기준크기 정보(MBS 값), 대체 폰트의 기준크기 정보(MBS 값), 그 문자에 설정된 원본폰트 사이즈를 종합적으로 반영하여 디스플레이 레이아웃이 근사적으로 유지되도록 해주는 대체 폰트에서의 폰트사이즈, 즉 대체폰트 사이즈를 연산한다(S27). 이러한 정보로부터 디스플레이 레이아웃이 근사적으로 유지되도록 해주는 대체폰트 사이즈를 연산하는 구체적인 방법에 대해서는 폰트사이즈 연산수단(14c)과 관련하여 상세하게 전술하였다.To this end, when the MBS engine module 14 implements each character of the electronic document, the reference size information (MBS value) of the original font for the character, the reference size information (MBS value) of the substitute font, the original set in the character The font size of the substitute font, that is, the substitute font size, which allows the display layout to be maintained approximately by reflecting the font size comprehensively is calculated (S27). The specific method for calculating the alternative font size that allows the display layout to be maintained approximately from this information has been described above in detail with respect to the font size calculating means 14c.
그리고 나서, MBS 엔진모듈(14)은 전자문서의 당해 문자에 대해 대체 폰트와 대체폰트 사이즈를 설정한다(S28). 이를 통해 그 설정된 대체 폰트와 대체폰트 사이즈를 이용하여 당해 문자가 화면에 표시된다.Then, the MBS engine module 14 sets the substitute font and substitute font size for the corresponding character of the electronic document (S28). Through this, the corresponding character is displayed on the screen using the set substitute font and substitute font size.
도 6은 본 발명에서 MBS 테이블(15a)을 활용하여 레이아웃 유지 폰트처리를 수행하는 과정의 다른 실시예를 나타내는 순서도이다.6 is a flowchart illustrating another embodiment of a process of performing layout maintenance font processing by using the MBS table 15a in the present invention.
먼저, 사용자 단말(10)의 문서뷰어 어플(16)이 특정 전자문서를 오픈한다(S31). 사용자 단말(10)에서 전자문서를 오픈함에 따라 MBS 엔진모듈(14)은 전자문서에서 사용된 원본 폰트를 추출하는 한편, 그 원본 폰트를 대신할 대체 폰트를 선정한다.First, the document viewer application 16 of the user terminal 10 opens a specific electronic document (S31). As the user terminal 10 opens the electronic document, the MBS engine module 14 extracts the original font used in the electronic document and selects a substitute font to replace the original font.
단계(S31) 이후, 사용자 단말(10)의 MBS 엔진모듈(14)은 전자문서에 사용된 원본 폰트에 대한 MBS 테이블을 MBS 관리서버(30)로 요청하며, 그에 대응하여 MBS 관리서버(30)로부터 원본 폰트의 MBS 테이블을 제공받는다(S32). 이때, MBS 관리서버(30)는 당해 원본 폰트에 대한 MBS 테이블을 미리 구비하고 있던 경우에는 데이터베이스(31)로부터 MBS 테이블을 찾아 사용자 단말(10)로 제공한다. 반대로, MBS 관리서버(30)가 당해 원본 폰트에 대한 MBS 테이블을 미리 구비하지 못한 경우에는 폰트관리 단말(40)과 일체로 구성되어 이로부터 MBS 테이블을 실시간으로 생성하여 사용자 단말(10)로 제공하도록 구성할 수 있다.After step S31, the MBS engine module 14 of the user terminal 10 requests the MBS management server 30 for the MBS table for the original font used in the electronic document, and correspondingly, the MBS management server 30. MBS table of the original font is provided from (S32). At this time, when the MBS management server 30 has previously provided the MBS table for the original font, the MBS management server 30 finds the MBS table from the database 31 and provides the MBS table to the user terminal 10. On the contrary, when the MBS management server 30 does not have the MBS table for the original font in advance, the MBS management server 30 may be integrated with the font management terminal 40 to generate the MBS table in real time and provide the MBS table to the user terminal 10 in real time. Can be configured to
단계(S32) 이후, MBS 엔진모듈(14)은 전자문서에 사용된 원본 폰트 및 이를 대체하기 위한 대체 폰트에 대한 기준크기 정보를 MBS 테이블(15a)로부터 획득한다(S33). 이때, 원본 폰트에 대한 MBS 테이블(15a)은 S32 단계에서 제공받은 데이터를 활용한다.After the step S32, the MBS engine module 14 obtains reference size information on the original font used in the electronic document and the replacement font for replacing the same from the MBS table 15a (S33). At this time, the MBS table 15a for the original font utilizes the data provided in step S32.
한편, 대체 폰트에 대한 MBS 테이블(15a)은 S32 단계에서 MBS 관리서버(30)로 더 요청하여 제공받도록 구성할 수도 있으나, 좀더 바람직하게는 사용자 단말(10)에 내장되도록 구성된다. 사용자 단말(10)은 2~3 가지 정도의 대체 폰트를 운용하므로 이들 대체 폰트에 대한 MBS 테이블은 미리 저장부(15)의 MBS 테이블(15a)에 내장해두는 것이다. 대체 폰트에 대한 MBS 테이블(15a)을 MBS 관리서버(30)로부터 제공받는 경우에도 전자문서를 오픈하기 전에 미리 확보하도록 구성하는 것이 바람직하다.On the other hand, the MBS table 15a for the substitute font may be configured to be provided by requesting further to the MBS management server 30 in step S32, more preferably is configured to be embedded in the user terminal 10. Since the user terminal 10 operates two or three kinds of substitute fonts, the MBS table for these substitute fonts is built in the MBS table 15a of the storage unit 15 in advance. Even when the MBS table 15a for the substitute font is provided from the MBS management server 30, the MBS table 15a is preferably configured to be secured in advance before the electronic document is opened.
단계(S33) 이후의 처리에 대해서는 도 5를 참조하여 전술한 바와 동일하므로 그에 대한 상세한 설명은 생략한다.Since the processing after step S33 is the same as described above with reference to FIG. 5, a detailed description thereof will be omitted.
본 발명은 또한 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드의 형태로 구현하는 것이 가능하다. 이때, 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록 장치를 포함한다.The invention can also be embodied in the form of computer readable codes on a computer readable recording medium. At this time, the computer-readable recording medium includes all kinds of recording devices in which data that can be read by a computer system is stored.
컴퓨터가 읽을 수 있는 기록매체의 예로는 ROM, RAM, CD-ROM, 자기테이프, 플로피 디스크, 광 데이터 저장장치 등이 있으며, 캐리어웨이브(예: 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산된 방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다. 그리고 본 발명을 구현하기 위한 기능적인 프로그램, 코드, 코드 세그먼트들은 본 발명이 속하는 기술 분야의 프로그래머들에 의해 용이하게 추론될 수 있다.Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage, and the like, which may be implemented in the form of a carrier wave (eg, transmission over the Internet). . The computer readable recording medium can also store and execute computer readable code in a distributed manner over networked computer systems. And functional programs, codes, and code segments for implementing the present invention can be easily inferred by programmers in the technical field to which the present invention belongs.

Claims (8)

  1. 사용자 단말의 MBS 엔진모듈이 여러 폰트에 대한 문자별 기준크기 정보를 포함하는 MBS 테이블을 설정하는 제 1 단계;A first step of setting, by the MBS engine module of the user terminal, an MBS table including reference size information for each font for various fonts;
    사용자 단말의 문서뷰어 어플이 특정 전자문서를 오픈하는 제 2 단계;A second step of opening a specific electronic document by the document viewer application of the user terminal;
    상기 MBS 엔진모듈은 상기 전자문서에서 사용된 원본 폰트를 추출하고, 상기 원본 폰트를 대신할 대체 폰트를 선정하는 제 3 단계;The MBS engine module extracts an original font used in the electronic document and selects a substitute font to replace the original font;
    상기 MBS 엔진모듈이 상기 전자문서에 사용된 원본 폰트와 대체 폰트의 기준크기 정보를 상기 MBS 테이블로부터 획득하는 제 4 단계;A fourth step of obtaining, by the MBS engine module, reference size information of an original font and a substitute font used in the electronic document from the MBS table;
    상기 전자문서에 포함되는 문자에 대해 원본 폰트의 기준크기 정보와 원본폰트 사이즈에는 비례하고 상기 대체 폰트의 기준크기 정보에는 반비례하도록 반영하여 상기 문자의 디스플레이 레이아웃을 근사적으로 유지시키는 대체폰트 사이즈를 연산하는 제 5 단계;Calculates alternative font size that reflects proportional to the reference size information of the original font and the original font size and inversely proportional to the reference size information of the substitute font for the characters included in the electronic document. A fifth step;
    상기 문자에 대해 상기 대체 폰트와 상기 대체폰트 사이즈를 설정하는 제 6 단계;A sixth step of setting the substitute font and the substitute font size for the character;
    를 포함하여 구성되는 전자문서 레이아웃 유지를 위한 폰트처리 방법.Font processing method for maintaining the layout of the electronic document comprising a.
  2. 사용자 단말의 MBS 엔진모듈이 상기 사용자 단말에서 운용하는 대체 폰트에 대한 MBS 테이블을 설정하는 제 1 단계;A first step of setting, by the MBS engine module of the user terminal, the MBS table for the substitute font operated by the user terminal;
    사용자 단말의 문서뷰어 어플이 특정 전자문서를 오픈함에 따라 상기 MBS 엔진모듈이 상기 전자문서에서 사용된 원본 폰트를 추출하고 상기 원본 폰트를 대신할 대체 폰트를 선정하는 제 2 단계;A second step of the MBS engine module extracting an original font used in the electronic document and selecting a substitute font to replace the original font as the document viewer application of the user terminal opens a specific electronic document;
    상기 MBS 엔진모듈이 상기 원본 폰트에 대한 MBS 테이블을 MBS 관리서버로 요청하여 제공받는 제 3 단계;A third step of the MBS engine module requesting and providing an MBS table for the original font to an MBS management server;
    상기 MBS 엔진모듈이 상기 전자문서에 사용된 원본 폰트와 대체 폰트의 기준크기 정보를 상기 MBS 테이블로부터 획득하는 제 4 단계;A fourth step of obtaining, by the MBS engine module, reference size information of an original font and a substitute font used in the electronic document from the MBS table;
    상기 전자문서에 포함되는 문자에 대해 원본 폰트의 기준크기 정보와 원본폰트 사이즈에는 비례하고 상기 대체 폰트의 기준크기 정보에는 반비례하도록 반영하여 상기 문자의 디스플레이 레이아웃을 근사적으로 유지시키는 대체폰트 사이즈를 연산하는 제 5 단계;Calculates alternative font size that reflects proportional to the reference size information of the original font and the original font size and inversely proportional to the reference size information of the substitute font for the characters included in the electronic document. A fifth step;
    상기 문자에 대해 상기 대체 폰트와 상기 대체폰트 사이즈를 설정하는 제 6 단계;A sixth step of setting the substitute font and the substitute font size for the character;
    를 포함하여 구성되는 전자문서 레이아웃 유지를 위한 폰트처리 방법.Font processing method for maintaining the layout of the electronic document comprising a.
  3. 청구항 1 또는 청구항 2에 있어서, The method according to claim 1 or 2,
    상기 제 5 단계는,The fifth step,
    상기 원본 폰트의 기준크기와 상기 대체 폰트의 기준크기 간의 MBS 비율을 연산하는 단계;Calculating an MBS ratio between the reference size of the original font and the reference size of the substitute font;
    상기 원본폰트 사이즈에 상기 MBS 비율을 곱셈 연산하는 단계;Multiplying the original font size by the MBS ratio;
    상기 곱셈 연산 결과로부터 상기 대체폰트 사이즈를 획득하는 단계;Obtaining the substitute font size from the multiplication operation result;
    를 포함하여 구성되는 것을 특징으로 하는 전자문서 레이아웃 유지를 위한 폰트처리 방법.Font processing method for maintaining the electronic document layout, characterized in that comprises a.
  4. 청구항 1 또는 청구항 2에 있어서, The method according to claim 1 or 2,
    상기 제 5 단계는, The fifth step,
    상기 원본 폰트의 기준크기와 상기 원본폰트 사이즈를 곱셈 연산하여 표시사이즈를 획득하는 단계;Obtaining a display size by multiplying the reference size of the original font by the original font size;
    상기 표시사이즈에 상기 대체 폰트의 기준크기를 나눗셈 연산하는 단계;Dividing a reference size of the substitute font by the display size;
    상기 나눗셈 연산 결과로부터 상기 대체폰트 사이즈를 획득하는 단계;Obtaining the replacement font size from the division operation result;
    를 포함하여 구성되는 것을 특징으로 하는 전자문서 레이아웃 유지를 위한 폰트처리 방법.Font processing method for maintaining the electronic document layout, characterized in that comprises a.
  5. 청구항 1 또는 청구항 2에 있어서,The method according to claim 1 or 2,
    상기 문자는 상기 전자문서에서 레이아웃에 민감한 객체로 미리 선정된 범위에 속하는 것으로 선별된 것임을 특징으로 하는 전자문서 레이아웃 유지를 위한 폰트처리 방법.And the text is selected as belonging to a range selected in advance as a layout-sensitive object in the electronic document.
  6. 청구항 1에 있어서, The method according to claim 1,
    상기 제 1 단계는 상기 MBS 엔진모듈이 MBS 관리서버로부터 폰트리스트를 수신하여 여러 폰트에 대한 문자별 기준크기 정보를 포함하는 MBS 테이블을 업데이트하는 것을 특징으로 하는 전자문서 레이아웃 유지를 위한 폰트처리 방법.The first step is a font processing method for maintaining the electronic document layout, characterized in that the MBS engine module receives a font list from the MBS management server to update the MBS table including the reference size information for each of the various fonts.
  7. 청구항 6에 있어서, The method according to claim 6,
    상기 제 1 단계 이전에 수행되는,Performed before the first step,
    폰트관리 단말이 전자문서 작성에 사용되는 각종 폰트에 대해 문자별 기준크기 정보를 정리하여 MBS 테이블을 생성하는 단계;Generating, by the font management terminal, an MBS table by arranging reference size information for each character for various fonts used for creating an electronic document;
    상기 폰트관리 단말이 상기 생성된 MBS 테이블을 통신망을 통해 MBS 관리서버로 업로드 제공하는 단계;Providing, by the font management terminal, uploading the generated MBS table to an MBS management server through a communication network;
    상기 MBS 관리서버가 상기 업로드된 MBS 테이블을 취합하여 폰트리스트를 유지 관리하는 단계;Collecting, by the MBS management server, the uploaded MBS table and maintaining a font list;
    상기 MBS 관리서버가 외부 사용자 단말로부터의 요청에 따른 상기 폰트리스트의 제공을 대기하는 단계;Waiting for the MBS management server to provide the font list in response to a request from an external user terminal;
    를 더 포함하여 구성되는 전자문서 레이아웃 유지를 위한 폰트처리 방법.The font processing method for maintaining the layout of the electronic document further comprises.
  8. 청구항 1 또는 청구항 2에 따른 전자문서 레이아웃 유지를 위한 폰트처리 방법을 수행하기 위한 폰트처리 프로그램을 기록한 컴퓨터로 판독가능한 기록매체.A computer-readable recording medium having recorded thereon a font processing program for performing a font processing method for maintaining an electronic document layout according to claim 1 or 2.
PCT/KR2013/004727 2012-09-27 2013-05-29 Font processing method for maintaining electronic document layout WO2014051240A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020120107755A KR101437843B1 (en) 2012-09-27 2012-09-27 Font processing method for maintaining document layout, and computer-readable recording medium with font processing program for the same
KR10-2012-0107755 2012-09-27

Publications (1)

Publication Number Publication Date
WO2014051240A1 true WO2014051240A1 (en) 2014-04-03

Family

ID=50388582

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2013/004727 WO2014051240A1 (en) 2012-09-27 2013-05-29 Font processing method for maintaining electronic document layout

Country Status (2)

Country Link
KR (1) KR101437843B1 (en)
WO (1) WO2014051240A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102280985B1 (en) 2014-11-26 2021-07-26 삼성전자주식회사 Method for configuring screen, electronic apparatus and storage medium
KR101719336B1 (en) * 2015-12-18 2017-04-04 주식회사 한글과컴퓨터 Font transforming method using meta data and system thereof
US10095529B2 (en) 2016-06-07 2018-10-09 Microsoft Technology Licensing, Llc Font download on application boot
KR102076576B1 (en) * 2018-06-04 2020-02-13 주식회사 한글과컴퓨터 Apparatus for maintaining layout of electric document on web electric document editor and operating method thereof
KR102181700B1 (en) * 2019-04-19 2020-11-23 정현식 System for providing web server based schedule management service for conference administration
KR102395699B1 (en) * 2020-11-17 2022-05-09 주식회사 한글과컴퓨터 Electronic terminal device which is able to display the electronic document in the unsupported font using the alternative font and the operating method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010093190A (en) * 1998-12-18 2001-10-27 파워티브이, 인코포레이티드 Font substitution system
KR20040095620A (en) * 2004-02-26 2004-11-15 (주)드림투리얼리티 Document viewer including document
KR20080048157A (en) * 2006-11-28 2008-06-02 송은아 User font generating apparatus, user font generating method and user font service providing method
US20120206751A1 (en) * 2011-02-14 2012-08-16 Zoran Corporation Font emulation in embedded systems
US20120229517A1 (en) * 2011-03-10 2012-09-13 Konica Minolta Laboratory U.S.A., Inc. Approximating font metrics for a missing font when substituting an available replacement

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010093190A (en) * 1998-12-18 2001-10-27 파워티브이, 인코포레이티드 Font substitution system
KR20040095620A (en) * 2004-02-26 2004-11-15 (주)드림투리얼리티 Document viewer including document
KR20080048157A (en) * 2006-11-28 2008-06-02 송은아 User font generating apparatus, user font generating method and user font service providing method
US20120206751A1 (en) * 2011-02-14 2012-08-16 Zoran Corporation Font emulation in embedded systems
US20120229517A1 (en) * 2011-03-10 2012-09-13 Konica Minolta Laboratory U.S.A., Inc. Approximating font metrics for a missing font when substituting an available replacement

Also Published As

Publication number Publication date
KR101437843B1 (en) 2014-09-04
KR20140040994A (en) 2014-04-04

Similar Documents

Publication Publication Date Title
US10977761B2 (en) Digital watermark embedding method and extraction method, digital watermark embedding apparatus and extraction apparatus, and digital watermark system
WO2014051240A1 (en) Font processing method for maintaining electronic document layout
CN110458918B (en) Method and device for outputting information
CN109344352B (en) Page loading method and device and electronic equipment
WO2016032080A1 (en) Chart conversion system using metadata and method therefor
CN107092652B (en) Navigation method and device for target page
US11079987B2 (en) Creation of component templates
CN103678704A (en) Picture recognition method, system, equipment and device based on picture information
EP4116894A1 (en) Method for processing model parameters, and apparatus
US20090083284A1 (en) Delivery server for delivering documents to be browsed to mobile terminal, mobile terminal, and delivery system for delivering documents to be browsed to mobile terminal
CN113382083A (en) Webpage screenshot method and device
CN115526160A (en) Rich text processing method, device and equipment and storage medium
KR101334589B1 (en) Font processing method for maintaining document layout, and computer-readable recording medium for the same
US9229913B2 (en) Font processing method for maintaining e-document layout
WO2016186326A1 (en) Search word list providing device and method using same
CN105847222B (en) A kind of graphical auditing method, device and electronic equipment
CN105593853B (en) Server device, client device, information processing method, and recording medium
CN110647327A (en) Method and device for dynamic control of user interface based on card
CN107480269B (en) Object display method and system, medium and computing equipment
US9965446B1 (en) Formatting a content item having a scalable object
CN101971171A (en) Method and apparatus for the page-by-page provision of an electronic document as a computer graphic
CN115904167A (en) Processing method and device of webpage icon, storage medium and electronic equipment
CN105808628A (en) Webpage transcoding method, apparatus and system
CN115016754A (en) Method and device for synchronously displaying pages among devices, electronic device and medium
CN105593831A (en) Server device, client device, information processing method, and recording medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13841115

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13841115

Country of ref document: EP

Kind code of ref document: A1