KR102395699B1 - Electronic terminal device which is able to display the electronic document in the unsupported font using the alternative font and the operating method thereof - Google Patents

Electronic terminal device which is able to display the electronic document in the unsupported font using the alternative font and the operating method thereof Download PDF

Info

Publication number
KR102395699B1
KR102395699B1 KR1020200153476A KR20200153476A KR102395699B1 KR 102395699 B1 KR102395699 B1 KR 102395699B1 KR 1020200153476 A KR1020200153476 A KR 1020200153476A KR 20200153476 A KR20200153476 A KR 20200153476A KR 102395699 B1 KR102395699 B1 KR 102395699B1
Authority
KR
South Korea
Prior art keywords
font
characters
fonts
electronic document
original
Prior art date
Application number
KR1020200153476A
Other languages
Korean (ko)
Inventor
임병직
이경수
Original Assignee
주식회사 한글과컴퓨터
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 한글과컴퓨터 filed Critical 주식회사 한글과컴퓨터
Priority to KR1020200153476A priority Critical patent/KR102395699B1/en
Application granted granted Critical
Publication of KR102395699B1 publication Critical patent/KR102395699B1/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/12Use of codes for handling textual entities
    • G06F40/126Character encoding

Landscapes

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

Abstract

Disclosed are an electronic terminal device capable of displaying an electronic document applied with an unsupported font using an alternative font and an operating method thereof. The present invention can, when a load command for an electronic document applied with an unsupported original font is approved, apply a pre-designated alternative font corresponding to the original font for each of letters included in the electronic document and adjust a layout of each of the letters to be matched with a layout of the original font based on glyph width information and kerning information.

Description

지원하지 않는 폰트가 적용되어 있는 전자 문서를 대체 폰트를 이용하여 표시할 수 있는 전자 단말 장치 및 그 동작 방법{ELECTRONIC TERMINAL DEVICE WHICH IS ABLE TO DISPLAY THE ELECTRONIC DOCUMENT IN THE UNSUPPORTED FONT USING THE ALTERNATIVE FONT AND THE OPERATING METHOD THEREOF}ELECTRONIC TERMINAL DEVICE WHICH IS ABLE TO DISPLAY THE ELECTRONIC DOCUMENT IN THE UNSUPPORTED FONT USING THE ALTERNATIVE FONT AND THE OPERATING METHOD THEREOF}

본 발명은 지원하지 않는 폰트가 적용되어 있는 전자 문서를 대체 폰트를 이용하여 표시할 수 있는 전자 단말 장치 및 그 동작 방법에 대한 것이다.The present invention relates to an electronic terminal device capable of displaying an electronic document to which an unsupported font is applied using an alternative font, and an operating method thereof.

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

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

관련해서, 전자 문서 관련 프로그램이 설치되어 있는 전자 단말 장치에, 사용자에 의해 전자 문서에 대한 로드 명령이 인가되면, 전자 단말 장치는 전자 문서의 문서 데이터로부터, 전자 문서에 포함된 문자들에 적용되어 있는 폰트인 원본 폰트의 식별자에 대한 정보를 확인한 후, 전자 문서 관련 프로그램 내에 저장되어 있는 원본 폰트의 폰트 데이터를 사용하여, 전자 문서에 포함된 문자들에 대해 원본 폰트를 적용한다.In this regard, 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 is applied from document data of 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 by using the font data of the original font stored in the electronic document related program.

이때, 원본 폰트의 폰트 데이터가 전자 문서 관련 프로그램 내에 저장되어 있지 않은 경우, 전자 단말 장치는 전자 문서에 포함된 문자들에 대해, 원본 폰트 대신, 상기 전자 문서 관련 프로그램 내에 폰트 데이터가 저장되어 있는 폰트들 중 하나인 대체 폰트를 적용하여 전자 문서를 로드하게 된다.In this case, when the font data of the original font is not stored in the electronic document related program, the electronic terminal device uses the font in which the font data is stored in the electronic document related program instead of the original font for characters included in the electronic document. An electronic document is loaded by applying one of the alternative fonts.

하지만, 전자 문서에 포함된 문자들에 원본 폰트가 아닌 대체 폰트의 폰트를 적용하여 전자 문서를 로드하게 되는 경우, 각 폰트마다 사전 설정되어 있는 글립(glyph) 너비 및 커닝(kerning) 값이 다르기 때문에, 전자 문서에 포함된 문자들의 레이아웃이 변형되는 문제가 발생할 수 있고, 결국, 전자 문서 전체의 레이아웃이 변형되어 사용자가 다시 전자 문서의 레이아웃을 일일이 조정해야 하는 번거로움이 발생할 수 있다.However, when an electronic document is loaded by applying a font of an alternative font other than the original font to the characters included in the electronic document, since the preset glyph width and kerning value are different for each font, , a problem that the layout of characters included in the electronic document is deformed may occur, and eventually, the entire layout of the electronic document is deformed, and the user has to adjust the layout of the electronic document one by one.

따라서, 사용자의 편의성을 증대시키기 위해, 지원하지 않는 폰트가 적용되어 있는 전자 문서가 로드되는 경우, 상기 전자 문서에 포함된 문자들 각각에 대해, 적절한 대체 폰트를 적용하고, 문자의 레이아웃을 조정하여 표시하는 기술에 대한 연구가 필요하다.Therefore, in order to increase user convenience, when an electronic document to which an unsupported font is applied is loaded, an appropriate replacement font is applied to each of the characters included in the electronic document, and the layout of the characters is adjusted. Research on display technology is needed.

본 발명은, 사용자로부터 지원하지 않는 원본 폰트가 적용되어 있는 전자 문서에 대한 로드 명령이 인가되면, 전자 문서에 포함된 문자들 각각에 대해, 원본 폰트에 대응되는 것으로 사전 지정된 대체 폰트를 적용한 후, 원본 폰트에 대응되는 글립 너비 정보와 커닝 정보를 기초로, 상기 문자들 각각의 레이아웃을 원본 폰트의 레이아웃에 매칭되도록 조정할 수 있는 전자 단말 장치 및 그 동작 방법을 제시함으로써, 전자 문서 관련 프로그램을 사용하는 사용자의 편의성이 증대될 수 있도록 지원하고자 한다.According to the present invention, when a load command is applied to an electronic document to which an original font not supported by the user is applied, a replacement font previously designated as corresponding to the original font is applied to each of the characters included in the electronic document, Based on the glyph width information and kerning information corresponding to the original font, an electronic terminal device capable of adjusting the layout of each of the characters to match the layout of the original font and an operating method thereof are provided, thereby using an electronic document-related program. We want to help increase user convenience.

본 발명의 일실시예에 따른 지원하지 않는 폰트가 적용되어 있는 전자 문서를 대체 폰트를 이용하여 표시할 수 있는 전자 단말 장치는 사전 지정된 복수의 폰트들 각각의 식별자와 상기 복수의 폰트들 각각에 대한 폰트 데이터가 저장되어 있는 데이터 저장부, 복수의 원본 폰트들 - 상기 복수의 원본 폰트들은 상기 복수의 폰트들에 포함되지 않는 폰트들임 - 각각의 식별자와 상기 복수의 원본 폰트들 각각에 대응되는 것으로 사전 지정된 대체 폰트 - 상기 복수의 원본 폰트들 각각에 대응되는 대체 폰트는 상기 복수의 폰트들에 포함되는 폰트임 - 의 식별자가 기록되어 있는 폰트 테이블을 저장하여 유지하는 폰트 테이블 유지부, 상기 복수의 원본 폰트들 각각에 대응되는 글립(glyph) 너비 정보가 기록된 글립 테이블과 상기 복수의 원본 폰트들 각각에 대응되는 커닝(kerning) 정보가 기록된 커닝 테이블을 저장하여 유지하는 레이아웃 테이블 유지부, 사용자로부터 제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 문자들 사이의 문자 간격을 조정하는 레이아웃 조정부를 포함한다.An electronic terminal device capable of displaying an electronic document to which an unsupported font according to an embodiment of the present invention is applied by using an alternative font is provided with an identifier for each of a plurality of predefined fonts and for each of the plurality of fonts. A data storage unit in which font data is stored, a plurality of original fonts - The plurality of original fonts are fonts not included in the plurality of fonts - Each identifier and a dictionary corresponding to each of the plurality of original fonts A font table maintaining unit that stores and maintains a font table in which an identifier of a designated replacement font - a replacement font corresponding to each of the plurality of original fonts is a font included in the plurality of fonts - is recorded; A layout table maintaining unit that stores and maintains a glyph table in which glyph width information corresponding to each of the fonts is recorded and a kerning table in which kerning information corresponding to each of the plurality of original fonts is recorded; When the load command for the first electronic document is applied, from the document data of the first electronic document, an identifier confirmation unit that confirms the identifier of the first font applied to the first electronic document, the identifier of the first font is If confirmed, a font checking unit that 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, the identifier of the first font among the identifiers of the plurality of fonts When it is determined that there is no identifier matching the font table, an additional confirmation unit that checks whether an identifier matching the identifier of the first font exists among the identifiers of the plurality of original fonts; Among the identifiers of the original fonts, when it is confirmed that the identifier of the first font is identical to the identifier of the first font, the first replacement font corresponding to the first original font is referred to by referring to the font table. After confirming the identifier of the font, it is stored in the data storage unit based on the identifier of the first replacement font. On the first electronic document by loading font data for the first replacement font, the replacement font application unit for applying the first replacement font to each of the first characters included in the first electronic document; and When the first replacement font is applied to each of the first characters, referring to the information storage unit, based on the glyph width information corresponding to the first original font and kerning information corresponding to the first original font, and a layout adjusting unit configured to adjust a glyph width of each of the first characters and a character spacing between the first characters on the first electronic document.

또한, 본 발명의 일실시예에 따른 지원하지 않는 폰트가 적용되어 있는 전자 문서를 대체 폰트를 이용하여 표시할 수 있는 전자 단말 장치의 동작 방법은 사전 지정된 복수의 폰트들 각각의 식별자와 상기 복수의 폰트들 각각에 대한 폰트 데이터가 저장되어 있는 데이터 저장부를 유지하는 단계, 복수의 원본 폰트들 - 상기 복수의 원본 폰트들은 상기 복수의 폰트들에 포함되지 않는 폰트들임 - 각각의 식별자와 상기 복수의 원본 폰트들 각각에 대응되는 것으로 사전 지정된 대체 폰트 - 상기 복수의 원본 폰트들 각각에 대응되는 대체 폰트는 상기 복수의 폰트들에 포함되는 폰트임 - 의 식별자가 기록되어 있는 폰트 테이블을 저장하여 유지하는 단계, 상기 복수의 원본 폰트들 각각에 대응되는 글립 너비 정보가 기록된 글립 테이블과 상기 복수의 원본 폰트들 각각에 대응되는 커닝 정보가 기록된 커닝 테이블을 저장하여 유지하는 단계, 사용자로부터 제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 문자들 사이의 문자 간격을 조정하는 단계를 포함한다.In addition, the method of operating an electronic terminal device capable of displaying an electronic document to which an unsupported font is applied using an alternative font according to an embodiment of the present invention includes an identifier of each of a plurality of predefined fonts and the plurality of fonts. maintaining a data storage unit storing font data for each of the fonts, a plurality of original fonts, wherein the plurality of original fonts are fonts not included in the plurality of fonts. Storing and maintaining a font table in which an identifier of a preset replacement font corresponding to each of the fonts is recorded, wherein the replacement font corresponding to each of the plurality of original fonts is a font included in the plurality of fonts , storing and maintaining a glyph table in which glyph width information corresponding to each of the plurality of original fonts is recorded and a kerning table in which kerning information corresponding to each of the plurality of original fonts is recorded; when a load command is applied, checking the identifier of the first font applied to the first electronic document from the document data of the first electronic document; if the identifier of the first font is confirmed, storing the data checking whether an identifier matching the identifier of the first font exists among the identifiers of the plurality of fonts stored in the unit; if it is confirmed, referring to the font table, checking whether an identifier matching the identifier of the first font exists among the identifiers of the plurality of original fonts; When it is confirmed that the identifier of the first original font exists with the identifier matching the identifier, the identifier of the first replacement font corresponding to the first original font is checked with reference to the font table, and then the first replacement Font data for the first replacement font stored in the data storage unit based on the identifier of the font Loading and applying the first replacement font to each of the first characters included in the first electronic document on the first electronic document and when the first replacement font is applied to each of the first characters , with reference to the information storage unit, based on the glyph width information corresponding to the first original font and kerning information corresponding to the first original font, the glyph width of each of the first characters in the first electronic document and adjusting a character spacing between the first characters.

본 발명은, 사용자로부터 지원하지 않는 원본 폰트가 적용되어 있는 전자 문서에 대한 로드 명령이 인가되면, 전자 문서에 포함된 문자들 각각에 대해, 원본 폰트에 대응되는 것으로 사전 지정된 대체 폰트를 적용한 후, 원본 폰트에 대응되는 글립 너비 정보와 커닝 정보를 기초로, 상기 문자들 각각의 레이아웃을 원본 폰트의 레이아웃에 매칭되도록 조정할 수 있는 전자 단말 장치 및 그 동작 방법을 제시함으로써, 전자 문서 관련 프로그램을 사용하는 사용자의 편의성을 증대시킬 수 있다.According to the present invention, when a load command is applied to an electronic document to which an original font not supported by the user is applied, a replacement font previously designated as corresponding to the original font is applied to each of the characters included in the electronic document, Based on the glyph width information and kerning information corresponding to the original font, an electronic terminal device capable of adjusting the layout of each of the characters to match the layout of the original font and an operating method thereof are provided, thereby using an electronic document-related program. User convenience can be increased.

도 1은 본 발명의 일실시예에 따른 지원하지 않는 폰트가 적용되어 있는 전자 문서를 대체 폰트를 이용하여 표시할 수 있는 전자 단말 장치의 구조를 도시한 도면이다.
도 2는 본 발명의 일실시예에 따른 지원하지 않는 폰트가 적용되어 있는 전자 문서를 대체 폰트를 이용하여 표시할 수 있는 전자 단말 장치의 동작 방법을 도시한 순서도이다.
1 is a diagram illustrating a structure of an electronic terminal device capable of displaying an electronic document to which an unsupported font is applied using an alternative font according to an embodiment of the present invention.
2 is a flowchart illustrating an operation method of an electronic terminal device capable of displaying an electronic document to which an unsupported font is applied using an alternative font according to an embodiment of the present invention.

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

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

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

도 1은 본 발명의 일실시예에 따른 지원하지 않는 폰트가 적용되어 있는 전자 문서를 대체 폰트를 이용하여 표시할 수 있는 전자 단말 장치의 구조를 도시한 도면이다.1 is a diagram illustrating a structure of an electronic terminal device capable of displaying an electronic document to which an unsupported font is applied using an alternative font according to an embodiment of the present invention.

도 1에 따르면, 지원하지 않는 폰트가 적용되어 있는 전자 문서를 대체 폰트를 이용하여 표시할 수 있는 전자 단말 장치(110)는 데이터 저장부(111), 폰트 테이블 유지부(112), 레이아웃 테이블 유지부(113), 식별자 확인부(114), 폰트 확인부(115), 추가 확인부(116), 대체 폰트 적용부(117) 및 레이아웃 조정부(118)를 포함한다.Referring to FIG. 1 , an electronic terminal device 110 capable of displaying an electronic document to which an unsupported font is applied using an alternative font may be displayed using a data storage unit 111 , a font table maintenance unit 112 , and a layout table maintenance unit. It includes a unit 113 , an identifier verification unit 114 , a font verification unit 115 , an additional verification unit 116 , an alternative font application unit 117 , and a layout adjustment unit 118 .

데이터 저장부(111)에는 사전 지정된 복수의 폰트들 각각의 식별자와 상기 복수의 폰트들 각각에 대한 폰트 데이터가 저장되어 있다.The data storage unit 111 stores an identifier of each of a plurality of preset fonts and font data for each of the plurality of fonts.

여기서, 상기 식별자는 사전 지정된 폰트들 각각의 명칭이나 고유 번호 등과 같이, 폰트들 각각을 식별하기 위해 폰트 각각에 대해 사전 부여된 정보를 의미한다. 또한, 상기 폰트 데이터는 전자 문서가 로드될 때, 상기 전자 문서에 포함된 문자들에 폰트를 적용하는데 사용되는 데이터를 의미한다.Here, the identifier means information previously assigned to each of the fonts to identify each of the fonts, such as a name or a unique number of each of the preset fonts. In addition, the font data means 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 an identifier for each of a plurality of preset 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 폰트 5font 5 A5A5 폰트 데이터 5font data 5

폰트 테이블 유지부(112)는 복수의 원본 폰트들 각각의 식별자와 상기 복수의 원본 폰트들 각각에 대응되는 것으로 사전 지정된 대체 폰트의 식별자가 기록되어 있는 폰트 테이블을 저장하여 유지한다.The font table maintaining unit 112 stores and maintains a font table in which an identifier of each of a plurality of original fonts and an identifier of an alternate font previously designated as corresponding to each of the plurality of original fonts are recorded.

여기서, 상기 복수의 원본 폰트들은 상기 복수의 폰트들에 포함되지 않는 폰트들이고, 상기 복수의 원본 폰트들 각각에 대응되는 대체 폰트는 상기 복수의 폰트들에 포함되는 폰트이다.Here, the plurality of original fonts are fonts not included in the plurality of fonts, and the replacement font corresponding to each of the plurality of original fonts is a font included in the plurality of fonts.

예컨대, 폰트 테이블 유지부(112)는 하기의 표 2와 같은 폰트 테이블을 저장하여 유지할 수 있다.For example, the font table holding unit 112 may store and maintain a font table as shown in Table 2 below.

원본 폰트original font 대체 폰트alternative font 명칭designation 식별자identifier 명칭designation 식별자identifier 원본 폰트 1original font 1 B1B1 폰트 1font 1 A1A1 원본 폰트 2original font 2 B2B2 폰트 2font 2 A2A2 원본 폰트 3original font 3 B3B3 폰트 3font 3 A3A3 원본 폰트 4original font 4 B4B4 폰트 4font 4 A4A4 원본 폰트 5original font 5 B5B5 폰트 5font 5 A5A5

레이아웃 테이블 유지부(113)는 상기 복수의 원본 폰트들 각각에 대응되는 글립(glyph) 너비 정보가 기록된 글립 테이블과 상기 복수의 원본 폰트들 각각에 대응되는 커닝(kerning) 정보가 기록된 커닝 테이블을 저장하여 유지한다.The layout table maintaining unit 113 includes a glyph table in which glyph width information corresponding to each of the plurality of original fonts is recorded and a kerning table in which kerning information corresponding to each of the plurality of original fonts is recorded. save and keep

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

이때, 본 발명의 일실시예에 따르면, 상기 글립 테이블에는 상기 복수의 원본 폰트들 각각에 대응되는 것으로 사전 지정된 복수의 문자들에 대한 기준 글립 너비 값이 기록되어 있을 수 있다.In this case, according to an embodiment of the present invention, reference glyph width values for a plurality of characters previously designated to correspond to each of the plurality of original fonts may be recorded in the glyph table.

여기서, 상기 기준 글립 너비 값은 상기 복수의 원본 폰트들 각각을 이용하여 사전 설정된 기준 폰트 크기로 상기 복수의 문자들을 렌더링하였을 때, 각 원본 폰트에서 측정되는 상기 복수의 문자들 각각에 대한 글립 너비 값을 의미한다.Here, the reference glyph width value is a glyph width value for each of the plurality of characters measured in each original font when the plurality of characters are rendered with a preset reference font size using each of the plurality of original fonts. means

관련해서, 사전 설정된 기준 폰트 크기가 '10(pt)'이라고 하는 경우, 레이아웃 테이블 유지부(113)는 하기의 표 3과 같은 글립 테이블을 저장하여 유지할 수 있다.In relation to this, when the preset reference font size is '10 (pt)', the layout table maintaining unit 113 may store and maintain a glyph table as shown in Table 3 below.

원본 폰트original font 글립 너비 정보About glyph width 복수의 문자들multiple characters 기준 글립 너비 값 (mm)Reference glyph width value (mm) 원본 폰트 1original font 1 go 55 he 55 ...... ...... 원본 폰트 2original font 2 go 66 he 66 ...... ...... 원본 폰트 3original font 3 go 44 he 44 ...... ...... 원본 폰트 4original font 4 go 77 he 77 ...... ......

또한, 본 발명의 일실시예에 따르면, 상기 커닝 테이블에는 상기 복수의 원본 폰트들 각각에 대응되는 것으로 사전 지정된 복수의 문자쌍들에 대한 기준 커닝 값이 기록되어 있을 수 있다.Also, according to an embodiment of the present invention, reference kerning values for a plurality of character pairs previously designated to correspond to each of the plurality of original fonts may be recorded in the kerning table.

여기서, 상기 복수의 문자쌍들은 상기 복수의 문자들로부터 생성 가능한 문자쌍들을 의미하고, 상기 기준 커닝 값은 상기 복수의 원본 폰트들 각각을 이용하여 상기 기준 폰트 크기로 상기 복수의 문자쌍들을 렌더링하였을 때 각 원본 폰트에서 측정되는 상기 복수의 문자쌍들 각각에 대한 커닝 값을 의미한다.Here, the plurality of character pairs means character pairs that can be generated from the plurality of characters, and the reference kerning value is used to render the plurality of character pairs at the reference font size using each of the plurality of original fonts. It means a kerning value for each of the plurality of character pairs measured in each original font.

관련해서, 전술한 예와 같이, 상기 기준 폰트 크기가 '10(pt)'이라고 하는 경우, 레이아웃 테이블 유지부(113)는 하기의 표 4와 같은 커닝 테이블을 저장하여 유지할 수 있다.In relation to the above example, when the reference font size is '10(pt)', the layout table maintaining unit 113 may store and maintain a kerning table as shown in Table 4 below.

원본 폰트original font 커닝 정보kerning information 복수의 문자쌍들multiple character pairs 기준 커닝 값 (mm)Reference Kerning Value (mm) 원본 폰트 1original font 1 가가gaga 1One 가갸gaga 1One ...... ...... 원본 폰트 2original font 2 가가gaga 0.50.5 가갸gaga 0.50.5 ...... ...... 원본 폰트 3original font 3 가가gaga 1One 가갸gaga 1One ...... ...... 원본 폰트 4original font 4 가가gaga 1.51.5 가갸gaga 1.51.5 ...... ...... 원본 폰트 5original font 5 가가gaga 1One 가갸gaga 1One ...... ......

식별자 확인부(114)는 사용자(130)로부터 제1 전자 문서에 대한 로드 명령이 인가되면, 상기 제1 전자 문서의 문서 데이터로부터, 상기 제1 전자 문서에 적용되어 있는 제1 폰트의 식별자를 확인한다.When a load command for the first electronic document is applied from the user 130 , the identifier check unit 114 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 폰트의 식별자에 대한 정보가 포함되어 있다.Here, the document data of the first electronic document includes information on the identifier of the first font applied to the first electronic document.

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

추가 확인부(116)는 폰트 확인부(115)에 의해 상기 복수의 폰트들의 식별자 중 상기 제1 폰트의 식별자와 일치하는 식별자가 존재하지 않는 것으로 확인되는 경우, 상기 폰트 테이블을 참조하여, 상기 복수의 원본 폰트들의 식별자 중 상기 제1 폰트의 식별자와 일치하는 식별자가 존재하는지 확인한다.When it is confirmed by the font checking unit 115 that there is no identifier matching the identifier of the first font among the identifiers of the plurality of fonts, the additional confirmation unit 116 refers to the font table and refers to the plurality of fonts. It is checked whether an identifier matching the identifier of the first font exists among the identifiers of the original fonts.

대체 폰트 적용부(117)는 추가 확인부(116)에 의해 상기 복수의 원본 폰트들의 식별자 중 상기 제1 폰트의 식별자와 일치하는 식별자로, 제1 원본 폰트의 식별자가 존재하는 것으로 확인되는 경우, 상기 폰트 테이블을 참조하여, 상기 제1 원본 폰트에 대응되는 제1 대체 폰트의 식별자를 확인한 후, 상기 제1 대체 폰트의 식별자를 기초로 데이터 저장부(111)에 저장되어 있는 상기 제1 대체 폰트에 대한 폰트 데이터를 로드하여 상기 제1 전자 문서 상에서, 상기 제1 전자 문서에 포함된 제1 문자들 각각에 대해, 상기 제1 대체 폰트를 적용한다.When the replacement font application unit 117 confirms that the identifier of the first original font exists as an identifier matching the identifier of the first font among the identifiers of the plurality of original fonts by the additional confirmation unit 116, After checking the identifier of the first replacement font corresponding to the first original font by referring to the font table, the first replacement font stored in the data storage unit 111 based on the identifier of the first replacement font Font data for is loaded to apply the first replacement font to each of the first characters included in the first electronic document on the first electronic document.

이하에서는, 폰트 확인부(115), 추가 확인부(116) 및 대체 폰트 적용부(117)의 동작을 예를 들어, 상세히 설명하기로 한다.Hereinafter, the operations of the font confirmation unit 115 , the additional confirmation unit 116 , and the replacement font application unit 117 will be described in detail, for example.

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

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

관련해서, 상기 표 1과 같은 데이터 저장부(111)에는 사전 지정된 복수의 폰트들 각각의 식별자가 'A1, A2, A3, A4, A5'와 같이 저장되어 있으므로, 폰트 확인부(115)는 데이터 저장부(111)에 저장되어 있는 상기 복수의 폰트들의 식별자 중 'B3'과 일치하는 식별자가 존재하지 않는 것으로 확인할 수 있다.In relation to this, since identifiers of each of a plurality of predefined fonts are stored in the data storage unit 111 as shown in Table 1, such as 'A1, A2, A3, A4, A5', the font check unit 115 may store the data It can be confirmed that there is no identifier matching 'B3' among the identifiers of the plurality of fonts stored in the storage unit 111 .

이렇게, 폰트 확인부(115)에 의해 상기 복수의 폰트들의 식별자 중 'B3'과 일치하는 식별자가 존재하지 않는 것으로 확인되면, 추가 확인부(116)는 상기 폰트 테이블을 참조하여, 상기 복수의 원본 폰트들의 식별자 중 'B3'과 일치하는 식별자가 존재하는지 확인할 수 있다.In this way, when it is confirmed by the font confirmation unit 115 that there is no identifier matching 'B3' among the identifiers of the plurality of fonts, the additional confirmation unit 116 refers to the font table and refers to the plurality of originals. It can be checked whether an identifier matching 'B3' exists among the identifiers of the fonts.

관련해서, 상기 표 2와 같은 폰트 테이블에는, 상기 복수의 원본 폰트들 각각의 식별자가 'B1, B2, B3, B4, B5'와 같이 기록되어 있고, 상기 복수의 원본 폰트들 중 'B3'은 '원본 폰트 3'의 식별자인 것으로 기록되어 있으므로, 추가 확인부(116)는 상기 복수의 원본 폰트들의 식별자 중 'B3'과 일치하는 식별자로, '원본 폰트 3'의 식별자를 확인할 수 있다.In relation to this, in the font table as shown in Table 2, the identifier of each of the plurality of original fonts is recorded as 'B1, B2, B3, B4, B5', and among the plurality of original fonts, 'B3' is Since it is recorded as the identifier of 'original font 3', the additional check unit 116 may confirm the identifier of 'original font 3' as an identifier that matches 'B3' among the identifiers of the plurality of original fonts.

그러면, 대체 폰트 적용부(117)는 상기 폰트 테이블을 참조하여, '원본 폰트 3'에 대응되는 제1 대체 폰트의 식별자를 확인한 후, 상기 제1 대체 폰트의 식별자를 기초로, 데이터 저장부(111)에 저장되어 있는 상기 제1 대체 폰트에 대한 폰트 데이터를 로드하여, 상기 제1 전자 문서 상에서, 상기 제1 전자 문서에 포함된 제1 문자들 각각에 대해, 상기 제1 대체 폰트를 적용할 수 있다.Then, the replacement font application unit 117 refers to the font table, checks the identifier of the first replacement font corresponding to 'original font 3', and based on the identifier of the first replacement font, the data storage unit ( 111) to load the font data for the first replacement font stored in 111) to apply the first replacement font to each of the first characters included in the first electronic document on the first electronic document can

관련해서, 상기 표 2와 같은 폰트 테이블에는, '원본 폰트 3'에 대응되는 제1 대체 폰트가 '폰트 3'이고, '폰트 3'의 식별자가 'A3'인 것으로 기록되어 있으므로, 대체 폰트 적용부(117)는 '원본 폰트 3'에 대응되는 제1 대체 폰트의 식별자로, 'A3'을 확인할 수 있다.In relation to this, in the font table as shown in Table 2, it is recorded that the first replacement font corresponding to 'original font 3' is 'Font 3' and the identifier of 'Font 3' is 'A3', so the replacement font is applied The unit 117 may identify 'A3' as the identifier of the first replacement font corresponding to 'original font 3'.

이때, 상기 표 1과 같은 데이터 저장부(111)에 저장되어 있는 '폰트 3'에 대한 폰트 데이터는 '폰트 데이터 3'이므로, 대체 폰트 적용부(117)는 'A3'을 기초로, 데이터 저장부(111)로부터 '폰트 데이터 3'을 로드하여, 상기 제1 전자 문서 상에서 상기 제1 문자들 각각에 대해 '폰트 3'을 적용할 수 있다.At this time, since the font data for 'font 3' stored in the data storage unit 111 as shown in Table 1 is 'font data 3', the replacement font application unit 117 stores data based on 'A3'. By loading 'font data 3' from the unit 111, 'font 3' may be applied to each of the first characters on the first electronic document.

이렇게, 대체 폰트 적용부(117)에 의해 상기 제1 문자들 각각에 상기 제1 대체 폰트가 적용되면, 레이아웃 조정부(118)는 상기 글립 테이블과 상기 커닝 테이블을 참조하여, 상기 제1 원본 폰트에 대응되는 글립 너비 정보와 상기 제1 원본 폰트에 대응되는 커닝 정보를 기초로, 상기 제1 전자 문서 상에서, 상기 제1 문자들 각각의 글립 너비와 상기 제1 문자들 사이의 문자 간격을 조정한다.In this way, when the first replacement font is applied to each of the first characters by the replacement font application unit 117, the layout adjustment unit 118 refers to the glyph table and the kerning table, and applies the first original font to the font. Based on the corresponding glyph width information and the kerning information corresponding to the first original font, the glyph width of each of the first characters and the character spacing between the first characters are adjusted in the first electronic document.

이때, 본 발명의 일실시예에 따르면, 레이아웃 조정부(118)는 상기 제1 문자들 각각의 글립 너비와 상기 제1 문자들 사이의 문자 간격을 조정하기 위한 구체적인 구성으로, 크기 확인부(119), 글립 조정부(120) 및 간격 조정부(121)를 포함할 수 있다. At this time, according to an embodiment of the present invention, the layout adjusting unit 118 is a specific configuration for adjusting the glyph width of each of the first characters and the character spacing between the first characters, and the size checking unit 119 . , a grip adjustment unit 120 and an interval adjustment unit 121 may be included.

먼저, 크기 확인부(119)는 상기 제1 전자 문서 상에서, 상기 제1 문자들 각각에 상기 제1 대체 폰트가 적용되면, 상기 제1 문자들 각각의 폰트 크기를 확인한다.First, when the first replacement font is applied to each of the first characters on the first electronic document, the size check unit 119 checks the font size of each of the first characters.

글립 조정부(120)는 상기 글립 테이블에 기록되어 있는 상기 제1 원본 폰트에 대응되는 복수의 문자들에 대한 기준 글립 너비 값 중 상기 제1 문자들 각각에 대응되는 기준 글립 너비 값을 확인한 후, 상기 제1 문자들 각각에 대응되는 기준 글립 너비 값과 상기 제1 문자들 각각의 폰트 크기를 기초로, 상기 제1 전자 문서 상에서, 상기 제1 문자들 각각의 글립 너비를 조정한다.The glyph adjusting unit 120 checks the reference glyph width value corresponding to each of the first characters among the reference glyph width values for the plurality of characters corresponding to the first original font recorded in the glyph table, and then Based on a reference glyph width value corresponding to each of the first characters and a font size of each of the first characters, the glyph width of each of the first characters is adjusted in the first electronic document.

이때, 본 발명의 일실시예에 따르면, 글립 조정부(120)는 상기 제1 전자 문서 상에서, 상기 제1 문자들 각각의 글립 너비를, 하기의 수학식 1에 따라 산출되는 너비 조정 값으로 조정할 수 있다.At this time, according to an embodiment of the present invention, the glyph adjustment unit 120 may adjust the glyph width of each of the first characters on the first electronic document to a width adjustment value calculated according to Equation 1 below. there is.

Figure 112020122956348-pat00001
Figure 112020122956348-pat00001

여기서,

Figure 112020122956348-pat00002
는 상기 제1 문자들 중 i번째 문자에 대한 너비 조정 값으로,
Figure 112020122956348-pat00003
는 상기 i번째 문자에 대응되는 기준 글립 너비 값을 의미하고,
Figure 112020122956348-pat00004
는 상기 i번째 문자의 폰트 크기를 의미하며, T는 상기 기준 폰트 크기를 의미한다.here,
Figure 112020122956348-pat00002
is a width adjustment value for the i-th character among the first characters,
Figure 112020122956348-pat00003
is a reference glyph width value corresponding to the i-th character,
Figure 112020122956348-pat00004
denotes the font size of the i-th character, and T denotes the reference font size.

이렇게, 글립 조정부(120)에 의해, 상기 제1 전자 문서 상에서, 상기 제1 문자들 각각의 글립 너비가 조정되면, 간격 조정부(121)는 상기 제1 문자들로부터 연속된 두 개의 문자들로 구분되는 제1 문자쌍들을 확인하고, 상기 커닝 테이블에 기록되어 있는 상기 제1 원본 폰트에 대응되는 복수의 문자쌍들에 대한 기준 커닝 값 중 상기 제1 문자쌍들 각각에 대응되는 기준 커닝 값을 확인한다.In this way, when the glyph width of each of the first characters is adjusted on the first electronic document by the glyph adjusting unit 120 , the spacing adjusting unit 121 divides the first characters into two consecutive characters. Check the first character pairs to be used, and check the reference kerning value corresponding to each of the first character pairs among the reference kerning values for the plurality of character pairs corresponding to the first original font recorded in the kerning table do.

그러고 나서, 간격 조정부(121)는 상기 제1 문자쌍들 각각에 대응되는 기준 커닝 값과 상기 제1 문자쌍들 각각을 구성하는 두 개의 문자들 중 전단에 위치하는 문자의 폰트 크기를 기초로, 상기 제1 전자 문서 상에서, 상기 제1 문자쌍들 각각을 구성하는 두 개의 문자들 사이의 문자 간격을 조정한다.Then, the spacing adjusting unit 121 based on the reference kerning value corresponding to each of the first character pairs and the font size of the character positioned at the front of the two characters constituting each of the first character pairs, In the first electronic document, a character spacing between two characters constituting each of the first character pairs is adjusted.

이때, 본 발명의 일실시예에 따르면, 간격 조정부(121)는 상기 제1 전자 문서 상에서, 상기 제1 문자쌍들 각각을 구성하는 두 개의 문자들 사이의 문자 간격을, 하기의 수학식 2에 따라 산출되는 커닝 조정 값으로 조정할 수 있다.At this time, according to an embodiment of the present invention, the spacing adjusting unit 121 on the first electronic document, the character spacing between the two characters constituting each of the first character pairs, in Equation 2 below It can be adjusted with the kerning adjustment value calculated accordingly.

Figure 112020122956348-pat00005
Figure 112020122956348-pat00005

여기서,

Figure 112020122956348-pat00006
는 상기 제1 문자쌍들 중 j번째 문자쌍에 대한 커닝 조정 값으로,
Figure 112020122956348-pat00007
는 상기 j번째 문자쌍에 대응되는 커닝 값을 의미하고,
Figure 112020122956348-pat00008
는 상기 j번째 문자쌍을 구성하는 두 개의 문자들 중 전단에 위치하는 문자의 폰트 크기를 의미하며, T는 상기 기준 폰트 크기를 의미한다.here,
Figure 112020122956348-pat00006
is a kerning adjustment value for the j-th character pair among the first character pairs,
Figure 112020122956348-pat00007
means a kerning value corresponding to the j-th character pair,
Figure 112020122956348-pat00008
denotes the font size of a character located at the front end of the two characters constituting the j-th character pair, and T denotes the reference font size.

이하에서는, 글립 조정부(120) 및 간격 조정부(121)의 동작을 예를 들어, 상세히 설명하기로 한다.Hereinafter, the operations of the glyph adjusting unit 120 and the spacing adjusting unit 121 will be described in detail, for example.

먼저, 전술한 예와 같이, 상기 기준 폰트 크기를 '10(pt)'이라고 하고, 상기 제1 원본 폰트를 '원본 폰트 3'이라고 하며, 상기 제1 전자 문서에 포함된 상기 제1 문자들을 '가을하늘'이라고 가정하자. 또한, 대체 폰트 적용부(117)에 의해 '가을하늘' 각각에 '폰트 3'이 적용되었다고 하고, 크기 확인부(119)에 의해 '가을하늘' 각각의 폰트 크기가 '12(pt) 11(pt) 10(pt) 10(pt)'과 같이 확인되었다고 가정하자.First, as in the above example, the reference font size is '10(pt)', the first original font is called 'original font 3', and the first characters included in the first electronic document are ' Let's assume it's an autumn sky. In addition, it is said that 'Font 3' is applied to each of 'Autumn Sky' by the replacement font application unit 117, and the font size of each 'Autumn Sky' is set to '12 (pt) 11 ( Assume that it is confirmed as pt) 10(pt) 10(pt)'.

이때, 글립 조정부(120)는 상기 글립 테이블에 기록되어 있는 '원본 폰트 3'에 대응되는 복수의 문자들에 대한 기준 글립 너비 값 중 '가을하늘' 각각에 대응되는 기준 글립 너비 값을 확인할 수 있다.At this time, the glyph adjustment unit 120 may check the reference glyph width value corresponding to each of 'Autumn Sky' among the reference glyph width values for a plurality of characters corresponding to 'original font 3' recorded in the glyph table. .

관련해서, 상기 표 3과 같은 글립 테이블에는 '원본 폰트 3'에 대응되는 복수의 문자들에 대한 기준 글립 너비 값 중 '가'에 대응되는 기준 글립 너비 값이 '4(mm)'인 것으로 기록되어 있으므로, 글립 조정부(120)는 '가'에 대응되는 기준 글립 너비 값을 '4(mm)'와 같이 확인할 수 있다.In relation to this, in the glyph table as shown in Table 3 above, it is recorded that the reference glyph width value corresponding to 'a' among the reference glyph width values for a plurality of characters corresponding to 'original font 3' is '4 (mm)' Therefore, the glyph adjustment unit 120 may check the reference glyph width value corresponding to 'a', such as '4 (mm)'.

또한, 크기 확인부(119)에 의해 확인된 '가'의 폰트 크기는 '12(pt)'이므로, 글립 조정부(120)는 상기 수학식 1에 따라, '가'에 대한 너비 조정 값을 '4.8(mm)'과 같이 산출한 후, 상기 제1 전자 문서 상에서, '가'의 글립 너비를 '4.8(mm)'으로 조정할 수 있다.In addition, since the font size of 'a' checked by the size check unit 119 is '12(pt)', the glyph adjustment unit 120 adjusts the width adjustment value for 'a' according to Equation 1 above. After calculating as 4.8 (mm)', in the first electronic document, the glyph width of 'a' may be adjusted to '4.8 (mm)'.

이러한 방식으로, 글립 조정부(120)는 상기 제1 전자 문서 상에서, '가을하늘'각각의 글립 너비를 상기 수학식 1에 따라 산출되는 너비 조정값으로 조정할 수 있다.In this way, the glyph adjustment unit 120 may adjust the glyph width of each 'autumn sky' on the first electronic document to the width adjustment value calculated according to Equation 1 above.

이렇게, 글립 조정부(120)에 의해 '가을하늘' 각각의 글립 너비가 조정되면, 간격 조정부(121)는 '가을하늘'로부터 연속된 두 개의 문자들로 구분되는 제1 문자쌍들을 '가을, 을하, 하늘'과 같이 확인할 수 있다.In this way, when the glyph width of each 'Autumn Sky' is adjusted by the glyph adjusting unit 120, the spacing adjusting unit 121 converts the first character pairs divided into two consecutive characters from 'Autumn Sky' to 'Autumn, Eulha' , sky'.

그러고 나서, 간격 조정부(121)는 상기 커닝 테이블에 기록되어 있는 상기 제1 원본 폰트에 대응되는 복수의 문자쌍들에 대한 기준 커닝 값 중 '가을, 을하, 하늘' 각각에 대응되는 기준 커닝 값을 확인할 수 있다.Then, the interval adjusting unit 121 selects a reference kerning value corresponding to each of 'Autumn, Eulha, and Sky' among the reference kerning values for a plurality of character pairs corresponding to the first original font recorded in the kerning table. can be checked

이때, 상기 표 4와 같은 커닝 테이블에 기록되어 있는 '원본 폰트 3'에 대응되는 복수의 문자쌍들에 대한 기준 커닝 값 중 '가을'에 대한 기준 커닝 값이 '0.5(mm)'인 것으로 확인되었다고 하는 경우, 크기 확인부(119)에 의해 '가'의 폰트 크기는 '12(pt)'인 것으로 확인되었으므로, 간격 조정부(120)는 상기 수학식 2에 따라, '가을'에 대한 커닝 조정 값을 '0.6(mm)'과 같이 산출한 후, 상기 제1 전자 문서 상에서 '가을'을 구성하는 '가'와 '을' 사이의 문자 간격을 '0.6(mm)'으로 조정할 수 있다.At this time, it is confirmed that the reference kerning value for 'autumn' among the reference kerning values for a plurality of character pairs corresponding to 'original font 3' recorded in the kerning table as shown in Table 4 is '0.5 (mm)' In the case of 'A', the font size of 'A' was confirmed to be '12 (pt)' by the size check unit 119, so the spacing adjusting unit 120 adjusts the kerning for 'Autumn' according to Equation 2 above. After the value is calculated as '0.6 (mm)', the character spacing between 'A' and 'B' constituting 'Autumn' on the first electronic document may be adjusted to '0.6 (mm)'.

이러한 방식으로, 간격 조정부(121)는 '가'와 '을' 사이의 문자 간격, '을'과 '하'사이의 문자 간격 및 '하'와 '늘' 사이의 문자 간격을 각각 상기 수학식 2에 따라 산출되는 커닝 조정 값으로 조정할 수 있다.In this way, the spacing adjusting unit 121 adjusts the character spacing between 'A' and 'B', the character spacing between 'B' and 'Ha', and the character spacing between 'Ha' and 'Neul', respectively, in the above equations. It can be adjusted with the kerning adjustment value calculated according to 2.

본 발명의 일실시예에 따르면, 전자 단말 장치(110)는 폰트 변경부(122), 글립 재조정부(123) 및 간격 재조정부(124)를 더 포함할 수 있다.According to an embodiment of the present invention, the electronic terminal device 110 may further include a font changing unit 122 , a glyph readjusting unit 123 , and an interval readjusting unit 124 .

먼저, 폰트 변경부(122)는 상기 제1 전자 문서 상에서, 상기 제1 문자들 각각에 상기 제1 대체 폰트가 적용되고, 상기 제1 문자들 각각의 글립 너비와 상기 제1 문자들 사이의 문자 간격이 조정된 이후, 사용자(130)로부터 상기 제1 문자들의 폰트를 상기 복수의 폰트들 중 어느 하나인 제2 폰트로 변경할 것을 지시하는 폰트 변경 명령이 인가되면, 데이터 저장부(111)에 저장되어 있는 상기 제2 폰트에 대한 폰트 데이터를 로드하여 상기 제1 문자들 각각에 대해, 상기 제2 폰트를 적용한다.First, the font changing unit 122 applies the first replacement font to each of the first characters on the first electronic document, and a character between the glyph width of each of the first characters and the first characters After the interval is adjusted, when a font change command instructing to change the font of the first characters to a second font that is one of the plurality of fonts is applied from the user 130, it is stored in the data storage unit 111 The font data for the second font is loaded and the second font is applied to each of the first characters.

글립 재조정부(123)는 폰트 변경부(122)에 의해 상기 제1 문자들 각각에 상기 제2 폰트가 적용되면, 상기 제1 전자 문서 상에서, 상기 제1 문자들 각각의 글립 너비를, 상기 수학식 1에 따라 산출된 너비 조정 값으로 다시 조정한다.When the second font is applied to each of the first characters by the font changing unit 122 , the glyph readjustment unit 123 calculates the glyph width of each of the first characters in the first electronic document, the math Adjust again with the width adjustment value calculated according to Equation 1.

간격 재조정부(124)는 상기 제1 문자들 각각의 글립 너비가 다시 조정되면, 상기 제1 전자 문서 상에서, 상기 제1 문자쌍들 각각을 구성하는 두 개의 문자들 사이의 간격을, 상기 수학식 2에 따라 산출된 커닝 조정 값으로 다시 조정한다.When the glyph width of each of the first characters is adjusted again, the spacing adjusting unit 124 adjusts the spacing between the two characters constituting each of the first character pairs on the first electronic document, the equation Adjust again with the kerning adjustment value calculated according to 2.

이하에서는, 폰트 변경부(122), 글립 재조정부(123) 및 간격 재조정부(124)의 동작을 예를 들어, 상세히 설명하고자 한다.Hereinafter, the operations of the font change unit 122 , the glyph readjustment unit 123 , and the interval readjustment unit 124 will be described in detail, for example.

먼저, 전술한 예와 같이, 상기 제1 문자들을 '가을하늘'이라고 하고, 대체 폰트 적용부(117)에 의해 상기 제1 전자 문서 상에서 상기 제1 문자들 각각에 '폰트 3'이 적용되었으며, 레이아웃 조정부(118)에 의해 '가을하늘' 각각의 글립 너비와 '가을하늘' 사이의 문자 간격이 조정된 이후, 사용자(130)로부터 '가을하늘'의 폰트를 상기 복수의 폰트들 중 하나인 '폰트 1'로 변경할 것을 지시하는 폰트 변경 명령이 인가되었다고 가정하자.First, as in the above example, the first characters are called 'Autumn Sky', and 'Font 3' is applied to each of the first characters on the first electronic document by the replacement font application unit 117, After the character spacing between each glyph width of 'Autumn Sky' and 'Autumn Sky' is adjusted by the layout adjustment unit 118, the user 130 sets the font of 'Autumn Sky' to one of the plurality of fonts ' Assume that a font change command instructing to change to font 1' is applied.

이때, 폰트 변경부(122)는 데이터 저장부(111)에 저장되어 있는 '폰트 1'에 대한 폰트 데이터를 로드하여 '가을하늘' 각각에 대해, '폰트 1'을 적용할 수 있다.In this case, the font change unit 122 may load the font data for 'Font 1' stored in the data storage unit 111 and apply 'Font 1' to each of 'Autumn Sky'.

관련해서, 상기 표 1과 같은 데이터 저장부(111)에 저장되어 있는 '폰트 1'에 대한 폰트 데이터는 '폰트 데이터 1'이므로, 폰트 변경부(122)는 '폰트 데이터 1'을 로드하여 '가을하늘' 각각에 대해, '폰트 1'을 적용할 수 있다.In relation to this, since the font data for 'font 1' stored in the data storage unit 111 as shown in Table 1 is 'font data 1', the font change unit 122 loads 'font data 1' to ' For each of the 'Autumn Sky', 'Font 1' can be applied.

이렇게, 폰트 변경부(122)에 의해 '가을하늘' 각각에 '폰트 1'이 적용되면, 글립 재조정부(123)는 상기 제1 전자 문서 상에서, 상기 제1 문자들 각각의 글립 너비를, 상기 수학식 1에 따라 산출된 너비 조정 값으로 다시 조정할 수 있다.In this way, when 'Font 1' is applied to each of 'Autumn Sky' by the font changing unit 122, the glyph readjustment unit 123 sets the glyph width of each of the first characters on the first electronic document, the The width adjustment value calculated according to Equation 1 may be adjusted again.

관련해서, 전술한 예에 따르면, 상기 수학식 1에 따라 산출된 '가'에 대한 너비 조정 값은 '4.8(mm)'이므로, 글립 재조정부(123)는 상기 제1 전자 문서 상에서, '가'의 글립 너비를 '4.8(mm)'로 다시 조정할 수 있다.In relation to this, according to the above-described example, since the width adjustment value for 'a' calculated according to Equation 1 is '4.8 (mm)', the glyph readjustment unit 123 in the first electronic document, You can adjust the glyph width of ' to '4.8 (mm)' again.

이러한 방식으로, 글립 재조정부는 '가을하늘' 각각의 글립 너비를 상기 수학식 1에 따라 산출된 너비 조정값으로 다시 조정할 수 있다.In this way, the glyph readjuster may re-adjust the glyph width of each 'autumn sky' to the width adjustment value calculated according to Equation 1 above.

이렇게, '가을하늘' 각각의 글립 너비가 다시 조정되면, 간격 재조정부(124)는 상기 제1 전자 문서 상에서, '가을, 을하, 하늘' 각각을 구성하는 두 개의 문자들 사이의 간격을, 상기 수학식 2에 따라 산출된 커닝 조정 값으로 다시 조정할 수 있다.In this way, when the glyph width of each 'Autumn Sky' is adjusted again, the spacing adjustment unit 124 adjusts the spacing between the two characters constituting each of 'Autumn, Eulha, Sky' on the first electronic document, The kerning adjustment value calculated according to Equation 2 may be adjusted again.

관련해서, 전술한 예에 따르면, 상기 수학식 2에 따라 산출된 '가을'에 대한 커닝 조정 값이 '0.6(mm)'이므로, 간격 재조정부(124)는 '가'와 '을' 사이의 문자 간격을 '0.6(mm)'으로 다시 조정할 수 있다.In relation to this, according to the above-described example, since the kerning adjustment value for 'autumn' calculated according to Equation 2 is '0.6 (mm)', the interval readjusting unit 124 is between 'A' and 'B'. You can adjust the character spacing back to '0.6(mm)'.

이러한 방식으로, 간격 재조정부(124)는 '가'와 '을' 사이의 문자 간격, '을'과 '하'사이의 문자 간격 및 '하'와 '늘' 사이의 문자 간격을 각각 상기 수학식 2에 따라 산출된 커닝 조정 값으로 다시 조정할 수 있다.In this way, the spacing adjustment unit 124 calculates the character spacing between 'A' and 'B', the character spacing between 'B' and 'Ha', and the character spacing between 'Ha' and 'Neul', respectively. It can be adjusted again with the kerning adjustment value calculated according to Equation 2.

즉, 전자 단말 장치(110)는, 사용자(130)로부터 지원하지 않는 폰트가 적용되어 있는 전자 문서에 대한 로드 명령이 인가되면, 전자 문서에 포함된 문자들 각각에 대해, 원본 폰트에 대응되는 것으로 사전 지정된 대체 폰트를 적용한 후, 원본 폰트에 대응되는 글립 너비 정보와 커닝 정보를 기초로, 상기 문자들 각각의 레이아웃을 상기 원본 포느의 레이아웃에 매칭되도록 조정할 수 있다. 또한, 전자 단말 장치(110)는 상기 문자들에 상기 대체 폰트가 적용되고, 상기 문자들 각각의 레이아웃이 조정된 이후, 사용자(130)로부터 상기 문자들에 적용되어 있는 폰트를 제2 폰트로 변경하기 위한 폰트 변경 명령이 인가되면, 상기 문자들의 폰트를 제2 폰트로 변경한 후, 상기 문자들 각각의 레이아웃을 다시 조정할 수 있다.That is, when a load command for an electronic document to which a font not supported is applied from the user 130 is applied, the electronic terminal device 110 determines that each of the characters included in the electronic document corresponds to the original font. After applying the preset replacement font, the layout of each of the characters may be adjusted to match the layout of the original font based on the glyph width information and the kerning information corresponding to the original font. In addition, after the replacement font is applied to the characters and the layout of each of the characters is adjusted, the electronic terminal device 110 changes the font applied to the characters from the user 130 to the second font. When a font change command is applied to do this, after changing the font of the characters to the second font, the layout of each of the characters may be adjusted again.

한편, 무수히 많은 원본 폰트들에 대해 일일이 각 원본 폰트에 대응되는 대체 폰트를 사전 지정하는 데에는 한계가 있기 때문에, 경우에 따라서는, 전자 단말 장치(110)에, 사용자(130)로부터 대체 폰트가 사전 지정되어 있지 않은 원본 폰트가 적용되어 있는 전자 문서에 대한 로드 명령도 인가될 수 있다.On the other hand, since there is a limit in pre-specifying an alternative font corresponding to each original font for a myriad of original fonts, in some cases, the electronic terminal device 110 and the user 130 provide the replacement font in advance. A load command for an electronic document to which an unspecified original font is applied may also be applied.

따라서, 본 발명의 일실시예에 따르면, 대체 폰트 적용부(117)는 사용자(130)로부터 대체 폰트가 사전 지정되어 있지 않은 원본 폰트가 적용되어 있는 전자 문서에 대한 로드 명령이 인가된 경우에는, 전자 문서에 포함된 문자들에 대해, 사전 지정된 기본 폰트를 적용하기 위한 구성으로, 기본 폰트 적용부(125)를 포함할 수 있다.Therefore, according to an embodiment of the present invention, when the load command for the electronic document to which the original font to which the replacement font is not previously specified is applied, the replacement font application unit 117 receives from the user 130, As a configuration for applying a preset basic font to characters included in the electronic document, the basic font application unit 125 may be included.

관련해서, 기본 폰트 적용부(125)는 상기 폰트 테이블에 기록되어 있는 상기 복수의 원본 폰트들의 식별자 중 상기 제1 폰트의 식별자와 일치하는 식별자가 존재하지 않는 것으로 확인되는 경우, 데이터 저장부(111)로부터 사전 지정된 기본 폰트에 대한 폰트 데이터를 로드하여 상기 제1 전자 문서 상에서, 상기 제1 문자들 각각에 대해, 상기 기본 폰트를 적용한다.In relation to this, when it is confirmed that an identifier identical to the identifier of the first font does not exist among the identifiers of the plurality of original fonts recorded in the font table, the basic font application unit 125 is configured to perform the data storage unit 111 ) to load font data for a preset default font from ) and apply the default font to each of the first characters on the first electronic document.

여기서, 상기 기본 폰트는 상기 복수의 폰트들에 포함되는 폰트이다.Here, the basic font is a font included in the plurality of fonts.

예컨대, 식별자 확인부(114)에 의해, 상기 제1 전자 문서의 문서 데이터로부터, 상기 제1 전자 문서에 적용되어 있는 제1 폰트의 식별자가 'C1'과 같이 확인되었다고 가정하자.For example, it is assumed that the identifier of the first font applied to the first electronic document is identified as 'C1' from the document data of the first electronic document by the identifier confirmation unit 114 .

이때, 상기 표 1과 같은 데이터 저장부(111)에는 상기 복수의 폰트들의 식별자가 'A1, A2, A3, A4' 'A5'와 같이 저장되어 있으므로, 폰트 확인부(115)는 상기 복수의 폰트들의 식별자 중 'C1'과 일치하는 식별자가 존재하지 않는 것으로 확인할 수 있을 것이다. 또한, 상기 표 2와 같은 폰트 테이블에는, 상기 복수의 원본 폰트들의 식별자가 'B1, B2, B3, B4'와 같이 기록되어 있으므로, 추가 확인부(116)는 상기 복수의 원본 폰트들의 식별자 중 'C1'과 일치하는 식별자가 존재하지 않는 것으로 확인할 수 있다.At this time, since the identifiers of the plurality of fonts are stored in the data storage unit 111 as shown in Table 1, such as 'A1, A2, A3, A4' and 'A5', the font check unit 115 is the plurality of fonts. It can be confirmed that there is no identifier matching 'C1' among their identifiers. In addition, in the font table as shown in Table 2, since identifiers of the plurality of original fonts are recorded as 'B1, B2, B3, B4', the additional check unit 116 determines ' among the identifiers of the plurality of original fonts'. It can be confirmed that the identifier matching C1' does not exist.

이때, 사전 지정된 기본 폰트를 '폰트 2'라고 하는 경우, 기본 폰트 적용부(125)는 데이터 저장부(111)로부터 '폰트 2'에 대한 폰트 데이터를 로드하여 상기 제1 전자 문서 상에서, 상기 제1 문자들 각각에 대해, '폰트 2'를 적용할 수 있다.At this time, if the preset basic font is called 'Font 2', the basic font application unit 125 loads the font data for 'Font 2' from the data storage unit 111 and displays the first font on the first electronic document. 1 For each of the characters, 'Font 2' may be applied.

관련해서, 상기 표 1과 같은 데이터 저장부(111)에 저장되어 있는 '폰트 2'에 대한 폰트 데이터는 '폰트 데이터 2'이므로, 기본 폰트 적용부(125)는 데이터 저장부(111)로부터 '폰트 데이터 2'를 로드하여 상기 제1 전자 문서 상에서, 상기 제1 문자들 각각에 대해, '폰트 2'를 적용할 수 있다.In relation to this, since the font data for 'font 2' stored in the data storage unit 111 as shown in Table 1 is 'font data 2', the basic font application unit 125 receives 'from the data storage unit 111'. Font data 2' may be loaded and 'font 2' may be applied to each of the first characters on the first electronic document.

도 2는 본 발명의 일실시예에 따른 지원하지 않는 폰트가 적용되어 있는 전자 문서를 대체 폰트를 이용하여 표시할 수 있는 전자 단말 장치의 동작 방법을 도시한 순서도이다.2 is a flowchart illustrating an operation method of an electronic terminal device capable of displaying an electronic document to which an unsupported font is applied using an alternative font according to an embodiment of the present invention.

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

단계(S220)에서는 복수의 원본 폰트들(상기 복수의 원본 폰트들은 상기 복수의 폰트들에 포함되지 않는 폰트들임) 각각의 식별자와 상기 복수의 원본 폰트들 각각에 대응되는 것으로 사전 지정된 대체 폰트(상기 복수의 원본 폰트들 각각에 대응되는 대체 폰트는 상기 복수의 폰트들에 포함되는 폰트임)의 식별자가 기록되어 있는 폰트 테이블을 저장하여 유지한다.In step S220, an identifier of each of a plurality of original fonts (the plurality of original fonts are fonts not included in the plurality of fonts) and a preset replacement font (the above) corresponding to each of the plurality of original fonts A replacement font corresponding to each of the plurality of original fonts is a font included in the plurality of fonts) and a font table in which an identifier is recorded is stored and maintained.

단계(S230)에서는 상기 복수의 원본 폰트들 각각에 대응되는 글립 너비 정보가 기록된 글립 테이블과 상기 복수의 원본 폰트들 각각에 대응되는 커닝 정보가 기록된 커닝 테이블을 저장하여 유지한다.In step S230, a glyph table in which glyph width information corresponding to each of the plurality of original fonts is recorded and a kerning table in which kerning information corresponding to each of the plurality of original fonts are recorded is stored and maintained.

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

단계(S250)에서는 상기 제1 폰트의 식별자가 확인되면, 상기 데이터 저장부에 저장되어 있는 상기 복수의 폰트들의 식별자 중 상기 제1 폰트의 식별자와 일치하는 식별자가 존재하는지 확인한다.In step S250, when the identifier of the first font is checked, 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.

단계(S260)에서는 상기 복수의 폰트들의 식별자 중 상기 제1 폰트의 식별자와 일치하는 식별자가 존재하지 않는 것으로 확인되는 경우, 상기 폰트 테이블을 참조하여, 상기 복수의 원본 폰트들의 식별자 중 상기 제1 폰트의 식별자와 일치하는 식별자가 존재하는지 확인한다.In step S260, when it is determined that there is no identifier matching the identifier of the first font among the identifiers of the plurality of fonts, the first font among identifiers of the plurality of original fonts is referred to with reference to the font table. Check whether an identifier that matches the identifier of .

단계(S270)에서는 상기 복수의 원본 폰트들의 식별자 중 상기 제1 폰트의 식별자와 일치하는 식별자로, 제1 원본 폰트의 식별자가 존재하는 것으로 확인되는 경우, 상기 폰트 테이블을 참조하여, 상기 제1 원본 폰트에 대응되는 제1 대체 폰트의 식별자를 확인한 후, 상기 제1 대체 폰트의 식별자를 기초로 상기 데이터 저장부에 저장되어 있는 상기 제1 대체 폰트에 대한 폰트 데이터를 로드하여 상기 제1 전자 문서 상에서, 상기 제1 전자 문서에 포함된 제1 문자들 각각에 대해, 상기 제1 대체 폰트를 적용한다.In step S270 , when it is confirmed that the identifier of the first font is identical to the identifier of the first font among the identifiers of the plurality of original fonts, the font table is referred to, and the first original font is referred to. After confirming the identifier of the first replacement font corresponding to the font, font data for the first replacement font stored in the data storage unit is loaded based on the identifier of the first replacement font on the first electronic document , The first replacement font is applied to each of the first characters included in the first electronic document.

단계(S280)에서는 상기 제1 문자들 각각에 상기 제1 대체 폰트가 적용되면, 상기 글립 테이블과 커닝 테이블을 참조하여, 상기 제1 원본 폰트에 대응되는 글립 너비 정보와 상기 제1 원본 폰트에 대응되는 커닝 정보를 기초로, 상기 제1 전자 문서 상에서, 상기 제1 문자들 각각의 글립 너비와 상기 제1 문자들 사이의 문자 간격을 조정한다.In step S280, when the first replacement font is applied to each of the first characters, the glyph width information corresponding to the first original font and the first original font correspond to the glyph width information by referring to the glyph table and the kerning table A glyph width of each of the first characters and a character spacing between the first characters are adjusted on the first electronic document based on the kerning information.

이때, 본 발명의 일실시예에 따르면, 상기 글립 테이블에는 상기 복수의 원본 폰트들 각각에 대응되는 것으로 사전 지정된 복수의 문자들에 대한 기준 글립 너비 값(상기 기준 글립 너비 값은 상기 복수의 원본 폰트들 각각을 이용하여 사전 설정된 기준 폰트 크기로 상기 복수의 문자들을 렌더링하였을 때, 각 원본 폰트에서 측정되는 상기 복수의 문자들 각각에 대한 글립 너비 값을 의미함)이 기록되어 있을 수 있고, 상기 커닝 테이블에는 상기 복수의 원본 폰트들 각각에 대응되는 것으로 사전 지정된 복수의 문자쌍들(상기 복수의 문자쌍들은 상기 복수의 문자들로부터 생성 가능한 문자쌍들을 의미함)에 대한 기준 커닝 값(상기 기준 커닝 값은 상기 복수의 원본 폰트들 각각을 이용하여 상기 기준 폰트 크기로 상기 복수의 문자쌍들을 렌더링하였을 때 각 원본 폰트에서 측정되는 상기 복수의 문자쌍들 각각에 대한 커닝 값을 의미함)이 기록되어 있을 수 있다.At this time, according to an embodiment of the present invention, in the glyph table, a reference glyph width value for a plurality of characters previously designated as corresponding to each of the plurality of original fonts (the reference glyph width value is the plurality of original fonts) When the plurality of characters are rendered with a preset reference font size using each The table includes a reference kerning value (the reference kerning) for a plurality of character pairs (the plurality of character pairs mean character pairs that can be generated from the plurality of characters) that are predefined to correspond to each of the plurality of original fonts. The value means a kerning value for each of the plurality of character pairs measured in each original font when the plurality of character pairs are rendered with the reference font size using each of the plurality of original fonts) there may be

이때, 단계(S280)에서는 상기 제1 전자 문서 상에서, 상기 제1 문자들 각각에 상기 제1 대체 폰트가 적용되면, 상기 제1 문자들 각각의 폰트 크기를 확인하는 단계, 상기 글립 테이블에 기록되어 있는 상기 제1 원본 폰트에 대응되는 복수의 문자들에 대한 기준 글립 너비 값 중 상기 제1 문자들 각각에 대응되는 기준 글립 너비 값을 확인한 후, 상기 제1 문자들 각각에 대응되는 기준 글립 너비 값과 상기 제1 문자들 각각의 폰트 크기를 기초로, 상기 제1 전자 문서 상에서, 상기 제1 문자들 각각의 글립 너비를 조정하는 단계 및 상기 제1 전자 문서 상에서, 상기 제1 문자들 각각의 글립 너비가 조정되면, 상기 제1 문자들로부터 연속된 두 개의 문자들로 구분되는 제1 문자쌍들을 확인하고, 상기 커닝 테이블에 기록되어 있는 상기 제1 원본 폰트에 대응되는 복수의 문자쌍들에 대한 커닝 값 중 상기 제1 문자쌍들 각각에 대응되는 커닝 값을 확인한 후, 상기 제1 문자쌍들 각각에 대응되는 커닝 값과 상기 제1 문자쌍들 각각을 구성하는 두 개의 문자들 중 전단에 위치하는 문자의 폰트 크기를 기초로, 상기 제1 전자 문서 상에서, 상기 제1 문자쌍들 각각을 구성하는 두 개의 문자들 사이의 문자 간격을 조정하는 단계를 포함할 수 있다.At this time, in step S280, when the first replacement font is applied to each of the first characters on the first electronic document, the step of checking the font size of each of the first characters is recorded in the glyph table After checking the reference glyph width value corresponding to each of the first characters among the reference glyph width values for the plurality of characters corresponding to the first original font, the reference glyph width value corresponding to each of the first characters and adjusting a glyph width of each of the first characters on the first electronic document based on a font size of each of the first characters, and on the first electronic document, a glyph of each of the first characters When the width is adjusted, first character pairs divided into two consecutive characters from the first characters are identified, and for a plurality of character pairs corresponding to the first original font recorded in the kerning table, After confirming the kerning value corresponding to each of the first character pairs among the kerning values, the kerning value corresponding to each of the first character pairs and the two characters constituting each of the first character pairs are located at the front end and adjusting a character spacing between two characters constituting each of the first character pairs on the first electronic document based on the font size of the character.

이때, 본 발명의 일실시예에 따르면, 상기 제1 문자들 각각의 글립 너비를 조정하는 단계는 상기 제1 전자 문서 상에서, 상기 제1 문자들 각각의 글립 너비를, 상기 수학식 1에 따라 산출되는 너비 조정 값으로 조정할 수 있고, 상기 제1 문자쌍들 각각을 구성하는 두 개의 문자들 사이의 문자 간격을 조정하는 단계는 상기 제1 전자 문서 상에서, 상기 제1 문자쌍들 각각을 구성하는 두 개의 문자들 사이의 문자 간격을, 상기 수학식 2에 따라 산출되는 커닝 조정 값으로 조정할 수 있다.In this case, according to an embodiment of the present invention, the adjusting of the glyph width of each of the first characters calculates the glyph width of each of the first characters on the first electronic document according to Equation 1 can be adjusted to a width adjustment value that becomes a width adjustment value, and the step of adjusting the character spacing between two characters constituting each of the first character pairs may include, on the first electronic document, two The character spacing between characters may be adjusted using a kerning adjustment value calculated according to Equation (2).

또한, 본 발명의 일실시예에 따르면, 상기 전자 단말 장치의 동작 방법은 상기 제1 전자 문서 상에서, 상기 제1 문자들 각각에 상기 제1 대체 폰트가 적용되고, 상기 제1 문자들 각각의 글립 너비와 상기 제1 문자들 사이의 문자 간격이 조정된 이후, 상기 사용자로부터 상기 제1 문자들의 폰트를 상기 복수의 폰트들 중 어느 하나인 제2 폰트로 변경할 것을 지시하는 폰트 변경 명령이 인가되면, 상기 데이터 저장부에 저장되어 있는 상기 제2 폰트에 대한 폰트 데이터를 로드하여 상기 제1 문자들 각각에 대해, 상기 제2 폰트를 적용하는 단계, 상기 제1 문자들 각각에 상기 제2 폰트가 적용되면, 상기 제1 전자 문서 상에서, 상기 제1 문자들 각각의 글립 너비를, 상기 수학식 1에 따라 산출된 너비 조정 값으로 다시 조정하는 단계 및 상기 제1 문자들 각각의 글립 너비가 다시 조정되면, 상기 제1 전자 문서 상에서, 상기 제1 문자쌍들 각각을 구성하는 두 개의 문자들 사이의 간격을, 상기 수학식 2에 따라 산출된 커닝 조정 값으로 다시 조정하는 단계를 더 포함할 수 있다.Also, according to an embodiment of the present invention, in the method of operating the electronic terminal device, the first replacement font is applied to each of the first characters on the first electronic document, and a glyph of each of the first characters is After the width and the character spacing between the first characters are adjusted, when a font change command instructing to change the font of the first characters to a second font that is one of the plurality of fonts is applied from the user, Loading font data for the second font stored in the data storage unit and applying the second font to each of the first characters, applying the second font to each of the first characters , adjusting the glyph width of each of the first characters to the width adjustment value calculated according to Equation 1 on the first electronic document, and when the glyph width of each of the first characters is adjusted again , on the first electronic document, the method may further include adjusting a space between two characters constituting each of the first character pairs to the kerning adjustment value calculated according to Equation (2).

또한, 본 발명의 일실시예에 따르면, 상기 전자 단말 장치의 동작 방법은 상기 폰트 테이블에 기록되어 있는 상기 복수의 원본 폰트들의 식별자 중 상기 제1 폰트의 식별자와 일치하는 식별자가 존재하지 않는 것으로 확인되는 경우, 상기 데이터 저장부로부터 사전 지정된 기본 폰트(상기 기본 폰트는 상기 복수의 폰트들에 포함되는 폰트임)에 대한 폰트 데이터를 로드하여 상기 제1 전자 문서 상에서, 상기 제1 문자들 각각에 대해, 상기 기본 폰트를 적용하는 단계를 더 포함할 수 있다.In addition, according to an embodiment of the present invention, the method of operating the electronic terminal device determines that there is no identifier matching the identifier of the first font among the identifiers of the plurality of original fonts recorded in the font table. In this case, font data for a preset basic font (the basic font is a font included in the plurality of fonts) is loaded from the data storage unit and, on the first electronic document, for each of the first characters , may further include the step of applying the default font.

이상, 도 2를 참조하여 본 발명의 일실시예에 따른 지원하지 않는 폰트가 적용되어 있는 전자 문서를 대체 폰트를 이용하여 표시할 수 있는 전자 단말 장치의 동작 방법에 대해 설명하였다. 여기서, 본 발명의 일실시예에 따른 상기 전자 단말 장치의 동작 방법은 도 1을 이용하여 설명한 전자 단말 장치(110)의 동작에 대한 구성과 대응될 수 있으므로, 이에 대한 보다 상세한 설명은 생략하기로 한다.In the above, an operation method of an electronic terminal device capable of displaying an electronic document to which an unsupported font is applied using an alternative font according to an embodiment of the present invention has been described with reference to FIG. 2 . Here, since the method of operating 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 FIG. 1 , a more detailed description thereof will be omitted. do.

본 발명의 일실시예에 따른 지원하지 않는 폰트가 적용되어 있는 전자 문서를 대체 폰트를 이용하여 표시할 수 있는 전자 단말 장치의 동작 방법은 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램으로 구현될 수 있다.An operating method of an electronic terminal device capable of displaying an electronic document to which an unsupported font is applied using an alternative font according to an embodiment of the present invention is a computer program stored in a storage medium for execution through combination with a computer can be implemented as

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

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

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

110: 지원하지 않는 폰트가 적용되어 있는 전자 문서를 대체 폰트를 이용하여 표시할 수 있는 전자 단말 장치
111: 데이터 저장부 112: 폰트 테이블 유지부
113: 정보 저장부 114: 식별자 확인부
115: 폰트 확인부 116: 추가 확인부
117: 대체 폰트 적용부 118: 레이아웃 조정부
119: 크기 확인부 120: 글립 조정부
121: 간격 조정부 122: 폰트 변경부
123: 글립 재조정부 124: 간격 재조정부
130: 사용자
110: Electronic terminal device capable of displaying an electronic document to which an unsupported font is applied using an alternative font
111: data storage unit 112: font table maintenance unit
113: information storage unit 114: identifier verification unit
115: font confirmation unit 116: additional confirmation unit
117: alternative font application unit 118: layout adjustment unit
119: size confirmation unit 120: glyph adjustment unit
121: spacing adjusting unit 122: font changing unit
123: glyph readjustment unit 124: gap readjustment unit
130: user

Claims (12)

사전 지정된 복수의 폰트들 각각의 식별자와 상기 복수의 폰트들 각각에 대한 폰트 데이터가 저장되어 있는 데이터 저장부;
복수의 원본 폰트들 - 상기 복수의 원본 폰트들은 상기 복수의 폰트들에 포함되지 않는 폰트들임 - 각각의 식별자와 상기 복수의 원본 폰트들 각각에 대응되는 것으로 사전 지정된 대체 폰트 - 상기 복수의 원본 폰트들 각각에 대응되는 대체 폰트는 상기 복수의 폰트들에 포함되는 폰트임 - 의 식별자가 기록되어 있는 폰트 테이블을 저장하여 유지하는 폰트 테이블 유지부;
상기 복수의 원본 폰트들 각각에 대응되는 글립(glyph) 너비 정보가 기록된 글립 테이블과 상기 복수의 원본 폰트들 각각에 대응되는 커닝(kerning) 정보가 기록된 커닝 테이블을 저장하여 유지하는 레이아웃 테이블 유지부;
사용자로부터 제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 문자들 각각에 대해, 상기 기본 폰트를 적용하는 기본 폰트 적용부
를 포함하는 지원하지 않는 폰트가 적용되어 있는 전자 문서를 대체 폰트를 이용하여 표시할 수 있는 전자 단말 장치.
a data storage unit storing an identifier of each of a plurality of preset fonts and font data for each of the plurality of fonts;
a plurality of original fonts, wherein the plurality of original fonts are fonts not included in the plurality of fonts; a respective identifier and a replacement font predefined as corresponding to each of the plurality of original fonts; and the plurality of original fonts. a font table maintaining unit that stores and maintains a font table in which an identifier of the replacement font corresponding to each is a font included in the plurality of fonts;
Maintaining a layout table for storing and maintaining a glyph table in which glyph width information corresponding to each of the plurality of original fonts is recorded and a kerning table in which kerning information corresponding to each of the plurality of original fonts is recorded wealth;
an identifier checking unit configured to check 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;
a font checking unit for checking 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;
When it is confirmed that there is no identifier matching the identifier of the first font among the identifiers of the plurality of fonts, referring to the font table, the identifier of the first font among the identifiers of the plurality of original fonts matches the identifier of the first font. Additional confirmation unit for checking whether the identifier exists;
Among the identifiers of the plurality of original fonts, when it is confirmed that the identifier of the first font is identical to the identifier of the first font, the font table is referred to, and the first font corresponding to the first original font is referred to. 1 After checking the identifier of the replacement font, font data for the first replacement font stored in the data storage unit is loaded based on the identifier of the first replacement font, and on the first electronic document, the first electronic For each of the first characters included in the document, a replacement font applying unit for applying the first replacement font; and
When the first replacement font is applied to each of the first characters, based on the glyph width information corresponding to the first original font and the kerning information corresponding to the first original font by referring to the glyph table and the kerning table in the first electronic document, a layout adjusting unit for adjusting a glyph width of each of the first characters and a character spacing between the first characters
including,
The alternative font application unit
When it is confirmed that there is no identifier matching the identifier of the first font among the identifiers of the plurality of original fonts recorded in the font table, a preset default font from the data storage unit - the default font is A basic font application unit that loads font data for - and applies the default font to each of the first characters on the first electronic document
An electronic terminal device capable of displaying an electronic document to which an unsupported font including a font is applied using an alternative font.
제1항에 있어서,
상기 글립 테이블에는
상기 복수의 원본 폰트들 각각에 대응되는 것으로 사전 지정된 복수의 문자들에 대한 기준 글립 너비 값 - 상기 기준 글립 너비 값은 상기 복수의 원본 폰트들 각각을 이용하여 사전 설정된 기준 폰트 크기로 상기 복수의 문자들을 렌더링하였을 때, 각 원본 폰트에서 측정되는 상기 복수의 문자들 각각에 대한 글립 너비 값을 의미함 - 이 기록되어 있고,
상기 커닝 테이블에는
상기 복수의 원본 폰트들 각각에 대응되는 것으로 사전 지정된 복수의 문자쌍들 - 상기 복수의 문자쌍들은 상기 복수의 문자들로부터 생성 가능한 문자쌍들을 의미함 - 에 대한 기준 커닝 값 - 상기 기준 커닝 값은 상기 복수의 원본 폰트들 각각을 이용하여 상기 기준 폰트 크기로 상기 복수의 문자쌍들을 렌더링하였을 때 각 원본 폰트에서 측정되는 상기 복수의 문자쌍들 각각에 대한 커닝 값을 의미함 - 이 기록되어 있으며,
상기 레이아웃 조정부는
상기 제1 전자 문서 상에서, 상기 제1 문자들 각각에 상기 제1 대체 폰트가 적용되면, 상기 제1 문자들 각각의 폰트 크기를 확인하는 크기 확인부;
상기 글립 테이블에 기록되어 있는 상기 제1 원본 폰트에 대응되는 복수의 문자들에 대한 기준 글립 너비 값 중 상기 제1 문자들 각각에 대응되는 기준 글립 너비 값을 확인한 후, 상기 제1 문자들 각각에 대응되는 기준 글립 너비 값과 상기 제1 문자들 각각의 폰트 크기를 기초로, 상기 제1 전자 문서 상에서, 상기 제1 문자들 각각의 글립 너비를 조정하는 글립 조정부; 및
상기 제1 전자 문서 상에서, 상기 제1 문자들 각각의 글립 너비가 조정되면, 상기 제1 문자들로부터 연속된 두 개의 문자들로 구분되는 제1 문자쌍들을 확인하고, 상기 커닝 테이블에 기록되어 있는 상기 제1 원본 폰트에 대응되는 복수의 문자쌍들에 대한 기준 커닝 값 중 상기 제1 문자쌍들 각각에 대응되는 기준 커닝 값을 확인한 후, 상기 제1 문자쌍들 각각에 대응되는 기준 커닝 값과 상기 제1 문자쌍들 각각을 구성하는 두 개의 문자들 중 전단에 위치하는 문자의 폰트 크기를 기초로, 상기 제1 전자 문서 상에서, 상기 제1 문자쌍들 각각을 구성하는 두 개의 문자들 사이의 문자 간격을 조정하는 간격 조정부
를 포함하는 지원하지 않는 폰트가 적용되어 있는 전자 문서를 대체 폰트를 이용하여 표시할 수 있는 전자 단말 장치.
According to claim 1,
The glyph table
A reference glyph width value for a plurality of characters predefined to correspond to each of the plurality of original fonts - The reference glyph width value is a reference font size preset using each of the plurality of original fonts for the plurality of characters When rendering them, it means the glyph width value for each of the plurality of characters measured in each original font - is recorded,
The kerning table has
A reference kerning value for a plurality of character pairs predefined to correspond to each of the plurality of original fonts - the plurality of character pairs means character pairs that can be generated from the plurality of characters - The reference kerning value is When the plurality of character pairs are rendered with the reference font size using each of the plurality of original fonts, it means a kerning value for each of the plurality of character pairs measured in each original font - is recorded,
The layout adjustment unit
On the first electronic document, when the first replacement font is applied to each of the first characters, a size check unit for checking the font size of each of the first characters;
After checking the reference glyph width value corresponding to each of the first characters among the reference glyph width values for the plurality of characters corresponding to the first original font recorded in the glyph table, a glyph adjusting unit configured to adjust a glyph width of each of the first characters on the first electronic document based on a corresponding reference glyph width value and a font size of each of the first characters; and
In the first electronic document, when the glyph width of each of the first characters is adjusted, first character pairs divided into two consecutive characters from the first characters are identified, and the first character pairs are recorded in the kerning table. After confirming a reference kerning value corresponding to each of the first character pairs among the reference kerning values for a plurality of character pairs corresponding to the first original font, a reference kerning value corresponding to each of the first character pairs and On the first electronic document, on the basis of the font size of the character positioned at the front of the two characters constituting each of the first character pairs, between the two characters constituting each of the first character pairs Spacing part to adjust the character spacing
An electronic terminal device capable of displaying an electronic document to which an unsupported font including a font is applied using an alternative font.
제2항에 있어서,
상기 글립 조정부는
상기 제1 전자 문서 상에서, 상기 제1 문자들 각각의 글립 너비를, 하기의 수학식 1에 따라 산출되는 너비 조정 값으로 조정하고,
상기 간격 조정부는
상기 제1 전자 문서 상에서, 상기 제1 문자쌍들 각각을 구성하는 두 개의 문자들 사이의 문자 간격을, 하기의 수학식 2에 따라 산출되는 커닝 조정 값으로 조정하는 지원하지 않는 폰트가 적용되어 있는 전자 문서를 대체 폰트를 이용하여 표시할 수 있는 전자 단말 장치.
[수학식 1]
Figure 112020122956348-pat00009

여기서,
Figure 112020122956348-pat00010
는 상기 제1 문자들 중 i번째 문자에 대한 너비 조정 값으로,
Figure 112020122956348-pat00011
는 상기 i번째 문자에 대응되는 기준 글립 너비 값을 의미하고,
Figure 112020122956348-pat00012
는 상기 i번째 문자의 폰트 크기를 의미하며, T는 상기 기준 폰트 크기를 의미함.
[수학식 2]
Figure 112020122956348-pat00013

여기서,
Figure 112020122956348-pat00014
는 상기 제1 문자쌍들 중 j번째 문자쌍에 대한 커닝 조정 값으로,
Figure 112020122956348-pat00015
는 상기 j번째 문자쌍에 대응되는 커닝 값을 의미하고,
Figure 112020122956348-pat00016
는 상기 j번째 문자쌍을 구성하는 두 개의 문자들 중 전단에 위치하는 문자의 폰트 크기를 의미하며, T는 상기 기준 폰트 크기를 의미함.
3. The method of claim 2,
The glyph adjustment unit
Adjusting the glyph width of each of the first characters on the first electronic document to a width adjustment value calculated according to Equation 1 below;
The spacing adjusting unit
In the first electronic document, an unsupported font that adjusts the character spacing between two characters constituting each of the first character pairs to a kerning adjustment value calculated according to Equation 2 below is applied An electronic terminal device capable of displaying an electronic document using an alternative font.
[Equation 1]
Figure 112020122956348-pat00009

here,
Figure 112020122956348-pat00010
is a width adjustment value for the i-th character among the first characters,
Figure 112020122956348-pat00011
is a reference glyph width value corresponding to the i-th character,
Figure 112020122956348-pat00012
denotes the font size of the i-th character, and T denotes the reference font size.
[Equation 2]
Figure 112020122956348-pat00013

here,
Figure 112020122956348-pat00014
is a kerning adjustment value for the j-th character pair among the first character pairs,
Figure 112020122956348-pat00015
means a kerning value corresponding to the j-th character pair,
Figure 112020122956348-pat00016
denotes the font size of the character located at the front end of the two characters constituting the j-th character pair, and T denotes the reference font size.
제3항에 있어서,
상기 제1 전자 문서 상에서, 상기 제1 문자들 각각에 상기 제1 대체 폰트가 적용되고, 상기 제1 문자들 각각의 글립 너비와 상기 제1 문자들 사이의 문자 간격이 조정된 이후, 상기 사용자로부터 상기 제1 문자들의 폰트를 상기 복수의 폰트들 중 어느 하나인 제2 폰트로 변경할 것을 지시하는 폰트 변경 명령이 인가되면, 상기 데이터 저장부에 저장되어 있는 상기 제2 폰트에 대한 폰트 데이터를 로드하여 상기 제1 문자들 각각에 대해, 상기 제2 폰트를 적용하는 폰트 변경부;
상기 제1 문자들 각각에 상기 제2 폰트가 적용되면, 상기 제1 전자 문서 상에서, 상기 제1 문자들 각각의 글립 너비를, 상기 수학식 1에 따라 산출된 너비 조정 값으로 다시 조정하는 글립 재조정부; 및
상기 제1 문자들 각각의 글립 너비가 다시 조정되면, 상기 제1 전자 문서 상에서, 상기 제1 문자쌍들 각각을 구성하는 두 개의 문자들 사이의 간격을, 상기 수학식 2에 따라 산출된 커닝 조정 값으로 다시 조정하는 간격 재조정부
를 더 포함하는 지원하지 않는 폰트가 적용되어 있는 전자 문서를 대체 폰트를 이용하여 표시할 수 있는 전자 단말 장치.
4. The method of claim 3,
On the first electronic document, after the first replacement font is applied to each of the first characters, and the glyph width of each of the first characters and the character spacing between the first characters are adjusted, the user When a font change command instructing to change the font of the first characters to a second font, which is one of the plurality of fonts, is applied, the font data for the second font stored in the data storage unit is loaded and a font changing unit for applying the second font to each of the first characters;
When the second font is applied to each of the first characters, on the first electronic document, the glyph width of each of the first characters is re-adjusted to the width adjustment value calculated according to Equation (1). government; and
When the glyph width of each of the first characters is adjusted again, in the first electronic document, the kerning adjustment calculated according to Equation (2) is the spacing between two characters constituting each of the first character pairs. Interval rescaler to re-adjust by value
An electronic terminal device capable of displaying an electronic document to which an unsupported font is applied using an alternative font, further comprising a.
삭제delete 사전 지정된 복수의 폰트들 각각의 식별자와 상기 복수의 폰트들 각각에 대한 폰트 데이터가 저장되어 있는 데이터 저장부를 유지하는 단계;
복수의 원본 폰트들 - 상기 복수의 원본 폰트들은 상기 복수의 폰트들에 포함되지 않는 폰트들임 - 각각의 식별자와 상기 복수의 원본 폰트들 각각에 대응되는 것으로 사전 지정된 대체 폰트 - 상기 복수의 원본 폰트들 각각에 대응되는 대체 폰트는 상기 복수의 폰트들에 포함되는 폰트임 - 의 식별자가 기록되어 있는 폰트 테이블을 저장하여 유지하는 단계;
상기 복수의 원본 폰트들 각각에 대응되는 글립(glyph) 너비 정보가 기록된 글립 테이블과 상기 복수의 원본 폰트들 각각에 대응되는 커닝(kerning) 정보가 기록된 커닝 테이블을 저장하여 유지하는 단계;
사용자로부터 제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 문자들 각각에 대해, 상기 기본 폰트를 적용하는 단계
를 포함하는 지원하지 않는 폰트가 적용되어 있는 전자 문서를 대체 폰트를 이용하여 표시할 수 있는 전자 단말 장치의 동작 방법.
maintaining a data storage unit in which an identifier of each of a plurality of preset fonts and font data for each of the plurality of fonts are stored;
a plurality of original fonts, wherein the plurality of original fonts are fonts not included in the plurality of fonts; a respective identifier and a replacement font predefined as corresponding to each of the plurality of original fonts; and the plurality of original fonts. Storing and maintaining a font table in which an identifier of the replacement font corresponding to each is a font included in the plurality of fonts;
storing and maintaining a glyph table in which glyph width information corresponding to each of the plurality of original fonts is recorded and a kerning table in which kerning information corresponding to each of the plurality of original fonts is recorded;
checking, from document data of the first electronic document, an identifier of a first font applied to the first electronic document when a load command for the first electronic document is applied from the user;
checking 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;
When it is confirmed that there is no identifier matching the identifier of the first font among the identifiers of the plurality of fonts, referring to the font table, the identifier of the first font among the identifiers of the plurality of original fonts matches the identifier of the first font. checking whether the identifier exists;
Among the identifiers of the plurality of original fonts, when it is confirmed that the identifier of the first font is identical to the identifier of the first font, the font table is referred to, and the first font corresponding to the first original font is referred to. 1 After checking the identifier of the replacement font, font data for the first replacement font stored in the data storage unit is loaded based on the identifier of the first replacement font, and on the first electronic document, the first electronic applying the first replacement font to each of the first characters included in the document;
When the first replacement font is applied to each of the first characters, based on the glyph width information corresponding to the first original font and the kerning information corresponding to the first original font by referring to the glyph table and the kerning table in the first electronic document, adjusting a glyph width of each of the first characters and a character spacing between the first characters; and
When it is confirmed that there is no identifier matching the identifier of the first font among the identifiers of the plurality of original fonts recorded in the font table, a preset default font from the data storage unit - the default font is Loading font data for − which is a font included in fonts of − and applying the default font to each of the first characters on the first electronic document
An operating method of an electronic terminal device capable of displaying an electronic document to which an unsupported font including a font is applied using an alternative font.
제6항에 있어서,
상기 글립 테이블에는
상기 복수의 원본 폰트들 각각에 대응되는 것으로 사전 지정된 복수의 문자들에 대한 기준 글립 너비 값 - 상기 기준 글립 너비 값은 상기 복수의 원본 폰트들 각각을 이용하여 사전 설정된 기준 폰트 크기로 상기 복수의 문자들을 렌더링하였을 때, 각 원본 폰트에서 측정되는 상기 복수의 문자들 각각에 대한 글립 너비 값을 의미함 - 이 기록되어 있고,
상기 커닝 테이블에는
상기 복수의 원본 폰트들 각각에 대응되는 것으로 사전 지정된 복수의 문자쌍들 - 상기 복수의 문자쌍들은 상기 복수의 문자들로부터 생성 가능한 문자쌍들을 의미함 - 에 대한 기준 커닝 값 - 상기 기준 커닝 값은 상기 복수의 원본 폰트들 각각을 이용하여 상기 기준 폰트 크기로 상기 복수의 문자쌍들을 렌더링하였을 때 각 원본 폰트에서 측정되는 상기 복수의 문자쌍들 각각에 대한 커닝 값을 의미함 - 이 기록되어 있으며,
상기 제1 문자들 각각의 글립 너비와 상기 제1 문자들 사이의 문자 간격을 조정하는 단계는
상기 제1 전자 문서 상에서, 상기 제1 문자들 각각에 상기 제1 대체 폰트가 적용되면, 상기 제1 문자들 각각의 폰트 크기를 확인하는 단계;
상기 글립 테이블에 기록되어 있는 상기 제1 원본 폰트에 대응되는 복수의 문자들에 대한 기준 글립 너비 값 중 상기 제1 문자들 각각에 대응되는 기준 글립 너비 값을 확인한 후, 상기 제1 문자들 각각에 대응되는 기준 글립 너비 값과 상기 제1 문자들 각각의 폰트 크기를 기초로, 상기 제1 전자 문서 상에서, 상기 제1 문자들 각각의 글립 너비를 조정하는 단계; 및
상기 제1 전자 문서 상에서, 상기 제1 문자들 각각의 글립 너비가 조정되면, 상기 제1 문자들로부터 연속된 두 개의 문자들로 구분되는 제1 문자쌍들을 확인하고, 상기 커닝 테이블에 기록되어 있는 상기 제1 원본 폰트에 대응되는 복수의 문자쌍들에 대한 커닝 값 중 상기 제1 문자쌍들 각각에 대응되는 커닝 값을 확인한 후, 상기 제1 문자쌍들 각각에 대응되는 커닝 값과 상기 제1 문자쌍들 각각을 구성하는 두 개의 문자들 중 전단에 위치하는 문자의 폰트 크기를 기초로, 상기 제1 전자 문서 상에서, 상기 제1 문자쌍들 각각을 구성하는 두 개의 문자들 사이의 문자 간격을 조정하는 단계
를 포함하는 지원하지 않는 폰트가 적용되어 있는 전자 문서를 대체 폰트를 이용하여 표시할 수 있는 전자 단말 장치의 동작 방법.
7. The method of claim 6,
The glyph table
A reference glyph width value for a plurality of characters predefined to correspond to each of the plurality of original fonts - The reference glyph width value is a reference font size preset using each of the plurality of original fonts for the plurality of characters When rendering them, it means the glyph width value for each of the plurality of characters measured in each original font - is recorded,
The kerning table has
A reference kerning value for a plurality of character pairs predefined to correspond to each of the plurality of original fonts - the plurality of character pairs means character pairs that can be generated from the plurality of characters - The reference kerning value is When the plurality of character pairs are rendered with the reference font size using each of the plurality of original fonts, it means a kerning value for each of the plurality of character pairs measured in each original font - is recorded,
Adjusting the glyph width of each of the first characters and the character spacing between the first characters comprises:
checking a font size of each of the first characters when the first replacement font is applied to each of the first characters on the first electronic document;
After checking the reference glyph width value corresponding to each of the first characters among the reference glyph width values for the plurality of characters corresponding to the first original font recorded in the glyph table, adjusting a glyph width of each of the first characters on the first electronic document based on a corresponding reference glyph width value and a font size of each of the first characters; and
In the first electronic document, when the glyph width of each of the first characters is adjusted, first character pairs divided into two consecutive characters from the first characters are identified, and the first character pairs are recorded in the kerning table. After checking a kerning value corresponding to each of the first character pairs among kerning values for a plurality of character pairs corresponding to the first original font, a kerning value corresponding to each of the first character pairs and the first Based on the font size of the character positioned at the front of the two characters constituting each of the character pairs, the character spacing between the two characters constituting each of the first character pairs is determined on the first electronic document. Steps to adjust
An operating method of an electronic terminal device capable of displaying an electronic document to which an unsupported font including a font is applied using an alternative font.
제7항에 있어서,
상기 제1 문자들 각각의 글립 너비를 조정하는 단계는
상기 제1 전자 문서 상에서, 상기 제1 문자들 각각의 글립 너비를, 하기의 수학식 1에 따라 산출되는 너비 조정 값으로 조정하고,
상기 제1 문자쌍들 각각을 구성하는 두 개의 문자들 사이의 문자 간격을 조정하는 단계는
상기 제1 전자 문서 상에서, 상기 제1 문자쌍들 각각을 구성하는 두 개의 문자들 사이의 문자 간격을, 하기의 수학식 2에 따라 산출되는 커닝 조정 값으로 조정하는 지원하지 않는 폰트가 적용되어 있는 전자 문서를 대체 폰트를 이용하여 표시할 수 있는 전자 단말 장치의 동작 방법.
[수학식 1]
Figure 112020122956348-pat00017

여기서,
Figure 112020122956348-pat00018
는 상기 제1 문자들 중 i번째 문자에 대한 너비 조정 값으로,
Figure 112020122956348-pat00019
는 상기 i번째 문자에 대응되는 기준 글립 너비 값을 의미하고,
Figure 112020122956348-pat00020
는 상기 i번째 문자의 폰트 크기를 의미하며, T는 상기 기준 폰트 크기를 의미함.
[수학식 2]
Figure 112020122956348-pat00021

여기서,
Figure 112020122956348-pat00022
는 상기 제1 문자쌍들 중 j번째 문자쌍에 대한 커닝 조정 값으로,
Figure 112020122956348-pat00023
는 상기 j번째 문자쌍에 대응되는 커닝 값을 의미하고,
Figure 112020122956348-pat00024
는 상기 j번째 문자쌍을 구성하는 두 개의 문자들 중 전단에 위치하는 문자의 폰트 크기를 의미하며, T는 상기 기준 폰트 크기를 의미함.
8. The method of claim 7,
The step of adjusting the glyph width of each of the first characters is
Adjusting the glyph width of each of the first characters on the first electronic document to a width adjustment value calculated according to Equation 1 below;
Adjusting the character spacing between the two characters constituting each of the first character pairs comprises:
In the first electronic document, an unsupported font that adjusts the character spacing between two characters constituting each of the first character pairs to a kerning adjustment value calculated according to Equation 2 below is applied An operating method of an electronic terminal device capable of displaying an electronic document using an alternative font.
[Equation 1]
Figure 112020122956348-pat00017

here,
Figure 112020122956348-pat00018
is a width adjustment value for the i-th character among the first characters,
Figure 112020122956348-pat00019
is a reference glyph width value corresponding to the i-th character,
Figure 112020122956348-pat00020
denotes the font size of the i-th character, and T denotes the reference font size.
[Equation 2]
Figure 112020122956348-pat00021

here,
Figure 112020122956348-pat00022
is a kerning adjustment value for the j-th character pair among the first character pairs,
Figure 112020122956348-pat00023
means a kerning value corresponding to the j-th character pair,
Figure 112020122956348-pat00024
denotes the font size of the character located at the front end of the two characters constituting the j-th character pair, and T denotes the reference font size.
제8항에 있어서,
상기 제1 전자 문서 상에서, 상기 제1 문자들 각각에 상기 제1 대체 폰트가 적용되고, 상기 제1 문자들 각각의 글립 너비와 상기 제1 문자들 사이의 문자 간격이 조정된 이후, 상기 사용자로부터 상기 제1 문자들의 폰트를 상기 복수의 폰트들 중 어느 하나인 제2 폰트로 변경할 것을 지시하는 폰트 변경 명령이 인가되면, 상기 데이터 저장부에 저장되어 있는 상기 제2 폰트에 대한 폰트 데이터를 로드하여 상기 제1 문자들 각각에 대해, 상기 제2 폰트를 적용하는 단계;
상기 제1 문자들 각각에 상기 제2 폰트가 적용되면, 상기 제1 전자 문서 상에서, 상기 제1 문자들 각각의 글립 너비를, 상기 수학식 1에 따라 산출된 너비 조정 값으로 다시 조정하는 단계; 및
상기 제1 문자들 각각의 글립 너비가 다시 조정되면, 상기 제1 전자 문서 상에서, 상기 제1 문자쌍들 각각을 구성하는 두 개의 문자들 사이의 간격을, 상기 수학식 2에 따라 산출된 커닝 조정 값으로 다시 조정하는 단계
를 더 포함하는 지원하지 않는 폰트가 적용되어 있는 전자 문서를 대체 폰트를 이용하여 표시할 수 있는 전자 단말 장치의 동작 방법.
9. The method of claim 8,
On the first electronic document, after the first replacement font is applied to each of the first characters, and the glyph width of each of the first characters and the character spacing between the first characters are adjusted, the user When a font change command instructing to change the font of the first characters to a second font, which is one of the plurality of fonts, is applied, the font data for the second font stored in the data storage unit is loaded and applying the second font to each of the first characters;
when the second font is applied to each of the first characters, re-adjusting the glyph width of each of the first characters to the width adjustment value calculated according to Equation 1 on the first electronic document; and
When the glyph width of each of the first characters is adjusted again, in the first electronic document, the kerning adjustment calculated according to Equation (2) is the spacing between two characters constituting each of the first character pairs. Steps to re-adjust to values
An operating method of an electronic terminal device capable of displaying an electronic document to which an unsupported font is applied, further comprising a substitute font.
삭제delete 제6항, 제7항, 제8항 또는 제9항 중 어느 한 항의 방법을 컴퓨터와의 결합을 통해 실행시키기 위한 컴퓨터 프로그램을 기록한 컴퓨터 판독 가능 기록 매체.A computer-readable recording medium recording a computer program for executing the method of any one of claims 6, 7, 8, or 9 through combination with a computer. 제6항, 제7항, 제8항 또는 제9항 중 어느 한 항의 방법을 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램.A computer program stored in a storage medium for executing the method of any one of claims 6, 7, 8 or 9 in combination with a computer.
KR1020200153476A 2020-11-17 2020-11-17 Electronic terminal device which is able to display the electronic document in the unsupported font using the alternative font and the operating method thereof KR102395699B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200153476A KR102395699B1 (en) 2020-11-17 2020-11-17 Electronic terminal device which is able to display the electronic document in the unsupported font using the alternative font and the operating method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200153476A KR102395699B1 (en) 2020-11-17 2020-11-17 Electronic terminal device which is able to display the electronic document in the unsupported font using the alternative font and the operating method thereof

Publications (1)

Publication Number Publication Date
KR102395699B1 true KR102395699B1 (en) 2022-05-09

Family

ID=81582609

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200153476A KR102395699B1 (en) 2020-11-17 2020-11-17 Electronic terminal device which is able to display the electronic document in the unsupported font using the alternative font and the operating method thereof

Country Status (1)

Country Link
KR (1) KR102395699B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003084218A2 (en) * 2002-03-29 2003-10-09 Digeo, Inc. Module-based interactive television ticker
KR20060075180A (en) * 2004-12-28 2006-07-04 엔에이치엔(주) Method for providing font service enabling selecting a font by area on service page and system for executing the method
KR20140040994A (en) * 2012-09-27 2014-04-04 주식회사 인프라웨어 Font processing method for maintaining document layout, and computer-readable recording medium with font processing program for the same
KR20150099936A (en) * 2014-02-24 2015-09-02 주식회사 인프라웨어 Method and apparatus for applying an alternate font for maintaining document layout
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003084218A2 (en) * 2002-03-29 2003-10-09 Digeo, Inc. Module-based interactive television ticker
KR20060075180A (en) * 2004-12-28 2006-07-04 엔에이치엔(주) Method for providing font service enabling selecting a font by area on service page and system for executing the method
KR20140040994A (en) * 2012-09-27 2014-04-04 주식회사 인프라웨어 Font processing method for maintaining document layout, and computer-readable recording medium with font processing program for the same
KR20150099936A (en) * 2014-02-24 2015-09-02 주식회사 인프라웨어 Method and apparatus for applying an alternate font for maintaining document layout
KR102030547B1 (en) * 2018-06-19 2019-10-10 주식회사 한글과컴퓨터 Document editing apparatus capable of displaying a document to which an unsupported font is applied and operating method thereof

Non-Patent Citations (2)

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

Similar Documents

Publication Publication Date Title
KR102030547B1 (en) Document editing apparatus capable of displaying a document to which an unsupported font is applied and operating method thereof
US20140344676A1 (en) System and Method for Selective Control of Zoom Adjustments in an Electronic Publication
US20120093404A1 (en) Information processing apparatus and information processing method
KR102187540B1 (en) Electronic terminal apparatus supporting easy editing for overlapped objects in a document and operating method thereof
US10235351B2 (en) Electronic document editing apparatus capable of inserting memo into paragraph, and 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
US9218327B2 (en) Optimizing the layout of electronic documents by reducing presentation size of content within document sections so that when combined a plurality of document sections fit within a page
US10733355B2 (en) Information processing system that stores metrics information with edited form information, and related control method information processing apparatus, and storage medium
KR102144351B1 (en) Electronic terminal device supporting easy undo processing of electronic document 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
KR20200001342A (en) Web electric document editing apparatus for rendering object and operating method thereof
CN112036149B (en) File editing method and device, electronic equipment and storage medium
KR20220127486A (en) Electronic terminal apparatus that supports application of natural substitute fonts when loading electronic documents with unsupported fonts applied and operating method thereof
CN112052655B (en) Page processing method and device, computer storage medium and terminal
KR102566899B1 (en) Electronic terminal apparatus that can perform individually customized automatic typo correction and operating method thereof
KR101999549B1 (en) Cell auto divide device
KR102466714B1 (en) Electronic device that provides improved object insertion into electronic document through object box and operating method thereof
KR102566905B1 (en) Presentation document editing apparatus that allows users to easily set the page style of presentation documents and operating method thereof
KR102442510B1 (en) Document editing apparatus that automatically specifies the storage file format for documents and the operating method thereof
US20240202428A1 (en) Method, device, computer equipment and storage medium for processing pdf files
KR102466711B1 (en) Spreadsheet document editing apparatus capable of displaying adjustment controls that match the data notation format of the input data and 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
KR102010556B1 (en) Apparatus for editing web electric document using asynchronous action and operating method thereof
KR102045751B1 (en) Presentation document editing apparatus that displays the page number of the thumbnail image through a separate layer and operating method thereof

Legal Events

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