KR102545260B1 - Electronic terminal apparatus that supports application of natural substitute fonts when loading electronic documents with unsupported fonts applied and operating method thereof - Google Patents

Electronic terminal apparatus that supports application of natural substitute fonts when loading electronic documents with unsupported fonts applied and operating method thereof Download PDF

Info

Publication number
KR102545260B1
KR102545260B1 KR1020210031820A KR20210031820A KR102545260B1 KR 102545260 B1 KR102545260 B1 KR 102545260B1 KR 1020210031820 A KR1020210031820 A KR 1020210031820A KR 20210031820 A KR20210031820 A KR 20210031820A KR 102545260 B1 KR102545260 B1 KR 102545260B1
Authority
KR
South Korea
Prior art keywords
sentence
font
length
electronic document
fonts
Prior art date
Application number
KR1020210031820A
Other languages
Korean (ko)
Other versions
KR20220127486A (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 KR1020210031820A priority Critical patent/KR102545260B1/en
Publication of KR20220127486A publication Critical patent/KR20220127486A/en
Application granted granted Critical
Publication of KR102545260B1 publication Critical patent/KR102545260B1/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/189Automatic justification

Landscapes

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

Abstract

지원하지 않는 폰트가 적용되어 있는 전자 문서의 로드 시 자연스러운 대체 폰트의 적용을 지원하는 전자 단말 장치 및 그 동작 방법이 개시된다. 본 발명은 사용자로부터 지원하지 않은 원본 폰트가 적용되어 있는 전자 문서에 대한 로드 명령이 인가되면, 상기 전자 문서에 대해 사전 지정된 대체 폰트를 적용하고, 상기 대체 폰트 적용으로 인해, 상기 전자 문서에 포함된 복수의 문장들 중 문장 길이가 상기 전자 문서에 설정되어 있는 편집 영역의 가로 길이를 초과하여 두 줄로 표시되고 있는 제1 문장들을 선택한 후, 상기 제1 문장들 중 사전 설정된 기준치 미만의 길이 비율을 갖는 제2 문장이 존재하는 것으로 확인되면, 상기 전자 문서에서 편집 영역의 가로 길이를 벗어난 지점까지 상기 제2 문장을 한 줄로 표시함으로써, 상기 대체 폰트가 적용된 상기 전자 문서가 화면 상에 자연스럽게 표시될 수 있도록 지원하는 전자 단말 장치 및 그 동작 방법에 대한 것이다.Disclosed are an electronic terminal device that supports the application of a natural replacement font when an electronic document to which an unsupported font is applied is loaded, and an operating method thereof. According to the present invention, when a load command for an electronic document to which an unsupported original font is applied is applied from a user, a pre-specified substitute font is applied to the electronic document, and due to the application of the substitute font, the text included in the electronic document is applied. Among a plurality of sentences, after selecting first sentences whose sentence length exceeds the horizontal length of the editing area set in the electronic document and is displayed in two lines, among the first sentences, having a length ratio less than a preset reference value If it is confirmed that the second sentence exists, the second sentence is displayed in a single line up to a point outside the horizontal length of the editing area in the electronic document so that the electronic document to which the replacement font is applied can be naturally displayed on the screen. It relates to a supporting electronic terminal device and its operation method.

Description

지원하지 않는 폰트가 적용되어 있는 전자 문서의 로드 시 자연스러운 대체 폰트의 적용을 지원하는 전자 단말 장치 및 그 동작 방법{ELECTRONIC TERMINAL APPARATUS THAT SUPPORTS APPLICATION OF NATURAL SUBSTITUTE FONTS WHEN LOADING ELECTRONIC DOCUMENTS WITH UNSUPPORTED FONTS APPLIED AND OPERATING METHOD THEREOF}Electronic terminal device that supports the application of natural substitute fonts when loading an electronic document to which unsupported fonts are applied, and its operating method THEREOF}

본 발명은 지원하지 않는 폰트가 적용되어 있는 전자 문서의 로드 시 자연스러운 대체 폰트의 적용을 지원하는 전자 단말 장치 및 그 동작 방법에 대한 것이다.The present invention relates to an electronic terminal device supporting application of a natural replacement font when an electronic document to which an unsupported font is applied is loaded, and an operating method thereof.

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

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

관련해서, 전자 문서 관련 프로그램이 설치되어 있는 전자 단말 장치에, 사용자에 의해 전자 문서에 대한 로드 명령이 인가되면, 전자 단말 장치는 전자 문서의 문서 데이터로부터, 전자 문서에 포함된 문자들에 적용되어 있는 폰트인 원본 폰트의 식별자에 대한 정보를 확인한 후, 전자 단말 장치 내에 저장되어 있는 원본 폰트의 폰트 데이터를 사용하여, 전자 문서에 포함된 문자들에 대해 원본 폰트를 적용한다.In relation to this, when a load command for an electronic document is applied by a user to an electronic terminal device in which an electronic document-related program is installed, the electronic terminal device applies text data included in the electronic document to characters included in the electronic document, After checking the information on the identifier of the original font, which is the existing font, the original font is applied to the characters included in the electronic document using the font data of the original font stored in the electronic terminal device.

이때, 원본 폰트의 폰트 데이터가 전자 단말 장치 내에 저장되어 있지 않은 경우, 전자 단말 장치는 전자 문서에 포함된 문자들에 대해, 원본 폰트 대신, 상기 전자 단말 장치 내에 폰트 데이터가 저장되어 있는 폰트들 중 하나인 대체 폰트를 적용하여 전자 문서를 로드하게 된다.At this time, when the font data of the original font is not stored in the electronic terminal device, the electronic terminal device replaces the original font with respect to characters included in the electronic document, among fonts in which font data is stored in the electronic terminal device. One alternative font is applied to load the electronic document.

하지만, 전자 문서에 포함된 문자들에 원본 폰트가 아닌 대체 폰트의 폰트를 적용하여 전자 문서를 로드하게 되는 경우, 각 폰트마다 사전 설정되어 있는 글립(glyph) 너비 및 커닝(kerning) 값이 달라서, 전자 문서의 문장들 중 줄 바꿈 되어 다음 줄로 넘어가게 되는 문장이 발생할 수 있다.However, when an electronic document is loaded by applying a font of a substitute font rather than the original font to characters included in the electronic document, the glyph width and kerning value preset for each font are different, Among the sentences of the electronic document, a sentence that is line-wrapped and moved to the next line may occur.

따라서, 전자 문서에 포함된 문자들에 원본 폰트가 아닌 대체 폰트가 적용되는 경우, 폰트의 크기 변경으로 인해 줄 바꿈이 수행되는 문장들의 줄 바꿈 형태를 적절히 조정함으로써, 문장이 자연스럽게 표시될 수 있도록 지원하기 위한 기술에 대한 연구가 필요하다.Therefore, when a substitute font other than the original font is applied to the characters included in the electronic document, it is supported so that the sentences can be displayed naturally by appropriately adjusting the line breaking form of sentences in which line breaks are performed due to the change in font size. Research on technology to do this is necessary.

본 발명은 사용자로부터 지원하지 않은 원본 폰트가 적용되어 있는 전자 문서에 대한 로드 명령이 인가되면, 상기 전자 문서에 대해 사전 지정된 대체 폰트를 적용하고, 상기 대체 폰트 적용으로 인해, 상기 전자 문서에 포함된 복수의 문장들 중 문장 길이가 상기 전자 문서에 설정되어 있는 편집 영역의 가로 길이를 초과하여 두 줄로 표시되고 있는 제1 문장들을 선택한 후, 상기 제1 문장들 중 사전 설정된 기준치 미만의 길이 비율을 갖는 제2 문장이 존재하는 것으로 확인되면, 상기 전자 문서에서 편집 영역의 가로 길이를 벗어난 지점까지 상기 제2 문장을 한 줄로 표시함으로써, 상기 대체 폰트가 적용된 상기 전자 문서가 화면 상에 자연스럽게 표시될 수 있도록 지원하고자 한다.According to the present invention, when a load command for an electronic document to which an unsupported original font is applied is applied from a user, a pre-specified substitute font is applied to the electronic document, and due to the application of the substitute font, the text included in the electronic document is applied. Among a plurality of sentences, after selecting first sentences whose sentence length exceeds the horizontal length of the editing area set in the electronic document and is displayed in two lines, among the first sentences, having a length ratio less than a preset reference value If it is confirmed that the second sentence exists, the second sentence is displayed in a single line up to a point outside the horizontal length of the editing area in the electronic document so that the electronic document to which the replacement font is applied can be naturally displayed on the screen. want to support

본 발명의 일실시예에 따른 전자 단말 장치는 지원 가능한 폰트인 것으로 사전 지정된 복수의 폰트들 각각의 식별자와 상기 복수의 폰트들 각각에 대한 폰트 데이터가 저장되어 있는 데이터 저장부, 사용자로부터 제1 전자 문서에 대한 로드 명령이 인가되면, 상기 제1 전자 문서의 문서 데이터로부터, 상기 제1 전자 문서에 적용되어 있는 제1 폰트의 식별자를 확인하는 식별자 확인부, 상기 제1 폰트의 식별자가 확인되면, 상기 데이터 저장부에 저장되어 있는 상기 복수의 폰트들의 식별자 중 상기 제1 폰트의 식별자와 일치하는 식별자가 존재하는지 확인하는 폰트 확인부, 상기 복수의 폰트들의 식별자 중 상기 제1 폰트의 식별자가 존재하지 않는 것으로 확인되는 경우, 상기 복수의 폰트들의 식별자 중 어느 하나인 제1 대체 폰트의 식별자를 선택하는 대체 폰트 선택부, 상기 제1 대체 폰트의 식별자가 선택되면, 상기 제1 대체 폰트의 식별자를 기초로, 상기 데이터 저장부에 저장되어 있는 상기 제1 대체 폰트에 대한 폰트 데이터를 로드하여 상기 제1 전자 문서 상에서, 상기 제1 전자 문서에 포함된 텍스트에 대해, 상기 제1 대체 폰트를 적용하는 대체 폰트 적용부, 상기 제1 전자 문서에 포함된 텍스트에 대해, 상기 제1 대체 폰트가 적용되면, 상기 제1 전자 문서에 포함된 복수의 문장들 중 문장 길이가 상기 제1 전자 문서에 설정되어 있는 편집 영역의 가로 길이를 초과함으로 인해, 상기 제1 전자 문서 상에서, 문장이 두 줄로 표시되고 있는 적어도 하나의 제1 문장을 선택하는 문장 선택부, 상기 적어도 하나의 제1 문장이 선택되면, 상기 편집 영역의 가로 길이를 확인하는 가로 길이 확인부, 상기 적어도 하나의 제1 문장 각각의 문장 길이를 확인하는 문장 길이 확인부, 상기 편집 영역의 가로 길이와 상기 적어도 하나의 제1 문장 각각의 문장 길이가 확인되면, 상기 편집 영역의 가로 길이에 대한 상기 적어도 하나의 제1 문장 각각의 문장 길이의 비율을, 상기 적어도 하나의 제1 문장 각각에 대한 길이 비율로 연산하는 비율 연산부, 상기 적어도 하나의 제1 문장 각각에 대한 길이 비율이 연산되면, 상기 적어도 하나의 제1 문장 중 사전 설정된 기준치 미만의 길이 비율을 갖는 문장이 존재하는지 확인하는 문장 확인부 및 상기 적어도 하나의 제1 문장 중 제2 문장의 길이 비율이 상기 기준치 미만인 것으로 확인되면, 상기 제1 전자 문서에서 상기 편집 영역의 가로 길이를 벗어난 지점까지 상기 제2 문장을 구성하는 텍스트를 표시함으로써, 상기 제1 전자 문서 상에서, 상기 제2 문장을 한 줄로 표시하는 표시부를 포함한다. An electronic terminal device according to an embodiment of the present invention includes a data storage unit storing identifiers of each of a plurality of fonts pre-designated as supportable fonts and font data for each of the plurality of fonts; When a load command for a document is applied, an identifier verification unit that checks an identifier of a first font applied to the first electronic document from document data of the first electronic document, and when the identifier of the first font is confirmed, A font checking unit that checks whether an identifier matching the identifier of the first font among the identifiers of the plurality of fonts stored in the data storage unit exists, and the identifier of the first font does not exist among the identifiers of the plurality of fonts. If it is confirmed that the identifier of the plurality of fonts does not exist, the alternative font selection unit selects the identifier of the first alternative font, which is one of the identifiers of the plurality of fonts, and if the identifier of the first alternative font is selected, based on the identifier of the first alternative font. As an alternative, loading the font data for the first alternative font stored in the data storage unit and applying the first alternative font to the text included in the first electronic document on the first electronic document When the first alternative font is applied to the text included in the first electronic document, the font application unit, a sentence length among a plurality of sentences included in the first electronic document is set in the first electronic document A sentence selection unit for selecting at least one first sentence in which sentences are displayed in two lines on the first electronic document due to exceeding the horizontal length of the editing area, and when the at least one first sentence is selected, the editing A horizontal length checking unit for checking the horizontal length of an area, a sentence length checking unit for checking the sentence length of each of the at least one first sentence, and the horizontal length of the editing area and the sentence length of each of the at least one first sentence If confirmed, a ratio calculation unit configured to calculate a ratio of a sentence length of each of the at least one first sentence to a horizontal length of the editing area as a length ratio of each of the at least one first sentence; When the length ratio for each sentence is calculated, a sentence checking unit for checking whether a sentence having a length ratio less than a predetermined reference value among the at least one first sentence exists, and a length of a second sentence among the at least one first sentence. When it is confirmed that the ratio is less than the reference value, the second sentence is displayed on the first electronic document by displaying text constituting the second sentence up to a point outside the horizontal length of the editing area in the first electronic document. It includes a display unit displayed in lines.

또한, 본 발명의 일실시예에 따른 전자 단말 장치의 동작 방법은 지원 가능한 폰트인 것으로 사전 지정된 복수의 폰트들 각각의 식별자와 상기 복수의 폰트들 각각에 대한 폰트 데이터가 저장되어 있는 데이터 저장부를 유지하는 단계, 사용자로부터 제1 전자 문서에 대한 로드 명령이 인가되면, 상기 제1 전자 문서의 문서 데이터로부터, 상기 제1 전자 문서에 적용되어 있는 제1 폰트의 식별자를 확인하는 단계, 상기 제1 폰트의 식별자가 확인되면, 상기 데이터 저장부에 저장되어 있는 상기 복수의 폰트들의 식별자 중 상기 제1 폰트의 식별자와 일치하는 식별자가 존재하는지 확인하는 단계, 상기 복수의 폰트들의 식별자 중 상기 제1 폰트의 식별자가 존재하지 않는 것으로 확인되는 경우, 상기 복수의 폰트들의 식별자 중 어느 하나인 제1 대체 폰트의 식별자를 선택하는 단계, 상기 제1 대체 폰트의 식별자가 선택되면, 상기 제1 대체 폰트의 식별자를 기초로, 상기 데이터 저장부에 저장되어 있는 상기 제1 대체 폰트에 대한 폰트 데이터를 로드하여 상기 제1 전자 문서 상에서, 상기 제1 전자 문서에 포함된 텍스트에 대해, 상기 제1 대체 폰트를 적용하는 단계, 상기 제1 전자 문서에 포함된 텍스트에 대해, 상기 제1 대체 폰트가 적용되면, 상기 제1 전자 문서에 포함된 복수의 문장들 중 문장 길이가 상기 제1 전자 문서에 설정되어 있는 편집 영역의 가로 길이를 초과함으로 인해, 상기 제1 전자 문서 상에서, 문장이 두 줄로 표시되고 있는 적어도 하나의 제1 문장을 선택하는 단계, 상기 적어도 하나의 제1 문장이 선택되면, 상기 편집 영역의 가로 길이를 확인하는 단계, 상기 적어도 하나의 제1 문장 각각의 문장 길이를 확인하는 단계, 상기 편집 영역의 가로 길이와 상기 적어도 하나의 제1 문장 각각의 문장 길이가 확인되면, 상기 편집 영역의 가로 길이에 대한 상기 적어도 하나의 제1 문장 각각의 문장 길이의 비율을, 상기 적어도 하나의 제1 문장 각각에 대한 길이 비율로 연산하는 단계, 상기 적어도 하나의 제1 문장 각각에 대한 길이 비율이 연산되면, 상기 적어도 하나의 제1 문장 중 사전 설정된 기준치 미만의 길이 비율을 갖는 문장이 존재하는지 확인하는 단계 및 상기 적어도 하나의 제1 문장 중 제2 문장의 길이 비율이 상기 기준치 미만인 것으로 확인되면, 상기 제1 전자 문서에서 상기 편집 영역의 가로 길이를 벗어난 지점까지 상기 제2 문장을 구성하는 텍스트를 표시함으로써, 상기 제1 전자 문서 상에서, 상기 제2 문장을 한 줄로 표시하는 단계를 포함한다.In addition, an operating method of an electronic terminal device according to an embodiment of the present invention maintains a data storage unit in which identifiers of each of a plurality of fonts pre-designated as supportable fonts and font data for each of the plurality of fonts are stored. checking an identifier of a first font applied to the first electronic document from document data of the first electronic document when a load command for the first electronic document is applied from the user; If the identifier of is confirmed, checking whether an identifier identical to the identifier of the first font among the identifiers of the plurality of fonts stored in the data storage unit exists, the identifier of the first font among the identifiers of the plurality of fonts If it is confirmed that the identifier does not exist, selecting an identifier of the first alternative font that is one of the identifiers of the plurality of fonts. When the identifier of the first alternative font is selected, the identifier of the first alternative font is selected. Based on this, font data for the first alternative font stored in the data storage unit is loaded and the first alternative font is applied to text included in the first electronic document on the first electronic document. If the first alternative font is applied to text included in the first electronic document, an editing area in which a sentence length among a plurality of sentences included in the first electronic document is set in the first electronic document selecting at least one first sentence in which sentences are displayed in two lines on the first electronic document, when the horizontal length of the editing area exceeds the horizontal length of Checking the sentence length of each of the at least one first sentence, when the horizontal length of the editing area and the sentence length of each of the at least one first sentence are checked, the horizontal length of the editing area calculating a sentence length ratio of each of the at least one first sentence as a length ratio for each of the at least one first sentence, when the length ratio for each of the at least one first sentence is calculated; checking whether a sentence having a length ratio of less than a predetermined reference value among at least one first sentence exists; and if it is determined that a length ratio of a second sentence among the at least one first sentence is less than the reference value, the first electronic and displaying the second sentence in one line on the first electronic document by displaying text constituting the second sentence up to a point outside the horizontal length of the editing area in the document.

본 발명은 사용자로부터 지원하지 않은 원본 폰트가 적용되어 있는 전자 문서에 대한 로드 명령이 인가되면, 상기 전자 문서에 대해 사전 지정된 대체 폰트를 적용하고, 상기 대체 폰트 적용으로 인해, 상기 전자 문서에 포함된 복수의 문장들 중 문장 길이가 상기 전자 문서에 설정되어 있는 편집 영역의 가로 길이를 초과하여 두 줄로 표시되고 있는 제1 문장들을 선택한 후, 상기 제1 문장들 중 사전 설정된 기준치 미만의 길이 비율을 갖는 제2 문장이 존재하는 것으로 확인되면, 상기 전자 문서에서 편집 영역의 가로 길이를 벗어난 지점까지 상기 제2 문장을 한 줄로 표시함으로써, 상기 대체 폰트가 적용된 상기 전자 문서가 화면 상에 자연스럽게 표시될 수 있도록 지원할 수 있다.According to the present invention, when a load command for an electronic document to which an unsupported original font is applied is applied from a user, a pre-specified substitute font is applied to the electronic document, and due to the application of the substitute font, the text included in the electronic document is applied. Among a plurality of sentences, after selecting first sentences whose sentence length exceeds the horizontal length of the editing area set in the electronic document and is displayed in two lines, among the first sentences, having a length ratio less than a preset reference value If it is confirmed that the second sentence exists, the second sentence is displayed in a single line up to a point outside the horizontal length of the editing area in the electronic document so that the electronic document to which the replacement font is applied can be naturally displayed on the screen. can support

도 1은 본 발명의 일실시예에 따른 전자 단말 장치의 구조를 도시한 도면이다.
도 2 내지 3은 본 발명의 일실시예에 따른 전자 단말 장치의 동작을 설명하기 위한 도면이다.
도 4는 본 발명의 일실시예에 따른 전자 단말 장치의 동작 방법을 도시한 순서도이다.
1 is a diagram showing the structure of an electronic terminal device according to an embodiment of the present invention.
2 and 3 are diagrams for explaining the operation of an electronic terminal device according to an embodiment of the present invention.
4 is a flowchart illustrating an operating method of an electronic terminal device 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. This description is not intended to limit the present invention to specific embodiments, but should be understood to include all modifications, equivalents, and substitutes included in the spirit and scope of the present invention. While describing each drawing, similar reference numerals have been used for similar components, and unless otherwise defined, all terms used in this specification, including technical or scientific terms, are common knowledge in the art to which the present invention belongs. has the same meaning as commonly understood by the person who has it.

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

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

도 1은 본 발명의 일실시예에 따른 전자 단말 장치의 구조를 도시한 도면이다.1 is a diagram showing the structure of an electronic terminal device according to an embodiment of the present invention.

도 1을 참조하면, 본 발명에 따른 전자 단말 장치(110)는 데이터 저장부(111), 식별자 확인부(112), 폰트 확인부(113), 대체 폰트 선택부(114), 대체 폰트 적용부(115), 문장 선택부(116), 가로 길이 확인부(117), 문장 길이 확인부(118), 비율 연산부(119), 문장 확인부(120) 및 표시부(121)를 포함한다.Referring to FIG. 1 , the electronic terminal device 110 according to the present invention includes a data storage unit 111, an identifier verification unit 112, a font verification unit 113, an alternative font selection unit 114, and an alternative font application unit. 115, a sentence selection unit 116, a horizontal length checking unit 117, a sentence length checking unit 118, a ratio calculation unit 119, a sentence checking unit 120, and a display unit 121.

데이터 저장부(111)에는 지원 가능한 폰트인 것으로 사전 지정된 복수의 폰트들 각각의 식별자와 상기 복수의 폰트들 각각에 대한 폰트 데이터가 저장되어 있다.The data storage unit 111 stores identifiers of each of a plurality of fonts pre-designated as supportable fonts and font data for each of the plurality of fonts.

여기서, 상기 식별자는 지원 가능한 폰트인 것으로 사전 지정된 폰트들 각각의 명칭이나 고유 번호 등과 같이, 폰트들 각각을 식별하기 위해 폰트 각각에 대해 사전 부여된 정보를 의미한다. 또한, 상기 폰트 데이터는 전자 문서가 로드될 때, 상기 전자 문서에 포함된 문자들에 폰트를 적용하는데 사용되는 데이터를 의미한다.Here, the identifier is a supportable font, and means information pre-assigned to each font to identify each font, such as a name or a unique number of each of the pre-specified fonts. Also, the font data refers to data used to apply a font to characters included in the electronic document when the electronic document is loaded.

관련해서, 데이터 저장부(111)에는 하기의 표 1과 같은 지원 가능한 폰트인 것으로 사전 지정된 복수의 폰트들 각각의 식별자와 상기 복수의 폰트들 각각에 대한 폰트 데이터가 저장되어 있을 수 있다.In relation to this, the data storage unit 111 may store identifiers of each of a plurality of fonts pre-designated as supportable fonts as shown in Table 1 below and font data for each of the plurality of fonts.

복수의 폰트들multiple fonts 폰트 데이터font data 명칭designation 식별자identifier 폰트 1font 1 A1A1 폰트 데이터 1font data 1 폰트 2font 2 A2A2 폰트 데이터 2font data 2 폰트 3font 3 A3A3 폰트 데이터 3font data 3 폰트 4font 4 A4A4 폰트 데이터 4font data 4

식별자 확인부(112)는 사용자(150)로부터 제1 전자 문서에 대한 로드 명령이 인가되면, 상기 제1 전자 문서의 문서 데이터로부터, 상기 제1 전자 문서에 적용되어 있는 제1 폰트의 식별자를 확인한다.When a load command for the first electronic document is applied from the user 150, the identifier checker 112 checks the identifier of the first font applied to the first electronic document from the document data of the first electronic document. do.

여기서, 상기 제1 전자 문서의 문서 데이터에는, 상기 제1 전자 문서에 적용되어 있는 제1 폰트의 식별자에 대한 정보가 포함되어 있기 때문에, 식별자 확인부(112)는 상기 제1 전자 문서의 문서 데이터로부터, 상기 제1 전자 문서에 적용되어 있는 상기 제1 폰트의 식별자를 확인할 수 있다.Here, since the document data of the first electronic document includes information on the identifier of the first font applied to the first electronic document, the identifier verification unit 112 determines the document data of the first electronic document. From, it is possible to check the identifier of the first font applied to the first electronic document.

폰트 확인부(113)는 상기 제1 폰트의 식별자가 확인되면, 데이터 저장부(111)에 저장되어 있는 상기 복수의 폰트들의 식별자 중 상기 제1 폰트의 식별자와 일치하는 식별자가 존재하는지 확인한다.When the identifier of the first font is confirmed, the font checking unit 113 checks whether an identifier matching the identifier of the first font exists among the identifiers of the plurality of fonts stored in the data storage unit 111 .

예컨대, 사용자(150)로부터 제1 전자 문서에 대한 로드 명령이 인가되었다고 하고, 식별자 확인부(112)에 의해, 상기 제1 전자 문서의 문서 데이터로부터, 상기 제1 전자 문서에 적용되어 있는 제1 폰트의 식별자가 'B1'과 같이 확인되었다고 가정하자.For example, it is assumed that a load command for a first electronic document is applied from the user 150, and a first electronic document applied to the first electronic document is determined from document data of the first electronic document by the identifier checker 112. Assume that the identifier of the font is identified as 'B1'.

이때, 폰트 확인부(113)는 데이터 저장부(111)에 저장되어 있는 상기 복수의 폰트들의 식별자 중 'B1'과 일치하는 식별자가 존재하는지 확인할 수 있다.At this time, the font checking unit 113 may check whether an identifier matching 'B1' among the identifiers of the plurality of fonts stored in the data storage unit 111 exists.

관련해서, 상기 표 1과 같은 데이터 저장부(111)에는 지원 가능한 폰트인 것으로 사전 지정된 복수의 폰트들 각각의 식별자가 'A1, A2, A3, A4'와 같이 저장되어 있으므로, 폰트 확인부(113)는 데이터 저장부(111)에 저장되어 있는 상기 복수의 폰트들의 식별자 중 'B1'과 일치하는 식별자가 존재하지 않는 것으로 확인할 수 있다.In this regard, since identifiers of each of a plurality of fonts pre-designated as supportable fonts are stored in the data storage unit 111 as shown in Table 1 as 'A1, A2, A3, A4', the font check unit 113 ) can confirm that there is no identifier identical to 'B1' among the identifiers of the plurality of fonts stored in the data storage unit 111.

대체 폰트 선택부(114)는 상기 복수의 폰트들의 식별자 중 상기 제1 폰트의 식별자가 존재하지 않는 것으로 확인되는 경우, 상기 복수의 폰트들의 식별자 중 어느 하나인 제1 대체 폰트의 식별자를 선택한다.When it is confirmed that the identifier of the first font does not exist among the identifiers of the plurality of fonts, the alternative font selector 114 selects one of the identifiers of the plurality of fonts, that is, the identifier of the first alternative font.

예컨대, 전술한 예와 같이, 폰트 확인부(113)에 의해 상기 복수의 폰트들의 식별자 중 'B1'과 일치하는 식별자가 존재하지 않는 것으로 확인되었다고 하는 경우, 대체 폰트 선택부(114)는 상기 복수의 폰트들의 식별자 중 어느 하나인 상기 제1 대체 폰트의 식별자를, 상기 제1 폰트를 대체할 대체 폰트에 대한 식별자로 선택할 수 있다.For example, as in the above example, when it is confirmed that no identifier matching 'B1' exists among the identifiers of the plurality of fonts by the font checker 113, the alternative font selector 114 selects the plurality of fonts. An identifier of the first substitute font, which is any one of identifiers of fonts of , may be selected as an identifier for a substitute font to replace the first font.

이때, 본 발명의 일실시예에 따르면, 대체 폰트 선택부(114)는 벡터 저장부(124), 대표 문자 그룹 저장부(125), 폰트 벡터 생성부(126), 대표 문자 벡터 생성부(127) 및 폰트 식별자 선택부(128)를 포함할 수 있다.At this time, according to one embodiment of the present invention, the alternative font selection unit 114 includes the vector storage unit 124, the representative character group storage unit 125, the font vector generator 126, and the representative character vector generator 127. ) and a font identifier selection unit 128.

벡터 저장부(124)에는 사전 지정된 복수의 대표 문자들 각각에 대응되는 사전 설정된 원-핫(One-Hot) 벡터가 저장되어 있다.The vector storage unit 124 stores preset one-hot vectors corresponding to each of a plurality of pre-designated representative characters.

예컨대, 벡터 저장부(124)에는 하기의 표 2와 같은 사전 지정된 복수의 대표 문자들 각각에 대응되는 사전 설정된 원-핫 벡터가 저장되어 있다.For example, the vector storage unit 124 stores preset one-hot vectors corresponding to each of a plurality of pre-designated representative characters as shown in Table 2 below.

복수의 대표 문자들plural representative characters 원-핫 벡터one-hot vector tech [1 0 0 0 0 ...][1 0 0 0 0 ...] s [0 1 0 0 0 ...][0 1 0 0 0 ...] crack [0 0 1 0 0 ...][0 0 1 0 0 ...] Special [0 0 0 1 0 ...][0 0 0 1 0 ...] her [0 0 0 0 1 ...][0 0 0 0 1 ...] ...... ......

대표 문자 그룹 저장부(125)에는 상기 복수의 폰트들 각각의 식별자와 각 폰트에 대응되는 것으로 사전 설정된 대표 문자 그룹에 대한 정보가 저장되어 있다.The representative character group storage unit 125 stores identifiers of each of the plurality of fonts and information on representative character groups preset to correspond to each font.

여기서, 상기 대표 문자 그룹은 상기 복수의 대표 문자들 중에서 선택된 둘 이상의 대표 문자들로 구성된 그룹을 의미한다.Here, the representative character group means a group composed of two or more representative characters selected from among the plurality of representative characters.

예컨대, 대표 문자 그룹 저장부(125)에는 하기의 표 3과 같은 상기 복수의 폰트들 각각의 식별자와 각 폰트에 대응되는 것으로 사전 설정된 대표 문자 그룹에 대한 정보가 저장되어 있을 수 있다.For example, the representative character group storage unit 125 may store identifiers of each of the plurality of fonts as shown in Table 3 below and information on representative character groups preset to correspond to each font.

복수의 폰트들multiple fonts 대표 문자 그룹representative character group 명칭designation 식별자identifier 폰트 1font 1 A1A1 (텍, 스, 트, 특, 허, ...)(text, s, t, special, huh, ...) 폰트 2font 2 A2A2 (나, 마, 바, ...)(I, Ma, Ba, ...) 폰트 3font 3 A3A3 (화, 상, 디, ...)(Tue, Sang, D, ...) 폰트 4font 4 A4A4 (문, 서, 외, 배, ...)(Moon, Seo, et al, Bae, ...)

관련해서, 개발자는 상기 복수의 폰트들에 대응되는 대표 문자 그룹을 지정할 때, 각 폰트에 어울릴 것으로 예상되는 대표 문자들을 선택하여 각 폰트에 대응되는 대표 문자 그룹으로 미리 지정해 둘 수 있다. 예컨대, '폰트 1'에 어울리는 문자들이 '텍, 스, 트, 특, 허, ...'이라고 하는 경우, 개발자는 상기 표 3에 나타낸 바와 같이, '폰트 1'에 대해서 '텍, 스, 트, 특, 허, ...'이라고 하는 문자들로 구성된 대표 문자 그룹을 지정해서 대표 문자 그룹 저장부(125) 상에 저장해 둘 수 있다. 이러한 방식으로, 개발자는 상기 복수의 폰트들 각각에 대해 각 폰트에 어울리는 것으로 판단되는 대표 문자 그룹을 지정해서 대표 문자 그룹 저장부(125) 상에 저장해 둘 수 있다.In this regard, when designating a representative character group corresponding to the plurality of fonts, the developer may select representative characters expected to suit each font and pre-designate them as representative character groups corresponding to each font. For example, if the characters suitable for 'font 1' are 'text, text, text, special, heo, ...', the developer, as shown in Table 3 above, for 'font 1', 'text, text, A representative character group composed of characters such as "T, T, T, T, H, ..." may be designated and stored in the representative character group storage unit 125. In this way, the developer can designate and store representative character groups determined to be suitable for each of the plurality of fonts in the representative character group storage unit 125 .

폰트 벡터 생성부(126)는 폰트 확인부(113)의 확인 결과, 상기 복수의 폰트들의 식별자 중 상기 제1 폰트의 식별자가 존재하지 않는 것으로 확인되는 경우, 벡터 저장부(124)와 대표 문자 그룹 저장부(125)를 참조하여, 상기 복수의 폰트들 각각에 대응되는 대표 문자 그룹에 포함된 대표 문자들에 대한 원-핫 벡터를 모두 합산함으로써, 상기 복수의 폰트들 각각에 대응되는 폰트 벡터를 생성한다.The font vector generator 126 determines that the identifier of the first font does not exist among the identifiers of the plurality of fonts as a result of the check by the font checker 113, and the vector storage unit 124 and the representative character group With reference to the storage unit 125, font vectors corresponding to each of the plurality of fonts are obtained by summing all one-hot vectors of representative characters included in the representative character group corresponding to each of the plurality of fonts. generate

예컨대, 전술한 예와 같이, 폰트 확인부(113)의 확인 결과, 상기 복수의 폰트들의 식별자 중 상기 제1 폰트의 식별자인 'B1'이 존재하지 않는 것으로 확인되는 경우, 폰트 벡터 생성부(126)는 벡터 저장부(124)와 대표 문자 그룹 저장부(125)를 참조하여, 상기 복수의 폰트들 각각에 대응되는 대표 문자 그룹에 포함된 대표 문자들에 대한 원-핫 벡터를 모두 합산함으로써, 상기 복수의 폰트들 각각에 대응되는 폰트 벡터를 생성할 수 있다.For example, as in the above example, when it is confirmed that the identifier 'B1' of the first font among the identifiers of the plurality of fonts does not exist as a result of the check by the font checker 113, the font vector generator 126 ) refers to the vector storage unit 124 and the representative character group storage unit 125, and sums all the one-hot vectors for the representative characters included in the representative character group corresponding to each of the plurality of fonts, A font vector corresponding to each of the plurality of fonts may be generated.

관련해서, 폰트 벡터 생성부(126)가 상기 표 3에서 나타낸 '폰트 1'에 대응되는 폰트 벡터를 생성한다고 하는 경우, 폰트 벡터 생성부(126)는 '폰트 1'에 대응되는 대표 문자 그룹인 '(텍, 스, 트, 특, 허, ...)'에 포함된 대표 문자들에 대한 원-핫 벡터를 벡터 저장부(124)로부터 확인한 후, 해당 대표 문자들에 대한 원-핫 벡터를 모두 합산함으로써 '폰트 1'에 대응되는 폰트 벡터를 생성할 수 있다. 이러한 방식으로, 폰트 벡터 생성부(126)는 대표 문자 그룹 저장부(125)에 저장되어 있는 상기 복수의 폰트들 각각에 대응되는 폰트 벡터를 생성할 수 있다.In relation to this, when it is assumed that the font vector generator 126 generates a font vector corresponding to 'font 1' shown in Table 3, the font vector generator 126 is a representative character group corresponding to 'font 1'. After checking the one-hot vector for the representative characters included in '(tex, text, teuk, heo, ...)' from the vector storage 124, the one-hot vector for the representative characters A font vector corresponding to 'font 1' can be generated by summing all of . In this way, the font vector generation unit 126 may generate font vectors corresponding to each of the plurality of fonts stored in the representative character group storage unit 125 .

대표 문자 벡터 생성부(127)는 상기 복수의 대표 문자들이 상기 제1 전자 문서에서 등장하는 총 횟수를 기준으로 하여 상기 복수의 대표 문자들 각각의 상기 제1 전자 문서에서의 등장 비율을 연산한 후, 상기 복수의 대표 문자들 각각의 등장 비율을 성분으로 갖는 대표 문자 벡터를 생성한다.The representative character vector generator 127 calculates an appearance ratio of each of the plurality of representative characters in the first electronic document based on the total number of times the plurality of representative characters appear in the first electronic document. , A representative character vector having an appearance ratio of each of the plurality of representative characters as a component is generated.

예컨대, '텍, 스, 트, 특, 허, ...'이라고 하는 복수의 대표 문자들이 상기 제1 전자 문서에서 총 '1000번' 등장하였다고 하는 경우, 대표 문자 벡터 생성부(127)는 '텍, 스, 트, 특, 허, ...'이라고 하는 복수의 대표 문자들이 상기 제1 전자 문서에서 등장하는 총 횟수인 '1000번'을 기준으로 하여 '텍, 스, 트, 특, 허, ...'이라고 하는 복수의 대표 문자들 각각의 상기 제1 전자 문서에서의 등장 비율을 연산할 수 있다.For example, when it is assumed that a plurality of representative characters such as 'Text, S, T, Te, Heo, ...' appear '1000 times' in the first electronic document, the representative character vector generator 127 ' Based on '1000 times', which is the total number of times that a plurality of representative characters such as text, text, text, special, her, ...' appear in the first electronic document, 'text, text, text, special, her , ...' may calculate an appearance ratio in the first electronic document of each of the plurality of representative characters.

그러고 나서, 대표 문자 벡터 생성부(127)는 '텍, 스, 트, 특, 허, ...'이라고 하는 복수의 대표 문자들 각각의 등장 비율을 성분으로 갖는 대표 문자 벡터를 생성할 수 있다.Then, the representative character vector generation unit 127 may generate a representative character vector having as a component the appearance ratio of each of a plurality of representative characters such as 'text, text, text, special, heo, ...'. .

폰트 식별자 선택부(128)는 상기 복수의 폰트들의 식별자 중 상기 대표 문자 벡터와의 코사인 유사도가 최대인 폰트 벡터를 갖는 폰트의 식별자를 상기 제1 대체 폰트의 식별자로 선택한다.The font identifier selection unit 128 selects the identifier of the font having the largest cosine similarity with the representative character vector among the identifiers of the plurality of fonts as the identifier of the first alternative font.

여기서, 코사인 유사도란 하기의 수학식 1에 따라 연산될 수 있는 두 벡터 간의 유사도를 의미한다.Here, the cosine similarity means a similarity between two vectors that can be calculated according to Equation 1 below.

Figure 112021028673058-pat00001
Figure 112021028673058-pat00001

여기서, S는 벡터 A와 B 사이의 코사인 유사도로 -1에서 1사이의 값을 가지며, 그 값이 클수록 유사한 벡터임을 의미하고, Ai는 벡터 A의 i번째 성분, Bi는 벡터 B의 i번째 성분을 의미한다.Here, S is the cosine similarity between vectors A and B. It has a value between -1 and 1, and the larger the value, the more similar the vector, A i is the i-th component of vector A, and B i is the i of vector B. means the second component.

예컨대, 상기 복수의 폰트들의 식별자 중 상기 대표 문자 벡터와의 코사인 유사도가 최대인 폰트 벡터를 갖는 폰트의 식별자가 '폰트 1'의 식별자인 'A1'이라고 하는 경우, 폰트 식별자 선택부(128)는 '폰트 1'의 식별자인 'A1'을 상기 제1 대체 폰트의 식별자로 선택할 수 있다.For example, when the identifier of the font having the font vector having the maximum cosine similarity with the representative character vector among the identifiers of the plurality of fonts is 'A1', which is the identifier of 'Font 1', the font identifier selection unit 128 'A1', which is the identifier of 'Font 1', may be selected as the identifier of the first replacement font.

즉, 상기 표 3과 같은 대표 문자 그룹 저장부(125)에 저장되어 있는 상기 복수의 폰트들의 식별자 중 상기 대표 문자 벡터와의 코사인 유사도가 최대인 폰트 벡터를 갖는 폰트의 식별자가 '폰트 1'의 식별자인 'A1'이라는 의미는 상기 제1 전자 문서에서 '폰트 1'에 대응되는 대표 문자 그룹에 포함된 대표 문자들이 많이 등장하는 경우라고 볼 수 있고, 이는 상기 제1 전자 문서의 상기 제1 대체 폰트로 '폰트 1'이 적용되는 것이 상기 표 3과 같은 대표 문자 그룹 저장부(125)를 구성한 개발자의 의도를 반영하는 가장 어울리는 상황이라고 볼 수 있기 때문에, 폰트 식별자 선택부(128)는 '폰트 1'의 식별자인 'A1'을 상기 제1 대체 폰트의 식별자로 선택할 수 있다.That is, among the identifiers of the plurality of fonts stored in the representative character group storage unit 125 as shown in Table 3, the identifier of the font having the font vector having the largest cosine similarity with the representative character vector is 'font 1'. The meaning of 'A1' as an identifier can be regarded as a case in which many representative characters included in a representative character group corresponding to 'font 1' appear in the first electronic document, which is the first replacement of the first electronic document. Since the application of 'font 1' as the font can be regarded as the most suitable situation reflecting the developer's intention constituting the representative character group storage unit 125 as shown in Table 3 above, the font identifier selection unit 128 selects the 'font 'A1', an identifier of 1', may be selected as an identifier of the first alternative font.

대체 폰트 적용부(115)는 상기 제1 대체 폰트의 식별자가 선택되면, 상기 제1 대체 폰트의 식별자를 기초로, 데이터 저장부(111)에 저장되어 있는 상기 제1 대체 폰트에 대한 폰트 데이터를 로드하여 상기 제1 전자 문서 상에서, 상기 제1 전자 문서에 포함된 텍스트에 대해, 상기 제1 대체 폰트를 적용한다.When the identifier of the first alternative font is selected, the alternative font application unit 115 converts font data for the first alternative font stored in the data storage unit 111 based on the identifier of the first alternative font. Load and apply the first replacement font to text included in the first electronic document on the first electronic document.

예컨대, 전술한 예와 같이, 상기 제1 대체 폰트의 식별자로 'A1'이 선택되었다고 가정하자. 그러면, 대체 폰트 적용부(115)는 상기 제1 대체 폰트의 식별자를 기초로, 데이터 저장부(111)에 저장되어 있는 상기 제1 대체 폰트에 대한 폰트 데이터를 로드하여 상기 제1 전자 문서 상에서, 상기 제1 전자 문서에 포함된 텍스트에 대해, 상기 제1 대체 폰트를 적용할 수 있다. For example, as in the above example, suppose that 'A1' is selected as the identifier of the first replacement font. Then, the replacement font application unit 115 loads font data for the first replacement font stored in the data storage unit 111 based on the identifier of the first replacement font, and on the first electronic document, The first replacement font may be applied to text included in the first electronic document.

관련해서, 상기 표 1과 같은 데이터 저장부(111)에 저장되어 있는 'A1'에 대한 폰트 데이터는 '폰트 데이터 1'이므로, 대체 폰트 적용부(115)는 'A1'을 기초로, 데이터 저장부(111)로부터 '폰트 데이터 1'을 로드하여, 상기 제1 전자 문서 상에서, 상기 제1 전자 문서에 포함된 텍스트에 대해 '폰트 1'을 적용할 수 있다.In relation to this, since the font data for 'A1' stored in the data storage unit 111 as shown in Table 1 is 'font data 1', the alternative font application unit 115 stores data based on 'A1'. 'Font data 1' may be loaded from the unit 111, and 'font 1' may be applied to text included in the first electronic document on the first electronic document.

문장 선택부(116)는 상기 제1 전자 문서에 포함된 텍스트에 대해, 상기 제1 대체 폰트가 적용되면, 상기 제1 전자 문서에 포함된 복수의 문장들 중 문장 길이가 상기 제1 전자 문서에 설정되어 있는 편집 영역의 가로 길이를 초과함으로 인해, 상기 제1 전자 문서 상에서, 문장이 두 줄로 표시되고 있는 적어도 하나의 제1 문장을 선택한다.When the first alternative font is applied to text included in the first electronic document, the sentence selector 116 determines the length of sentences among a plurality of sentences included in the first electronic document. At least one first sentence in which sentences are displayed in two lines is selected on the first electronic document because the horizontal length of the set editing area is exceeded.

예컨대, 상기 제1 대체 폰트가 적용된 상기 제1 전자 문서가 도 2의 도면부호 210에 도시된 그림과 같다고 하고, 도 2에서 도면부호 211로 표시한 영역이 상기 제1 전자 문서에 설정되어 있는 편집 영역이라고 하는 경우, 문장 선택부(116)는 상기 제1 전자 문서에 포함된 복수의 문장들 중 문장 길이가 상기 제1 전자 문서에 설정되어 있는 편집 영역(211)의 가로 길이(212)를 초과함으로 인해, 상기 제1 전자 문서 상에서, 문장이 두 줄로 표시되고 있는 적어도 하나의 제1 문장을 선택할 수 있다.For example, it is assumed that the first electronic document to which the first alternative font is applied is the same as the picture shown at 210 in FIG. 2, and the area indicated by reference numeral 211 in FIG. In the case of an area, the sentence selection unit 116 determines that the sentence length among the plurality of sentences included in the first electronic document exceeds the horizontal length 212 of the editing area 211 set in the first electronic document. Accordingly, it is possible to select at least one first sentence in which sentences are displayed in two lines on the first electronic document.

관련해서, 도 2의 도면부호 210에 도시된 그림과 같이, 상기 제1 전자 문서에 삽입되어 있는 '본 발명은 전자 단말 장치 및 그 동작 방법에 대한 것이다.'라고 하는 문장의 문장 길이가 상기 제1 전자 문서에 설정되어 있는 편집 영역(211)의 가로 길이(212)를 초과함으로 인해, 상기 제1 전자 문서 상에서, 문장이 두 줄로 표시되고 있다고 하는 경우, 문장 선택부(116)는 '본 발명은 전자 단말 장치 및 그 동작 방법에 대한 것이다.'라고 하는 문장을 상기 적어도 하나의 제1 문장 중 하나로 선택할 수 있다.In this regard, as shown at 210 in FIG. 2, the sentence length of the sentence 'The present invention relates to an electronic terminal device and its operating method' inserted in the first electronic document is When it is assumed that a sentence is displayed in two lines on the first electronic document due to exceeding the horizontal length 212 of the editing area 211 set in 1 electronic document, the sentence selector 116 selects 'the present invention'. is about an electronic terminal device and an operating method thereof' may be selected as one of the at least one first sentence.

가로 길이 확인부(117)는 상기 적어도 하나의 제1 문장이 선택되면, 편집 영역(211)의 가로 길이를(212) 확인한다.When the at least one first sentence is selected, the horizontal length checking unit 117 checks the horizontal length 212 of the editing area 211 .

관련해서, 편집 영역(211)의 가로 길이(212)가 '200(mm)'라고 하는 경우, 가로 길이 확인부(117)는 편집 영역(211)의 가로 길이(212)를 '200(mm)'로 확인할 수 있다.In this regard, when the horizontal length 212 of the editing area 211 is '200 (mm)', the horizontal length checking unit 117 sets the horizontal length 212 of the editing area 211 to '200 (mm)'. '.

문장 길이 확인부(118)는 상기 적어도 하나의 제1 문장 각각의 문장 길이를 확인한다.The sentence length checking unit 118 checks the sentence length of each of the at least one first sentence.

이때, 본 발명의 일실시예에 따르면, 문장 길이 확인부(118)는 수치 확인부(122) 및 길이 연산부(123)를 포함할 수 있다.In this case, according to one embodiment of the present invention, the sentence length checking unit 118 may include a numerical value checking unit 122 and a length calculating unit 123.

수치 확인부(122)는 상기 적어도 하나의 제1 문장 각각에 대해, 각 문장에 포함된 복수의 문자들 각각에 대한 글립(glyph) 너비 값을 확인하고, 각 문장에 포함된 띄어쓰기 공백 값을 확인하며, 각 문장에 포함된 문자들 간의 커닝(kerning) 값을 확인한다.For each of the at least one first sentence, the numeric check unit 122 checks a glyph width value for each of a plurality of characters included in each sentence, and checks a spacing value included in each sentence. and check the kerning value between characters included in each sentence.

여기서, 상기 글립은 문자 하나의 모양에 대한 기본 단위를 의미하고, 이때, 상기 글립 너비는 문자 하나의 너비를 의미한다. 또한, 상기 커닝은 두 개의 문자들 사이의 간격을 의미한다.Here, the glyph means a basic unit for the shape of one character, and the glyph width means the width of one character. Also, the kerning means a space between two characters.

길이 연산부(123)는 상기 적어도 하나의 제1 문장 각각에 대한 글립 너비 값, 띄어쓰기 공백 값, 커닝 값이 확인되면, 상기 적어도 하나의 제1 문장 각각에 대한 글립 너비 값, 띄어쓰기 공백 값, 커닝 값의 합을 각 문장에 대한 문장 길이로 연산함으로써, 상기 적어도 하나의 제1 문장 각각의 문장 길이를 확인한다.The length calculation unit 123 determines the glyph width value, spacing value, and kerning value for each of the at least one first sentence, the glyph width value, spacing value, and kerning value for each of the at least one first sentence. By calculating the sentence length for each sentence, the sentence length of each of the at least one first sentence is determined.

이하에서는, 수치 확인부(122) 및 길이 연산부(123)의 동작을 예를 들어, 상세히 설명하기로 한다.Hereinafter, operations of the numerical check unit 122 and the length calculation unit 123 will be described in detail, for example.

예컨대, 전술한 예와 같이, 상기 적어도 하나의 제1 문장 중 하나로 '본 발명은 전자 단말 장치 및 그 동작 방법에 대한 것이다.'라는 문장이 선택되었다고 하는 경우, 수치 확인부(122)는 '본 발명은 전자 단말 장치 및 그 동작 방법에 대한 것이다.'에 포함된 복수의 문자들 각각에 대한 글립 너비 값을 확인하고, '본 발명은 전자 단말 장치 및 그 동작 방법에 대한 것이다.'에 포함된 띄어쓰기 공백 값을 확인하며, '본 발명은 전자 단말 장치 및 그 동작 방법에 대한 것이다.'에 포함된 문자들 간의 커닝 값을 확인할 수 있다.For example, as in the foregoing example, when it is assumed that the sentence 'The present invention relates to an electronic terminal device and an operating method thereof' is selected as one of the at least one first sentence, the numeric check unit 122 determines 'this invention'. The present invention relates to an electronic terminal device and its operating method.' Checks the glyph width value for each of a plurality of characters included in 'The present invention relates to an electronic terminal device and its operating method.' Space values for spaces are checked, and kerning values between characters included in 'the present invention relates to an electronic terminal device and an operating method thereof' may be checked.

이렇게, 수치 확인부(122)에 의해, '본 발명은 전자 단말 장치 및 그 동작 방법에 대한 것이다.'에 대한 글립 너비 값, 띄어쓰기 공백 값, 커닝 값이 확인되면, 길이 연산부(123)는 '본 발명은 전자 단말 장치 및 그 동작 방법에 대한 것이다.'에 대한 글립 너비 값, 띄어쓰기 공백 값, 커닝 값의 합을 '본 발명은 전자 단말 장치 및 그 동작 방법에 대한 것이다.'에 대한 문장 길이로 연산할 수 있다.In this way, when the value checking unit 122 confirms the glyph width value, spacing value, and kerning value for 'the present invention relates to an electronic terminal device and an operating method thereof', the length calculation unit 123 calculates ' The present invention relates to an electronic terminal device and its operating method.' The sum of the glyph width value, spacing value, and kerning value for 'The present invention relates to an electronic terminal device and its operating method.' can be computed with

관련해서, 수치 확인부(122)에 의해, '본 발명은 전자 단말 장치 및 그 동작 방법에 대한 것이다.'에 대한 글립 너비 값, 띄어쓰기 공백 값, 커닝 값이 확인되어 길이 연산부(123)가 '본 발명은 전자 단말 장치 및 그 동작 방법에 대한 것이다.'에 대한 글립 너비 값, 띄어쓰기 공백 값, 커닝 값의 합을 '210(mm)'로 연산하였다고 하는 경우, 길이 연산부(123)는 '본 발명은 전자 단말 장치 및 그 동작 방법에 대한 것이다.'의 문장 길이를 '210(mm)'로 확인할 수 있다.In relation to this, the numerical value checking unit 122 checks the glyph width value, spacing value, and kerning value for 'the present invention relates to an electronic terminal device and its operation method.' The present invention relates to an electronic terminal device and an operation method thereof.' If the sum of the glyph width value, spacing value, and kerning value for '210 (mm)' is calculated, the length calculation unit 123 calculates 'this The invention relates to an electronic terminal device and its operating method.' can be identified as '210 (mm)'.

비율 연산부(119)는 편집 영역(211)의 가로 길이(212)와 상기 적어도 하나의 제1 문장 각각의 문장 길이가 확인되면, 편집 영역(211)의 가로 길이(212)에 대한 상기 적어도 하나의 제1 문장 각각의 문장 길이의 비율을, 상기 적어도 하나의 제1 문장 각각에 대한 길이 비율로 연산한다.When the horizontal length 212 of the editing area 211 and the sentence length of each of the at least one first sentence are confirmed, the ratio calculating unit 119 calculates the at least one value for the horizontal length 212 of the editing area 211. A sentence length ratio of each first sentence is calculated as a length ratio for each of the at least one first sentence.

예컨대, 전술한 예와 같이, 가로 길이 확인부(117)와 문장 길이 확인부(118)에 의해, 편집 영역(211)의 가로 길이(212)가 '200(mm)'로 확인되고 상기 적어도 하나의 제1 문장 중 하나인 '본 발명은 전자 단말 장치 및 그 동작 방법에 대한 것이다.'의 문장 길이가 '210(mm)'로 확인되었다고 하는 경우, 비율 연산부(119)는 편집 영역(211)의 가로 길이(212)인 '200(mm)'에 대한 '본 발명은 전자 단말 장치 및 그 동작 방법에 대한 것이다.'의 문장 길이인 '210(mm)'의 비율을, '본 발명은 전자 단말 장치 및 그 동작 방법에 대한 것이다.'에 대한 길이 비율로 연산할 수 있다.For example, as in the above example, the horizontal length 212 of the editing area 211 is confirmed as '200 (mm)' by the horizontal length checking unit 117 and the sentence length checking unit 118, and the at least one If it is confirmed that the sentence length of 'The present invention relates to an electronic terminal device and its operating method', one of the first sentences of '210 (mm)', the ratio calculation unit 119 edits the editing area 211 The ratio of '210 (mm)', which is the sentence length of 'The present invention relates to an electronic terminal device and its operating method' to '200 (mm)', which is the horizontal length (212) of It relates to a terminal device and its operation method. It can be calculated as a length ratio for '.

관련해서, '200(mm)'에 대한 '210(mm)'의 비율은 '1.05'이기 때문에, 비율 연산부(119)는 '본 발명은 전자 단말 장치 및 그 동작 방법에 대한 것이다.'에 대한 길이 비율을 '1.05'로 연산할 수 있다.In this regard, since the ratio of '210 (mm)' to '200 (mm)' is '1.05', the ratio calculation unit 119 determines 'the present invention relates to an electronic terminal device and an operating method thereof.' The length ratio can be calculated as '1.05'.

문장 확인부(120)는 상기 적어도 하나의 제1 문장 각각에 대한 길이 비율이 연산되면, 상기 적어도 하나의 제1 문장 중 사전 설정된 기준치 미만의 길이 비율을 갖는 문장이 존재하는지 확인한다.When the length ratio of each of the at least one first sentence is calculated, the sentence checking unit 120 checks whether a sentence having a length ratio less than a predetermined reference value exists among the at least one first sentence.

이때, 본 발명의 일실시예에 따르면, 문장 확인부(120)는 상기 적어도 하나의 제1 문장 각각에 대한 길이 비율이 연산되면, 상기 복수의 폰트들의 식별자 각각에 대응되는 사전 설정된 서로 다른 보정치가 기록되어 있는 테이블을 참조하여, 상기 제1 대체 폰트의 식별자에 대응되는 제1 보정치를 확인한 후 상기 기준치에 상기 제1 보정치를 곱함으로써, 상기 기준치를 보정하고, 상기 기준치가 보정되면, 상기 적어도 하나의 제1 문장 중 상기 보정된 기준치 미만의 길이 비율을 갖는 문장이 존재하는지 여부를 확인할 수 있다.At this time, according to an embodiment of the present invention, when the length ratio for each of the at least one first sentence is calculated, the sentence checking unit 120 sets different correction values corresponding to each of the identifiers of the plurality of fonts. After checking the first correction value corresponding to the identifier of the first replacement font with reference to the table recorded therein, the reference value is corrected by multiplying the first correction value by the reference value, and when the reference value is corrected, the at least one correction value is corrected. It may be checked whether there is a sentence having a length ratio less than the corrected reference value among the first sentences of .

관련해서, 상기 테이블에는 하기의 표 4와 같이, 상기 복수의 폰트들의 식별자 각각에 대응되는 사전 설정된 서로 다른 보정치가 기록되어 있을 수 있다.In this regard, as shown in Table 4 below, preset different correction values corresponding to each of the identifiers of the plurality of fonts may be recorded in the table.

복수의 폰트들multiple fonts 보정치correction value 명칭designation 식별자identifier 폰트 1font 1 A1A1 0.990.99 폰트 2font 2 A2A2 0.950.95 폰트 3font 3 A3A3 0.90.9 폰트 4font 4 A4A4 0.890.89

예컨대, 전술한 예와 같이, 상기 제1 대체 폰트의 식별자가 'A1'이라고 하고, 상기 적어도 하나의 제1 문장 중 하나인 '본 발명은 전자 단말 장치 및 그 동작 방법에 대한 것이다.'의 길이 비율이 '1.05'라고 하며, 상기 기준치가 '1.1'이라고 하는 경우, 문장 확인부(120)는 상기 표 4와 같은 테이블을 참조하여, 'A1'에 대응되는 제1 보정치를 '0.99'로 확인한 후, 상기 기준치인 '1.1'에 상기 제1 보정치인 '0.99'를 곱함으로써, 상기 기준치인 '1.1'을 '1.08'로 보정할 수 있다. For example, as in the above example, the identifier of the first alternative font is 'A1', and the length of one of the at least one first sentence, 'The present invention relates to an electronic terminal device and its operating method.' When the ratio is '1.05' and the reference value is '1.1', the sentence checking unit 120 identifies the first correction value corresponding to 'A1' as '0.99' by referring to the table shown in Table 4 above. Then, the reference value '1.1' may be corrected to '1.08' by multiplying the reference value '1.1' by the first correction value '0.99'.

이렇게, 상기 기준치가 '1.08'로 보정되면, 문장 확인부(120)는 상기 제1 전자 문서 상에서, 상기 적어도 하나의 제1 문장 중 상기 보정된 기준치인 '1.08' 미만의 길이 비율를 갖는 문장이 존재하는지 여부를 확인할 수 있다.In this way, when the reference value is corrected to '1.08', the sentence checking unit 120 determines that, among the at least one first sentence, a sentence having a length ratio less than '1.08', which is the corrected reference value, exists on the first electronic document. You can check if it does or not.

관련해서, 상기 적어도 하나의 제1 문장 중 하나인 '본 발명은 전자 단말 장치 및 그 동작 방법에 대한 것이다.'의 길이 비율이 '1.05'이므로, 문장 확인부(120)는 상기 적어도 하나의 제1 문장 중 상기 보정된 기준치인 '1.08' 미만의 길이 비율을 갖는 문장으로 '본 발명은 전자 단말 장치 및 그 동작 방법에 대한 것이다.'가 존재하는 것으로 확인할 수 있다.In relation to this, since the length ratio of 'the present invention relates to an electronic terminal device and an operating method thereof', which is one of the at least one first sentence, is '1.05', the sentence checking unit 120 determines the at least one first sentence. It can be confirmed that 'the present invention relates to an electronic terminal device and its operation method' exists as a sentence having a length ratio less than '1.08', which is the corrected reference value, among one sentence.

표시부(121)는 상기 적어도 하나의 제1 문장 중 제2 문장의 길이 비율이 상기 기준치 미만인 것으로 확인되면, 상기 제1 전자 문서에서 상기 편집 영역의 가로 길이를 벗어난 지점까지 상기 제2 문장을 구성하는 텍스트를 표시함으로써, 상기 제1 전자 문서 상에서, 상기 제2 문장을 한 줄로 표시한다.When it is determined that the length ratio of the second sentence among the at least one first sentence is less than the reference value, the display unit 121 constructs the second sentence up to a point outside the horizontal length of the editing area in the first electronic document. By displaying text, the second sentence is displayed in one line on the first electronic document.

예컨대, 전술한 예와 같이, 문장 확인부(120)에 의해, 상기 적어도 하나의 제1 문장 중 하나인 '본 발명은 전자 단말 장치 및 그 동작 방법에 대한 것이다.'의 길이 비율인 '1.05'가 상기 보정된 기준치인 '1.08' 미만인 것으로 확인되었다고 가정하자. 그러면, 표시부(121)는 도 2의 도면부호 220에 도시된 그림과 같이, '본 발명은 전자 단말 장치 및 그 동작 방법에 대한 것이다.'를 상기 제1 전자 문서에서 편집 영역(211)의 가로 길이(212)를 벗어난 지점까지 표시함으로써, 상기 제1 전자 문서 상에서, '본 발명은 전자 단말 장치 및 그 동작 방법에 대한 것이다.'를 한 줄로 표시할 수 있다.For example, as in the above example, '1.05', which is the length ratio of 'the present invention relates to an electronic terminal device and its operating method', which is one of the at least one first sentence, by the sentence checking unit 120. Assume that is confirmed to be less than '1.08', the corrected reference value. Then, as shown in the figure 220 of FIG. 2, the display unit 121 displays 'the present invention relates to an electronic terminal device and an operating method thereof.' By marking the point outside the length 212, 'the present invention relates to an electronic terminal device and its operating method' can be displayed in one line on the first electronic document.

또한, 본 발명의 일실시예에 따르면, 전자 단말 장치(110)는 변경부(129), 추가 문장 길이 확인부(130), 추가 비율 연산부(131) 및 추가 표시부(132)를 더 포함할 수 있다.In addition, according to an embodiment of the present invention, the electronic terminal device 110 may further include a change unit 129, an additional sentence length check unit 130, an additional ratio calculation unit 131, and an additional display unit 132. there is.

변경부(129)는 상기 제1 전자 문서 상에, 상기 제1 대체 폰트가 적용이 완료되어 상기 제1 전자 문서의 로드가 완료된 이후, 사용자(150)로부터 상기 제1 전자 문서 상에서, 한 줄로 표시되고 있는 제3 문장의 폰트를 상기 복수의 폰트들 중 하나인 제2 폰트로 변경하라는 명령이 인가되면, 데이터 저장부(111)에 저장되어 있는 상기 제2 폰트의 폰트 데이터를 로드하여 상기 제3 문장의 폰트를 상기 제2 폰트로 변경한다.The change unit 129 displays a single line on the first electronic document from the user 150 after the application of the first replacement font is completed and the loading of the first electronic document is completed. When a command to change the font of the third sentence being used to a second font, which is one of the plurality of fonts, is applied, font data of the second font stored in the data storage unit 111 is loaded and the third font is loaded. The text font is changed to the second font.

예컨대, 상기 제1 전자 문서에 상기 제1 대체 폰트로서 '폰트 1'이 적용되었다고 하고, 상기 '폰트 1'이 적용된 상기 제1 전자 문서의 로드 화면이 도 3의 도면부호 310에 도시된 그림과 같다고 하자.For example, it is assumed that 'font 1' is applied to the first electronic document as the first replacement font, and the load screen of the first electronic document to which 'font 1' is applied is shown in the figure shown at 310 in FIG. Let's say it's the same.

이때, 사용자(150)로부터 상기 제1 전자 문서 상에서, 한 줄로 표시되고 있는 '서울은 아름다운 도시입니다.'라고 하는 제3 문장의 폰트를 상기 복수의 폰트들인 '폰트 1, 폰트 2, 폰트 3, 폰트 4'들 중 하나인 '폰트 2'로 변경하라는 명령이 인가되면, 변경부(129)는 상기 표 1과 같은 데이터 저장부(111)에 저장되어 있는 '폰트 2'의 폰트 데이터인 '폰트 데이터 2'를 로드하여 '서울은 아름다운 도시입니다.'의 폰트를 '폰트 1'에서 '폰트 2'로 변경할 수 있다.At this time, the font of the third sentence, 'Seoul is a beautiful city' displayed in a single line on the first electronic document from the user 150, is selected from the plurality of fonts 'Font 1, Font 2, Font 3, When a command to change to 'font 2', which is one of 'font 4', is applied, the changer 129 converts 'font', which is the font data of 'font 2' stored in the data storage unit 111 as shown in Table 1 above. You can change the font of 'Seoul is a beautiful city' from 'Font 1' to 'Font 2' by loading 'Data 2'.

추가 문장 길이 확인부(130)는 상기 제3 문장의 폰트가 상기 제2 폰트로 변경됨에 따라, 상기 제3 문장의 문장 길이가 편집 영역(211)의 가로 길이(212)를 초과함으로 인해, 상기 제1 전자 문서 상에서, 상기 제3 문장의 문장 길이가 두 줄로 변경되는 경우, 상기 제2 폰트가 적용된 상기 제3 문장의 문장 길이를 확인한다.As the font of the third sentence is changed to the second font, the additional sentence length checking unit 130 determines that the sentence length of the third sentence exceeds the horizontal length 212 of the editing area 211, When the sentence length of the third sentence is changed to two lines on the first electronic document, the sentence length of the third sentence to which the second font is applied is checked.

예컨대, 전술한 예와 같이, 상기 제3 문장을 '서울은 아름다운 도시입니다.'라고 하고, '서울은 아름다운 도시입니다.'의 폰트인 '폰트 1'이 '폰트 2'로 변경되었다고 가정하자. 이때, '서울은 아름다운 도시입니다.'의 문장 길이가 편집 영역(211)의 가로 길이(212)를 초과함으로 인해, 도 3의 도면부호 320에 도시된 그림과 같이, 상기 제1 전자 문서 상에서, '서울은 아름다운 도시입니다.'의 문장 길이가 두 줄로 변경되는 경우, 추가 문장 길이 확인부(130)는 '폰트 2'가 적용된 '서울은 아름다운 도시입니다.'의 문장 길이를 확인할 수 있다.For example, as in the above example, suppose that the third sentence is 'Seoul is a beautiful city' and 'Font 1', which is the font of 'Seoul is a beautiful city', is changed to 'Font 2'. At this time, since the sentence length of 'Seoul is a beautiful city' exceeds the horizontal length 212 of the editing area 211, as shown in the figure shown at reference numeral 320 in FIG. 3, on the first electronic document, If the sentence length of 'Seoul is a beautiful city' is changed to two lines, the additional sentence length checking unit 130 may check the sentence length of 'Seoul is a beautiful city' to which 'font 2' is applied.

추가 비율 연산부(131)는 상기 제3 문장의 문장 길이가 확인되면, 편집 영역(211)의 가로 길이(212)에 대한 상기 제3 문장의 문장 길이의 비율을, 상기 제3 문장에 대한 길이 비율로 연산한다.When the sentence length of the third sentence is confirmed, the addition ratio calculation unit 131 calculates the ratio of the sentence length of the third sentence to the horizontal length 212 of the editing area 211 as the length ratio of the third sentence. calculate with

예컨대, 전술한 예와 같이, 상기 제3 문장을 '서울은 아름다운 도시입니다.'라고 하는 경우, 추가 비율 연산부(131)는 편집 영역(211)의 가로 길이(212)에 대한 '서울은 아름다운 도시입니다.'의 문장 길이의 비율을, '서울은 아름다운 도시입니다.'에 대한 길이 비율로 연산할 수 있다.For example, as in the above example, when the third sentence is 'Seoul is a beautiful city', the addition ratio calculation unit 131 calculates 'Seoul is a beautiful city' for the horizontal length 212 of the editing area 211. The sentence length ratio of 'Seoul is a beautiful city' can be calculated as the length ratio of 'Seoul is a beautiful city.

추가 표시부(132)는 상기 제3 문장에 대한 길이 비율이 상기 기준치 미만인 것으로 확인되는 경우, 상기 제1 전자 문서에서 편집 영역(211)의 가로 길이(212)를 벗어난 지점까지 상기 제3 문장을 구성하는 텍스트를 표시함으로써, 상기 제1 전자 문서 상에서, 상기 제3 문장을 한 줄로 표시한다.When it is determined that the length ratio of the third sentence is less than the reference value, the additional display unit 132 constructs the third sentence up to a point outside the horizontal length 212 of the editing area 211 in the first electronic document. The third sentence is displayed in one line on the first electronic document by displaying the text that says,

예컨대, 전술한 예와 같이, 상기 제3 문장을 '서울은 아름다운 도시입니다.'라고 하고, 상기 기준치를 '1.1'이라고 하며, '서울은 아름다운 도시입니다.'에 대한 길이 비율이 상기 기준치인 '1.1' 미만인 것으로 확인되었다고 가정하자.For example, as in the above example, the third sentence is 'Seoul is a beautiful city', the reference value is '1.1', and the length ratio to 'Seoul is a beautiful city' is the reference value ' Assume that it is confirmed to be less than 1.1'.

그러면, 추가 표시부(132)는 도 3의 도면부호 330에 도시된 그림과 같이, 상기 제1 전자 문서에서 편집 영역(211)의 가로 길이(212)를 벗어난 지점까지 '서울은 아름다운 도시입니다.'를 표시함으로써, 상기 제1 전자 문서 상에서, '서울은 아름다운 도시입니다.'를 한 줄로 표시할 수 있다.Then, as shown at 330 in FIG. 3, the additional display unit 132 displays 'Seoul is a beautiful city' up to a point outside the horizontal length 212 of the editing area 211 in the first electronic document. By displaying 'Seoul is a beautiful city', it is possible to display 'Seoul is a beautiful city' in one line on the first electronic document.

즉, 본 발명에 따른 전자 단말 장치(110)는 사용자(150)에 의해, 상기 제1 전자 문서상에서, 한 줄로 표시되고 있던 상기 제3 문장의 폰트가 다른 폰트로 변경되어 상기 제3 문장이 두 줄로 변경되는 경우, 상기 제3 문장의 길이 비율을 연산하고, 상기 제3 문장의 길이 비율이 상기 기준치 미만인 것으로 확인되면, 상기 제3 문장을 상기 제1 전자 문서에서 편집 영역(211)의 가로 길이(212)를 벗어난 지점까지 한 줄로 표시함으로써, 상기 제1 전자 문서 내에서 상기 제3 문장이 표시되는 형태를 원래의 형태와 동일하게 유지할 수 있다.That is, in the electronic terminal device 110 according to the present invention, the font of the third sentence displayed in one line on the first electronic document is changed to another font by the user 150 so that the third sentence is displayed in two lines. If it is changed to a line, the length ratio of the third sentence is calculated, and if it is confirmed that the length ratio of the third sentence is less than the reference value, the third sentence is the horizontal length of the editing area 211 in the first electronic document. By displaying a single line up to a point beyond 212, the display form of the third sentence in the first electronic document can be maintained the same as the original form.

도 4는 본 발명의 일실시예에 따른 전자 단말 장치의 동작 방법을 도시한 순서도이다.4 is a flowchart illustrating an operating method of an electronic terminal device according to an embodiment of the present invention.

단계(S401)에서는 지원 가능한 폰트인 것으로 사전 지정된 복수의 폰트들 각각의 식별자와 상기 복수의 폰트들 각각에 대한 폰트 데이터가 저장되어 있는 데이터 저장부를 유지한다.In step S401, an identifier of each of a plurality of fonts pre-designated as supportable fonts and a data storage unit in which font data for each of the plurality of fonts are stored is maintained.

단계(S402)에서는 사용자로부터 제1 전자 문서에 대한 로드 명령이 인가되면, 상기 제1 전자 문서의 문서 데이터로부터, 상기 제1 전자 문서에 적용되어 있는 제1 폰트의 식별자를 확인한다.In step S402, when a load command for the first electronic document is applied from the user, an identifier of a first font applied to the first electronic document is checked from document data of the first electronic document.

단계(S403)에서는 상기 제1 폰트의 식별자가 확인되면, 상기 데이터 저장부에 저장되어 있는 상기 복수의 폰트들의 식별자 중 상기 제1 폰트의 식별자와 일치하는 식별자가 존재하는지 확인한다.In step S403, if the identifier of the first font is confirmed, it is checked whether an identifier matching the identifier of the first font exists among the identifiers of the plurality of fonts stored in the data storage unit.

단계(S404)에서는 상기 복수의 폰트들의 식별자 중 상기 제1 폰트의 식별자가 존재하지 않는 것으로 확인되는 경우, 상기 복수의 폰트들의 식별자 중 어느 하나인 제1 대체 폰트의 식별자를 선택한다.In step S404, when it is confirmed that the identifier of the first font does not exist among the identifiers of the plurality of fonts, an identifier of the first alternative font, which is one of the identifiers of the plurality of fonts, is selected.

단계(S405)에서는 상기 제1 대체 폰트의 식별자가 선택되면, 상기 제1 대체 폰트의 식별자를 기초로, 상기 데이터 저장부에 저장되어 있는 상기 제1 대체 폰트에 대한 폰트 데이터를 로드하여 상기 제1 전자 문서 상에서, 상기 제1 전자 문서에 포함된 텍스트에 대해, 상기 제1 대체 폰트를 적용한다.In step S405, if the identifier of the first alternative font is selected, font data for the first alternative font stored in the data storage unit is loaded based on the identifier of the first alternative font, and the first alternative font is selected. On the electronic document, the first replacement font is applied to text included in the first electronic document.

단계(S406)에서는 상기 제1 전자 문서에 포함된 텍스트에 대해, 상기 제1 대체 폰트가 적용되면, 상기 제1 전자 문서에 포함된 복수의 문장들 중 문장 길이가 상기 제1 전자 문서에 설정되어 있는 편집 영역의 가로 길이를 초과함으로 인해, 상기 제1 전자 문서 상에서, 문장이 두 줄로 표시되고 있는 적어도 하나의 제1 문장을 선택한다.In step S406, when the first alternative font is applied to the text included in the first electronic document, a sentence length among a plurality of sentences included in the first electronic document is set to the first electronic document. At least one first sentence in which sentences are displayed in two lines is selected on the first electronic document because the horizontal length of the editing area is exceeded.

단계(S407)에서는 상기 적어도 하나의 제1 문장이 선택되면, 상기 편집 영역의 가로 길이를 확인한다.In step S407, if the at least one first sentence is selected, the horizontal length of the editing area is checked.

단계(S408)에서는 상기 적어도 하나의 제1 문장 각각의 문장 길이를 확인한다.In step S408, the sentence length of each of the at least one first sentence is checked.

단계(S409)에서는 상기 편집 영역의 가로 길이와 상기 적어도 하나의 제1 문장 각각의 문장 길이가 확인되면, 상기 편집 영역의 가로 길이에 대한 상기 적어도 하나의 제1 문장 각각의 문장 길이의 비율을, 상기 적어도 하나의 제1 문장 각각에 대한 길이 비율로 연산한다.In step S409, when the horizontal length of the editing area and the sentence length of each of the at least one first sentence are confirmed, the ratio of the sentence length of each of the at least one first sentence to the horizontal length of the editing area is determined. A length ratio for each of the at least one first sentence is calculated.

단계(S410)에서는 상기 적어도 하나의 제1 문장 각각에 대한 길이 비율이 연산되면, 상기 적어도 하나의 제1 문장 중 사전 설정된 기준치 미만의 길이 비율을 갖는 문장이 존재하는지 확인한다.In step S410, when the length ratio of each of the at least one first sentence is calculated, it is checked whether a sentence having a length ratio less than a predetermined reference value exists among the at least one first sentence.

단계(S411)에서는 상기 적어도 하나의 제1 문장 중 제2 문장의 길이 비율이 상기 기준치 미만인 것으로 확인되면, 상기 제1 전자 문서에서 상기 편집 영역의 가로 길이를 벗어난 지점까지 상기 제2 문장을 구성하는 텍스트를 표시함으로써, 상기 제1 전자 문서 상에서, 상기 제2 문장을 한 줄로 표시한다.In step S411, if it is determined that the length ratio of the second sentence among the at least one first sentence is less than the reference value, constituting the second sentence to a point outside the horizontal length of the editing area in the first electronic document. By displaying text, the second sentence is displayed in one line on the first electronic document.

이때, 본 발명의 일실시예에 따르면, 단계(S408)에서는 상기 적어도 하나의 제1 문장 각각에 대해, 각 문장에 포함된 복수의 문자들 각각에 대한 글립 너비 값을 확인하고, 각 문장에 포함된 띄어쓰기 공백 값을 확인하며, 각 문장에 포함된 문자들 간의 커닝 값을 확인하는 단계 및 상기 적어도 하나의 제1 문장 각각에 대한 글립 너비 값, 띄어쓰기 공백 값, 커닝 값이 확인되면, 상기 적어도 하나의 제1 문장 각각에 대한 글립 너비 값, 띄어쓰기 공백 값, 커닝 값의 합을 각 문장에 대한 문장 길이로 연산함으로써, 상기 적어도 하나의 제1 문장 각각의 문장 길이를 확인하는 단계를 포함할 수 있다.At this time, according to one embodiment of the present invention, in step S408, for each of the at least one first sentence, a glyph width value for each of a plurality of characters included in each sentence is checked and included in each sentence. Checking a space value for spacing and checking a kerning value between characters included in each sentence, and when the glyph width value, space spacing value, and kerning value for each of the at least one first sentence are checked, the at least one The method may include determining the sentence length of each of the at least one first sentence by calculating a sum of a glyph width value, a spacing value, and a kerning value for each of the first sentences of the at least one first sentence. .

이때, 본 발명의 일실시예에 따르면, 단계(S404)에서는 사전 지정된 복수의 대표 문자들 각각에 대응되는 사전 설정된 원-핫 벡터가 저장되어 있는 벡터 저장부를 유지하는 단계, 상기 복수의 폰트들 각각의 식별자와 각 폰트에 대응되는 것으로 사전 설정된 대표 문자 그룹(상기 대표 문자 그룹은 상기 복수의 대표 문자들 중에서 선택된 둘 이상의 대표 문자들로 구성된 그룹임)에 대한 정보가 저장되어 있는 대표 문자 그룹 저장부를 유지하는 단계, 단계(S403)의 확인 결과, 상기 복수의 폰트들의 식별자 중 상기 제1 폰트의 식별자가 존재하지 않는 것으로 확인되는 경우, 상기 벡터 저장부와 상기 대표 문자 그룹 저장부를 참조하여, 상기 복수의 폰트들 각각에 대응되는 대표 문자 그룹에 포함된 대표 문자들에 대한 원-핫 벡터를 모두 합산함으로써, 상기 복수의 폰트들 각각에 대응되는 폰트 벡터를 생성하는 단계, 상기 복수의 대표 문자들이 상기 제1 전자 문서에서 등장하는 총 횟수를 기준으로 하여 상기 복수의 대표 문자들 각각의 상기 제1 전자 문서에서의 등장 비율을 연산한 후, 상기 복수의 대표 문자들 각각의 등장 비율을 성분으로 갖는 대표 문자 벡터를 생성하는 단계 및 상기 복수의 폰트들의 식별자 중 상기 대표 문자 벡터와의 코사인 유사도가 최대인 폰트 벡터를 갖는 폰트의 식별자를 상기 제1 대체 폰트의 식별자로 선택하는 단계를 포함할 수 있다.At this time, according to one embodiment of the present invention, in step S404, maintaining a vector storage unit storing preset one-hot vectors corresponding to each of a plurality of pre-designated representative characters, each of the plurality of fonts A representative character group storage unit in which an identifier of and information on a representative character group preset to correspond to each font (the representative character group is a group consisting of two or more representative characters selected from among the plurality of representative characters) is stored. As a result of checking the maintaining step and step S403, if it is confirmed that the identifier of the first font does not exist among the identifiers of the plurality of fonts, the plurality of fonts are referred to the vector storage unit and the representative character group storage unit. generating a font vector corresponding to each of the plurality of fonts by summing all one-hot vectors of representative characters included in a representative character group corresponding to each of the fonts of After calculating the appearance ratio of each of the plurality of representative characters in the first electronic document based on the total number of times they appear in the first electronic document, the representative having the appearance ratio of each of the plurality of representative characters as a component Generating a character vector and selecting an identifier of a font having a font vector having a maximum cosine similarity with the representative character vector among identifiers of the plurality of fonts as the identifier of the first alternative font.

이때, 본 발명의 일실시예에 따르면, 단계(S410)에서는 상기 적어도 하나의 제1 문장 각각에 대한 길이 비율이 연산되면, 상기 복수의 폰트들의 식별자 각각에 대응되는 사전 설정된 서로 다른 보정치가 기록되어 있는 테이블을 참조하여, 상기 제1 대체 폰트의 식별자에 대응되는 제1 보정치를 확인한 후 상기 기준치에 상기 제1 보정치를 곱함으로써, 상기 기준치를 보정하고, 상기 기준치가 보정되면, 상기 적어도 하나의 제1 문장 중 상기 보정된 기준치 미만의 길이 비율을 갖는 문장이 존재하는지 여부를 확인할 수 있다.At this time, according to one embodiment of the present invention, in step S410, when the length ratio for each of the at least one first sentence is calculated, preset different correction values corresponding to each of the identifiers of the plurality of fonts are recorded. After checking the first correction value corresponding to the identifier of the first replacement font, the reference value is corrected by multiplying the first correction value by the reference value, and when the reference value is corrected, the at least one first correction value is corrected. It may be checked whether there is a sentence having a length ratio less than the corrected reference value among one sentence.

또한, 본 발명의 일실시예에 따르면, 상기 전자 단말 장치의 동작 방법은 상기 제1 전자 문서 상에, 상기 제1 대체 폰트가 적용이 완료되어 상기 제1 전자 문서의 로드가 완료된 이후, 상기 사용자로부터 상기 제1 전자 문서 상에서, 한 줄로 표시되고 있는 제3 문장의 폰트를 상기 복수의 폰트들 중 하나인 제2 폰트로 변경하라는 명령이 인가되면, 상기 데이터 저장부에 저장되어 있는 상기 제2 폰트의 폰트 데이터를 로드하여 상기 제3 문장의 폰트를 상기 제2 폰트로 변경하는 단계, 상기 제3 문장의 폰트가 상기 제2 폰트로 변경됨에 따라, 상기 제3 문장의 문장 길이가 상기 편집 영역의 가로 길이를 초과함으로 인해, 상기 제1 전자 문서 상에서, 상기 제3 문장의 문장 길이가 두 줄로 변경되는 경우, 상기 제2 폰트가 적용된 상기 제3 문장의 문장 길이를 확인하는 단계, 상기 제3 문장의 문장 길이가 확인되면, 상기 편집 영역의 가로 길이에 대한 상기 제3 문장의 문장 길이의 비율을, 상기 제3 문장에 대한 길이 비율로 연산하는 단계 및 상기 제3 문장에 대한 길이 비율이 상기 기준치 미만인 것으로 확인되는 경우, 상기 제1 전자 문서에서 상기 편집 영역의 가로 길이를 벗어난 지점까지 상기 제3 문장을 구성하는 텍스트를 표시함으로써, 상기 제1 전자 문서 상에서, 상기 제3 문장을 한 줄로 표시하는 단계를 더 포함할 수 있다.Further, according to an embodiment of the present invention, the operating method of the electronic terminal device may be performed after the application of the first alternative font to the first electronic document is completed and loading of the first electronic document is completed, and the user When a command to change the font of the third sentence displayed in one line on the first electronic document from is applied to the second font, which is one of the plurality of fonts, the second font stored in the data storage unit. Loading font data of and changing the font of the third sentence to the second font, As the font of the third sentence is changed to the second font, the sentence length of the third sentence is within the range of the editing area. When the sentence length of the third sentence is changed to two lines on the first electronic document due to exceeding the horizontal length, checking the sentence length of the third sentence to which the second font is applied, the third sentence If the sentence length of is confirmed, calculating the ratio of the sentence length of the third sentence to the horizontal length of the editing area as the length ratio for the third sentence, and the length ratio for the third sentence is the reference value If it is confirmed that it is less than, displaying the text constituting the third sentence from the first electronic document to a point outside the horizontal length of the editing area, thereby displaying the third sentence in one line on the first electronic document Further steps may be included.

이상, 도 4를 참조하여 본 발명의 일실시예에 따른 전자 단말 장치의 동작 방법에 대해 설명하였다. 여기서, 본 발명의 일실시예에 따른 전자 단말 장치의 동작 방법은 도 1 내지 3을 이용하여 설명한 전자 단말 장치(110)의 동작에 대한 구성과 대응될 수 있으므로, 이에 대한 보다 상세한 설명은 생략하기로 한다.In the above, the operating method of the electronic terminal device according to an embodiment of the present invention has been described with reference to FIG. 4 . Here, since the operation method of the electronic terminal device according to an embodiment of the present invention may correspond to the configuration of the operation of the electronic terminal device 110 described with reference to FIGS. 1 to 3, a detailed description thereof is omitted. do it with

본 발명의 일실시예에 따른 전자 단말 장치의 동작 방법은 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램으로 구현될 수 있다.A method of operating an electronic terminal device according to an embodiment of the present invention may be implemented as a computer program stored in a storage medium for execution through a combination with a computer.

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

이상과 같이 본 발명에서는 구체적인 구성 요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다.As described above, the present invention has been described by specific details 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. , Those skilled in the art in the field to which the present invention belongs can make various modifications and variations from these descriptions.

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

110: 전자 단말 장치
111: 데이터 저장부 112: 식별자 확인부
113: 폰트 확인부 114: 대체 폰트 선택부
115: 대체 폰트 적용부 116: 문장 선택부
117: 가로 길이 확인부 118: 문장 길이 확인부
119: 비율 연산부 120: 문장 확인부
121: 표시부 122: 수치 확인부
123: 길이 연산부 124: 벡터 저장부
125: 대표 문자 그룹 저장부 126: 폰트 벡터 생성부
127: 대표 문자 벡터 생성부 128: 폰트 식별자 선택부
129: 변경부 130: 추가 문장 길이 확인부
131: 추가 비율 연산부 132: 추가 표시부
150: 사용자
110: electronic terminal device
111: data storage unit 112: identifier verification unit
113: font confirmation unit 114: alternative font selection unit
115: replacement font application unit 116: sentence selection unit
117: horizontal length confirmation unit 118: sentence length confirmation unit
119: ratio calculation unit 120: sentence confirmation unit
121: display unit 122: numerical confirmation unit
123: length calculation unit 124: vector storage unit
125: representative character group storage unit 126: font vector generation unit
127: representative character vector generation unit 128: font identifier selection unit
129: change unit 130: additional sentence length confirmation unit
131: additional ratio calculation unit 132: additional display unit
150: user

Claims (12)

지원 가능한 폰트인 것으로 사전 지정된 복수의 폰트들 각각의 식별자와 상기 복수의 폰트들 각각에 대한 폰트 데이터가 저장되어 있는 데이터 저장부;
사용자로부터 제1 전자 문서에 대한 로드 명령이 인가되면, 상기 제1 전자 문서의 문서 데이터로부터, 상기 제1 전자 문서에 적용되어 있는 제1 폰트의 식별자를 확인하는 식별자 확인부;
상기 제1 폰트의 식별자가 확인되면, 상기 데이터 저장부에 저장되어 있는 상기 복수의 폰트들의 식별자 중 상기 제1 폰트의 식별자와 일치하는 식별자가 존재하는지 확인하는 폰트 확인부;
상기 복수의 폰트들의 식별자 중 상기 제1 폰트의 식별자가 존재하지 않는 것으로 확인되는 경우, 상기 복수의 폰트들의 식별자 중 어느 하나인 제1 대체 폰트의 식별자를 선택하는 대체 폰트 선택부;
상기 제1 대체 폰트의 식별자가 선택되면, 상기 제1 대체 폰트의 식별자를 기초로, 상기 데이터 저장부에 저장되어 있는 상기 제1 대체 폰트에 대한 폰트 데이터를 로드하여 상기 제1 전자 문서 상에서, 상기 제1 전자 문서에 포함된 텍스트에 대해, 상기 제1 대체 폰트를 적용하는 대체 폰트 적용부;
상기 제1 전자 문서에 포함된 텍스트에 대해, 상기 제1 대체 폰트가 적용되면, 상기 제1 전자 문서에 포함된 복수의 문장들 중 문장 길이가 상기 제1 전자 문서에 설정되어 있는 편집 영역의 가로 길이를 초과함으로 인해, 상기 제1 전자 문서 상에서, 문장이 두 줄로 표시되고 있는 적어도 하나의 제1 문장을 선택하는 문장 선택부;
상기 적어도 하나의 제1 문장이 선택되면, 상기 편집 영역의 가로 길이를 확인하는 가로 길이 확인부;
상기 적어도 하나의 제1 문장 각각의 문장 길이를 확인하는 문장 길이 확인부;
상기 편집 영역의 가로 길이와 상기 적어도 하나의 제1 문장 각각의 문장 길이가 확인되면, 상기 편집 영역의 가로 길이에 대한 상기 적어도 하나의 제1 문장 각각의 문장 길이의 비율을, 상기 적어도 하나의 제1 문장 각각에 대한 길이 비율로 연산하는 비율 연산부;
상기 적어도 하나의 제1 문장 각각에 대한 길이 비율이 연산되면, 상기 적어도 하나의 제1 문장 중 사전 설정된 기준치 미만의 길이 비율을 갖는 문장이 존재하는지 확인하는 문장 확인부; 및
상기 적어도 하나의 제1 문장 중 제2 문장의 길이 비율이 상기 기준치 미만인 것으로 확인되면, 상기 제1 전자 문서에서 상기 편집 영역의 가로 길이를 벗어난 지점까지 상기 제2 문장을 구성하는 텍스트를 표시함으로써, 상기 제1 전자 문서 상에서, 상기 제2 문장을 한 줄로 표시하는 표시부
를 포함하고,
상기 대체 폰트 선택부는
사전 지정된 복수의 대표 문자들 각각에 대응되는 사전 설정된 원-핫(One-Hot) 벡터가 저장되어 있는 벡터 저장부;
상기 복수의 폰트들 각각의 식별자와 각 폰트에 대응되는 것으로 사전 설정된 대표 문자 그룹 - 상기 대표 문자 그룹은 상기 복수의 대표 문자들 중에서 선택된 둘 이상의 대표 문자들로 구성된 그룹임 - 에 대한 정보가 저장되어 있는 대표 문자 그룹 저장부;
상기 폰트 확인부의 확인 결과, 상기 복수의 폰트들의 식별자 중 상기 제1 폰트의 식별자가 존재하지 않는 것으로 확인되는 경우, 상기 벡터 저장부와 상기 대표 문자 그룹 저장부를 참조하여, 상기 복수의 폰트들 각각에 대응되는 대표 문자 그룹에 포함된 대표 문자들에 대한 원-핫 벡터를 모두 합산함으로써, 상기 복수의 폰트들 각각에 대응되는 폰트 벡터를 생성하는 폰트 벡터 생성부;
상기 복수의 대표 문자들이 상기 제1 전자 문서에서 등장하는 총 횟수를 기준으로 하여 상기 복수의 대표 문자들 각각의 상기 제1 전자 문서에서의 등장 비율을 연산한 후, 상기 복수의 대표 문자들 각각의 등장 비율을 성분으로 갖는 대표 문자 벡터를 생성하는 대표 문자 벡터 생성부; 및
상기 복수의 폰트들의 식별자 중 상기 대표 문자 벡터와의 코사인 유사도가 최대인 폰트 벡터를 갖는 폰트의 식별자를 상기 제1 대체 폰트의 식별자로 선택하는 폰트 식별자 선택부
를 포함하는 전자 단말 장치.
a data storage unit storing identifiers of each of a plurality of fonts pre-designated as supportable fonts and font data for each of the plurality of fonts;
an identifier verification unit that checks an identifier of a first font applied to the first electronic document from document data of the first electronic document when a load command for the first electronic document is applied from a user;
a font checking unit which checks whether an identifier matching the identifier of the first font exists among the identifiers of the plurality of fonts stored in the data storage unit when the identifier of the first font is confirmed;
an alternative font selection unit selecting an identifier of a first alternative font among the identifiers of the plurality of fonts when it is confirmed that the identifier of the first font does not exist among the identifiers of the plurality of fonts;
When the identifier of the first alternative font is selected, font data for the first alternative font stored in the data storage unit is loaded based on the identifier of the first alternative font, and on the first electronic document, the a replacement font application unit for applying the first replacement font to text included in a first electronic document;
When the first alternative font is applied to text included in the first electronic document, the length of a sentence among a plurality of sentences included in the first electronic document is the width of the editing area set in the first electronic document. a sentence selection unit which selects at least one first sentence whose sentence is displayed in two lines on the first electronic document due to the length being exceeded;
a horizontal length checking unit checking a horizontal length of the editing area when the at least one first sentence is selected;
a sentence length checking unit checking a sentence length of each of the at least one first sentence;
When the horizontal length of the editing area and the sentence length of each of the at least one first sentence are confirmed, a ratio of the sentence length of each of the at least one first sentence to the horizontal length of the editing area is determined. a ratio calculation unit that calculates a length ratio for each sentence;
a sentence checking unit configured to check whether a sentence having a length ratio less than a predetermined reference value exists among the at least one first sentence when the length ratio of each of the at least one first sentence is calculated; and
When it is determined that the length ratio of the second sentence among the at least one first sentence is less than the reference value, by displaying text constituting the second sentence up to a point outside the horizontal length of the editing area in the first electronic document, A display unit for displaying the second sentence in one line on the first electronic document
including,
The alternative font selection unit
a vector storage unit storing preset one-hot vectors corresponding to each of a plurality of pre-designated representative characters;
Information on an identifier of each of the plurality of fonts and a representative character group preset to correspond to each font, wherein the representative character group is a group consisting of two or more representative characters selected from among the plurality of representative characters, is stored. a representative character group storage unit;
As a result of the check by the font checking unit, when it is confirmed that the identifier of the first font does not exist among the identifiers of the plurality of fonts, the vector storage unit and the representative character group storage unit are referred to, and each of the plurality of fonts a font vector generating unit generating a font vector corresponding to each of the plurality of fonts by summing all one-hot vectors of representative characters included in the corresponding representative character group;
After calculating the appearance ratio of each of the plurality of representative characters in the first electronic document based on the total number of times the plurality of representative characters appear in the first electronic document, each of the plurality of representative characters a representative character vector generating unit generating a representative character vector having an appearance ratio as a component; and
A font identifier selection unit for selecting an identifier of a font having a font vector having a maximum cosine similarity with the representative character vector among identifiers of the plurality of fonts as the identifier of the first alternative font.
Electronic terminal device comprising a.
제1항에 있어서,
상기 문장 길이 확인부는
상기 적어도 하나의 제1 문장 각각에 대해, 각 문장에 포함된 복수의 문자들 각각에 대한 글립(glyph) 너비 값을 확인하고, 각 문장에 포함된 띄어쓰기 공백 값을 확인하며, 각 문장에 포함된 문자들 간의 커닝(kerning) 값을 확인하는 수치 확인부; 및
상기 적어도 하나의 제1 문장 각각에 대한 글립 너비 값, 띄어쓰기 공백 값, 커닝 값이 확인되면, 상기 적어도 하나의 제1 문장 각각에 대한 글립 너비 값, 띄어쓰기 공백 값, 커닝 값의 합을 각 문장에 대한 문장 길이로 연산함으로써, 상기 적어도 하나의 제1 문장 각각의 문장 길이를 확인하는 길이 연산부
를 포함하는 전자 단말 장치.
According to claim 1,
The sentence length check unit
For each of the at least one first sentence, a glyph width value for each of a plurality of characters included in each sentence is checked, a spacing value included in each sentence is checked, and a space value included in each sentence is checked. a numerical check unit that checks a kerning value between characters; and
When the glyph width value, spacing value, and kerning value for each of the at least one first sentence are confirmed, the sum of the glyph width value, spacing value, and kerning value for each of the at least one first sentence is applied to each sentence. A length calculation unit for checking the sentence length of each of the at least one first sentence by calculating the sentence length for
Electronic terminal device comprising a.
삭제delete 제1항에 있어서,
상기 문장 확인부는
상기 적어도 하나의 제1 문장 각각에 대한 길이 비율이 연산되면, 상기 복수의 폰트들의 식별자 각각에 대응되는 사전 설정된 서로 다른 보정치가 기록되어 있는 테이블을 참조하여, 상기 제1 대체 폰트의 식별자에 대응되는 제1 보정치를 확인한 후 상기 기준치에 상기 제1 보정치를 곱함으로써, 상기 기준치를 보정하고, 상기 기준치가 보정되면, 상기 적어도 하나의 제1 문장 중 상기 보정된 기준치 미만의 길이 비율을 갖는 문장이 존재하는지 여부를 확인하는 전자 단말 장치.
According to claim 1,
The text check section
When the length ratio for each of the at least one first sentence is calculated, referring to a table in which preset different correction values corresponding to each of the identifiers of the plurality of fonts are recorded, After checking the first correction value, the reference value is corrected by multiplying the reference value by the first correction value, and when the reference value is corrected, a sentence having a length ratio less than the corrected reference value among the at least one first sentence exists. An electronic terminal device that checks whether or not
제1항에 있어서,
상기 제1 전자 문서 상에, 상기 제1 대체 폰트가 적용이 완료되어 상기 제1 전자 문서의 로드가 완료된 이후, 상기 사용자로부터 상기 제1 전자 문서 상에서, 한 줄로 표시되고 있는 제3 문장의 폰트를 상기 복수의 폰트들 중 하나인 제2 폰트로 변경하라는 명령이 인가되면, 상기 데이터 저장부에 저장되어 있는 상기 제2 폰트의 폰트 데이터를 로드하여 상기 제3 문장의 폰트를 상기 제2 폰트로 변경하는 변경부;
상기 제3 문장의 폰트가 상기 제2 폰트로 변경됨에 따라, 상기 제3 문장의 문장 길이가 상기 편집 영역의 가로 길이를 초과함으로 인해, 상기 제1 전자 문서 상에서, 상기 제3 문장의 문장 길이가 두 줄로 변경되는 경우, 상기 제2 폰트가 적용된 상기 제3 문장의 문장 길이를 확인하는 추가 문장 길이 확인부;
상기 제3 문장의 문장 길이가 확인되면, 상기 편집 영역의 가로 길이에 대한 상기 제3 문장의 문장 길이의 비율을, 상기 제3 문장에 대한 길이 비율로 연산하는 추가 비율 연산부; 및
상기 제3 문장에 대한 길이 비율이 상기 기준치 미만인 것으로 확인되는 경우, 상기 제1 전자 문서에서 상기 편집 영역의 가로 길이를 벗어난 지점까지 상기 제3 문장을 구성하는 텍스트를 표시함으로써, 상기 제1 전자 문서 상에서, 상기 제3 문장을 한 줄로 표시하는 추가 표시부
를 더 포함하는 전자 단말 장치.
According to claim 1,
After the application of the first alternative font to the first electronic document is completed and the loading of the first electronic document is completed, the font of the third sentence displayed in one line on the first electronic document from the user When a command to change to a second font, which is one of the plurality of fonts, is applied, font data of the second font stored in the data storage unit is loaded and the font of the third sentence is changed to the second font. Changes to do;
As the font of the third sentence is changed to the second font, the sentence length of the third sentence exceeds the horizontal length of the editing area, so that the sentence length of the third sentence on the first electronic document is increased. an additional sentence length checking unit checking the sentence length of the third sentence to which the second font is applied when the text is changed to two lines;
If the sentence length of the third sentence is confirmed, an additional ratio calculation unit for calculating a ratio of the sentence length of the third sentence to the horizontal length of the editing area as a length ratio of the third sentence; and
When it is determined that the length ratio of the third sentence is less than the reference value, text constituting the third sentence is displayed from the first electronic document to a point outside the horizontal length of the editing area, thereby displaying the first electronic document On the top, an additional display unit for displaying the third sentence in one line
Electronic terminal device further comprising a.
지원 가능한 폰트인 것으로 사전 지정된 복수의 폰트들 각각의 식별자와 상기 복수의 폰트들 각각에 대한 폰트 데이터가 저장되어 있는 데이터 저장부를 유지하는 단계;
사용자로부터 제1 전자 문서에 대한 로드 명령이 인가되면, 상기 제1 전자 문서의 문서 데이터로부터, 상기 제1 전자 문서에 적용되어 있는 제1 폰트의 식별자를 확인하는 단계;
상기 제1 폰트의 식별자가 확인되면, 상기 데이터 저장부에 저장되어 있는 상기 복수의 폰트들의 식별자 중 상기 제1 폰트의 식별자와 일치하는 식별자가 존재하는지 확인하는 단계;
상기 복수의 폰트들의 식별자 중 상기 제1 폰트의 식별자가 존재하지 않는 것으로 확인되는 경우, 상기 복수의 폰트들의 식별자 중 어느 하나인 제1 대체 폰트의 식별자를 선택하는 단계;
상기 제1 대체 폰트의 식별자가 선택되면, 상기 제1 대체 폰트의 식별자를 기초로, 상기 데이터 저장부에 저장되어 있는 상기 제1 대체 폰트에 대한 폰트 데이터를 로드하여 상기 제1 전자 문서 상에서, 상기 제1 전자 문서에 포함된 텍스트에 대해, 상기 제1 대체 폰트를 적용하는 단계;
상기 제1 전자 문서에 포함된 텍스트에 대해, 상기 제1 대체 폰트가 적용되면, 상기 제1 전자 문서에 포함된 복수의 문장들 중 문장 길이가 상기 제1 전자 문서에 설정되어 있는 편집 영역의 가로 길이를 초과함으로 인해, 상기 제1 전자 문서 상에서, 문장이 두 줄로 표시되고 있는 적어도 하나의 제1 문장을 선택하는 단계;
상기 적어도 하나의 제1 문장이 선택되면, 상기 편집 영역의 가로 길이를 확인하는 단계;
상기 적어도 하나의 제1 문장 각각의 문장 길이를 확인하는 단계;
상기 편집 영역의 가로 길이와 상기 적어도 하나의 제1 문장 각각의 문장 길이가 확인되면, 상기 편집 영역의 가로 길이에 대한 상기 적어도 하나의 제1 문장 각각의 문장 길이의 비율을, 상기 적어도 하나의 제1 문장 각각에 대한 길이 비율로 연산하는 단계;
상기 적어도 하나의 제1 문장 각각에 대한 길이 비율이 연산되면, 상기 적어도 하나의 제1 문장 중 사전 설정된 기준치 미만의 길이 비율을 갖는 문장이 존재하는지 확인하는 단계; 및
상기 적어도 하나의 제1 문장 중 제2 문장의 길이 비율이 상기 기준치 미만인 것으로 확인되면, 상기 제1 전자 문서에서 상기 편집 영역의 가로 길이를 벗어난 지점까지 상기 제2 문장을 구성하는 텍스트를 표시함으로써, 상기 제1 전자 문서 상에서, 상기 제2 문장을 한 줄로 표시하는 단계
를 포함하고,
상기 제1 대체 폰트의 식별자를 선택하는 단계는
사전 지정된 복수의 대표 문자들 각각에 대응되는 사전 설정된 원-핫(One-Hot) 벡터가 저장되어 있는 벡터 저장부를 유지하는 단계;
상기 복수의 폰트들 각각의 식별자와 각 폰트에 대응되는 것으로 사전 설정된 대표 문자 그룹 - 상기 대표 문자 그룹은 상기 복수의 대표 문자들 중에서 선택된 둘 이상의 대표 문자들로 구성된 그룹임 - 에 대한 정보가 저장되어 있는 대표 문자 그룹 저장부를 유지하는 단계;
상기 식별자가 존재하는지 확인하는 단계의 확인 결과, 상기 복수의 폰트들의 식별자 중 상기 제1 폰트의 식별자가 존재하지 않는 것으로 확인되는 경우, 상기 벡터 저장부와 상기 대표 문자 그룹 저장부를 참조하여, 상기 복수의 폰트들 각각에 대응되는 대표 문자 그룹에 포함된 대표 문자들에 대한 원-핫 벡터를 모두 합산함으로써, 상기 복수의 폰트들 각각에 대응되는 폰트 벡터를 생성하는 단계;
상기 복수의 대표 문자들이 상기 제1 전자 문서에서 등장하는 총 횟수를 기준으로 하여 상기 복수의 대표 문자들 각각의 상기 제1 전자 문서에서의 등장 비율을 연산한 후, 상기 복수의 대표 문자들 각각의 등장 비율을 성분으로 갖는 대표 문자 벡터를 생성하는 단계; 및
상기 복수의 폰트들의 식별자 중 상기 대표 문자 벡터와의 코사인 유사도가 최대인 폰트 벡터를 갖는 폰트의 식별자를 상기 제1 대체 폰트의 식별자로 선택하는 단계
를 포함하는 전자 단말 장치의 동작 방법.
maintaining a data storage unit storing identifiers of each of a plurality of fonts pre-designated as supportable fonts and font data for each of the plurality of fonts;
checking an identifier of a first font applied to the first electronic document from document data of the first electronic document when a load command for the first electronic document is applied from a user;
if the identifier of the first font is confirmed, checking whether an identifier identical to the identifier of the first font exists among the identifiers of the plurality of fonts stored in the data storage unit;
selecting an identifier of a first alternative font among the identifiers of the plurality of fonts when it is confirmed that the identifier of the first font does not exist among the identifiers of the plurality of fonts;
When the identifier of the first alternative font is selected, font data for the first alternative font stored in the data storage unit is loaded based on the identifier of the first alternative font, and on the first electronic document, the applying the first alternative font to text included in a first electronic document;
When the first alternative font is applied to text included in the first electronic document, the length of a sentence among a plurality of sentences included in the first electronic document is the width of the editing area set in the first electronic document. selecting at least one first sentence in which sentences are displayed in two lines on the first electronic document due to the length being exceeded;
checking a horizontal length of the editing area when the at least one first sentence is selected;
checking a sentence length of each of the at least one first sentence;
When the horizontal length of the editing area and the sentence length of each of the at least one first sentence are confirmed, a ratio of the sentence length of each of the at least one first sentence to the horizontal length of the editing area is determined. calculating a length ratio for each sentence;
when the length ratio of each of the at least one first sentence is calculated, checking whether a sentence having a length ratio less than a predetermined reference value exists among the at least one first sentence; and
When it is determined that the length ratio of the second sentence among the at least one first sentence is less than the reference value, by displaying text constituting the second sentence up to a point outside the horizontal length of the editing area in the first electronic document, displaying the second sentence in one line on the first electronic document;
including,
Selecting the identifier of the first alternative font
maintaining a vector storage unit in which preset one-hot vectors corresponding to each of a plurality of pre-designated representative characters are stored;
Information on an identifier of each of the plurality of fonts and a representative character group preset to correspond to each font, wherein the representative character group is a group consisting of two or more representative characters selected from among the plurality of representative characters, is stored. maintaining a representative character group storage unit;
As a result of checking whether the identifier exists, when it is confirmed that the identifier of the first font does not exist among the identifiers of the plurality of fonts, the plurality of fonts are referred to the vector storage unit and the representative character group storage unit. generating a font vector corresponding to each of the plurality of fonts by summing up all one-hot vectors of representative characters included in a representative character group corresponding to each of the fonts of;
After calculating the appearance ratio of each of the plurality of representative characters in the first electronic document based on the total number of times the plurality of representative characters appear in the first electronic document, each of the plurality of representative characters generating a representative character vector having an appearance ratio as a component; and
selecting an identifier of a font having a font vector having a maximum cosine similarity with the representative character vector among identifiers of the plurality of fonts as an identifier of the first alternative font;
A method of operating an electronic terminal device comprising a.
제6항에 있어서,
상기 문장 길이를 확인하는 단계는
상기 적어도 하나의 제1 문장 각각에 대해, 각 문장에 포함된 복수의 문자들 각각에 대한 글립(glyph) 너비 값을 확인하고, 각 문장에 포함된 띄어쓰기 공백 값을 확인하며, 각 문장에 포함된 문자들 간의 커닝(kerning) 값을 확인하는 단계; 및
상기 적어도 하나의 제1 문장 각각에 대한 글립 너비 값, 띄어쓰기 공백 값, 커닝 값이 확인되면, 상기 적어도 하나의 제1 문장 각각에 대한 글립 너비 값, 띄어쓰기 공백 값, 커닝 값의 합을 각 문장에 대한 문장 길이로 연산함으로써, 상기 적어도 하나의 제1 문장 각각의 문장 길이를 확인하는 단계
를 포함하는 전자 단말 장치의 동작 방법.
According to claim 6,
Checking the sentence length
For each of the at least one first sentence, a glyph width value for each of a plurality of characters included in each sentence is checked, a spacing value included in each sentence is checked, and a space value included in each sentence is checked. Checking a kerning value between characters; and
When the glyph width value, spacing value, and kerning value for each of the at least one first sentence are confirmed, the sum of the glyph width value, spacing value, and kerning value for each of the at least one first sentence is applied to each sentence. checking the sentence length of each of the at least one first sentence by calculating the sentence length for
A method of operating an electronic terminal device comprising a.
삭제delete 제6항에 있어서,
상기 문장이 존재하는지 확인하는 단계는
상기 적어도 하나의 제1 문장 각각에 대한 길이 비율이 연산되면, 상기 복수의 폰트들의 식별자 각각에 대응되는 사전 설정된 서로 다른 보정치가 기록되어 있는 테이블을 참조하여, 상기 제1 대체 폰트의 식별자에 대응되는 제1 보정치를 확인한 후 상기 기준치에 상기 제1 보정치를 곱함으로써, 상기 기준치를 보정하고, 상기 기준치가 보정되면, 상기 적어도 하나의 제1 문장 중 상기 보정된 기준치 미만의 길이 비율을 갖는 문장이 존재하는지 여부를 확인하는 전자 단말 장치의 동작 방법.
According to claim 6,
The step of checking whether the above sentence exists is
When the length ratio for each of the at least one first sentence is calculated, referring to a table in which preset different correction values corresponding to each of the identifiers of the plurality of fonts are recorded, After checking the first correction value, the reference value is corrected by multiplying the reference value by the first correction value, and when the reference value is corrected, a sentence having a length ratio less than the corrected reference value among the at least one first sentence exists. A method of operating an electronic terminal device that checks whether or not
제6항에 있어서,
상기 제2 문장을 한 줄로 표시하는 단계 이후에, 상기 사용자로부터 상기 제1 전자 문서 상에서, 한 줄로 표시되고 있는 제3 문장의 폰트를 상기 복수의 폰트들 중 하나인 제2 폰트로 변경하라는 명령이 인가되면, 상기 데이터 저장부에 저장되어 있는 상기 제2 폰트의 폰트 데이터를 로드하여 상기 제3 문장의 폰트를 상기 제2 폰트로 변경하는 단계;
상기 제3 문장의 폰트가 상기 제2 폰트로 변경됨에 따라, 상기 제3 문장의 문장 길이가 상기 편집 영역의 가로 길이를 초과함으로 인해, 상기 제1 전자 문서 상에서, 상기 제3 문장의 문장 길이가 두 줄로 변경되는 경우, 상기 제2 폰트가 적용된 상기 제3 문장의 문장 길이를 확인하는 단계;
상기 제3 문장의 문장 길이가 확인되면, 상기 편집 영역의 가로 길이에 대한 상기 제3 문장의 문장 길이의 비율을, 상기 제3 문장에 대한 길이 비율로 연산하는 단계; 및
상기 제3 문장에 대한 길이 비율이 상기 기준치 미만인 것으로 확인되는 경우, 상기 제1 전자 문서에서 상기 편집 영역의 가로 길이를 벗어난 지점까지 상기 제3 문장을 구성하는 텍스트를 표시함으로써, 상기 제1 전자 문서 상에서, 상기 제3 문장을 한 줄로 표시하는 단계
를 더 포함하는 전자 단말 장치의 동작 방법.
According to claim 6,
After the step of displaying the second sentence in one line, a command to change the font of the third sentence being displayed in one line on the first electronic document from the user to a second font that is one of the plurality of fonts is received. if approved, changing the font of the third sentence to the second font by loading font data of the second font stored in the data storage unit;
As the font of the third sentence is changed to the second font, the sentence length of the third sentence exceeds the horizontal length of the editing area, so that the sentence length of the third sentence on the first electronic document is increased. checking the sentence length of the third sentence to which the second font is applied when the text is changed to two lines;
if the sentence length of the third sentence is confirmed, calculating a ratio of a sentence length of the third sentence to a horizontal length of the editing region as a length ratio of the third sentence; and
When it is determined that the length ratio of the third sentence is less than the reference value, text constituting the third sentence is displayed from the first electronic document to a point outside the horizontal length of the editing area, thereby displaying the first electronic document In the above, displaying the third sentence in one line
Method of operating an electronic terminal device further comprising a.
제6항, 제7항, 제9항 또는 제10항 중 어느 한 항의 방법을 컴퓨터와의 결합을 통해 실행시키기 위한 컴퓨터 프로그램을, 기록한 컴퓨터 판독 가능 기록 매체.Claim 6, claim 7, claim 9 or claim 10 of any one of the method through a combination with a computer to execute a computer program, a computer-readable recording medium recorded thereon. 제6항, 제7항, 제9항 또는 제10항 중 어느 한 항의 방법을 컴퓨터와의 결합을 통해 실행시키기 위하여, 저장매체에 저장된 컴퓨터 프로그램.A computer program stored in a storage medium in order to execute the method of any one of claims 6, 7, 9 or 10 through a combination with a computer.
KR1020210031820A 2021-03-11 2021-03-11 Electronic terminal apparatus that supports application of natural substitute fonts when loading electronic documents with unsupported fonts applied and operating method thereof KR102545260B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210031820A KR102545260B1 (en) 2021-03-11 2021-03-11 Electronic terminal apparatus that supports application of natural substitute fonts when loading electronic documents with unsupported fonts applied and operating method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210031820A KR102545260B1 (en) 2021-03-11 2021-03-11 Electronic terminal apparatus that supports application of natural substitute fonts when loading electronic documents with unsupported fonts applied and operating method thereof

Publications (2)

Publication Number Publication Date
KR20220127486A KR20220127486A (en) 2022-09-20
KR102545260B1 true KR102545260B1 (en) 2023-06-20

Family

ID=83446380

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210031820A KR102545260B1 (en) 2021-03-11 2021-03-11 Electronic terminal apparatus that supports application of natural substitute fonts when loading electronic documents with unsupported fonts applied and operating method thereof

Country Status (1)

Country Link
KR (1) KR102545260B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004192236A (en) * 2002-12-10 2004-07-08 Canon Inc Method and device for processing layout correction and storage medium for storing method and device thereof
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 (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
JP2004192236A (en) * 2002-12-10 2004-07-08 Canon Inc Method and device for processing layout correction and storage medium for storing method and device thereof
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

Also Published As

Publication number Publication date
KR20220127486A (en) 2022-09-20

Similar Documents

Publication Publication Date Title
US11934774B2 (en) Systems and methods for generating social assets from electronic publications
KR102030547B1 (en) Document editing apparatus capable of displaying a document to which an unsupported font is applied and operating method thereof
KR102187550B1 (en) Electronic device that can generate a summary preview of an ole object inserted into a document 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
KR102545260B1 (en) Electronic terminal apparatus that supports application of natural substitute fonts when loading electronic documents with unsupported fonts applied and operating method thereof
KR102087274B1 (en) Web electric document editing apparatus for rendering object 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
KR102300444B1 (en) Document editing device to check whether the font applied to the document is a supported font 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
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
KR102004996B1 (en) Presentation document editing apparatus for performing a simple insertion of a page movement link on a slide page and operating method thereof
KR102036715B1 (en) Web-based presentation editing apparatus for quick loading of presentation documents through browser 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
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
KR102442506B1 (en) Electronic device for recommending shortcuts for editing actions in document editing programs and the operating method thereof
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
KR102395699B1 (en) Electronic terminal device which is able to display the electronic document in the unsupported font using the alternative font and the operating method thereof
KR102566908B1 (en) Electronic terminal device for generating object guide frame on the page of a presentation document, and the opreating method thereof
KR102375557B1 (en) Electronic device that performs a search for an object inserted in a document through execution of a query corresponding to a search keyword and operating method thereof
KR102566899B1 (en) Electronic terminal apparatus that can perform individually customized automatic typo correction and operating method thereof
KR102442510B1 (en) Document editing apparatus that automatically specifies the storage file format for documents and the operating method thereof
KR102067497B1 (en) Client terminal device for performing fast screen display of a web-based presentation document through delay loading of data and operating method thereof

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant