KR102300444B1 - Document editing device to check whether the font applied to the document is a supported font and operating method thereof - Google Patents

Document editing device to check whether the font applied to the document is a supported font and operating method thereof Download PDF

Info

Publication number
KR102300444B1
KR102300444B1 KR1020190148266A KR20190148266A KR102300444B1 KR 102300444 B1 KR102300444 B1 KR 102300444B1 KR 1020190148266 A KR1020190148266 A KR 1020190148266A KR 20190148266 A KR20190148266 A KR 20190148266A KR 102300444 B1 KR102300444 B1 KR 102300444B1
Authority
KR
South Korea
Prior art keywords
font
document
identifier
replacement
supported
Prior art date
Application number
KR1020190148266A
Other languages
Korean (ko)
Other versions
KR20210060808A (en
Inventor
정원석
Original Assignee
주식회사 한글과컴퓨터
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 한글과컴퓨터 filed Critical 주식회사 한글과컴퓨터
Priority to KR1020190148266A priority Critical patent/KR102300444B1/en
Publication of KR20210060808A publication Critical patent/KR20210060808A/en
Application granted granted Critical
Publication of KR102300444B1 publication Critical patent/KR102300444B1/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Abstract

문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치 및 그 동작 방법이 개시된다. 본 발명에 따른 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치 및 그 동작 방법은 문서 작성 프로그램을 통해 문서가 오픈되면, 상기 문서에 대한 데이터를 읽어 들여 상기 문서에 포함된 문자들에 적용되어 있는 글꼴을 확인하고, 상기 문서에 포함된 문자들에 적용되어 있는 글꼴이 상기 문서 작성 프로그램에서 지원되지 않는 글꼴인 것으로 확인되는 경우, 지원되지 않는 글꼴임을 지시하는 글꼴 확인 메시지와 글꼴이 대체된 경우 대체된 글꼴 정보를 화면 상에 표시함으로써, 사용자에게 상기 문서 상에 적용되어 있는 글꼴에 대한 정보를 명확히 제공할 수 있다.Disclosed are a document editing apparatus capable of confirming whether a font applied to a document is a supported font, and an operating method thereof. According to the present invention, a document editing apparatus capable of confirming whether a font applied to a document is a supported font, and an operating method thereof, when a document is opened through a document creation program, reads data about the document and includes characters included in the document Check the fonts applied to the fonts, and if it is confirmed that the fonts applied to the characters included in the document are not supported by the document creation program, a font confirmation message indicating that the fonts are not supported and the font When the replaced font information is displayed on the screen, information on the font applied on the document can be clearly provided to the user.

Description

문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치 및 그 동작 방법{DOCUMENT EDITING DEVICE TO CHECK WHETHER THE FONT APPLIED TO THE DOCUMENT IS A SUPPORTED FONT AND OPERATING METHOD THEREOF}A document editing device capable of checking whether a font applied to a document is a supported font and an operation method thereof

본 발명은 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치 및 그 동작 방법에 대한 것이다.The present invention relates to a document editing apparatus capable of confirming whether a font applied to a document is a supported font, and an operating method thereof.

최근, 컴퓨터나 스마트폰 또는 태블릿 PC 등이 널리 보급됨에 따라, 이러한 전자 장치를 이용하여 전자 문서를 열람, 작성, 편집할 수 있도록 하는 다양한 종류의 전자 문서 관련 프로그램들이 출시되고 있다. Recently, as computers, smart phones, or tablet PCs are widely used, various types of electronic document-related programs have been released that allow users to read, write, and edit electronic documents using such electronic devices.

이러한 전자 문서 관련 프로그램들로는 기본적인 문서의 작성, 편집 등을 지원하는 워드프로세서, 데이터의 입력, 산술연산, 데이터 관리를 보조하는 스프레드시트, 발표자의 발표를 보조하기 위한 프레젠테이션 프로그램들이 있다.These electronic document-related programs include a word processor supporting basic document creation and editing, a spreadsheet supporting data input, arithmetic operations, and data management, and presentation programs supporting a presenter's presentation.

관련해서, 문서 작성자는 이러한 전자 문서 관련 프로그램들을 통해 작성된 문서를 다른 사용자에게 전송할 수 있고, 문서 수신자는 수신된 문서를 다운받아 문서 수신자의 단말 상에서 상기 전자 문서 관련 프로그램을 통해 오픈할 수 있다. In relation to this, a document creator may transmit a document created through these electronic document-related programs to another user, and the document receiver may download the received document and open it through the electronic document-related program on the document receiver's terminal.

그러나, 같은 전자 문서 관련 프로그램이라도 버전에 따라 지원되는 글꼴의 종류가 다르며, 문서 작성자는 특정 글꼴 제작자에 의해 제작된 글꼴 파일을 웹 상에서 다운받아 자신이 작성한 문서에 적용하는 경우도 있으므로, 문서 작성자와 문서 수신자 간에 같은 전자 문서 관련 프로그램을 통해 동일한 문서를 오픈하였더라도 상기 문서에 적용되도록 지원되는 글꼴의 종류가 다를 수 있다.However, even with the same electronic document-related program, the types of fonts supported differ depending on the version, and the document creator sometimes downloads a font file produced by a specific font producer from the web and applies it to the document created by himself/herself. Even if the same document is opened between document recipients through the same electronic document-related program, the types of fonts supported to be applied to the document may be different.

만약, 문서 작성자가 'A'라는 글꼴을 적용하여 문서를 작성한 후, 문서 수신자에게 전송하였는데, 문서 수신자의 단말 상에 설치된 상기 전자 문서 관련 프로그램이 'A'라는 글꼴을 지원하지 않는다면, 문서 수신자의 단말 상에서 오픈된 상기 문서는 'A'라는 글꼴과 유사한 대체 글꼴이 적용되어 글자 간격과 형태가 달라질 것이고, 결과적으로 상기 문서의 전체적인 레이아웃이 변형되도록 할 것이다. If the document creator writes a document by applying the font 'A' and sends it to the document recipient, but the electronic document-related program installed on the document recipient's terminal does not support the font 'A', the document recipient's In the document opened on the terminal, an alternative font similar to the font 'A' is applied to change the letter spacing and shape, and as a result, the overall layout of the document will be changed.

그러나, 상기 전자 문서 관련 프로그램은 지원되지 않는 글꼴의 사용으로 인해, 상기 문서의 레이아웃이 변형되더라도, 레이아웃의 변형에 대한 어떠한 정보도 화면 상에 표시하지 않으므로, 문서 수신자는 상기 문서가 원래 레이아웃이 변형된 형태로 작성된 것인지, 지원되지 않는 글꼴의 사용으로 인해 변형된 것인지 알 수 없다. However, even if the layout of the document is changed due to the use of an unsupported font, the electronic document-related program does not display any information about the layout change on the screen, so that the document recipient can It is not known whether it was written in the same format or if it was deformed due to the use of an unsupported font.

또한, 문서 수신자가 지원되지 않는 글꼴의 사용으로 인해 상기 문서의 레이아웃이 변형되었다고 추측할 수 있다고 하더라도, 상기 문서에 적용되어 있던 지원되지 않는 글꼴과 현재 대체된 글꼴의 종류 등의 정보를 명확하게 알 수 없어 대책을 마련하기 어렵다는 문제가 있다.In addition, even if the document recipient can infer that the layout of the document has been altered due to the use of an unsupported font, information such as the unsupported font applied to the document and the type of the currently substituted font, etc. There is a problem that it is difficult to come up with a countermeasure.

만약, 문서 수신자에 의해 문서가 오픈되었을 때, 문서에 적용되어 있는 글꼴이 지원되지 않는 글꼴이라면, 지원되지 않는 글꼴임을 지시하는 메시지와 기존 글꼴 및 대체 글꼴에 대한 정보를 화면 상에 표시할 수 있다면, 문서 작성자와 문서 수신자 상호 간에 상기 문서의 레이아웃이 변형되어 있더라도, 지원되지 않은 글꼴 사용에 의한 것임을 명확히 이해할 수 있고, 지원되지 않는 글꼴에 대한 글꼴 데이터를 내려받는 등의 추후 대책을 마련할 수 있어 유용할 것이다.If, when the document is opened by the document recipient, if the font applied to the document is an unsupported font, a message indicating that the font is not supported and information on the existing font and replacement font can be displayed on the screen , even if the layout of the document is changed between the document creator and the document recipient, it can be clearly understood that this is due to the use of unsupported fonts, and further measures such as downloading font data for unsupported fonts can be prepared. It will be useful.

따라서, 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 기법에 대한 연구가 필요하다.Therefore, it is necessary to study a document editing technique that can check whether a font applied to a document is a supported font.

본 발명에 따른 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치 및 그 동작 방법은 문서 작성 프로그램을 통해 문서가 오픈되면, 상기 문서에 대한 데이터를 읽어 들여 상기 문서에 포함된 문자들에 적용되어 있는 글꼴을 확인하고, 상기 문서에 포함된 문자들에 적용되어 있는 글꼴이 상기 문서 작성 프로그램에서 지원되지 않는 글꼴인 것으로 확인되는 경우, 지원되지 않는 글꼴임을 지시하는 글꼴 확인 메시지와 글꼴이 대체된 경우 대체된 글꼴 정보를 화면 상에 표시함으로써, 사용자에게 상기 문서 상에 적용되어 있는 글꼴에 대한 정보를 명확히 제공하고자 한다. According to the present invention, a document editing apparatus capable of confirming whether a font applied to a document is a supported font, and an operating method thereof, when a document is opened through a document creation program, reads data about the document and includes characters included in the document Check the fonts applied to the fonts, and if it is confirmed that the fonts applied to the characters included in the document are not supported by the document creation program, a font confirmation message indicating that the fonts are not supported and the font In this case, information on the font applied to the document is clearly provided to the user by displaying the replaced font information on the screen.

본 발명의 일실시예에 따른 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치는 문서 작성 프로그램에서 지원되는 복수의 지원 글꼴들 각각에 대한 글꼴 식별자와 상기 복수의 지원 글꼴들 각각에 대한 글꼴 데이터 - 상기 글꼴 데이터는 문서가 로드될 때, 문서에 포함된 문자들에 대해 대응되는 글꼴 서식을 적용하는데 사용되는 데이터임 - 가 서로 대응되어 저장되어 있는 지원 글꼴 저장부, 상기 문서 작성 프로그램을 통해 제1 문서가 오픈되면, 상기 제1 문서에 대한 데이터를 읽어 들여 상기 제1 문서에 포함된 문자들에 적용되어 있는 글꼴에 대한 글꼴 식별자를 확인하는 글꼴 식별자 확인부, 상기 제1 문서에 포함된 문자들에 적용되어 있는 글꼴에 대한 글꼴 식별자로 제1 글꼴 식별자가 확인되면, 상기 지원 글꼴 저장부에 상기 제1 글꼴 식별자와 일치하는 글꼴 식별자가 저장되어 있는지를 확인하는 지원 글꼴 확인부 및 상기 지원 글꼴 저장부에 상기 제1 글꼴 식별자와 일치하는 글꼴 식별자가 저장되어 있지 않은 것으로 확인된 경우, 상기 제1 문서에 적용되어 있는 글꼴이 상기 문서 작성 프로그램에서 지원되지 않는 글꼴임을 지시하는 글꼴 확인 메시지를 생성하여 화면 상에 표시하는 메시지 표시부를 포함한다.A document editing apparatus capable of confirming whether a font applied to a document is a supported font according to an embodiment of the present invention includes a font identifier for each of a plurality of supported fonts supported by a document creation program and each of the plurality of supported fonts Font data for - the font data is data used to apply the font format corresponding to the characters included in the document when the document is loaded When a first document is opened through a program, a font identifier check unit for reading data about the first document and checking a font identifier for a font applied to characters included in the first document, the first document When a first font identifier is identified as a font identifier for a font applied to characters included in and a font indicating that the font applied to the first document is a font that is not supported by the document creation program when it is confirmed that the font identifier matching the first font identifier is not stored in the supported font storage unit and a message display unit for generating a confirmation message and displaying it on the screen.

또한, 본 발명의 일실시예에 따른 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치의 동작 방법은 문서 작성 프로그램에서 지원되는 복수의 지원 글꼴들 각각에 대한 글꼴 식별자와 상기 복수의 지원 글꼴들 각각에 대한 글꼴 데이터 - 상기 글꼴 데이터는 문서가 로드될 때, 문서에 포함된 문자들에 대해 대응되는 글꼴 서식을 적용하는데 사용되는 데이터임 - 가 서로 대응되어 저장되어 있는 지원 글꼴 저장부를 유지하는 단계, 상기 문서 작성 프로그램을 통해 제1 문서가 오픈되면, 상기 제1 문서에 대한 데이터를 읽어 들여 상기 제1 문서에 포함된 문자들에 적용되어 있는 글꼴에 대한 글꼴 식별자를 확인하는 단계, 상기 제1 문서에 포함된 문자들에 적용되어 있는 글꼴에 대한 글꼴 식별자로 제1 글꼴 식별자가 확인되면, 상기 지원 글꼴 저장부에 상기 제1 글꼴 식별자와 일치하는 글꼴 식별자가 저장되어 있는지를 확인하는 단계 및 상기 지원 글꼴 저장부에 상기 제1 글꼴 식별자와 일치하는 글꼴 식별자가 저장되어 있지 않은 것으로 확인된 경우, 상기 제1 문서에 적용되어 있는 글꼴이 상기 문서 작성 프로그램에서 지원되지 않는 글꼴임을 지시하는 글꼴 확인 메시지를 생성하여 화면 상에 표시하는 단계를 포함한다.In addition, in the method of operating a document editing apparatus capable of confirming whether a font applied to a document is a supported font according to an embodiment of the present invention, a font identifier for each of a plurality of supported fonts supported by a document creation program and the plurality of fonts are supported. Font data for each of the supported fonts of the font data is data used to apply the font format corresponding to the characters included in the document when the document is loaded maintaining a copy, when a first document is opened through the document creation program, reading data about the first document and checking a font identifier for a font applied to characters included in the first document , when a first font identifier is identified as a font identifier for a font applied to characters included in the first document, it is checked whether a font identifier matching the first font identifier is stored in the support font storage unit and if it is confirmed that the font identifier matching the first font identifier is not stored in the supported font storage unit, indicating that the font applied to the first document is a font not supported by the document creation program and generating a font confirmation message to display on the screen.

본 발명에 따른 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치 및 그 동작 방법은 문서 작성 프로그램을 통해 문서가 오픈되면, 상기 문서에 대한 데이터를 읽어 들여 상기 문서에 포함된 문자들에 적용되어 있는 글꼴을 확인하고, 상기 문서에 포함된 문자들에 적용되어 있는 글꼴이 상기 문서 작성 프로그램에서 지원되지 않는 글꼴인 것으로 확인되는 경우, 지원되지 않는 글꼴임을 지시하는 글꼴 확인 메시지와 글꼴이 대체된 경우 대체된 글꼴 정보를 화면 상에 표시함으로써, 사용자에게 상기 문서 상에 적용되어 있는 글꼴에 대한 정보를 명확히 제공할 수 있다.According to the present invention, a document editing apparatus capable of confirming whether a font applied to a document is a supported font, and an operating method thereof, when a document is opened through a document creation program, reads data about the document and includes characters included in the document Check the fonts applied to the fonts, and if it is confirmed that the fonts applied to the characters included in the document are not supported by the document creation program, a font confirmation message indicating that the fonts are not supported and the font When the replaced font information is displayed on the screen, information on the font applied on the document can be clearly provided to the user.

도 1은 본 발명의 일실시예에 따른 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치의 구조를 도시한 도면이다.
도 2는 본 발명의 일실시예에 따른 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치를 설명하기 위한 도면이다.
도 3은 본 발명의 일실시예에 따른 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치의 동작 방법을 도시한 순서도이다.
1 is a diagram illustrating a structure of a document editing apparatus capable of confirming whether a font applied to a document is a supported font according to an embodiment of the present invention.
2 is a diagram for explaining a document editing apparatus capable of confirming whether a font applied to a document is a supported font according to an embodiment of the present invention.
3 is a flowchart illustrating a method of operating a document editing apparatus capable of confirming whether a font applied to a document is a supported font according to an embodiment of the present invention.

이하에서는 본 발명에 따른 실시예들을 첨부된 도면을 참조하여 상세하게 설명하기로 한다. 이러한 설명은 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였으며, 다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 본 명세서 상에서 사용되는 모든 용어들은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 사람에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다.Hereinafter, embodiments according to the present invention will be described in detail with reference to the accompanying drawings. These descriptions are not intended to limit the present invention to specific embodiments, and should be understood to include all modifications, equivalents, and substitutes included in the spirit and scope of the present invention. While describing each drawing, like reference numerals are used for similar components, and unless otherwise defined, all terms used in this specification, including technical or scientific terms, refer to those of ordinary skill in the art to which the present invention belongs. It has the same meaning as is commonly understood by those who have it.

본 문서에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있다는 것을 의미한다. 또한, 본 발명의 다양한 실시예들에 있어서, 각 구성요소들, 기능 블록들 또는 수단들은 하나 또는 그 이상의 하부 구성요소로 구성될 수 있고, 각 구성요소들이 수행하는 전기, 전자, 기계적 기능들은 전자회로, 집적회로, ASIC(Application Specific Integrated Circuit) 등 공지된 다양한 소자들 또는 기계적 요소들로 구현될 수 있으며, 각각 별개로 구현되거나 2 이상이 하나로 통합되어 구현될 수도 있다. In this document, when a part "includes" a certain component, it means that other components may be further included, rather than excluding other components, unless otherwise stated. In addition, in various embodiments of the present invention, each of the components, functional blocks or means may be composed of one or more sub-components, and the electrical, electronic, and mechanical functions performed by each component are electronic. A circuit, an integrated circuit, an ASIC (Application Specific Integrated Circuit), etc. may be implemented with various well-known devices or mechanical elements, and may be implemented separately or two or more may be integrated into one.

한편, 첨부된 블록도의 블록들이나 흐름도의 단계들은 범용 컴퓨터, 특수용 컴퓨터, 휴대용 노트북 컴퓨터, 네트워크 컴퓨터 등 데이터 프로세싱이 가능한 장비의 프로세서나 메모리에 탑재되어 지정된 기능들을 수행하는 컴퓨터 프로그램 명령들(instructions)을 의미하는 것으로 해석될 수 있다. 이들 컴퓨터 프로그램 명령들은 컴퓨터 장치에 구비된 메모리 또는 컴퓨터에서 판독 가능한 메모리에 저장될 수 있기 때문에, 블록도의 블록들 또는 흐름도의 단계들에서 설명된 기능들은 이를 수행하는 명령 수단을 내포하는 제조물로 생산될 수도 있다. 아울러, 각 블록 또는 각 단계는 특정된 논리적 기능(들)을 실행하기 위한 하나 이상의 실행 가능한 명령들을 포함하는 모듈, 세그먼트 또는 코드의 일부를 나타낼 수 있다. 또, 몇 가지 대체 가능한 실시예들에서는 블록들 또는 단계들에서 언급된 기능들이 정해진 순서와 달리 실행되는 것도 가능함을 주목해야 한다. 예컨대, 잇달아 도시되어 있는 두 개의 블록들 또는 단계들은 실질적으로 동시에 수행되거나, 역순으로 수행될 수 있으며, 경우에 따라 일부 블록들 또는 단계들이 생략된 채로 수행될 수도 있다.On the other hand, the blocks in the accompanying block diagram or steps in the flowchart are computer program instructions that are loaded in a processor or memory of equipment capable of data processing, such as a general-purpose computer, a special-purpose computer, a portable notebook computer, and a network computer, and perform specified functions. can be interpreted as meaning Since these computer program instructions may be stored in a memory provided in a computer device or in a memory readable by a computer, the functions described in the blocks of the block diagrams or the steps of the flowcharts are produced as articles of manufacture containing instruction means for performing the same. could be In addition, each block or each step may represent a module, segment, or portion of code comprising one or more executable instructions for executing the specified logical function(s). It should also be noted that, in some alternative embodiments, it is also possible for the functions recited in blocks or steps to be executed out of the prescribed order. For example, two blocks or steps shown one after another may be performed substantially simultaneously or in the reverse order, and in some cases, some blocks or steps may be omitted.

도 1은 본 발명의 일실시예에 따른 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치의 구조를 도시한 도면이다. 1 is a diagram illustrating a structure of a document editing apparatus capable of confirming whether a font applied to a document is a supported font according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 일실시예에 따른 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치(110)는 지원 글꼴 저장부(111), 글꼴 식별자 확인부(112), 지원 글꼴 확인부(113) 및 메시지 표시부(114)를 포함한다.Referring to FIG. 1 , a document editing apparatus 110 capable of confirming whether a font applied to a document according to an embodiment of the present invention is a supported font includes a supported font storage unit 111 and a font identifier verification unit 112 . , a support font confirmation unit 113 and a message display unit 114 .

지원 글꼴 저장부(111)에는 문서 작성 프로그램에서 지원되는 복수의 지원 글꼴들 각각에 대한 글꼴 식별자와 상기 복수의 지원 글꼴들 각각에 대한 글꼴 데이터가 서로 대응되어 저장되어 있다.In the support font storage unit 111, a font identifier for each of a plurality of support fonts supported by a document creation program and font data for each of the plurality of support fonts are stored in correspondence with each other.

여기서, 상기 글꼴 데이터는 문서가 로드될 때, 문서에 포함된 문자들에 대해 대응되는 글꼴 서식을 적용하는데 사용되는 데이터를 의미한다.Here, the font data means data used to apply a font format corresponding to characters included in the document when the document is loaded.

관련해서, 지원 글꼴 저장부(111)에는 하기의 표 1과 같이 데이터가 저장되어 있을 수 있다.In relation to this, data may be stored in the support font storage unit 111 as shown in Table 1 below.

복수의 지원 글꼴들의 종류Multiple supported font types 글꼴 식별자font identifier 글꼴 데이터font data 고딕체gothic 식별자 1identifier 1 글꼴 데이터 1font data 1 명조체Myeongjo style 식별자 2identifier 2 글꼴 데이터 2font data 2 굴림체rolling body 식별자 3identifier 3 글꼴 데이터 3font data 3 ...... ...... ......

글꼴 식별자 확인부(112)는 상기 문서 작성 프로그램을 통해 제1 문서가 오픈되면, 상기 제1 문서에 대한 데이터를 읽어 들여 상기 제1 문서에 포함된 문자들에 적용되어 있는 글꼴에 대한 글꼴 식별자를 확인한다.When the first document is opened through the document creation program, the font identifier check unit 112 reads data on the first document and obtains a font identifier for a font applied to characters included in the first document. Check it.

지원 글꼴 확인부(113)는 상기 제1 문서에 포함된 문자들에 적용되어 있는 글꼴에 대한 글꼴 식별자로 제1 글꼴 식별자가 확인되면, 지원 글꼴 저장부(111)에 상기 제1 글꼴 식별자와 일치하는 글꼴 식별자가 저장되어 있는지를 확인한다.When the first font identifier is confirmed as the font identifier for the font applied to the characters included in the first document, the support font check unit 113 matches the first font identifier in the support font storage unit 111 . Check if the font identifier is stored.

메시지 표시부(114)는 지원 글꼴 저장부(111)에 상기 제1 글꼴 식별자와 일치하는 글꼴 식별자가 저장되어 있지 않은 것으로 확인된 경우, 상기 제1 문서에 적용되어 있는 글꼴이 상기 문서 작성 프로그램에서 지원되지 않는 글꼴임을 지시하는 글꼴 확인 메시지를 생성하여 화면 상에 표시한다.When it is confirmed that the message display unit 114 does not store the font identifier matching the first font identifier in the support font storage unit 111, the font applied to the first document is supported by the document creation program. A font confirmation message indicating that the font is not available is generated and displayed on the screen.

예컨대, 상기 제1 문서 상에 '나눔고딕'이라는 글꼴이 적용되어 있고, 지원 글꼴 저장부(111)에 '나눔고딕'에 대한 글꼴 식별자가 저장되어 있지 않다고 가정하자.For example, it is assumed that a font called 'Nanum Gothic' is applied to the first document, and a font identifier for 'Nanum Gothic' is not stored in the support font storage unit 111 .

이 경우, 글꼴 식별자 확인부(112)는 상기 문서 작성 프로그램을 통해 제1 문서가 오픈되면, 상기 제1 문서에 대한 데이터를 읽어 들여 상기 제1 문서에 포함된 문자들에 적용되어 있는 글꼴에 대한 글꼴 식별자로 '나눔고딕'에 대한 글꼴 식별자를 확인할 수 있고, 지원 글꼴 확인부(113)는 지원 글꼴 저장부(111)에 '나눔고딕'에 대한 글꼴 식별자와 일치하는 글꼴 식별자가 저장되어 있지 않은 것을 확인할 수 있다.In this case, when the first document is opened through the document creation program, the font identifier check unit 112 reads data on the first document and determines the font applied to the characters included in the first document. It is possible to check the font identifier for 'Nanum Gothic' as the font identifier, and the support font check unit 113 does not store a font identifier that matches the font identifier for 'Nanum Gothic' in the support font storage unit 111 . that can be checked

이렇게, 지원 글꼴 확인부(113)에 의해 지원 글꼴 저장부(111)에 '나눔고딕'에 대한 글꼴 식별자와 일치하는 글꼴 식별자가 저장되어 있지 않은 것으로 확인되면, 메시지 표시부(114)는 상기 제1 문서에 적용되어 있는 글꼴인 '나눔고딕'이 상기 문서 작성 프로그램에서 지원되지 않는 글꼴임을 지시하는 글꼴 확인 메시지를 생성하여 화면 상에 표시할 수 있다.In this way, if it is confirmed by the support font checking unit 113 that a font identifier matching the font identifier for 'Nanum Gothic' is not stored in the support font storage unit 111, the message display unit 114 is displayed in the first A font confirmation message indicating that 'Nanum Gothic', which is a font applied to a document, is a font that is not supported by the document creation program may be generated and displayed on the screen.

이때, 본 발명의 일실시예에 따르면, 문서 편집 장치(110)는 대체 글꼴 선택부(115) 및 글꼴 대체부(116)를 더 포함할 수 있다.In this case, according to an embodiment of the present invention, the document editing apparatus 110 may further include a replacement font selection unit 115 and a font replacement unit 116 .

대체 글꼴 선택부(115)는 상기 글꼴 확인 메시지가 화면 상에 표시된 후, 상기 사용자로부터 상기 제1 문서에 포함된 문자들에 대한 글꼴 대체 명령이 수신되면, 상기 복수의 지원 글꼴들에 대한 글꼴 데이터 중 어느 하나의 글꼴 데이터를 대체 글꼴 데이터로 선택한다.After the font confirmation message is displayed on the screen, the replacement font selection unit 115 receives a font replacement command for characters included in the first document from the user, the font data for the plurality of supported fonts Any one of the font data is selected as the replacement font data.

글꼴 대체부(116)는 상기 대체 글꼴 데이터가 선택되면, 상기 제1 문서에 포함된 문자들에 대해 상기 대체 글꼴 데이터에 따른 글꼴 서식을 적용함으로써, 상기 제1 문서를 재구성한다.When the replacement font data is selected, the font replacement unit 116 reconstructs the first document by applying a font format according to the replacement font data to characters included in the first document.

이때, 본 발명의 일실시예에 따르면, 메시지 표시부(114)는 상기 제1 문서에 적용되어 있는 글꼴이 상기 문서 작성 프로그램에서 지원되지 않는 글꼴임을 지시하는 글꼴 확인 메시지와 함께 상기 제1 문서에 포함된 문자들이 상기 대체 글꼴 데이터에 따른 글꼴로 변경됨을 지시하는 메시지를 추가로 생성하여 화면 상에 표시할 수 있다.At this time, according to an embodiment of the present invention, the message display unit 114 is included in the first document together with a font confirmation message indicating that the font applied to the first document is a font that is not supported by the document creation program. A message indicating that the selected characters are changed to a font according to the replacement font data may be additionally generated and displayed on the screen.

이때, 본 발명의 일실시예에 따르면, 대체 글꼴 선택부(115)는 유사도 데이터베이스(117), 유클리드 거리 연산부(118) 및 대체 글꼴 선택 처리부(119)를 포함할 수 있다.In this case, according to an embodiment of the present invention, the alternative font selection unit 115 may include a similarity database 117 , a Euclidean distance calculation unit 118 , and an alternative font selection processing unit 119 .

유사도 데이터베이스(117)에는 문자에 적용 가능한 것으로 미리 지정된 복수의 글꼴들 각각에 대한 글꼴 식별자와, 각 글꼴 간의 미리 정해진 유사도에 기반하여 상기 복수의 글꼴들 각각에 대해 미리 지정된 특성 벡터가 서로 대응되어 저장되어 있다.In the similarity database 117, a font identifier for each of a plurality of fonts previously designated as applicable to a character and a characteristic vector designated in advance for each of the plurality of fonts based on a predetermined similarity between each font are stored in correspondence with each other has been

예컨대, 유사도 데이터베이스(117)에는 하기의 표 2와 같이 정보가 저장되어 있을 수 있다.For example, information may be stored in the similarity database 117 as shown in Table 2 below.

복수의 글꼴들의 종류Multiple font types 글꼴 식별자font identifier 특성 벡터characteristic vector 고딕체gothic 식별자 1identifier 1 (0, 1, 2, 3)(0, 1, 2, 3) 명조체Myeongjo style 식별자 2identifier 2 (5, 6, 7, 8)(5, 6, 7, 8) 굴림체rolling body 식별자 3identifier 3 (9, 10, 11, 12)(9, 10, 11, 12) 나눔고딕Sharing Gothic 식별자 4identifier 4 (13, 14, 15, 16)(13, 14, 15, 16) ...... ...... ......

상기 표 2에서 특성 벡터는 개발자에 의해 임의로 정해지는 벡터 값이며, 상기 개발자는 상기 복수의 글꼴들 각각의 특징을 사전 조사한 후, 각 글꼴들 간에 서로 유사한 글꼴일수록 유클리드 거리(Euclidean Distance)가 작게 연산되도록 상기 특성 벡터를 각 글꼴들에 대해 할당할 수 있다. 즉, 상기 특성 벡터는 각 글꼴들 간의 유사도를 구분하기 위한 척도가 될 수 있다.In Table 2, the feature vector is a vector value arbitrarily determined by the developer, and after the developer examines the features of each of the plurality of fonts in advance, the more similar the fonts among the fonts, the smaller the Euclidean Distance is calculated. As much as possible, the characteristic vector may be assigned to each font. That is, the feature vector may be a measure for distinguishing the similarity between the respective fonts.

유클리드 거리 연산부(118)는 상기 글꼴 확인 메시지가 화면 상에 표시된 후, 상기 사용자로부터 상기 제1 문서에 포함된 문자들에 대한 글꼴 대체 명령이 수신되면, 유사도 데이터베이스(117)를 참조하여 상기 제1 글꼴 식별자에 대응되어 저장되어 있는 제1 특성 벡터를 확인하고, 상기 제1 특성 벡터와 상기 복수의 지원 글꼴들에 대한 글꼴 식별자 각각에 대응되는 특성 벡터 간의 유클리드 거리를 연산한다.After the font confirmation message is displayed on the screen, the Euclidean distance calculating unit 118 receives a font replacement command for characters included in the first document from the user, referring to the similarity database 117 to the first A first characteristic vector stored corresponding to a font identifier is checked, and a Euclidean distance between the first characteristic vector and a characteristic vector corresponding to each of the font identifiers for the plurality of supported fonts is calculated.

여기서, 유클리드 거리란 두 벡터 간의 거리를 의미하는 것으로 하기의 수학식 1에 따라 연산될 수 있다.Here, the Euclidean distance refers to a distance between two vectors and may be calculated according to Equation 1 below.

Figure 112019118528852-pat00001
Figure 112019118528852-pat00001

상기 수학식 1에서 D는 유클리드 거리, pi와 qi는 두 특성 벡터에 포함되어 있는 i번째 성분들을 의미한다. 두 특성 벡터 간의 유클리드 거리가 작을수록 두 벡터는 유사한 벡터라고 볼 수 있고, 두 특성 벡터 간의 유클리드 거리가 클수록 두 벡터는 비유사한 벡터라고 볼 수 있다.In Equation 1, D denotes a Euclidean distance, and p i and q i denote i-th components included in the two feature vectors. As the Euclidean distance between two feature vectors is small, the two vectors can be regarded as similar vectors, and as the Euclidean distance between two feature vectors increases, the two vectors can be regarded as dissimilar vectors.

대체 글꼴 선택 처리부(119)는 상기 복수의 지원 글꼴들에 대한 글꼴 식별자 중 상기 제1 특성 벡터와의 유클리드 거리가 최소로 연산된 글꼴 식별자를 상기 제1 글꼴 식별자에 대한 대체 글꼴 식별자로 선택하고, 지원 글꼴 저장부(111)에 저장되어 있는 상기 복수의 지원 글꼴들에 대한 글꼴 데이터 중 상기 대체 글꼴 식별자에 대응되어 저장되어 있는 글꼴 데이터를 상기 대체 글꼴 데이터로 선택한다.The alternative font selection processing unit 119 selects, as the alternative font identifier for the first font identifier, a font identifier for which the Euclidean distance to the first characteristic vector is calculated as the smallest among the font identifiers for the plurality of supported fonts; Among the font data for the plurality of supported fonts stored in the support font storage unit 111 , the font data stored corresponding to the replacement font identifier is selected as the replacement font data.

예컨대, 전술한 예와 같이, 상기 제1 문서 상에 '나눔고딕'이라고 하는 글꼴이 적용되어 있고, 지원 글꼴 저장부(111)에 '나눔고딕'에 대응하는 글꼴 데이터가 존재하지 않는다고 가정하자.For example, as in the above example, it is assumed that a font called 'Nanum Gothic' is applied to the first document, and font data corresponding to 'Nanum Gothic' does not exist in the support font storage 111 .

우선, 유클리드 거리 연산부(118)는 상기 글꼴 확인 메시지가 화면 상에 표시된 후, 상기 사용자로부터 상기 제1 문서에 포함된 문자들에 대한 글꼴 대체 명령이 수신되면, 상기 표 2와 같은 유사도 데이터베이스(117)를 참조하여 '나눔고딕'에 대한 글꼴 식별자인 '식별자 4'에 대응되어 저장되어 있는 특성 벡터 '(13, 14, 15, 16)'을 확인할 수 있다.First, after the font confirmation message is displayed on the screen, the Euclidean distance calculating unit 118 receives a font replacement command for characters included in the first document from the user, the similarity database 117 as shown in Table 2 above. ), the characteristic vector '(13, 14, 15, 16)' stored in correspondence with 'identifier 4', which is the font identifier for 'Nanum Gothic', can be identified.

그러고 나서, 유클리드 거리 연산부(118)는 상기 특성 벡터 '(13, 14, 15, 16)'과, 상기 표 1과 같은 지원 글꼴 저장부(111)에 저장되어 있는 상기 복수의 지원 글꼴들에 대한 글꼴 식별자 각각에 대응되는 특성 벡터 간의 유클리드 거리를 연산할 수 있다.Then, the Euclidean distance calculating unit 118 calculates the characteristic vector '(13, 14, 15, 16)' and the plurality of support fonts stored in the support font storage unit 111 as shown in Table 1 above. The Euclidean distance between the feature vectors corresponding to each font identifier can be calculated.

대체 글꼴 선택 처리부(119)는 상기 복수의 지원 글꼴들에 대한 글꼴 식별자 중 상기 특성 벡터 '(13, 14, 15, 16)'과의 유클리드 거리가 최소로 연산된 글꼴 식별자를 '나눔고딕'에 대한 글꼴 식별자인 '식별자 4'에 대한 대체 글꼴 식별자로 선택할 수 있다.The alternative font selection processing unit 119 sets the font identifier for which the Euclidean distance with the characteristic vector '(13, 14, 15, 16)' is calculated as the minimum among the font identifiers for the plurality of supported fonts to 'Nanum Gothic'. It can be selected as an alternative font identifier for 'Identifier 4', which is a font identifier for .

만약, 상기 대체 글꼴 식별자로 '식별자 2'가 선택되었다고 하는 경우, 대체 글꼴 선택 처리부(119)는 지원 글꼴 저장부(111)에 저장되어 있는 상기 복수의 지원 글꼴들에 대한 글꼴 데이터 중 상기 대체 글꼴 식별자인 '식별자 2'에 대응되어 저장되어 있는 '글꼴 데이터 2'를 상기 대체 글꼴 데이터로 선택할 수 있다.If it is determined that 'identifier 2' is selected as the replacement font identifier, the replacement font selection processing unit 119 is the replacement font among the font data for the plurality of supported fonts stored in the support font storage unit 111 . 'Font data 2' stored in correspondence with the identifier 'Identifier 2' may be selected as the replacement font data.

이렇게, 대체 글꼴 선택부(115)에 의해 상기 복수의 지원 글꼴들에 대한 글꼴 데이터 중 '글꼴 데이터 2'가 상기 대체 글꼴 데이터로 선택되면, 글꼴 대체부(116)는 상기 제1 문서에 포함된 문자들에 대해 '글꼴 데이터 2'에 따른 글꼴 서식인 '명조체'를 적용함으로써, 상기 제1 문서를 재구성할 수 있다.In this way, when 'font data 2' among the font data for the plurality of supported fonts is selected as the replacement font data by the replacement font selection unit 115, the font replacement unit 116 includes the font data included in the first document. The first document may be reconstructed by applying 'Myeongjo font', which is a font format according to 'font data 2', to the characters.

이때, 본 발명의 일실시예에 따르면, 대체 글꼴 선택부(115)는 재연산 처리부(120), 변경 후보 글꼴 식별자 선택부(121), 후보 글꼴 표시부(122) 및 변경 대상 글꼴 데이터 선택부(123)을 더 포함할 수 있다.At this time, according to an embodiment of the present invention, the replacement font selection unit 115 includes the re-calculation processing unit 120 , the change candidate font identifier selection unit 121 , the candidate font display unit 122 , and the change target font data selection unit ( 123) may be further included.

재연산 처리부(120)는 상기 제1 문서가 재구성된 이후, 상기 사용자로부터 상기 제1 문서에 포함된 문자들에 대한 대체 글꼴의 변경 명령이 수신되면, 유사도 데이터베이스(117)를 참조하여 상기 제1 글꼴 식별자에 대응되어 저장되어 있는 상기 제1 특성 벡터를 재확인하고, 상기 제1 특성 벡터와 상기 복수의 지원 글꼴들에 대한 글꼴 식별자 각각에 대응되는 특성 벡터 간의 유클리드 거리를 재연산한다.After the re-computation processing unit 120 is reconstructed in the first document, about the characters included in the first document from the user When the change command of the replacement font is received, the first characteristic vector stored in correspondence with the first font identifier is reconfirmed with reference to the similarity database 117, and the first characteristic vector and the plurality of supported fonts are assigned to the font. Recompute the Euclidean distance between feature vectors corresponding to each of the font identifiers.

변경 후보 글꼴 식별자 선택부(121)는 상기 복수의 지원 글꼴들에 대한 글꼴 식별자 중 상기 제1 특성 벡터와의 유클리드 거리가 기설정된(predetermined) 기준 거리 이내로 연산된 적어도 하나의 후보 글꼴 식별자를 상기 제1 글꼴 식별자에 대한 변경 후보 글꼴 식별자로 선택한다.The change candidate font identifier selection unit 121 selects at least one candidate font identifier in which the Euclidean distance to the first characteristic vector is calculated within a predetermined reference distance among the font identifiers for the plurality of supported fonts. 1 Select as a change candidate font identifier for the font identifier.

후보 글꼴 표시부(122)는 상기 적어도 하나의 후보 글꼴 식별자가 상기 변경 후보 글꼴 식별자로 선택되면, 상기 적어도 하나의 후보 글꼴 식별자 각각에 대한 글꼴 명칭에 대한 정보를 화면 상에 표시한다.When the at least one candidate font identifier is selected as the change candidate font identifier, the candidate font display unit 122 displays information on a font name for each of the at least one candidate font identifier on the screen.

변경 대상 글꼴 데이터 선택부(123)는 상기 사용자로부터 상기 적어도 하나의 후보 글꼴 식별자 중 제2 글꼴 식별자에 대한 선택 명령이 수신되면, 지원 글꼴 저장부(111)에 저장되어 있는 상기 복수의 지원 글꼴들에 대한 글꼴 데이터 중 상기 제2 글꼴 식별자에 대응되어 저장되어 있는 글꼴 데이터를 변경 대상 글꼴 데이터로 선택한다.When the change target font data selection unit 123 receives a selection command for a second font identifier among the at least one candidate font identifier from the user, the plurality of supported fonts stored in the support font storage unit 111 are selected. Font data stored in correspondence with the second font identifier among the font data for , is selected as the change target font data.

이때, 글꼴 대체부(116)는 상기 변경 대상 글꼴 데이터의 선택이 완료되면, 상기 제1 문서에 포함된 문자들에 대해 상기 변경 대상 글꼴 데이터에 따른 글꼴 서식을 적용함으로써, 상기 제1 문서를 다시 재구성할 수 있다.At this time, when the selection of the change subject font data is completed, the font replacement unit 116 applies a font format according to the change subject font data to the characters included in the first document, thereby rewriting the first document. can be reconstructed.

관련해서, 앞서 설명한 예에 따라, 상기 제1 문서 상에 '글꼴 데이터 2'에 따른 글꼴 서식인 '명조체'가 적용됨으로써, 상기 제1 문서가 재구성된 이후, 상기 사용자로부터 상기 제1 문서에 포함된 문자들에 대한 대체 글꼴의 변경 명령이 수신되면, 재연산 처리부(120)는 상기 표 2와 같은 유사도 데이터베이스(117)를 참조하여 '나눔고딕'에 대한 글꼴 식별자인 '식별자 4'에 대응되어 저장되어 있는 상기 특성 벡터 '(13, 14, 15, 16)'을 재확인하고, 상기 특성 벡터 '(13, 14, 15, 16)'과 상기 표 1과 같은 지원 글꼴 저장부(111)에 저장되어 있는 상기 복수의 지원 글꼴들에 대한 글꼴 식별자 각각에 대응되는 특성 벡터 간의 유클리드 거리를 재연산할 수 있다.In relation to this, according to the example described above, by applying 'Myeongjo font', which is a font format according to 'font data 2', on the first document, after the first document is reconstructed, it is included in the first document from the user for the characters When the command to change the replacement font is received, the re-computation processing unit 120 refers to the similarity database 117 as shown in Table 2 and stores the characteristic stored in correspondence to 'identifier 4', which is the font identifier for 'Nanum Gothic'. The vector '(13, 14, 15, 16)' is reconfirmed, and the characteristic vector '(13, 14, 15, 16)' and the plurality of The Euclidean distance between the feature vectors corresponding to each of the font identifiers for the supported fonts may be recalculated.

그리고, 변경 후보 글꼴 식별자 선택부(121)는 상기 복수의 지원 글꼴들에 대한 글꼴 식별자 중 상기 특성 벡터 '(13, 14, 15, 16)'과의 유클리드 거리가 기설정된 기준 거리 이내로 연산된 적어도 하나의 후보 글꼴 식별자를 '나눔고딕'에 대한 글꼴 식별자인 '식별자 4'에 대한 변경 후보 글꼴 식별자로 선택할 수 있다.In addition, the change candidate font identifier selection unit 121 calculates at least the Euclidean distance from the feature vector '(13, 14, 15, 16)' among the font identifiers for the plurality of supported fonts within a preset reference distance. One candidate font identifier may be selected as a change candidate font identifier for 'Identifier 4', which is a font identifier for 'Nanum Gothic'.

관련해서, 상기 적어도 하나의 후보 글꼴 식별자를 '식별자 2'와 '식별자 3'이라고 한다면, 후보 글꼴 표시부(122)는 '식별자 2'와 '식별자 3' 각각에 대한 글꼴 명칭인 '명조체'와 '굴림체'를 화면 상에 표시할 수 있다.In this regard, if the at least one candidate font identifier is 'identifier 2' and 'identifier 3', the candidate font display unit 122 displays the font names 'Myeongjoche' and 'identifier 3' respectively. 'Rolling body' can be displayed on the screen.

이때, 상기 사용자로부터 '명조체'와 '굴림체' 중 '굴림체'에 대응하는 글꼴 식별자인 '식별자 3'에 대한 선택 명령이 수신되면, 변경 대상 글꼴 데이터 선택부(123)는 지원 글꼴 저장부(111)에 저장되어 있는 상기 복수의 지원 글꼴들에 대한 글꼴 데이터 중 '식별자 3'에 대응되어 저장되어 있는 글꼴 데이터인 '글꼴 데이터 3'을 변경 대상 글꼴 데이터로 선택할 수 있다.At this time, when a selection command for 'identifier 3', which is a font identifier corresponding to 'Gulimche' among 'Myeongjoche' and 'Gulimche', is received from the user, the change target font data selection unit 123 supports the font storage unit 111 ), 'font data 3', which is font data stored corresponding to 'identifier 3', among the font data for the plurality of supported fonts stored in ) may be selected as the change target font data.

이렇게, 대체 글꼴 선택부(115)에 의해 상기 복수의 지원 글꼴들에 대한 글꼴 데이터 중 '글꼴 데이터 3'이 상기 변경 대상 글꼴 데이터로 선택되면, 글꼴 대체부(116)는 상기 제1 문서에 포함된 문자들에 대해 상기 변경 대상 글꼴 데이터인 '글꼴 데이터 3'에 따른 글꼴 서식인 '굴림체'를 적용함으로써, 상기 제1 문서를 다시 재구성할 수 있다.In this way, when 'font data 3' among the font data for the plurality of supported fonts is selected as the change target font data by the replacement font selection unit 115, the font replacement unit 116 is included in the first document By applying 'Gulimche', which is a font format according to 'font data 3', which is the change target font data, to the changed characters, the first document can be reconstructed again.

이를 통해, 상기 사용자는 상기 제1 문서에 '명조체'라고 하는 대체 글꼴을 적용하였으나 다른 글꼴로 변경하고 싶은 경우, 상기 적어도 하나의 후보 글꼴 중 어느 하나를 선택함으로써, 상기 제1 문서의 글꼴을 '굴림체'와 같은 또 다른 대체 글꼴로 재변경할 수 있다.Through this, when the user applies an alternative font called 'Myeongjoche' to the first document, but wants to change to another font, by selecting any one of the at least one candidate font, the font of the first document is ' You can change it back to another alternative font, such as 'Dallim'.

본 발명의 일실시예에 따르면, 대체 글꼴 선택부(115)는 문자 영역 추출부(124), 글꼴 변경부(125), 행렬 생성부(126), 연산 행렬 생성부(127), 문자 영역 확인부(128) 및 세부 대체 글꼴 데이터 선택부(129)를 더 포함할 수 있다.According to an embodiment of the present invention, the alternative font selection unit 115 includes a character region extraction unit 124 , a font change unit 125 , a matrix generation unit 126 , an operation matrix generation unit 127 , and a character region check It may further include a unit 128 and a detailed replacement font data selection unit 129 .

문자 영역 추출부(124)는 상기 제1 문서가 재구성된 이후, 상기 사용자로부터 상기 제1 문서에 포함된 문자들 중 제1 문자에 대한 글꼴 세부 조정 명령이 수신되면, 상기 제1 문자를 둘러싸는 기설정된 크기의 사각 영역을 생성함으로써, 상기 사각 영역을 제1 문자 영역으로 추출한다.After the first document is reconstructed, the text area extraction unit 124 When a detailed font adjustment command for a first character among the characters included in the first document is received from the user, a rectangular region of a preset size surrounding the first character is generated, and the rectangular region is converted into the first character extract into the area.

글꼴 변경부(125)는 지원 글꼴 저장부(111)에 저장되어 있는 상기 복수의 지원 글꼴들에 대한 글꼴 데이터를 기초로 상기 제1 문자 영역 내에 존재하는 상기 제1 문자의 글꼴을 상기 복수의 지원 글꼴들 각각에 대응하는 글꼴로 변경함으로써, 상기 복수의 지원 글꼴들 각각에 대응하는 대체 문자 영역들(상기 대체 문자 영역들의 크기는 상기 제1 문자 영역의 크기와 동일함)을 생성한다.The font change unit 125 supports the plurality of fonts of the first character existing in the first character area based on the font data for the plurality of supported fonts stored in the supported font storage unit 111 . By changing to a font corresponding to each of the fonts, replacement text areas corresponding to each of the plurality of supported fonts (the size of the replacement text areas are the same as the size of the first text area) are generated.

행렬 생성부(126)는 상기 제1 문자 영역과 상기 대체 문자 영역들을 각각 가로 n개, 세로 n개로 구성되는 n x n개의 부분 사각 영역들로 분할한 후, 상기 n x n개의 부분 사각 영역들 각각에 대해 상기 n x n개의 부분 사각 영역들 각각의 내부에 상기 제1 문자의 부분이 포함되어 있으면 1의 코드를 할당하고, 상기 제1 문자의 부분이 포함되어 있지 않으면 0의 코드를 할당함으로써, 상기 제1 문자 영역과 상기 대체 문자 영역들 각각에 대한 n x n의 행렬을 생성한다.The matrix generator 126 divides the first character region and the replacement character region into nxn partial rectangular regions each consisting of n horizontal and n vertical regions, and then, for each of the nxn partial rectangular regions, the When a part of the first character is included in each of the nxn partial rectangular regions, a code of 1 is assigned, and when a part of the first character is not included, a code of 0 is assigned, so that the first character region and an nxn matrix for each of the replacement character regions.

연산 행렬 생성부(127)는 상기 대체 문자 영역들 각각에 대한 n x n의 행렬에 대해, 상기 제1 문자 영역에 대한 n x n의 행렬과의 아다마르 곱(Hadamard product)을 연산함으로써, 상기 대체 문자 영역들 각각에 대응하는 n x n의 연산 행렬을 생성한다.The operation matrix generator 127 calculates a Hadamard product of an nxn matrix for each of the replacement character regions with an nxn matrix for the first character region, thereby generating the replacement character regions. Create an nxn operation matrix corresponding to each.

여기서, 아다마르 곱이란 같은 크기의 행렬 또는 벡터에서 각 성분을 곱하는 연산을 의미하는 것으로, '[a b c]'와 '[x y z]'라는 두 행렬이 있을 때, 상기 두 행렬 간의 아다마르 곱을 연산한 행렬은 '[ax by cz]'로 나타낼 수 있다.Here, the Hadamard product means an operation of multiplying each component in a matrix or vector of the same size. When there are two matrices '[abc]' and '[xyz]', A matrix can be expressed as '[ax by cz]'.

문자 영역 확인부(128)는 상기 대체 문자 영역들 각각에 대응하는 n x n의 연산 행렬에 포함된 1의 성분 값들의 개수를 각각 카운트하고, 상기 대체 문자 영역들 중 1의 성분 값이 최대로 카운트된 n x n의 연산 행렬에 대응하는 제1 대체 문자 영역을 선택한 후 상기 복수의 지원 글꼴들에 대한 글꼴 식별자 중 상기 제1 대체 문자 영역에 대응하는 제1 지원 글꼴에 대한 글꼴 식별자를 확인한다.The text area check unit 128 counts the number of component values of 1 included in an nxn operation matrix corresponding to each of the replacement text areas, and the component value of 1 among the replacement text areas is the maximum counted. After selecting a first replacement character area corresponding to an nxn operation matrix, a font identifier for a first supported font corresponding to the first replacement character area among font identifiers for the plurality of supported fonts is checked.

세부 대체 글꼴 데이터 선택부(129)는 지원 글꼴 저장부(111)에 저장된 상기 복수의 지원 글꼴들에 대한 글꼴 데이터 중 상기 제1 지원 글꼴에 대한 글꼴 식별자에 대응되어 저장되어 있는 글꼴 데이터를 상기 제1 문자에 대한 세부 대체 글꼴 데이터로 선택한다.The detailed replacement font data selection unit 129 selects the font data stored in correspondence to the font identifier for the first supported font among the font data for the plurality of supported fonts stored in the supported font storage unit 111 as the second font. Select as detailed replacement font data for 1 character.

이때, 글꼴 대체부(116)는 상기 제1 문자에 대한 세부 대체 글꼴 데이터의 선택이 완료되면, 상기 제1 문서에 포함된 상기 제1 문자에 대해 상기 제1 문자에 대한 세부 대체 글꼴 데이터에 따른 글꼴 서식을 적용함으로써, 상기 제1 문서를 다시 재구성할 수 있다.At this time, when the selection of the detailed replacement font data for the first character is completed, the font replacement unit 116 is configured according to the detailed replacement font data for the first character for the first character included in the first document. By applying the font formatting, it is possible to reconstruct the first document again.

예컨대, 앞서 설명한 예와 같이 상기 제1 문서 상에 '글꼴 데이터 2'에 따른 글꼴 서식인 '명조체'가 적용됨으로써, 상기 제1 문서가 재구성된 이후, 상기 사용자로부터 상기 제1 문서에 포함된 문자들 중 '가'라고 하는 문자에 대한 글꼴 세부 조정 명령이 수신되면, 문자 영역 추출부(124)는 도 2의 도면부호 210에서 파란 선으로 도시된 바와 같이, '가'라고 하는 문자를 둘러싸는 기설정된 크기의 사각 영역을 생성함으로써, 상기 사각 영역을 문자 영역(210)으로 추출할 수 있다.For example, as in the example described above, after the first document is reconstructed by applying 'Myeongjo font', which is a font format according to 'font data 2', on the first document, the characters included in the first document from the user Among them, when a detailed font adjustment command for a character called 'A' is received, the character region extracting unit 124 as shown by a blue line at reference numeral 210 of FIG. 2 surrounds the character called 'A'. By creating a rectangular area of a predetermined size, the rectangular area may be extracted as the text area 210 .

글꼴 변경부(125)는 상기의 표 1과 같은 지원 글꼴 저장부(111)에 저장되어 있는 상기 복수의 지원 글꼴들에 대한 글꼴 데이터를 기초로 문자 영역(210) 내에 존재하는 '가'라고 하는 문자의 글꼴을 상기 복수의 지원 글꼴들 각각에 대응하는 글꼴로 변경함으로써, 상기 복수의 지원 글꼴들 각각에 대응하는 대체 문자 영역들을 생성할 수 있다. The font change unit 125 is configured to indicate that 'a' existing in the character area 210 is based on the font data for the plurality of supported fonts stored in the supported font storage unit 111 as shown in Table 1 above. By changing a font of a character to a font corresponding to each of the plurality of support fonts, it is possible to generate substitute character areas corresponding to each of the plurality of support fonts.

이후, 행렬 생성부(126)는 n을 '4'라고 가정하면, 문자 영역(210)과 상기 대체 문자 영역들을 각각 가로 '4'개, 세로 '4'개로 구성되는 '4' x '4'개의 부분 사각 영역들로 분할할 수 있다. 그리고, 행렬 생성부(126)는 상기 '4' x '4'개의 부분 사각 영역들 각각에 대해 상기 '4' x '4'개의 부분 사각 영역들 각각의 내부에 '가'라고 하는 문자의 부분이 포함되어 있으면 1의 코드를 할당하고, '가'라고 하는 문자의 부분이 포함되어 있지 않으면 0의 코드를 할당함으로써, 문자 영역(210)과 상기 대체 문자 영역들 각각에 대한 '4' x '4'의 행렬을 생성할 수 있다.Thereafter, assuming that n is '4', the matrix generator 126 generates '4' x '4' of the character region 210 and the replacement character regions, each of '4' horizontally and '4' vertically. It can be divided into four partial rectangular regions. In addition, the matrix generating unit 126 is a part of the letter 'A' in each of the '4' x '4' partial rectangular regions for each of the '4' x '4' partial rectangular regions. '4' x ' for each of the character area 210 and the replacement character areas by assigning a code of 1 if the A matrix of 4' can be created.

관련하여, 도 2에는 행렬 생성부(126)가 문자 영역(210)을 '4' x '4'개의 부분 사각 영역들로 분할한 후, 상기 '4' x '4'개의 부분 사각 영역들 각각에 대해 1 또는 0의 코드를 할당함으로써, 문자 영역(210)에 대한 '4' x '4'의 행렬(230)을 생성하는 과정을 설명하기 위한 그림이 도시되어 있다.2, after the matrix generator 126 divides the text area 210 into '4' x '4' partial rectangular areas, each of the '4' x '4' partial rectangular areas A figure is shown for explaining a process of generating a matrix 230 of '4' x '4' for the character area 210 by assigning a code of 1 or 0 to .

행렬 생성부(126)는 문자 영역(210)을 도면부호 220과 같이 '4' x '4'개의 부분 사각 영역들로 분할한 후, 상기 '4' x '4'개의 부분 사각 영역들 각각에 '가'라고 하는 문자의 부분이 포함되어 있으면 1의 코드를 할당하고, '가'라고 하는 문자의 부분이 포함되어 있지 않으면 0의 코드를 할당함으로써, 도면부호 230과 같은 문자 영역(210)에 대한 '4' x '4'의 행렬(230)을 생성할 수 있다.The matrix generator 126 divides the text area 210 into '4' x '4' partial rectangular areas as shown by reference numeral 220, and then adds the '4' x '4' partial rectangular areas to each of the If a part of the character called 'A' is included, a code of 1 is assigned, and if a part of the character called 'A' is not included, a code of 0 is assigned. A matrix 230 of '4' x '4' may be generated.

이러한 방식으로, 행렬 생성부(126)는 문자 영역(210)에 대해 '4' x '4'의 행렬(230)을 생성한 후, 상기 대체 문자 영역들 각각에 대해서도 '4' x '4'의 행렬을 생성할 수 있다. In this way, the matrix generator 126 generates a matrix 230 of '4' x '4' for the character region 210 and then '4' x '4' for each of the replacement character regions. You can create a matrix of

연산 행렬 생성부(127)는 상기 대체 문자 영역들 각각에 대한 '4' x '4'의 행렬에 대해, 문자 영역(210)에 대한 '4' x '4'의 행렬과의 아다마르 곱을 연산함으로써, 상기 대체 문자 영역들 각각에 대응하는 '4' x '4'의 연산 행렬을 생성할 수 있다.The operation matrix generator 127 calculates a Hadamard product of a matrix of '4' x '4' for each of the replacement character regions and a matrix of '4' x '4' for the character region 210 . By doing so, it is possible to generate an operation matrix of '4' x '4' corresponding to each of the replacement character regions.

그리고, 문자 영역 확인부(128)는 상기 대체 문자 영역들 각각에 대응하는 '4' x '4'의 연산 행렬에 포함된 1의 성분 값들의 개수를 각각 카운트할 수 있다. In addition, the character region check unit 128 may count the number of component values of 1 included in the operation matrix of '4' x '4' corresponding to each of the replacement character regions.

만약, 상기 대체 문자 영역들 중 1의 성분 값이 최대로 카운트된 '4' x '4'의 연산 행렬에 대응하는 대체 문자 영역으로 '가'라고 하는 문자에 '굴림체'를 적용함으로써 생성된 '대체 문자 영역 1'이 선택된 경우, 문자 영역 확인부(128)는 상기 표 1과 같은 지원 글꼴 저장부(111)에서 상기 복수의 지원 글꼴들에 대한 글꼴 식별자 중 '대체 문자 영역 1'에 대응하는 '굴림체'에 대한 글꼴 식별자인 '글꼴 식별자 3'을 확인할 수 있다.If the replacement character area corresponding to the operation matrix of '4' x '4' in which the component value of 1 among the replacement character areas is maximally counted, the ' When the alternative text area 1' is selected, the text area check unit 128 determines the corresponding 'replacement text area 1' among the font identifiers for the plurality of supported fonts in the support font storage unit 111 as shown in Table 1 above. You can check 'Font Identifier 3', which is the font identifier for 'Gulimche'.

그러고 나서, 세부 대체 글꼴 데이터 선택부(129)는 상기 표 1과 같은 지원 글꼴 저장부(111)에 저장된 상기 복수의 지원 글꼴들에 대한 글꼴 데이터 중 '굴림체'에 대한 '글꼴 식별자 3'에 대응되어 저장되어 있는 '글꼴 데이터 3'을 '가'라고 하는 문자에 대한 세부 대체 글꼴 데이터로 선택할 수 있다.Then, the detailed alternative font data selection unit 129 corresponds to 'font identifier 3' for 'Gulimche' among the font data for the plurality of supported fonts stored in the support font storage unit 111 as shown in Table 1 above. 'Font data 3', which has been saved and stored, can be selected as detailed replacement font data for the character 'A'.

이렇게 '가'라고 하는 문자에 대한 세부 대체 글꼴 데이터의 선택이 완료되면, 글꼴 대체부(116)는 상기 제1 문서에 포함된 '가'라고 하는 문자에 대해 '글꼴 데이터 3'에 따른 '굴림체'를 적용함으로써, 상기 제1 문서를 다시 재구성할 수 있다.When the selection of detailed replacement font data for the character 'A' is completed, the font replacement unit 116 corresponds to the character 'A' included in the first document with a 'Gullim type' according to 'font data 3'. ', it is possible to reconstruct the first document again.

즉, 본 발명에 따른 문서 편집 장치(110)는 사용자로부터 대체 글꼴이 적용된 상기 제1 문서에 포함된 문자들 중 특정 문자를 선택하여 글꼴 세부 조정 명령이 수신되면, 상기 문자의 특성에 따라 가장 유사한 글꼴을 갖는 글꼴 서식으로 상기 문자의 글꼴 서식이 변경되도록 지원할 수 있다.That is, the document editing apparatus 110 according to the present invention selects a specific character from among the characters included in the first document to which the replacement font is applied and receives a font detailed adjustment command from the user, the most similar character according to the characteristics of the character A font format having a font may support changing the font format of the character.

도 3은 본 발명의 일실시예에 따른 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치의 동작 방법을 도시한 순서도이다.3 is a flowchart illustrating a method of operating a document editing apparatus capable of confirming whether a font applied to a document is a supported font according to an embodiment of the present invention.

단계(S310)에서는 문서 작성 프로그램에서 지원되는 복수의 지원 글꼴들 각각에 대한 글꼴 식별자와 상기 복수의 지원 글꼴들 각각에 대한 글꼴 데이터(상기 글꼴 데이터는 문서가 로드될 때, 문서에 포함된 문자들에 대해 대응되는 글꼴 서식을 적용하는데 사용되는 데이터임)가 서로 대응되어 저장되어 있는 지원 글꼴 저장부를 유지한다.In step S310, a font identifier for each of a plurality of supported fonts supported by the document creation program and font data for each of the plurality of supported fonts (the font data includes characters included in the document when the document is loaded) data used to apply a font format corresponding to ) maintains a support font storage unit in which stored fonts are stored in correspondence with each other.

단계(S320)에서는 상기 문서 작성 프로그램을 통해 제1 문서가 오픈되면, 상기 제1 문서에 대한 데이터를 읽어 들여 상기 제1 문서에 포함된 문자들에 적용되어 있는 글꼴에 대한 글꼴 식별자를 확인한다.In step S320, when the first document is opened through the document creation program, data on the first document is read and font identifiers for fonts applied to characters included in the first document are checked.

단계(S330)에서는 상기 제1 문서에 포함된 문자들에 적용되어 있는 글꼴에 대한 글꼴 식별자로 제1 글꼴 식별자가 확인되면, 상기 지원 글꼴 저장부에 상기 제1 글꼴 식별자와 일치하는 글꼴 식별자가 저장되어 있는지를 확인한다.In step S330, when a first font identifier is identified as a font identifier for a font applied to characters included in the first document, a font identifier matching the first font identifier is stored in the support font storage unit check that it is

단계(S340)에서는 상기 지원 글꼴 저장부에 상기 제1 글꼴 식별자와 일치하는 글꼴 식별자가 저장되어 있지 않은 것으로 확인된 경우, 상기 제1 문서에 적용되어 있는 글꼴이 상기 문서 작성 프로그램에서 지원되지 않는 글꼴임을 지시하는 글꼴 확인 메시지를 생성하여 화면 상에 표시한다.In step S340, if it is determined that the font identifier matching the first font identifier is not stored in the supported font storage unit, the font applied to the first document is a font that is not supported by the document creation program. Generates a font confirmation message indicating that it is and displays it on the screen.

이때, 본 발명의 일실시예에 따르면, 상기 문서 편집 장치의 동작 방법은 상기 글꼴 확인 메시지가 화면 상에 표시된 후, 상기 사용자로부터 상기 제1 문서에 포함된 문자들에 대한 글꼴 대체 명령이 수신되면, 상기 복수의 지원 글꼴들에 대한 글꼴 데이터 중 어느 하나의 글꼴 데이터를 대체 글꼴 데이터로 선택하는 단계 및 상기 대체 글꼴 데이터가 선택되면, 상기 제1 문서에 포함된 문자들에 대해 상기 대체 글꼴 데이터에 따른 글꼴 서식을 적용함으로써, 상기 제1 문서를 재구성하는 단계를 더 포함할 수 있다.At this time, according to an embodiment of the present invention, in the method of operating the document editing apparatus, after the font confirmation message is displayed on the screen, when a font replacement command for characters included in the first document is received from the user, , selecting any one of the font data for the plurality of supported fonts as the replacement font data, and when the replacement font data is selected, the replacement font data is added to the replacement font data for characters included in the first document. The method may further include reconstructing the first document by applying a font format according to the method.

이때, 본 발명의 일실시예에 따르면, 상기 어느 하나의 글꼴 데이터를 대체 글꼴 데이터로 선택하는 단계는 문자에 적용 가능한 것으로 미리 지정된 복수의 글꼴들 각각에 대한 글꼴 식별자와, 각 글꼴 간의 미리 정해진 유사도에 기반하여 상기 복수의 글꼴들 각각에 대해 미리 지정된 특성 벡터가 서로 대응되어 저장되어 있는 유사도 데이터베이스를 유지하는 단계, 상기 글꼴 확인 메시지가 화면 상에 표시된 후, 상기 사용자로부터 상기 제1 문서에 포함된 문자들에 대한 글꼴 대체 명령이 수신되면, 상기 유사도 데이터베이스를 참조하여 상기 제1 글꼴 식별자에 대응되어 저장되어 있는 제1 특성 벡터를 확인하고, 상기 제1 특성 벡터와 상기 복수의 지원 글꼴들에 대한 글꼴 식별자 각각에 대응되는 특성 벡터 간의 유클리드 거리를 연산하는 단계 및 상기 복수의 지원 글꼴들에 대한 글꼴 식별자 중 상기 제1 특성 벡터와의 유클리드 거리가 최소로 연산된 글꼴 식별자를 상기 제1 글꼴 식별자에 대한 대체 글꼴 식별자로 선택하고, 상기 지원 글꼴 저장부에 저장되어 있는 상기 복수의 지원 글꼴들에 대한 글꼴 데이터 중 상기 대체 글꼴 식별자에 대응되어 저장되어 있는 글꼴 데이터를 상기 대체 글꼴 데이터로 선택하는 단계를 포함할 수 있다.In this case, according to an embodiment of the present invention, the step of selecting one of the font data as the replacement font data includes a font identifier for each of a plurality of fonts previously designated as applicable to a character, and a predetermined similarity between each font. maintaining a similarity database in which predetermined characteristic vectors for each of the plurality of fonts are stored in correspondence with each other based on When a font replacement command for characters is received, a first characteristic vector stored in correspondence to the first font identifier is identified with reference to the similarity database, and information about the first characteristic vector and the plurality of supported fonts is obtained. calculating a Euclidean distance between feature vectors corresponding to each of the font identifiers, and assigning a font identifier in which the Euclidean distance to the first feature vector among the font identifiers for the plurality of supported fonts is calculated as a minimum to the first font identifier selecting as the replacement font identifier for the font, and selecting, as the replacement font data, the font data stored corresponding to the replacement font identifier among the font data for the plurality of supported fonts stored in the support font storage unit; may include

또한, 본 발명의 일실시예에 따르면, 상기 문서 편집 장치의 동작 방법은 상기 제1 문서가 재구성된 이후, 상기 사용자로부터 상기 제1 문서에 포함된 문자들에 대한 대체 글꼴의 변경 명령이 수신되면, 상기 유사도 데이터베이스를 참조하여 상기 제1 글꼴 식별자에 대응되어 저장되어 있는 상기 제1 특성 벡터를 재확인하고, 상기 제1 특성 벡터와 상기 복수의 지원 글꼴들에 대한 글꼴 식별자 각각에 대응되는 특성 벡터 간의 유클리드 거리를 재연산하는 단계, 상기 복수의 지원 글꼴들에 대한 글꼴 식별자 중 상기 제1 특성 벡터와의 유클리드 거리가 기설정된 기준 거리 이내로 연산된 적어도 하나의 후보 글꼴 식별자를 상기 제1 글꼴 식별자에 대한 변경 후보 글꼴 식별자로 선택하는 단계, 상기 적어도 하나의 후보 글꼴 식별자가 상기 변경 후보 글꼴 식별자로 선택되면, 상기 적어도 하나의 후보 글꼴 식별자 각각에 대한 글꼴 명칭에 대한 정보를 화면 상에 표시하는 단계 상기 사용자로부터 상기 적어도 하나의 후보 글꼴 식별자 중 제2 글꼴 식별자에 대한 선택 명령이 수신되면, 상기 지원 글꼴 저장부에 저장되어 있는 상기 복수의 지원 글꼴들에 대한 글꼴 데이터 중 상기 제2 글꼴 식별자에 대응되어 저장되어 있는 글꼴 데이터를 변경 대상 글꼴 데이터로 선택하는 단계 및 상기 변경 대상 글꼴 데이터의 선택이 완료되면, 상기 제1 문서에 포함된 문자들에 대해 상기 변경 대상 글꼴 데이터에 따른 글꼴 서식을 적용함으로써, 상기 제1 문서를 다시 재구성하는 단계를 더 포함할 수 있다.In addition, according to an embodiment of the present invention, the method of operating the document editing apparatus includes: after the first document is reconstructed, about the characters included in the first document from the user When the change command of the replacement font is received, the first characteristic vector stored in correspondence with the first font identifier is reconfirmed with reference to the similarity database, and fonts for the first characteristic vector and the plurality of supported fonts are received. re-calculating the Euclidean distance between the feature vectors corresponding to each of the identifiers; at least one candidate font identifier in which the Euclidean distance from the first feature vector among the font identifiers for the plurality of supported fonts is calculated within a preset reference distance selecting as the change candidate font identifier for the first font identifier; if the at least one candidate font identifier is selected as the change candidate font identifier, information on the font name for each of the at least one candidate font identifier Displaying on a screen When a command for selecting a second font identifier from among the at least one candidate font identifier is received from the user, among the font data for the plurality of supported fonts stored in the supported font storage unit, the selecting the font data stored corresponding to the second font identifier as the change target font data, and when the selection of the change target font data is completed, the characters included in the first document are added to the change target font data The method may further include reconstructing the first document by applying a font format according to the font format.

또한, 본 발명의 일실시예에 따르면, 상기 문서 편집 장치의 동작 방법은 상기 제1 문서가 재구성된 이후, 상기 사용자로부터 상기 제1 문서에 포함된 문자들 중 제1 문자에 대한 글꼴 세부 조정 명령이 수신되면, 상기 제1 문자를 둘러싸는 기설정된 크기의 사각 영역을 생성함으로써, 상기 사각 영역을 제1 문자 영역으로 추출하는 단계, 상기 지원 글꼴 저장부에 저장되어 있는 상기 복수의 지원 글꼴들에 대한 글꼴 데이터를 기초로 상기 제1 문자 영역 내에 존재하는 상기 제1 문자의 글꼴을 상기 복수의 지원 글꼴들 각각에 대응하는 글꼴로 변경함으로써, 상기 복수의 지원 글꼴들 각각에 대응하는 대체 문자 영역들(상기 대체 문자 영역들의 크기는 상기 제1 문자 영역의 크기와 동일함)을 생성하는 단계, 상기 제1 문자 영역과 상기 대체 문자 영역들을 각각 가로 n개, 세로 n개로 구성되는 n x n개의 부분 사각 영역들로 분할한 후, 상기 n x n개의 부분 사각 영역들 각각에 대해 상기 n x n개의 부분 사각 영역들 각각의 내부에 상기 제1 문자의 부분이 포함되어 있으면 1의 코드를 할당하고, 상기 제1 문자의 부분이 포함되어 있지 않으면 0의 코드를 할당함으로써, 상기 제1 문자 영역과 상기 대체 문자 영역들 각각에 대한 n x n의 행렬을 생성하는 단계, 상기 대체 문자 영역들 각각에 대한 n x n의 행렬에 대해, 상기 제1 문자 영역에 대한 n x n의 행렬과의 아다마르 곱을 연산함으로써, 상기 대체 문자 영역들 각각에 대응하는 n x n의 연산 행렬을 생성하는 단계, 상기 대체 문자 영역들 각각에 대응하는 n x n의 연산 행렬에 포함된 1의 성분 값들의 개수를 각각 카운트하고, 상기 대체 문자 영역들 중 1의 성분 값이 최대로 카운트된 n x n의 연산 행렬에 대응하는 제1 대체 문자 영역을 선택한 후 상기 복수의 지원 글꼴들에 대한 글꼴 식별자 중 상기 제1 대체 문자 영역에 대응하는 제1 지원 글꼴에 대한 글꼴 식별자를 확인하는 단계 상기 지원 글꼴 저장부에 저장된 상기 복수의 지원 글꼴들에 대한 글꼴 데이터 중 상기 제1 지원 글꼴에 대한 글꼴 식별자에 대응되어 저장되어 있는 글꼴 데이터를 상기 제1 문자에 대한 세부 대체 글꼴 데이터로 선택하는 단계 및 상기 제1 문자에 대한 세부 대체 글꼴 데이터의 선택이 완료되면, 상기 제1 문서에 포함된 상기 제1 문자에 대해 상기 제1 문자에 대한 세부 대체 글꼴 데이터에 따른 글꼴 서식을 적용함으로써, 상기 제1 문서를 다시 재구성하는 단계를 더 포함할 수 있다.In addition, according to an embodiment of the present invention, in the method of operating the document editing apparatus, after the first document is reconstructed, a detailed font adjustment command for a first character among characters included in the first document from the user When this is received, extracting the rectangular area as a first text area by creating a rectangular area of a predetermined size surrounding the first character, the plurality of supported fonts stored in the support font storage unit Substitute character areas corresponding to each of the plurality of supported fonts by changing the font of the first character existing in the first character area to a font corresponding to each of the plurality of supported fonts based on the font data for generating (the size of the replacement text areas is the same as the size of the first text area); After dividing into , if a part of the first character is included in each of the nxn partial rectangular regions, a code of 1 is assigned to each of the nxn partial rectangular regions, and the part of the first character generating an nxn matrix for each of the first character region and the replacement character regions by assigning a code of 0 if not included; for an nxn matrix for each of the replacement character regions, the generating an nxn operation matrix corresponding to each of the replacement character areas by calculating a Hadamard product with an nxn matrix for one character area; Count the number of component values of 1, respectively, and select a first replacement character area corresponding to an nxn operation matrix in which the component value of 1 is maximally counted among the replacement character areas, and then a font for the plurality of supported fonts Checking a font identifier for a first supported font corresponding to the first replacement character area among the identifiers. selecting, as detailed replacement font data for the first character, font data stored in correspondence with the font identifier for the first supported font from among the font data for the plurality of supported fonts stored in the book; When the selection of detailed replacement font data for a character is completed, the first document is rewritten by applying a font format according to the detailed replacement font data for the first character to the first character included in the first document. It may further include the step of reconfiguring.

이상, 도 3을 참조하여 본 발명의 일실시예에 따른 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치의 동작 방법에 대해 설명하였다. 여기서, 본 발명의 일실시예에 따른 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치의 동작 방법은 도 1과 도 2를 이용하여 설명한 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치(110)의 동작에 대한 구성과 대응될 수 있으므로, 이에 대한 보다 상세한 설명은 생략하기로 한다.In the above, a method of operating a document editing apparatus capable of confirming whether a font applied to a document is a supported font according to an embodiment of the present invention has been described with reference to FIG. 3 . Here, in the method of operating a document editing apparatus capable of confirming whether a font applied to a document is a supported font according to an embodiment of the present invention, the font applied to the document described with reference to FIGS. 1 and 2 is supported. Since it may correspond to the configuration of the operation of the document editing apparatus 110 capable of identifying recognition, a more detailed description thereof will be omitted.

본 발명의 일실시예에 따른 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치의 동작 방법은 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램으로 구현될 수 있다.The method of operating a document editing apparatus capable of confirming whether a font applied to a document is a supported font according to an embodiment of the present invention may be implemented as a computer program stored in a storage medium for execution through combination with a computer.

또한, 본 발명의 일실시예에 따른 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치의 동작 방법은 컴퓨터와의 결합을 통해 실행시키기 위한 컴퓨터 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다.In addition, the method of operating a document editing apparatus capable of confirming whether a font applied to a document is a supported font according to an embodiment of the present invention is implemented in the form of a computer program command for execution through combination with a computer and is computer readable may be recorded on the medium. The computer-readable medium may include program instructions, data files, data structures, etc. alone or in combination. The program instructions recorded on the medium may be specially designed and configured for the present invention, or may be known and available to those skilled in the art of computer software. Examples of the computer-readable recording medium include magnetic media such as hard disks, floppy disks and magnetic tapes, optical media such as CD-ROMs and DVDs, and magnetic such as floppy disks. - includes magneto-optical media, and hardware devices specially configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine language codes such as those generated by a compiler, but also high-level language codes that can be executed by a computer using an interpreter or the like.

이상과 같이 본 발명에서는 구체적인 구성 요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다.As described above, the present invention has been described with specific matters such as specific components and limited embodiments and drawings, but these are provided to help a more general understanding of the present invention, and the present invention is not limited to the above embodiments. , various modifications and variations are possible from these descriptions by those of ordinary skill in the art to which the present invention pertains.

따라서, 본 발명의 사상은 설명된 실시예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등하거나 등가적 변형이 있는 모든 것들은 본 발명 사상의 범주에 속한다고 할 것이다.Therefore, the spirit of the present invention should not be limited to the described embodiments, and not only the claims to be described later, but also all those with equivalent or equivalent modifications to the claims will be said to belong to the scope of the spirit of the present invention. .

110: 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치
111: 지원 글꼴 저장부 112: 글꼴 식별자 확인부
113: 지원 글꼴 확인부 114: 메시지 표시부
115: 대체 글꼴 선택부 116: 글꼴 대체부
117: 유사도 데이터베이스 118: 유클리드 거리 연산부
119: 대체 글꼴 선택 처리부 120: 재연산처리부
121: 변경 후보 글꼴 식별자 선택부 122: 후보 글꼴 표시부
123: 변경 대상 글꼴 데이터 선택부 124: 문자 영역 추출부
125: 글꼴 변경부 126: 행렬 생성부
127: 연산 행렬 생성부 128: 문자 영역 확인부
129: 세부 대체 글꼴 데이터 선택부
110: A document editing device that can check whether the font applied to the document is a supported font
111: support font storage unit 112: font identifier verification unit
113: support font confirmation unit 114: message display unit
115: replacement font selection unit 116: font replacement unit
117: similarity database 118: Euclidean distance calculator
119: alternative font selection processing unit 120: re-operation processing unit
121: change candidate font identifier selection unit 122: candidate font display unit
123: change target font data selection unit 124: character area extraction unit
125: font changer 126: matrix generator
127: arithmetic matrix generation unit 128: character area check unit
129: detailed replacement font data selection unit

Claims (12)

문서 작성 프로그램에서 지원되는 복수의 지원 글꼴들 각각에 대한 글꼴 식별자와 상기 복수의 지원 글꼴들 각각에 대한 글꼴 데이터 - 상기 글꼴 데이터는 문서가 로드될 때, 문서에 포함된 문자들에 대해 대응되는 글꼴 서식을 적용하는데 사용되는 데이터임 - 가 서로 대응되어 저장되어 있는 지원 글꼴 저장부;
상기 문서 작성 프로그램을 통해 제1 문서가 오픈되면, 상기 제1 문서에 대한 데이터를 읽어 들여 상기 제1 문서에 포함된 문자들에 적용되어 있는 글꼴에 대한 글꼴 식별자를 확인하는 글꼴 식별자 확인부;
상기 제1 문서에 포함된 문자들에 적용되어 있는 글꼴에 대한 글꼴 식별자로 제1 글꼴 식별자가 확인되면, 상기 지원 글꼴 저장부에 상기 제1 글꼴 식별자와 일치하는 글꼴 식별자가 저장되어 있는지를 확인하는 지원 글꼴 확인부;
상기 지원 글꼴 저장부에 상기 제1 글꼴 식별자와 일치하는 글꼴 식별자가 저장되어 있지 않은 것으로 확인된 경우, 상기 제1 문서에 적용되어 있는 글꼴이 상기 문서 작성 프로그램에서 지원되지 않는 글꼴임을 지시하는 글꼴 확인 메시지를 생성하여 화면 상에 표시하는 메시지 표시부;
상기 글꼴 확인 메시지가 화면 상에 표시된 후, 사용자로부터 상기 제1 문서에 포함된 문자들에 대한 글꼴 대체 명령이 수신되면, 상기 복수의 지원 글꼴들에 대한 글꼴 데이터 중 어느 하나의 글꼴 데이터를 대체 글꼴 데이터로 선택하는 대체 글꼴 선택부; 및
상기 대체 글꼴 데이터가 선택되면, 상기 제1 문서에 포함된 문자들에 대해 상기 대체 글꼴 데이터에 따른 글꼴 서식을 적용함으로써, 상기 제1 문서를 재구성하는 글꼴 대체부
를 포함하고,
상기 대체 글꼴 선택부는
상기 글꼴 대체부를 통해 상기 제1 문서가 재구성된 이후, 상기 사용자로부터 상기 제1 문서에 포함된 문자들 중 제1 문자에 대한 글꼴 세부 조정 명령이 수신되면, 상기 제1 문자를 둘러싸는 기설정된 크기의 사각 영역을 생성함으로써, 상기 사각 영역을 제1 문자 영역으로 추출하는 문자 영역 추출부;
상기 지원 글꼴 저장부에 저장되어 있는 상기 복수의 지원 글꼴들에 대한 글꼴 데이터를 기초로 상기 제1 문자 영역 내에 존재하는 상기 제1 문자의 글꼴을 상기 복수의 지원 글꼴들 각각에 대응하는 글꼴로 변경함으로써, 상기 복수의 지원 글꼴들 각각에 대응하는 대체 문자 영역들 - 상기 대체 문자 영역들의 크기는 상기 제1 문자 영역의 크기와 동일함 - 을 생성하는 글꼴 변경부;
상기 제1 문자 영역과 상기 대체 문자 영역들을 각각 가로 n개, 세로 n개로 구성되는 n x n개의 부분 사각 영역들로 분할한 후, 상기 n x n개의 부분 사각 영역들 각각에 대해 상기 n x n개의 부분 사각 영역들 각각의 내부에 상기 제1 문자의 부분이 포함되어 있으면 1의 코드를 할당하고, 상기 제1 문자의 부분이 포함되어 있지 않으면 0의 코드를 할당함으로써, 상기 제1 문자 영역과 상기 대체 문자 영역들 각각에 대한 n x n의 행렬을 생성하는 행렬 생성부;
상기 대체 문자 영역들 각각에 대한 n x n의 행렬에 대해, 상기 제1 문자 영역에 대한 n x n의 행렬과의 아다마르 곱(Hadamard product)을 연산함으로써, 상기 대체 문자 영역들 각각에 대응하는 n x n의 연산 행렬을 생성하는 연산 행렬 생성부;
상기 대체 문자 영역들 각각에 대응하는 n x n의 연산 행렬에 포함된 1의 성분 값들의 개수를 각각 카운트하고, 상기 대체 문자 영역들 중 1의 성분 값이 최대로 카운트된 n x n의 연산 행렬에 대응하는 제1 대체 문자 영역을 선택한 후 상기 복수의 지원 글꼴들에 대한 글꼴 식별자 중 상기 제1 대체 문자 영역에 대응하는 제1 지원 글꼴에 대한 글꼴 식별자를 확인하는 문자 영역 확인부; 및
상기 지원 글꼴 저장부에 저장된 상기 복수의 지원 글꼴들에 대한 글꼴 데이터 중 상기 제1 지원 글꼴에 대한 글꼴 식별자에 대응되어 저장되어 있는 글꼴 데이터를 상기 제1 문자에 대한 세부 대체 글꼴 데이터로 선택하는 세부 대체 글꼴 데이터 선택부
를 포함하며,
상기 글꼴 대체부는
상기 세부 대체 글꼴 데이터 선택부를 통해 상기 제1 문자에 대한 세부 대체 글꼴 데이터의 선택이 완료되면, 상기 제1 문서에 포함된 상기 제1 문자에 대해 상기 제1 문자에 대한 세부 대체 글꼴 데이터에 따른 글꼴 서식을 적용함으로써, 상기 제1 문서를 다시 재구성하는 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치.
A font identifier for each of a plurality of supported fonts supported by the document creation program and font data for each of the plurality of supported fonts - The font data is a font corresponding to characters included in the document when the document is loaded data used to apply the format - a support font storage unit in which is stored in correspondence with each other;
a font identifier check unit that reads data on the first document and checks a font identifier for a font applied to characters included in the first document when a first document is opened through the document creation program;
When a first font identifier is identified as a font identifier for a font applied to characters included in the first document, it is checked whether a font identifier matching the first font identifier is stored in the support font storage unit Support font verification unit;
When it is confirmed that the font identifier matching the first font identifier is not stored in the supported font storage unit, a font check indicating that the font applied to the first document is a font not supported by the document creation program a message display unit for generating a message and displaying it on the screen;
After the font confirmation message is displayed on the screen, when a font replacement command for the characters included in the first document is received from the user, any one of the font data of the plurality of supported fonts is replaced with the font data. Alternative font selection unit to select as data; and
When the replacement font data is selected, a font replacement unit reconstructs the first document by applying a font format according to the replacement font data to the characters included in the first document
including,
The alternative font selection unit
After the first document is reconstructed through the font replacement unit, when a detailed font adjustment command for a first character among characters included in the first document is received from the user, a preset size surrounding the first character a character region extracting unit that extracts the rectangular region as a first character region by generating a rectangular region of ;
Based on the font data for the plurality of support fonts stored in the support font storage unit, the font of the first character existing in the first text area is changed to a font corresponding to each of the plurality of support fonts a font changing unit generating replacement text areas corresponding to each of the plurality of supported fonts, the size of the replacement text areas being the same as the size of the first text area;
After dividing the first text area and the replacement text area into nxn partial rectangular areas each comprising n horizontally and n vertically, each of the nxn partial rectangular areas for each of the nxn partial rectangular areas By assigning a code of 1 if a part of the first character is included in the interior of a matrix generator for generating an n-by-n matrix for ;
An nxn operation matrix corresponding to each of the replacement character regions by calculating a Hadamard product with an nxn matrix for the first character region for an nxn matrix for each of the replacement character regions an arithmetic matrix generator for generating
Each of the number of component values of 1 included in an nxn operation matrix corresponding to each of the replacement character areas is counted, and a nxnth operation matrix in which the component value of 1 among the replacement character areas is maximally counted a text area checking unit for selecting a first replacement text area and checking a font identifier for a first supported font corresponding to the first replacement text area among the font identifiers for the plurality of supported fonts; and
Details of selecting, as the detailed replacement font data for the first character, the font data stored corresponding to the font identifier for the first supported font among the font data for the plurality of supported fonts stored in the support font storage unit Alternative font data selection section
includes,
the font replacement
When selection of detailed replacement font data for the first character is completed through the detailed replacement font data selection unit, a font according to the detailed replacement font data for the first character for the first character included in the first document A document editing apparatus capable of confirming whether a font applied to a document reconstructing the first document is a supported font by applying a format.
삭제delete 제1항에 있어서,
상기 대체 글꼴 선택부는
문자에 적용 가능한 것으로 미리 지정된 복수의 글꼴들 각각에 대한 글꼴 식별자와, 각 글꼴 간의 미리 정해진 유사도에 기반하여 상기 복수의 글꼴들 각각에 대해 미리 지정된 특성 벡터가 서로 대응되어 저장되어 있는 유사도 데이터베이스;
상기 메시지 표시부를 통해 상기 글꼴 확인 메시지가 화면 상에 표시된 후, 상기 사용자로부터 상기 제1 문서에 포함된 문자들에 대한 글꼴 대체 명령이 수신되면, 상기 유사도 데이터베이스를 참조하여 상기 제1 글꼴 식별자에 대응되어 저장되어 있는 제1 특성 벡터를 확인하고, 상기 제1 특성 벡터와 상기 복수의 지원 글꼴들에 대한 글꼴 식별자 각각에 대응되는 특성 벡터 간의 유클리드 거리(Euclidean Distance)를 연산하는 유클리드 거리 연산부; 및
상기 복수의 지원 글꼴들에 대한 글꼴 식별자 중 상기 제1 특성 벡터와의 유클리드 거리가 최소로 연산된 글꼴 식별자를 상기 제1 글꼴 식별자에 대한 대체 글꼴 식별자로 선택하고, 상기 지원 글꼴 저장부에 저장되어 있는 상기 복수의 지원 글꼴들에 대한 글꼴 데이터 중 상기 대체 글꼴 식별자에 대응되어 저장되어 있는 글꼴 데이터를 상기 대체 글꼴 데이터로 선택하는 대체 글꼴 선택 처리부
를 포함하는 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치.
According to claim 1,
The alternative font selection unit
a similarity database in which a font identifier for each of a plurality of fonts designated as applicable to a character in advance, and a feature vector designated in advance for each of the plurality of fonts based on a predetermined degree of similarity between the fonts are stored in correspondence with each other;
After the font confirmation message is displayed on the screen through the message display unit, when a font replacement command for the characters included in the first document is received from the user, the font identifier corresponds to the first font identifier with reference to the similarity database a Euclidean distance calculator configured to check a stored first feature vector and calculate a Euclidean distance between the first feature vector and a feature vector corresponding to each of the font identifiers for the plurality of supported fonts; and
Among the font identifiers for the plurality of supported fonts, a font identifier for which the Euclidean distance to the first characteristic vector is calculated with the minimum is selected as an alternate font identifier for the first font identifier, and is stored in the supported font storage unit. A replacement font selection processing unit for selecting, as the replacement font data, font data stored corresponding to the replacement font identifier from among the font data for the plurality of supported fonts.
A document editing device that can check whether the font applied to the document containing the .
제3항에 있어서,
상기 대체 글꼴 선택부는
상기 글꼴 대체부를 통해 상기 제1 문서가 재구성된 이후, 상기 사용자로부터 상기 제1 문서에 포함된 문자들에 대한 대체 글꼴의 변경 명령이 수신되면, 상기 유사도 데이터베이스를 참조하여 상기 제1 글꼴 식별자에 대응되어 저장되어 있는 상기 제1 특성 벡터를 재확인하고, 상기 제1 특성 벡터와 상기 복수의 지원 글꼴들에 대한 글꼴 식별자 각각에 대응되는 특성 벡터 간의 유클리드 거리를 재연산하는 재연산 처리부;
상기 복수의 지원 글꼴들에 대한 글꼴 식별자 중 상기 제1 특성 벡터와의 유클리드 거리가 기설정된(predetermined) 기준 거리 이내로 연산된 적어도 하나의 후보 글꼴 식별자를 상기 제1 글꼴 식별자에 대한 변경 후보 글꼴 식별자로 선택하는 변경 후보 글꼴 식별자 선택부;
상기 적어도 하나의 후보 글꼴 식별자가 상기 변경 후보 글꼴 식별자로 선택되면, 상기 적어도 하나의 후보 글꼴 식별자 각각에 대한 글꼴 명칭에 대한 정보를 화면 상에 표시하는 후보 글꼴 표시부; 및
상기 사용자로부터 상기 적어도 하나의 후보 글꼴 식별자 중 제2 글꼴 식별자에 대한 선택 명령이 수신되면, 상기 지원 글꼴 저장부에 저장되어 있는 상기 복수의 지원 글꼴들에 대한 글꼴 데이터 중 상기 제2 글꼴 식별자에 대응되어 저장되어 있는 글꼴 데이터를 변경 대상 글꼴 데이터로 선택하는 변경 대상 글꼴 데이터 선택부
를 더 포함하고,
상기 글꼴 대체부는
상기 변경 대상 글꼴 데이터 선택부를 통해 상기 변경 대상 글꼴 데이터의 선택이 완료되면, 상기 제1 문서에 포함된 문자들에 대해 상기 변경 대상 글꼴 데이터에 따른 글꼴 서식을 적용함으로써, 상기 제1 문서를 다시 재구성하는 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치.
4. The method of claim 3,
The alternative font selection unit
After the first document is reconstructed through the font replacement unit, when a command to change a replacement font for characters included in the first document is received from the user, the first font identifier is referred to by referring to the similarity database. a re-operation processing unit for reconfirming the stored first characteristic vector and re-calculating the Euclidean distance between the first characteristic vector and the characteristic vector corresponding to each of the font identifiers for the plurality of support fonts;
Among the font identifiers for the plurality of supported fonts, at least one candidate font identifier in which the Euclidean distance to the first characteristic vector is calculated within a predetermined reference distance is used as a change candidate font identifier for the first font identifier. a change candidate font identifier selection unit to select;
a candidate font display unit for displaying information on a font name for each of the at least one candidate font identifier on a screen when the at least one candidate font identifier is selected as the change candidate font identifier; and
When a command for selecting a second font identifier from among the at least one candidate font identifier is received from the user, it corresponds to the second font identifier among the font data for the plurality of supported fonts stored in the supported font storage unit Change target font data selection unit that selects the stored font data as change target font data
further comprising,
the font replacement
When the selection of the change subject font data is completed through the change subject font data selection unit, the first document is reconstructed by applying a font format according to the change subject font data to the characters included in the first document. A document editing device that can check whether the font applied to the document is a supported font.
삭제delete 문서 작성 프로그램에서 지원되는 복수의 지원 글꼴들 각각에 대한 글꼴 식별자와 상기 복수의 지원 글꼴들 각각에 대한 글꼴 데이터 - 상기 글꼴 데이터는 문서가 로드될 때, 문서에 포함된 문자들에 대해 대응되는 글꼴 서식을 적용하는데 사용되는 데이터임 - 가 서로 대응되어 저장되어 있는 지원 글꼴 저장부를 유지하는 단계;
상기 문서 작성 프로그램을 통해 제1 문서가 오픈되면, 상기 제1 문서에 대한 데이터를 읽어 들여 상기 제1 문서에 포함된 문자들에 적용되어 있는 글꼴에 대한 글꼴 식별자를 확인하는 단계;
상기 제1 문서에 포함된 문자들에 적용되어 있는 글꼴에 대한 글꼴 식별자로 제1 글꼴 식별자가 확인되면, 상기 지원 글꼴 저장부에 상기 제1 글꼴 식별자와 일치하는 글꼴 식별자가 저장되어 있는지를 확인하는 단계;
상기 지원 글꼴 저장부에 상기 제1 글꼴 식별자와 일치하는 글꼴 식별자가 저장되어 있지 않은 것으로 확인된 경우, 상기 제1 문서에 적용되어 있는 글꼴이 상기 문서 작성 프로그램에서 지원되지 않는 글꼴임을 지시하는 글꼴 확인 메시지를 생성하여 화면 상에 표시하는 단계;
상기 글꼴 확인 메시지가 화면 상에 표시된 후, 사용자로부터 상기 제1 문서에 포함된 문자들에 대한 글꼴 대체 명령이 수신되면, 상기 복수의 지원 글꼴들에 대한 글꼴 데이터 중 어느 하나의 글꼴 데이터를 대체 글꼴 데이터로 선택하는 단계;
상기 대체 글꼴 데이터가 선택되면, 상기 제1 문서에 포함된 문자들에 대해 상기 대체 글꼴 데이터에 따른 글꼴 서식을 적용함으로써, 상기 제1 문서를 재구성하는 단계;
상기 제1 문서가 재구성된 이후, 상기 사용자로부터 상기 제1 문서에 포함된 문자들 중 제1 문자에 대한 글꼴 세부 조정 명령이 수신되면, 상기 제1 문자를 둘러싸는 기설정된 크기의 사각 영역을 생성함으로써, 상기 사각 영역을 제1 문자 영역으로 추출하는 단계;
상기 지원 글꼴 저장부에 저장되어 있는 상기 복수의 지원 글꼴들에 대한 글꼴 데이터를 기초로 상기 제1 문자 영역 내에 존재하는 상기 제1 문자의 글꼴을 상기 복수의 지원 글꼴들 각각에 대응하는 글꼴로 변경함으로써, 상기 복수의 지원 글꼴들 각각에 대응하는 대체 문자 영역들 - 상기 대체 문자 영역들의 크기는 상기 제1 문자 영역의 크기와 동일함 - 을 생성하는 단계;
상기 제1 문자 영역과 상기 대체 문자 영역들을 각각 가로 n개, 세로 n개로 구성되는 n x n개의 부분 사각 영역들로 분할한 후, 상기 n x n개의 부분 사각 영역들 각각에 대해 상기 n x n개의 부분 사각 영역들 각각의 내부에 상기 제1 문자의 부분이 포함되어 있으면 1의 코드를 할당하고, 상기 제1 문자의 부분이 포함되어 있지 않으면 0의 코드를 할당함으로써, 상기 제1 문자 영역과 상기 대체 문자 영역들 각각에 대한 n x n의 행렬을 생성하는 단계;
상기 대체 문자 영역들 각각에 대한 n x n의 행렬에 대해, 상기 제1 문자 영역에 대한 n x n의 행렬과의 아다마르 곱(Hadamard product)을 연산함으로써, 상기 대체 문자 영역들 각각에 대응하는 n x n의 연산 행렬을 생성하는 단계;
상기 대체 문자 영역들 각각에 대응하는 n x n의 연산 행렬에 포함된 1의 성분 값들의 개수를 각각 카운트하고, 상기 대체 문자 영역들 중 1의 성분 값이 최대로 카운트된 n x n의 연산 행렬에 대응하는 제1 대체 문자 영역을 선택한 후 상기 복수의 지원 글꼴들에 대한 글꼴 식별자 중 상기 제1 대체 문자 영역에 대응하는 제1 지원 글꼴에 대한 글꼴 식별자를 확인하는 단계;
상기 지원 글꼴 저장부에 저장된 상기 복수의 지원 글꼴들에 대한 글꼴 데이터 중 상기 제1 지원 글꼴에 대한 글꼴 식별자에 대응되어 저장되어 있는 글꼴 데이터를 상기 제1 문자에 대한 세부 대체 글꼴 데이터로 선택하는 단계; 및
상기 제1 문자에 대한 세부 대체 글꼴 데이터의 선택이 완료되면, 상기 제1 문서에 포함된 상기 제1 문자에 대해 상기 제1 문자에 대한 세부 대체 글꼴 데이터에 따른 글꼴 서식을 적용함으로써, 상기 제1 문서를 다시 재구성하는 단계
를 포함하는 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치의 동작 방법.
A font identifier for each of a plurality of supported fonts supported by the document creation program and font data for each of the plurality of supported fonts - The font data is a font corresponding to characters included in the document when the document is loaded maintaining a support font storage unit stored in correspondence with each other;
when a first document is opened through the document creation program, reading data for the first document and checking a font identifier for a font applied to characters included in the first document;
When a first font identifier is identified as a font identifier for a font applied to characters included in the first document, it is checked whether a font identifier matching the first font identifier is stored in the support font storage unit step;
When it is confirmed that the font identifier matching the first font identifier is not stored in the supported font storage unit, a font check indicating that the font applied to the first document is a font not supported by the document creation program generating a message and displaying it on a screen;
After the font confirmation message is displayed on the screen, when a font replacement command for the characters included in the first document is received from the user, any one of the font data of the plurality of supported fonts is replaced with the font data. selecting with data;
reconstructing the first document by applying a font format according to the replacement font data to characters included in the first document when the replacement font data is selected;
After the first document is reconstructed, when a detailed font adjustment command for a first character among characters included in the first document is received from the user, a rectangular area of a preset size surrounding the first character is generated by doing so, extracting the rectangular area as a first character area;
Based on the font data for the plurality of support fonts stored in the support font storage unit, the font of the first character existing in the first text area is changed to a font corresponding to each of the plurality of support fonts by doing so, generating replacement text areas corresponding to each of the plurality of supported fonts, the size of the replacement text areas being the same as the size of the first text area;
After dividing the first text area and the replacement text area into nxn partial rectangular areas each comprising n horizontally and n vertically, each of the nxn partial rectangular areas for each of the nxn partial rectangular areas By assigning a code of 1 if a part of the first character is included in the interior of generating an n-by-n matrix for ;
An nxn operation matrix corresponding to each of the replacement character regions by calculating a Hadamard product with an nxn matrix for the first character region for an nxn matrix for each of the replacement character regions creating a;
Each of the number of component values of 1 included in an nxn operation matrix corresponding to each of the replacement character areas is counted, and a first component value corresponding to an nxn operation matrix in which the component value of 1 among the replacement character areas is maximally counted checking a font identifier for a first support font corresponding to the first replacement text area among the font identifiers for the plurality of supported fonts after selecting a first replacement text area;
selecting, as the detailed replacement font data for the first character, the font data stored in correspondence to the font identifier for the first supported font from among the font data for the plurality of supported fonts stored in the support font storage unit; ; and
When the selection of detailed replacement font data for the first character is completed, by applying a font format according to the detailed replacement font data for the first character to the first character included in the first document, the first Steps to rebuild the document
A method of operation of a document editing device that can check whether the font applied to the document containing the document is a supported font.
삭제delete 제6항에 있어서,
상기 어느 하나의 글꼴 데이터를 대체 글꼴 데이터로 선택하는 단계는
문자에 적용 가능한 것으로 미리 지정된 복수의 글꼴들 각각에 대한 글꼴 식별자와, 각 글꼴 간의 미리 정해진 유사도에 기반하여 상기 복수의 글꼴들 각각에 대해 미리 지정된 특성 벡터가 서로 대응되어 저장되어 있는 유사도 데이터베이스를 유지하는 단계;
상기 글꼴 확인 메시지가 화면 상에 표시된 후, 상기 사용자로부터 상기 제1 문서에 포함된 문자들에 대한 글꼴 대체 명령이 수신되면, 상기 유사도 데이터베이스를 참조하여 상기 제1 글꼴 식별자에 대응되어 저장되어 있는 제1 특성 벡터를 확인하고, 상기 제1 특성 벡터와 상기 복수의 지원 글꼴들에 대한 글꼴 식별자 각각에 대응되는 특성 벡터 간의 유클리드 거리(Euclidean Distance)를 연산하는 단계; 및
상기 복수의 지원 글꼴들에 대한 글꼴 식별자 중 상기 제1 특성 벡터와의 유클리드 거리가 최소로 연산된 글꼴 식별자를 상기 제1 글꼴 식별자에 대한 대체 글꼴 식별자로 선택하고, 상기 지원 글꼴 저장부에 저장되어 있는 상기 복수의 지원 글꼴들에 대한 글꼴 데이터 중 상기 대체 글꼴 식별자에 대응되어 저장되어 있는 글꼴 데이터를 상기 대체 글꼴 데이터로 선택하는 단계
를 포함하는 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치의 동작 방법.
7. The method of claim 6,
The step of selecting any one of the font data as the replacement font data
Maintaining a similarity database in which a font identifier for each of a plurality of fonts designated as applicable to a character in advance, and a feature vector designated in advance for each of the plurality of fonts based on a predetermined degree of similarity between each font are stored in correspondence with each other to do;
After the font confirmation message is displayed on the screen, when a font replacement command for characters included in the first document is received from the user, the first font identifier stored in correspondence with the first font identifier is referred to the similarity database. identifying one feature vector, and calculating a Euclidean distance between the first feature vector and a feature vector corresponding to each of the font identifiers for the plurality of support fonts; and
Among the font identifiers for the plurality of supported fonts, a font identifier for which the Euclidean distance to the first characteristic vector is calculated with the minimum is selected as an alternate font identifier for the first font identifier, and is stored in the supported font storage unit. selecting, as the replacement font data, font data stored corresponding to the replacement font identifier among the font data for the plurality of supported fonts.
A method of operation of a document editing device that can check whether the font applied to the document containing the document is a supported font.
제8항에 있어서,
상기 제1 문서를 재구성하는 단계를 통해 상기 제1 문서가 재구성된 이후, 상기 사용자로부터 상기 제1 문서에 포함된 문자들에 대한 대체 글꼴의 변경 명령이 수신되면, 상기 유사도 데이터베이스를 참조하여 상기 제1 글꼴 식별자에 대응되어 저장되어 있는 상기 제1 특성 벡터를 재확인하고, 상기 제1 특성 벡터와 상기 복수의 지원 글꼴들에 대한 글꼴 식별자 각각에 대응되는 특성 벡터 간의 유클리드 거리를 재연산하는 단계;
상기 복수의 지원 글꼴들에 대한 글꼴 식별자 중 상기 제1 특성 벡터와의 유클리드 거리가 기설정된(predetermined) 기준 거리 이내로 연산된 적어도 하나의 후보 글꼴 식별자를 상기 제1 글꼴 식별자에 대한 변경 후보 글꼴 식별자로 선택하는 단계;
상기 적어도 하나의 후보 글꼴 식별자가 상기 변경 후보 글꼴 식별자로 선택되면, 상기 적어도 하나의 후보 글꼴 식별자 각각에 대한 글꼴 명칭에 대한 정보를 화면 상에 표시하는 단계;
상기 사용자로부터 상기 적어도 하나의 후보 글꼴 식별자 중 제2 글꼴 식별자에 대한 선택 명령이 수신되면, 상기 지원 글꼴 저장부에 저장되어 있는 상기 복수의 지원 글꼴들에 대한 글꼴 데이터 중 상기 제2 글꼴 식별자에 대응되어 저장되어 있는 글꼴 데이터를 변경 대상 글꼴 데이터로 선택하는 단계; 및
상기 변경 대상 글꼴 데이터의 선택이 완료되면, 상기 제1 문서에 포함된 문자들에 대해 상기 변경 대상 글꼴 데이터에 따른 글꼴 서식을 적용함으로써, 상기 제1 문서를 다시 재구성하는 단계
를 더 포함하는 문서에 적용되어 있는 글꼴이 지원되는 글꼴인지 확인이 가능한 문서 편집 장치의 동작 방법.
9. The method of claim 8,
After the first document is reconstructed through the step of reconstructing the first document, when a command to change the font for the characters included in the first document is received from the user, the second document is referred to the similarity database. reconfirming the first feature vector stored corresponding to one font identifier, and re-calculating the Euclidean distance between the first feature vector and the feature vector corresponding to each of the font identifiers for the plurality of supported fonts;
Among the font identifiers for the plurality of supported fonts, at least one candidate font identifier in which the Euclidean distance to the first characteristic vector is calculated within a predetermined reference distance is used as a change candidate font identifier for the first font identifier. selecting;
displaying information on a font name for each of the at least one candidate font identifier on a screen when the at least one candidate font identifier is selected as the change candidate font identifier;
When a command for selecting a second font identifier from among the at least one candidate font identifier is received from the user, it corresponds to the second font identifier among the font data for the plurality of supported fonts stored in the supported font storage unit selecting the stored font data as change target font data; and
reconstructing the first document by applying a font format according to the change subject font data to the characters included in the first document when the selection of the change subject font data is completed;
A method of operating a document editing device that can check whether the font applied to a document containing more is a supported font.
삭제delete 제6항, 제8항 또는 제9항 중 어느 한 항의 방법을 컴퓨터와의 결합을 통해 실행시키기 위한 컴퓨터 프로그램을 기록한 컴퓨터 판독 가능 기록 매체.A computer-readable recording medium recording a computer program for executing the method of any one of claims 6, 8, or 9 through combination with a computer. 제6항, 제8항 또는 제9항 중 어느 한 항의 방법을 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램.A computer program stored in a storage medium for executing the method of any one of claims 6, 8 or 9 in combination with a computer.
KR1020190148266A 2019-11-19 2019-11-19 Document editing device to check whether the font applied to the document is a supported font and operating method thereof KR102300444B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190148266A KR102300444B1 (en) 2019-11-19 2019-11-19 Document editing device to check whether the font applied to the document is a supported font and operating method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190148266A KR102300444B1 (en) 2019-11-19 2019-11-19 Document editing device to check whether the font applied to the document is a supported font and operating method thereof

Publications (2)

Publication Number Publication Date
KR20210060808A KR20210060808A (en) 2021-05-27
KR102300444B1 true KR102300444B1 (en) 2021-09-09

Family

ID=76135537

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190148266A KR102300444B1 (en) 2019-11-19 2019-11-19 Document editing device to check whether the font applied to the document is a supported font and operating method thereof

Country Status (1)

Country Link
KR (1) KR102300444B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102580533B1 (en) * 2021-08-05 2023-09-19 숙명여자대학교산학협력단 Electronic device providing fonts with a high degree of conformity between hangul and chinese characters and their operating method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003084218A2 (en) 2002-03-29 2003-10-09 Digeo, Inc. Module-based interactive television ticker
KR102030547B1 (en) * 2018-06-19 2019-10-10 주식회사 한글과컴퓨터 Document editing apparatus capable of displaying a document to which an unsupported font is applied and operating method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100750674B1 (en) * 2004-12-28 2007-08-20 엔에이치엔(주) Method For Providing Font Service Enabling Selecting A Font By Area On Service Page And System For Executing The Method
KR20150099936A (en) * 2014-02-24 2015-09-02 주식회사 인프라웨어 Method and apparatus for applying an alternate font for maintaining document layout

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003084218A2 (en) 2002-03-29 2003-10-09 Digeo, Inc. Module-based interactive television ticker
KR102030547B1 (en) * 2018-06-19 2019-10-10 주식회사 한글과컴퓨터 Document editing apparatus capable of displaying a document to which an unsupported font is applied and operating method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Geoffrey Brown 외, 'Born Broken: Fonts and Information Loss in Legacy Digital Documents', 2011.03.

Also Published As

Publication number Publication date
KR20210060808A (en) 2021-05-27

Similar Documents

Publication Publication Date Title
CN108885611B (en) Document automation
KR102300444B1 (en) Document editing device to check whether the font applied to the document is a supported font and operating method thereof
KR102328051B1 (en) Document editing device that enables display of a document to which a font in unsupported data format is applied and operating method thereof
KR102287149B1 (en) Electronic device that displays a separation line of a paragraph based on text line information in a pdf document and operating method thereof
KR102144351B1 (en) Electronic terminal device supporting easy undo processing of electronic document and operating method thereof
KR102300437B1 (en) Electronic document editing apparatus that enables the insertion of special characters at specific locations on the electronic document based on the entered characters and operating method thereof
CN106528516A (en) Method for establishing analysis report
KR102375507B1 (en) Electronic device that supports retrieval of objects from document by matching objects and keywords inserted into document and operating method thereof
KR102300491B1 (en) Electronic terminal device that enables easy change of matrix layout entered through the formula editing window in the electronic document and operating method thereof
KR102466701B1 (en) Electronic device capable of line break in sentence unit on spreadsheet and operating method thereof
KR102300439B1 (en) Font verification server to verify whether the font applied to a document is authorized and operating method thereof
KR102545260B1 (en) Electronic terminal apparatus that supports application of natural substitute fonts when loading electronic documents with unsupported fonts applied and operating method thereof
KR102466706B1 (en) Electronic device that enables easy selection of dependent edit action in document editing programs and operating method thereof
KR102442522B1 (en) Electronic apparatus that recommends shortcut keys according to the editing action input when creating a document and the operating method thereof
KR102466714B1 (en) Electronic device that provides improved object insertion into electronic document through object box and operating method thereof
KR102010556B1 (en) Apparatus for editing web electric document using asynchronous action and operating method thereof
KR102442506B1 (en) Electronic device for recommending shortcuts for editing actions in document editing programs and the operating method thereof
CN113065318B (en) Electronic point reading material manufacturing method and device, electronic equipment and storage medium
KR102500730B1 (en) Electronic apparatus that provides a translation function that maintains the style information of the sentence and operating method thereof
CN117131838B (en) Form page generation method and device based on form image, electronic equipment and medium
KR102507487B1 (en) Electronic apparatus which generates the dedicated document file for supporting fast editing of the pages comprising of a document, and the operating method thereof
KR102442498B1 (en) Usability information collecting server for editing functions supported by electronic document creation programs and operating method thereof
KR101758098B1 (en) Electronic terminal apparatus for copying to keep the shape of the character in the pdf document and method for copying to keep the shape of the character in the pdf document of the electronic terminal apparatus
KR20240054001A (en) Electronic terminal device capable of automatically converting slides in the format of a presentation document into pages in the format of a word processing document and the operating method thereof
KR20220127993A (en) Electronic terminal apparatus for providing information of the associated documents which are associated with the particular document based on simultaneous usage criteria and operating method thereof

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right