KR101719336B1 - Font transforming method using meta data and system thereof - Google Patents

Font transforming method using meta data and system thereof Download PDF

Info

Publication number
KR101719336B1
KR101719336B1 KR1020150181997A KR20150181997A KR101719336B1 KR 101719336 B1 KR101719336 B1 KR 101719336B1 KR 1020150181997 A KR1020150181997 A KR 1020150181997A KR 20150181997 A KR20150181997 A KR 20150181997A KR 101719336 B1 KR101719336 B1 KR 101719336B1
Authority
KR
South Korea
Prior art keywords
font
character
height
data
width
Prior art date
Application number
KR1020150181997A
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 KR1020150181997A priority Critical patent/KR101719336B1/en
Application granted granted Critical
Publication of KR101719336B1 publication Critical patent/KR101719336B1/en

Links

Images

Classifications

    • G06F17/214
    • G06F17/24
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1224Client or server resources management
    • G06F3/1225Software update, e.g. print driver, modules, plug-ins, fonts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/60Rotation of a whole image or part thereof

Abstract

The present invention is a technique to similarly transform a first font and a second font which are mutually different fonts using metadata. A font is similarly modified to eliminate inconsistency caused by a difference between a font used in a document created in a conventional digital device or a web page and a font existing in a device to open a document.

Description

메타데이터를 이용한 폰트 변형방법 및 시스템{FONT TRANSFORMING METHOD USING META DATA AND SYSTEM THEREOF} TECHNICAL FIELD [0001] The present invention relates to a font transformation method and system using metadata,

본 발명은 메타데이터를 이용한 폰트 변형방법 및 시스템에 관한 것이다.The present invention relates to a method and system for transforming fonts using metadata.

본 발명은 특히, 상호 다른 글꼴인 제1 폰트와 제2 폰트를 유사하게 변형하는 기술로써, 통상적인 디지털 기기나 웹페이지에서 작성된 문서에 사용된 폰트와, 이 문서를 열기 위한 장치에 존재하는 폰트가 상이함에 따라 발생되는 불일치를 해소하도록 폰트를 유사하게 변형하는 방법 및 시스템에 관한 것이다. The present invention particularly relates to a technique for similarly modifying a first font and a second font, which are mutually different fonts, and is a technique of converting a font used in a document created in a conventional digital device or a web page, And more particularly to a method and system for similarly modifying fonts to eliminate inconsistencies that arise as they differ.

통상적으로, 퍼스널 PC, 스마트폰, 타블렛 PC 등의 디지털 기기에서 화면에 문자를 표시하거나 인쇄시에는 아웃라인 폰트(글꼴)를 사용하게 된다. Typically, a character is displayed on a screen in a digital device such as a personal PC, a smart phone, or a tablet PC, or an outline font (font) is used in printing.

그러나 이러한 글꼴의 경우 디바이스 자체적으로 보유하게 되므로 디지털 문서나 웹페이지 등에 대응하는 글꼴이 없는 기기에서 불러 들여왔을 경우 그 모양이 비정상적으로 보이게 된다. However, since these fonts are held by the device itself, the appearance of the fonts becomes unusual when they are imported from devices that do not have fonts corresponding to digital documents or web pages.

현재 대부분의 장치에서는 이를 방지하기 위하여 특정 폰트를 지정하거나 비슷한 폰트를 대신 보여주는 식의 대체 폰트 방식을 사용하고 있다.Most devices today use alternate fonts to specify a specific font or to show a similar font instead.

이러한 문제 해소를 위한 폰트 변형에 관한 종래 기술로는 한국특허공개 제10-2007-0037769호가 있다.Korean Patent Laid-Open Publication No. 10-2007-0037769 discloses a font modification for solving such a problem.

이 공개기술은, 입력된 글자의 특징점을 추출하고, 상기 입력된 글자에 대한 변형 방법을 선택하고, 상기 선택된 변형 방법을 적용하여 상기 벡터폰트의 특징점을 변환하고, 상기 변환된 특징점을 토대로 해당 글자 영상을 생성하여 디스플레이하는 동작을 순차적으로 수행하는 것으로, 벡터 폰트(Vector Font)를 기반으로 하여 특징점 변형 및 렌더링 과정을 통해서 임의의 글자 모양을 변형시키는 기술이다.The disclosed technique extracts feature points of an input character, selects a transformation method for the input character, transforms the feature points of the vector font by applying the selected transformation method, An image is generated and displayed sequentially. This technique transforms an arbitrary character shape through a feature point transformation and rendering process based on a vector font (Vector Font).

또 다른 종래 기술로는 한국특허공개 제10-1997-0071229호가 있다.Another prior art is Korean Patent Publication No. 10-1997-0071229.

이 공개기술은, 주어진 자소의 중심축을 구하고, 상기 중심축과 그 중심축의 점들을 중심으로 하는 최대 내접원들을 이용하여 접점들을 구하고, 상기 중심축의 점들과 상기 접점들에 관한 정보를 상기 자소 변형시에 적용하는 과정을 통해서 폰트 서체를 변형하는 기술이다.This publication discloses a method for obtaining a center point of a given point and obtaining contact points using a maximum inscribed circle centered on the center point and its center axis axis and for obtaining information about the points on the center point and the contact points, It is a technique of transforming a font font through an application process.

한국특허공개 제10-2007-0037769호Korean Patent Publication No. 10-2007-0037769 한국특허공개 제10-1997-0071229호Korean Patent Publication No. 10-1997-0071229

본 발명의 목적은, 문서를 열기 위한 문서 열람장치의 폰트를 디지털 기기나 웹페이지에서 작성된 문서에 사용된 폰트와 유사하게 변형할 수 있도록 하되, 이를 메타데이터를 이용하도록 한 폰트 변형방법 및 시스템을 제공하는데 있다.It is an object of the present invention to provide a method and system for transforming a font in which a font of a document viewing apparatus for opening a document can be transformed similarly to a font used in a document created in a digital device or a web page, .

기타 본 발명의 다른 목적들은 이하에서 상세히 설명하는 바에 따라 유추 가능할 것이다.Other objects of the present invention will be apparent from the following detailed description.

상기 목적을 달성하기 위한 본 발명의 메타데이터를 이용한 폰트 변형방법은, 제1폰트의 아웃라인을 제2폰트의 메타데이터를 기준으로 변형하도록 제1폰트가 선택되는 제1단계; 선택된 제1폰트의 넓이 및 높이의 변형 크기가 제2폰트의 메타데이터를 기준으로 결정되는 제2단계; 결정된 제1폰트의 넓이 및 높이의 변형 크기를 각 문자마다 동일한 비율로 적용하여 변형하는 제3단계; 및 변형 크기가 정해진 제1폰트의 넓이에 따라 각 문자의 두께를 조절하는 제4단계로 이루어진 것을 특징으로 한다.  According to another aspect of the present invention, there is provided a method of transforming a font using metadata, the method comprising: a first step of selecting a first font to modify an outline of a first font based on meta data of a second font; A second step in which the deformation size of the selected first font is determined based on the metadata of the second font; A third step of transforming the deformation size of the determined first font by applying the deformation size of the first font to the same ratio for each character; And a fourth step of adjusting the thickness of each character according to the width of the first font in which the deformation size is determined.

제1폰트는 원본 폰트이고, 제2폰트는 대상 폰트인 것을 특징으로 한다. The first font is an original font, and the second font is a target font.

메타데이터는, 폰트가 디자인된 기준 사각형의 개수인 Em Square; Em Square 상에 폰트의 크기를 저장하는 단위계인 Font Unit; 문자 출력의 기준선인 base line; 소문자 x의 base line으로부터의 높이인 x-height; 문자의 기준 높이를 나타내는 x-height의 상부 한계선으로부터 소정 높이 위에 형성되는 기준선인 ascender; 문자의 기준 높이를 나타내는 x-height의 하부 한계선으로부터 소정 높이 아래에 형성되는 기준선인 descender; base line기준으로 x-height와 ascender를 합한 크기인 ascender line; base line기준으로 x-height와 descender를 합한 크기인 descender line; Italic 스타일 적용시 회전되는 각도인 Italic Angle; 문자의 가로방향의 두께를 조절할 인수 Bold Factor; 및 문자의 세로방향의 두께를 조절할 인수인 Bold Factor인 것을 특징으로 한다. Metadata includes Em Square, the number of reference squares in which the font is designed; Font Unit, a unit system for storing the font size on Em Square; Base line, which is the baseline of character output; X-height, which is the height of the lowercase x from the base line; An ascender which is a reference line formed on a predetermined height from an upper limit line of an x-height indicating a reference height of a character; A descender which is a base line formed below a predetermined height from a lower limit line of x-height indicating a reference height of a character; an ascender line that is the sum of the x-height and the ascender based on the base line; a descender line that is the sum of the x-height and the descender based on the base line; Italic Angle, the angle of rotation when applying Italic style; Bold Factor to control the thickness of the text in the horizontal direction; And a Bold Factor which is an argument for adjusting the thickness of the character in the vertical direction.

x-height는, 일반 문자의 기준 높이로서 제공되는 것을 특징으로 한다.and x-height is provided as a reference height of a normal character.

제1폰트의 변형 요소는, 문자의 넓이, 높이 및 두께인 것을 특징으로 한다. The transformation element of the first font is characterized by the width, height, and thickness of characters.

문자의 넓이의 변형 크기는, 제1폰트와 제2폰트의 문자별 메타데이터인 Glyph Width를 Font Unit 단위로 비교하여 결정되는 것을 특징으로 한다. The deformation size of the character width is determined by comparing Glyph Width, which is the character-specific meta data of the first font and the second font, in Font Unit units.

제1폰트의 두께 조절은, 제2폰트의 메타데이터인 Horizontal Bold Factor와 Vertical Bold Factor를 이용하여 가로 방향의 두께와 세로 방향의 두께 조절로 나타나는 것을 특징으로 한다.The thickness adjustment of the first font is characterized by adjusting the thickness in the horizontal direction and the thickness in the vertical direction by using the vertical Bold Factor and the metadata of the second font.

상기 목적을 달성하기 위한 본 발명의 메타데이터를 이용한 폰트 변형방법은, 제1폰트의 아웃라인을 제2폰트의 메타데이터를 기준으로 변형하도록 제1폰트가 선택되는 제1단계; 선택된 제1폰트의 넓이 및 높이의 변형 크기가 제2폰트의 메타데이터를 기준으로 결정되는 제2단계; 결정된 제1폰트의 넓이 및 높이의 변형 크기를 각 문자마다 동일한 비율로 적용하여 변형하는 제3단계; 변형 크기가 정해진 제1폰트의 넓이에 따라 각 문자의 두께를 조절하는 제4단계; 및 실제 출력을 위한 제1폰트의 가로 및 세로 배율 조절이 진행되는 제5단계를 추가 포함하는 것을 특징으로 한다.According to another aspect of the present invention, there is provided a method of transforming a font using metadata, the method comprising: a first step of selecting a first font to modify an outline of a first font based on meta data of a second font; A second step in which the deformation size of the selected first font is determined based on the metadata of the second font; A third step of transforming the deformation size of the determined first font by applying the deformation size of the first font to the same ratio for each character; A fourth step of adjusting the thickness of each character according to the width of the first font in which the deformation size is determined; And a fifth step of controlling the horizontal and vertical magnification of the first font for the actual output.

세로 배율의 경우, 문자의 높이는 메타데이터인 x-Height를 기준으로 하는 것을 특징으로 한다. In the case of the vertical magnification, the height of the character is based on x-Height which is metadata.

세로 배율의 경우 문자의 높이는, 각 폰트의 ascender line과 descender line의 합을 배율의 인자로 활용하는 것을 특징으로 한다. In the case of the vertical scale, the character height is characterized by using the sum of the ascender line and the descender line of each font as a factor of the scale factor.

상기 목적을 달성하기 위한 본 발명의 메타데이터를 이용한 폰트 변형 시스템은, 폰트의 변형을 제어하는 CPU; CPU의 제어에 의해 폰트의 변형이 이루어지도록 폰트 데이터 및 메타데이터를 저장한 폰트 저장부; 폰트 저장부에 저장된 폰트 데이터 또는 메타데이터를 기준으로 폰트 유사성을 측정하는 폰트 유사성 측정 모듈; 폰트 유사성 측정 모듈에 의해 측정된 결과에 따라 변형될 폰트를 선택하는 폰트 선택모듈; 및 폰트 선택부에 의해 선택된 폰트를 변형하는 폰트 변형모듈로 이루어진 것을 특징으로 한다.According to an aspect of the present invention, there is provided a system for transforming fonts using metadata, the system comprising: a CPU for controlling deformation of a font; A font storage unit for storing font data and meta data so that the font is transformed under the control of the CPU; A font similarity measurement module that measures font similarity based on font data or metadata stored in a font storage unit; A font selection module for selecting a font to be modified according to the result measured by the font similarity measurement module; And a font modification module for modifying the font selected by the font selection unit.

변형될 폰트는 원본 폰트이고, 메타데이터를 제공하는 폰트는 대상 폰트인 것을 특징으로 한다.The font to be transformed is an original font, and the font providing the metadata is a target font.

폰트 데이터는, 폰트 종류 데이터 및 폰트 종류별 아웃라인 데이터인 것을 특징으로 한다.The font data is characterized by being font type data and outline data for each font type.

CPU의 폰트 변형 제어는, 메타데이터와 아웃라인 데이터를 비교하여, 그 비교결과에 따라 넓이, 높이 및 두께 조절에 대해 이루어지는 것을 특징으로 한다.The font deformation control of the CPU is characterized by comparing the meta data with the outline data and adjusting the width, height and thickness according to the comparison result.

유사성 측정 모듈은, 시각적 유사도 데이터, 상관관계 데이터, 분류데이터 중 어느 하나를 기준으로 폰트의 유사성을 측정하는 것을 특징으로 한다.The similarity measurement module measures the similarity of the font based on any one of visual similarity data, correlation data, and classification data.

폰트 선택 모듈은, 변형되어야 할 폰트를 사용자 인터페이스 모듈을 통해 요청받거나 또는 폰트 저장부에 저장된 폰트 중에서 자동으로 선택하는 것을 특징으로 한다. The font selection module is characterized in that a font to be modified is requested through the user interface module or automatically selected from the fonts stored in the font storage unit.

폰트 변형모듈은, 대상 폰트의 메타데이터를 기준으로 원본 폰트의 아웃라인을 변형하는 것을 특징으로 한다. The font modification module is characterized by modifying the outline of the original font based on the meta data of the target font.

본 발명의 메타데이터를 이용한 폰트 변형방법 및 시스템에 따르면, 문서를 열기 위한 문서 열람장치의 폰트의 아웃라인(윤곽선)을 디지털 기기나 웹페이지에서 작성된 문서에 사용된 폰트와 유사하게 변형함으로써, 문서 열람장치에 디지털 기기나 웹페이지의 폰트가 없음에 따라 발생할 수밖에 없는 폰트가 가지고 있는 개별 문자(Glyph)의 넓이와 두께 등의 차이로 인한 문제점, 예를 들어 문서 구성(Layout)의 틀어짐과 문자의 이질감 등을 보완할 수 있는 뛰어난 효과가 있다. According to the font conversion method and system using the metadata of the present invention, the outline (outline) of the font of the document viewing apparatus for opening a document is transformed similarly to the font used in the document created in the digital apparatus or the web page, Problems caused by differences in the width and thickness of individual glyphs of fonts which are inevitable due to lack of fonts of digital devices or web pages in the browsing apparatuses, for example, There is an excellent effect that can complement the sense of heterogeneity.

도 1은 본 발명의 실시예에 따른 메타데이터를 이용한 폰트 변형시스템의 제어 구성도.
도 2는 본 발명의 실시예에 있어서, 원본 폰트의 아웃라인을 변형하도록 대상 폰트에서 추출되는 메타데이터의 예시도.
도 3은 본 발명의 실시예에 있어서, 알파벳 활자의 시작이나 끝 부분에 있는 작은 돌출선인 Serif 예시도.
도 4 및 도 5는 본 발명의 폰트 변형에서 가로 강화 및 세로 강화의 예시도. 도 6은 본 발명의 메타데이터를 이용한 폰트 변형방법의 동작 흐름도.
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a control system of a font transformation system using metadata according to an embodiment of the present invention; FIG.
Figure 2 is an illustration of metadata extracted from a target font to modify an outline of an original font in an embodiment of the present invention;
Figure 3 is an example Serif example of a small protruding line at the beginning or end of an alphabet letter in an embodiment of the present invention.
Figures 4 and 5 illustrate examples of horizontal reinforcement and longitudinal reinforcement in the font variants of the present invention. 6 is a flowchart illustrating an operation of a method of transforming a font using metadata of the present invention.

이하, 본 발명의 실시예를 첨부 도면을 참조하여 상세히 설명한다. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It is to be understood, however, that the invention is not to be limited to the specific embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

본 발명에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다.The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.

단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The singular expressions include plural expressions unless the context clearly dictates otherwise. In the present application, the terms "comprises" or "having" and the like are used to specify that there is a feature, a number, a step, an operation, an element, a component or a combination thereof described in the specification, But do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or combinations thereof.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

먼저, 본 발명의 폰트 변형방법 및 시스템의 상세한 설명에 언급되는 중요한 구성요소들을 다음과 같이 정의한다. First, important components referred to in the detailed description of the font modification method and system of the present invention are defined as follows.

아웃라인 폰트는, 직선 또는 곡선의 윤곽선으로 표현한 인쇄용 글자체를 가지고 디지털 기기나 웹페이지에서 화면에 문자를 표시하거나 인쇄시 사용되는 폰트로, 문자의 윤곽을 벡터(vector) 계산식으로 인쇄의 크기에 따라 최적의 이미지를 전개하게 된다. The outline font is a font used to display characters on a screen or to print on a screen of a digital device or a web page with a printing typeface expressed by a straight line or a curved outline, and the outline of the characters is calculated according to the size of the printing So that an optimal image is developed.

따라서 문자의 크기나 프린터의 해상도에 상관없이 확대 또는 축소하더라도 특별한 문제없이 인쇄가 가능하다. 현재 개인용 컴퓨터(PC)에 사용되는 대표적인 윤곽 글자체의 규격은 어도비 시스템즈사의 ATM(Adobe Type Management)과 애플 컴퓨터 회사의 트루 타입(True Type)이 있다.Therefore, regardless of the size of the characters or the resolution of the printer, even if enlarged or reduced, printing is possible without any problem. A typical outline font used in a personal computer (PC) is Adobe Type Management (ATM) of Adobe Systems Inc. and True Type of Apple Computer Corporation.

대체 폰트는, 디지털 기기나 웹페이지에서 특정 폰트로 작성된 문서를 해당하는 폰트가 없는 장치에서 불러왔을 경우 비정상적으로 보여지게 됨을 감안하여, 특정 폰트를 지정하거나 유사한 폰트를 대신 보여주는 폰트를 말한다. A substitute font refers to a font that designates a specific font or displays a similar font instead in view of the fact that a document created by a specific font in a digital device or a web page is displayed abnormally when it is loaded from a device having no corresponding font.

대상 폰트는, 디지털 기기나 웹페이지에서 디지털 문서 작성시 사용되는 폰트를 말한다.The target font is a font used for digital document creation in a digital device or a web page.

메타데이터는, 다른 데이터를 설명해 주는 데이터로써, 어떤 데이터 즉 구조화된 정보를 분석, 분류하고 부가적 정보를 추가하기 위해 그 데이터 뒤에 함께 따라가는 정보로써, 본 발명에서는 원본 폰트를 대상 폰트와 유사하게 변형하기 위하여 원본 폰트의 아웃라인 변형에 사용되도록 대상 폰트에서 추출되는 데이터를 일컫는다.Metadata is data that explains other data. It is information that follows some data, that is, structured information, such as analyzing, classifying, and adding additional information. In the present invention, the original font is transformed Quot; refers to data that is extracted from the target font to be used for outline transformation of the original font.

원본 폰트는, 디지털 문서나 웹페이지 등을 열기 위한 장치에 존재하는 대체 폰트용 폰트로서, 대상 폰트와 유사하게 변형되는 폰트를 말한다. The original font is a substitute font font existing in a device for opening a digital document or a web page, and is a font that is transformed similarly to the target font.

도 1은 본 발명의 메타데이터를 이용한 폰트 변형 시스템의 제어 구성도이다.BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a control block diagram of a font deformation system using metadata of the present invention. FIG.

일실시예에서, CPU(Central Process Unit)(100)는 본 발명의 목적인 제1폰트(원본 폰트)가 제2폰트(대상 폰트)와 유사하게 변형되도록 프로그램을 구동하는 수단이다.In one embodiment, a central processing unit (CPU) 100 is a means for driving a program such that the first font (source font) of the present invention is modified like a second font (target font).

CPU(100)는, 원본 폰트의 아웃라인(윤곽선)을 판독하는 프로그램과, 대상 폰트의 메타데이터를 판독하는 프로그램들을 구비할 수 있다. The CPU 100 may include a program for reading the outline (outline) of the original font and a program for reading the meta data of the target font.

CPU(100)는, 상기 프로그램 구동에 따라 판독된 원본 폰트의 아웃라인 데이터와 대상 폰트의 메타데이터를 메타데이터 매칭모듈(600)을 통해 상호 매칭하여 원본 폰트의 아웃라인을 대상 폰트의 메타데이터에 부합하도록 변형하는 프로그램을 구비할 수 있다. The CPU 100 matches the outline data of the original font read according to the program operation with the meta data of the target font through the meta data matching module 600 and outputs the outline of the original font to the meta data of the target font A program for transforming to conform to the above.

선택적으로, 상기 CPU(100)는 원본 폰트의 아웃라인과 대상 폰트의 메타데이터를 프로그램 구동에 따라 판독하는 대신에, 이들 원본 폰트의 아웃라인 데이터와 대상 폰트의 메타데이터가 미리 판독되어 저장된 폰트 저장부(200)로부터 정보를 획득할 수 있다. Alternatively, instead of reading the outline of the original font and the metadata of the target font according to the program operation, the CPU 100 may read the outline data of the original font and the meta data of the target font in advance, Information can be obtained from the unit 200.

또한, 선택적으로 원본 폰트의 아웃라인 데이터는 실시간으로 획득하고, 대상 폰트의 메타데이터는 미리 판독되어 상기 폰트 저장부(200)에 저장할 수도 있고, 역으로 대상 폰트의 메타데이터는 실시간으로 획득하고, 원본 폰트의 아웃라인 데이터는 미리 판독되어 상기 폰트 저장부(200)에 저장할 수도 있다.Alternatively, the outline data of the original font may be acquired in real time, the meta data of the target font may be read in advance and stored in the font storage unit 200, conversely, the meta data of the target font may be acquired in real time, Outline data of the original font may be read out in advance and stored in the font storage unit 200. [

일실시예에서 폰트 저장부(200)는, 폰트 데이터와 폰트별 메타데이터를 저장할 수 있다. 폰트 데이터는 폰트 종류 데이터와 폰트 종류별 아웃라인 데이터일 수 있다. 따라서 이들 데이터들이 원본 폰트의 데이터로서 폰트 변형에 이용될 수 있다.In one embodiment, the font storage unit 200 may store font data and font-specific metadata. The font data may be font type data and outline data for each font type. Therefore, these data can be used for the font transformation as the data of the original font.

폰트 저장부(200)에 저장되는 폰트 데이터와 폰트별 메타데이터는 대상 폰트와 유사한 원본 폰트 선택을 위하여 메타데이터 매칭모듈(600)을 통해 폰트 유사성 측정에 이용될 수 있다.The font data and the font-specific meta data stored in the font storage unit 200 may be used for font similarity measurement through the meta-data matching module 600 for selecting an original font similar to the target font.

폰트 데이터와 폰트별 메타데이터 등의 정보가 폰트 저장부(200)에 미리 저장되지 않고, 상기 설명한 바와 같이 CPU(100)의 프로그램 구동에 의해 실시간으로 얻어질 수도 있음은 물론이다. Information such as font data and font-specific meta data may not be previously stored in the font storage unit 200 but may be obtained in real time by the program execution of the CPU 100 as described above.

일실시예에서, 유사성 측정 모듈(300)은 바람직하게 소정기준에 따라 얻어진 시각적 유사도 데이터 및/또는 상관관계 데이터 및/또는 분류데이터 등을 기초로 유사성을 측정할 수 있다. In one embodiment, the similarity measurement module 300 may preferably measure similarity based on visual similarity data and / or correlation data and / or classification data obtained according to certain criteria.

시각적 유사도 데이터는, 예를 들어 촬영된 폰트 이미지를 비교하여 얻어진 데이터일 수 있다. 유사도 데이터는, 예를 들어, 글자마다의 특징점들을 추출 비교하여 획득한 데이터일 수 있다.The visual similarity data may be, for example, data obtained by comparing photographed font images. The similarity degree data may be, for example, data obtained by extracting and comparing minutiae for each character.

상관관계 데이터는, 폰트 메타데이터에 따라 분리된 두 폰트간에 어떤 선형적 관계를 갖고 있는지를 분석한 데이터로서, 예를 들어, 폰트별 메타데이터가 미리 정해진 소정범위내에 포함되는 경우 이를 유사하다고 판단할 수 있다. 상기 소정범위는 수치로 나타낼 수 있다. Correlation data is data in which the linear relationship between two fonts separated according to the font meta data is analyzed. For example, when the meta data for each font is included in a predetermined range, it is determined that the correlation data is similar . The predetermined range may be represented by a numerical value.

분류데이터는, 시각적 유사도 데이터 또는 상관관계 데이터에 따라 두 폰트간 유사도가 미리 분류되어 저장되는 데이터일 수 있다.The classification data may be data in which similarity between two fonts is classified and stored in advance according to visual similarity data or correlation data.

선택적으로, 유사성 측정 모듈(300)은 폰트 메타데이터를 기초로 2 개의 폰트 간 유사성을 측정할 수 있으며, 예를 들어, 유사성의 레벨을 개수 등으로 나타낼 수 있다. Optionally, the similarity measurement module 300 may measure the similarity between two fonts based on the font metadata, for example, the level of similarity may be expressed as a number or the like.

상기 개수는 예를 들어, 폰트별 메타데이터를 수치로 나타낸 정도로써, 두 폰트의 메타데이터가 미리 정해진 소정범위내에 포함되는 개수일 수 있다. The number of the fonts may be, for example, a numerical value of meta data for each font, and may be the number of meta data of the two fonts included in a predetermined range.

유사성 측정 모듈(300)은 이와 같이 시각적 유사도 데이터 및/또는 상관관계 데이터 및/또는 분류데이터를 기반으로 두 폰트에 대한 유사성을 알아낼 수 있다.The similarity measurement module 300 can thus determine the similarity of two fonts based on visual similarity data and / or correlation data and / or classification data.

일실시예에서 폰트 선택 모듈(400)은, 상기 폰트 유사성 측정 모듈(300)에서 측정된 데이터를 기반으로 폰트를 선택할 수 있다.In one embodiment, the font selection module 400 may select a font based on the measured data in the font similarity measurement module 300.

선택적으로 폰트 선택 모듈(400)은, 1 개 이상의 폰트 요청을 사용자 인터페이스 모듈(도시 생략)을 통해 수신할 수 있다. Optionally, the font selection module 400 may receive one or more font requests via a user interface module (not shown).

폰트 선택 모듈(400)은, 선택기준을 다양하게 설정할 수 있으며, 이들 선택 기준에 따라 사용자 인터페이스 모듈을 통해 요청받거나 폰트 저장부(200)에 저장된 폰트 중에서 특정 폰트를 선택할 수 있다. The font selection module 400 can set various selection criteria and can receive a request through the user interface module or select a specific font among the fonts stored in the font storage unit 200 according to the selection criteria.

상기 선택기준은, 상기 유사성 측정 모듈(300)에서 획득된 시각적 유사도 데이터, 상관관계 데이터, 분류 데이터 중 어느 하나일 수 있다.The selection criterion may be any one of visual similarity data obtained by the similarity measurement module 300, correlation data, and classification data.

또한, 상기 선택기준으로 시각적 유사도 데이터, 상관관계 데이터, 분류 데이터들을 모두 고려하지 않고, 사용자 인터페이스 모듈을 통해 무작위로 폰트가 정해질 수 있다. In addition, the font can be determined randomly through the user interface module without considering all the visual similarity data, correlation data, and classification data as the selection criteria.

또한, 폰트 선택 모듈(400)은, 선택기준을 폰트 저장부(200)에 저장된 폰트 메타데이터로 하여 폰트를 선택할 수 있다. 이러한 경우, 예를 들어, 사용자 인터페이스 모듈로부터의 요청에 따라 폰트 선택 모듈(400)에서 무작위로 선택된 폰트가 폰트 저장부(200)에 존재하지 않을 수 있다. 따라서 이러한 경우에는, 유사성 측정 모듈(300)에서 측정된 바에 따라 폰트 저장부(200)에 존재하는 폰트에서 유사한 폰트를 선택할 수 있다.In addition, the font selection module 400 can select the font by using the selection criteria as the font metadata stored in the font storage unit 200. [ In this case, for example, a font selected randomly in the font selection module 400 may not be present in the font storage 200 according to a request from the user interface module. Accordingly, in this case, similar fonts can be selected from the fonts existing in the font storage unit 200 as measured by the similarity measurement module 300.

일실시예에서 폰트 변형장치(500)는, 상기 폰트 선택 모듈(400)에서 선택된 폰트(원본 폰트)를 대상 폰트와 유사하게 변형할 수 있다. 변형의 주된 요소는 아웃라인(윤곽선)으로 정해질 수 있다.In one embodiment, the font modification apparatus 500 may modify the font selected in the font selection module 400 (source font) similarly to the target font. The main element of the transformation can be defined as an outline (outline).

폰트 변형모듈(500)은, 상기 CPU(100)에서 프로그램 구동에 따라 판독되거나 또는 폰트 저장부(200)에 미리 저장된 원본 폰트의 아웃라인 데이터와 대상 폰트의 메타데이터를 메타데이터 매칭모듈(600)을 통해 상호 매칭하여 원본 폰트의 아웃라인 데이터의 변화 정도를 획득하고, 획득된 원본 폰트의 아웃라인 데이터의 변화를 위하여 예를 들어 프로그래밍 언어의 조합을 사용하여 원본 폰트의 아웃라인을 변형할 수 있다. The font modification module 500 may store the outline data of the original font and the metadata of the target font, which are read out according to the program operation in the CPU 100 or stored in advance in the font storage unit 200, To obtain the degree of change of the outline data of the original font, and to modify the outline of the original font, for example, by using a combination of programming languages for the change of the outline data of the obtained original font .

폰트 변형모듈(500)은, 상기한 바와 같이 폰트의 변형을 수동 조작 또는 프로그래밍 언어로 자동으로 실행할 수도 있다. 예를 들면, 일부 문자들에서 동일한 스트로크를 갖는 원본 폰트의 아웃라인은 동일한 방식으로 변형할 수 있다. The font modification module 500 may also automatically perform the modification of the font as described above, either manually or in a programming language. For example, an outline of an original font having the same stroke in some characters can be transformed in the same way.

폰트 변형모듈(500)에 의해 변형된 폰트는, 제1폰트인 원본 폰트에서 제2폰트인 대상 폰트와 유사하게 변형된 제3폰트이다. 따라서 제3폰트는 실질적으로 제2폰트와 동일할 수도 있고, 유사할 수도 있다. The font transformed by the font transformation module 500 is a third font that is transformed similarly to the target font which is the second font in the original font which is the first font. Thus, the third font may be substantially the same as or similar to the second font.

상술한 바와 같이 본 발명의 메타데이터는, 원본 폰트가 대상 폰트와 유사하게 보이도록 원본 폰트의 아웃라인을 변형하기 위한 기준데이터로서 제공됨과 동시에, 폰트의 유사성 측정 및 폰트 선택의 기준데이터로서도 제공될 수 있다. As described above, the metadata of the present invention is provided as reference data for transforming an outline of an original font so that an original font looks similar to a target font, and is also provided as reference data for font similarity measurement and font selection .

도 1의 시스템에서, CPU(100)에서 프로그램 구동에 따라 판독되거나, 혹은 폰트 저장부(200)에 저장된 폰트별 메타데이터가 도 2에 예시되어 있다.In the system of Figure 1, Metadata for each font stored in the font storage unit 200 read by the CPU 100 in accordance with the program operation is illustrated in FIG.

도 2에 예시된 각 폰트별 메타데이터는 다음과 같이 정의될 수 있다. Metadata for each font illustrated in FIG. 2 can be defined as follows.

(1) Em Square : 폰트가 디자인된 기준 사각형의 개수로서 예를 들어, 1024 * 1024, 2048 * 2048 등이 있을 수 있다.(1) Em Square: For example, 1024 * 1024, 2048 * 2048 may be the number of reference squares in which a font is designed.

(2) Font Unit : Em Square 상에 폰트의 크기 등을 저장하는 단위계이다, (2) Font Unit: It is a unit system that stores the font size and the like on the Em Square,

(3) base line : 문자 출력의 기준선이다. base line은 도 2로부터 알 수 있듯이, 각 글자의 하부를 기준으로 설정된다. (3) base line: This is the baseline of character output. The base line is set based on the lower part of each letter, as can be seen from FIG.

(4) x-height : 소문자 x의 base line으로부터의 높이로서, 일반 문자의 기준 높이가 된다.(4) x-height: Height from the base line of lowercase x, which is the reference height of a normal character.

(5) ascender : 문자의 기준 높이를 나타내는 x-height의 상부 한계선으로부터 소정 높이 위에 형성되는 기준선으로서, 글자의 자연스러움을 위해 정해진다.(5) ascender: a reference line formed above a predetermined height from the upper limit line of the x-height indicating the reference height of the character, which is determined for the naturalness of the character.

(6) descender : 문자의 기준 높이를 나타내는 x-height의 하부 한계선으로부터 소정 높이 아래에 형성되는 기준선으로서, 상기 ascender와 마찬가지로 글자의 자연스러움을 위해 정해진다.(6) descender: a reference line formed below a predetermined height from a lower limit line of x-height indicating a reference height of a character, and is set for the naturalness of letters as in the ascender.

(7) Ascent 또는 ascender line: base line기준으로 x-height와 ascender를 합한 크기이다.(7) Ascent or ascender line: It is the sum of x-height and ascender based on base line.

(8) Descent 또는 descender line: base line기준으로 x-height와descender를 합한 크기이다.(8) Descent or descender line: It is the sum of x-height and descender based on base line.

(9) Italic Angle : Italic 스타일 적용시 회전되는 각도이다.(9) Italic Angle: This is the angle of rotation when applying Italic style.

(10) Bold Factor : 문자의 가로방향의 두께를 조절할 인수이다.(10) Bold Factor: This is an argument to adjust the thickness of the character in the horizontal direction.

(11) Bold Factor: 문자의 세로방향의 두께를 조절할 인수이다.(11) Bold Factor: This is an argument to adjust the vertical thickness of the character.

또한, 문자별 메타데이터로는 각 문자의 넓이를 나타내는 Glyph Width 가 있다.In addition, the character-specific metadata includes a glyph width indicating the width of each character.

도 6에 도시된 바와 같이 예를 들어, 트루(TRUE) 타입의 모든 문자 라이브러리들에 있어서 도 1에 도시된 시스템을 이용하여 폰트 아웃라인의 변형을 구현하는 방법은 다음 단계들로 이루어진다.As shown in FIG. 6, for example, for all character libraries of the TRUE type, a method for implementing a modification of a font outline using the system shown in FIG. 1 comprises the following steps.

1) 원본 폰트가 선택된다(S10).1) The original font is selected (S10).

원본 폰트 선택의 경우, 상기에 설명한 바와 같이 폰트 유사성 측정 모듈(300)에서 측정된 데이터를 기반으로 선택될 수도 있고, 폰트 저장부(200)에 미리 저장된 폰트 중에서 소정기준에 따라 선택될 수도 있다.In the case of the original font selection, it may be selected based on the data measured by the font similarity measurement module 300 as described above, or may be selected according to a predetermined criterion among the fonts stored in the font storage unit 200 in advance.

또한, 폰트별 시각적 유사성 또는 상관관계가 높음에 따라 선택될 수도 있고, 이러한 유사성이나 상관관계는 메타데이터를 기준으로 할 수도 있다. 또한, 유사성이나 상관관계가 아닌 분류데이터를 기준으로 선택될 수도 있다.Also, the similarity or correlation may be selected based on the font similarity or correlation, and the similarity or correlation may be based on the metadata. It may also be selected based on classification data that is not similarity or correlation.

다만, 원본 폰트가 아웃라인 변형에 의해 대상 폰트와 완전히 동일해지지는 않더라도 시각적인 유사도가 매우 높은 폰트로 변형되는 것이 중요하므로, 변형전이라도 가능한 시각적 유사도가 높은 원본 폰트를 선택하는 것이 동작의 정확성이나 변형 후 유사도 측면에서 유리할 것이다.However, even if the original font is not completely identical to the target font due to the outline transformation, it is important that the font is transformed into a font having a very high degree of visual similarity. Therefore, It will be advantageous in terms of similarity after deformation.

2) 원본 폰트의 변형 크기가 결정된다(S20).2) The deformation size of the original font is determined (S20).

상기 단계에서 대상 폰트와 유사하게 변형될 원본 폰트가 선택되면, 원본 폰트의 변형 크기가 결정되어야 한다.If the original font to be transformed is selected in the step similar to the target font, the transformed size of the original font should be determined.

원본 폰트의 변형 크기 결정 요소는, 원본 폰트가 대상 폰트와 유사하게 보이기 위하여 변형되어야 할 여러 요소들(넓이, 높이, 두께 등) 중에서, 변형 후 유사도에 가장 영향을 미칠 수 있는 넓이와 높이로 하는 것이 바람직하다. The deformation size determining element of the original font is a width and a height which can most affect the degree of similarity after deformation among the various elements (width, height, thickness, etc.) to be deformed so that the original font looks similar to the target font .

문자의 넓이의 경우, 각 문자의 넓이를 나타내는 대상 폰트와 원본 폰트의 문자별 메타데이터인 Glyph Width를 Font Unit 단위로 비교함에 따라 변형의 크기를 정하는 것이 바람직하다.In the case of the width of a character, it is desirable to determine the size of the deformation by comparing the Glyph Width, which is the metadata of the target font representing the width of each character and the character of the original font, in units of Font Units.

또한, 문자의 높이의 경우, 상기한 바와 같이 일반 문자의 기준 높이인 x-height이 될 수 있다.In the case of the height of a character, it may be x-height which is a reference height of a normal character as described above.

3) 이후 사용하는 문자의 넓이와 높이 등은 동일하게 비율화한다(S30). 3) Then, the width and height of the characters to be used are proportionally equalized (S30).

상기 단계 후, 사용하는 문자의 넓이와 높이 등은 동일한 비율이라고 가정하고 비율화한다. After the above step, the width and the height of the character to be used are assumed to be the same ratio, and the ratio is made.

예를 들어보면, For example,

대상 폰트의 디자인된 기준 사각형의 개수인 EM square가 2048 * 500의 넓이를 갖고, 원본 폰트의 디자인된 기준 사각형의 개수인 EM square가 1024 * 250의 넓이를 갖는다고 가정할 때, Assuming that EM square, which is the number of designed reference rectangles of the target font, has a width of 2048 * 500 and EM square, which is the number of designed reference rectangles of the original font, has a width of 1024 * 250,

ScaleFactor = 대상 폰트의 emSquare / 원본 폰트의 Em Square 이므로,ScaleFactor = EmSquare of the target font / Em Square of the original font,

원본 폰트의 넓이 = 250 * ScaleFactor 가 된다.The width of the original font = 250 * ScaleFactor.

4) 변형 크기가 정해진 원본 폰트의 넓이에 따라 두께를 조절한다(S40).4) The thickness is adjusted according to the width of the original font in which the deformation size is determined (S40).

원본 폰트의 넓이의 변형 크기가 정해지면, 원본 폰트로부터 아웃라인(윤곽선)을 추출하여 두께를 조절하게 된다. When the size of the original font's deformation is determined, the outline (contour) is extracted from the original font and the thickness is adjusted.

이때, 대상 폰트와의 유사성을 높여주기 위해 가로 방향의 두께와 세로 방향의 두께 변형 크기를 Horizontal Bold Factor와 Vertical Bold Factor를 이용하여 결정하게 된다. In this case, in order to increase the similarity with the target font, the lateral thickness and the thickness deformation size in the vertical direction are determined using the horizontal and vertical bold factors.

원본 폰트의 아웃라인을 추출하여 상기 Bold Factor에 의해 변형시킨 것을 예시한 것이 도 4 및 도 5이다.FIGS. 4 and 5 illustrate that the outline of the original font is extracted and transformed by the Bold Factor.

도 4에 도시된 바와 같이, (a)는 기본 문자이고, (b)는 Horizontal Bold Factor를 이용하여 가로 방향이 강화된 문자이고, (c)는 Vertical Bold Factor를 이용하여 세로 방향이 강화된 문자이다.As shown in FIG. 4, (a) is a basic character, (b) is a character whose horizontal direction is enhanced by using a horizontal Bold Factor, (c) is a character whose vertical direction is enhanced by using a Vertical Bold Factor to be.

도 5도 마찬가지로, (a)는 기본 문자이고, (b)는 Horizontal Bold Factor를 이용하여 가로 방향이 강화된 문자이고, (c)는 Vertical Bold Factor를 이용하여 세로 방향이 강화된 문자이다. 5 (a) is a basic character, (b) is a character whose horizontal direction is enhanced by using a horizontal Bold Factor, and (c) is a character whose longitudinal direction is enhanced by using a Vertical Bold Factor.

따라서 도 4 및 도 5로부터 원본 폰트의 추출된 아웃라인을 기준으로 두께가 조절되었음을 시각적으로 확인할 수 있다.   Therefore, it can be visually confirmed from FIGS. 4 and 5 that the thickness is adjusted based on the extracted outline of the original font.

5) 실제 출력을 위한 원본 폰트의 배율 조절이 진행된다(S50).5) Scaling of the original font for actual output is proceeded (S50).

상기 단계들에서 원본 폰트가 아웃라인 추출에 의해 넓이와 높이, 그리고 두께가 변형되면, 원본 폰트의 배율 조절이 진행될 수 있다. In the above steps, if the width, height, and thickness of the original font are extracted by outline extraction, the scale adjustment of the original font can be performed.

실제 출력을 위한 원본 폰트의 배율 조절은 다음과 같이 진행될 수 있다.Scaling of the original font for the actual output can proceed as follows.

세로 배율의 경우 문자의 높이는 디자인적 요소나 Serif(알파벳 활자의 시작이나 끝 부분에 있는 작은 돌출선, 도 3 참조) 부분에 영향을 크게 받으므로 문자의 실제 높이가 아닌 x-Height를 기준으로 하는 것이 바람직하다. For vertical scaling, the height of the character is affected by the design element or Serif (the small protruding line at the beginning or end of the alphabet, see Figure 3), so it is based on the x-height rather than the actual height of the character .

만약 x-height가 없다면, x-height 대신에 각 폰트의 ascender line과 descender line의 합을 배율의 인자로 활용할 수 있다. If you do not have x-height, you can use the sum of the ascender and descender lines of each font as a scaling factor instead of x-height.

이때, 가로 배율은 대상 문자의 넓이 / 원본 문자의 넓이가 되고, 세로 배율은 대상 폰트의 x-Height / 원본 폰트의 x-Height가 될 것이다.In this case, the horizontal magnification is the width of the target character / the width of the original character, and the vertical magnification will be x-Height of the target font / x-Height of the original font.

실제 출력시 위의 가로 배율과 세로 배율을 적용하여 글자의 크기를 조절한다.In actual output, adjust the size of the letter by applying the horizontal and vertical scale above.

만약 문자에 Italic 스타일이 적용되어 있다면 Italic Angle을 이용하여 회전시킨다.If the text has Italic style, rotate it using Italic Angle.

100 : CPU 200 : 폰트 저장부
300 : 폰트 유사성 측정 모듈 400 : 픈트 선택모듈
500 : 폰트 변형모듈 600 : 메타데이터 매칭모듈
100: CPU 200: Font storage unit
300: font similarity measurement module 400:
500: Font transformation module 600: Metadata matching module

Claims (17)

제1폰트의 아웃라인을 제2폰트의 메타데이터를 기준으로 변형하도록 제1폰트가 선택되는 제1단계;
상기 선택된 제1폰트의 넓이 및 높이의 변형 크기가 제2폰트의 메타데이터를 기준으로 결정되는 제2단계;
문자의 넓이는 각 문자의 넓이를 나타내는 대상 폰트와 원본 폰트의 문자별 메타데이터인 상형문자 폭(Glyph Width)을 폰트 유니트 단위로 비교하여 변형의 크기가 결정되고, 상기 문자의 높이는 일반 문자의 기준높이인 x-height를 비교하여 변형의 크기가 결정되는 것,
상기 결정된 제1폰트의 넓이 및 높이의 변형 크기를 각 문자마다 동일한 비율로 적용하여 변형하는 제3단계; 및
상기 변형 크기가 정해진 제1폰트의 넓이에 따라 각 문자의 두께를 조절하는 제4단계로 이루어진 것을 특징으로 하는 메타데이터를 이용한 폰트 변형방법.
A first step in which a first font is selected to modify an outline of a first font based on metadata of a second font;
A second step of determining a deformation size of the selected first font based on meta data of a second font;
The size of the character is determined by comparing the glyph width (Glyph Width), which is meta data per character of the target font representing the width of each character and the character of the original font, in units of font units, and the height of the character is determined by the standard The size of the deformation is determined by comparing the height x-height,
A third step of transforming the deformation size of the determined first font by applying the deformation size of the first font to the same ratio for each character; And
And adjusting a thickness of each character according to the width of the first font determined by the deformation size.
제1항에 있어서,
상기 제1폰트는 원본 폰트이고, 제2폰트는 대상 폰트인 것을 특징으로 하는 메타데이터를 이용한 폰트 변형방법.
The method according to claim 1,
Wherein the first font is an original font and the second font is a target font.
제1항에 있어서, 상기 메타데이터는
폰트가 디자인된 기준 사각형의 개수인 Em Square;
Em Square 상에 폰트의 크기를 저장하는 단위계인 Font Unit;
문자 출력의 기준선인 base line;
소문자 x의 base line으로부터의 높이인 x-height;
문자의 기준 높이를 나타내는 x-height의 상부 한계선으로부터 소정 높이 위에 형성되는 기준선인 ascender;
문자의 기준 높이를 나타내는 x-height의 하부 한계선으로부터 소정 높이 아래에 형성되는 기준선인 descender;
base line기준으로 x-height와 ascender를 합한 크기인 ascender line;
base line기준으로 x-height와 descender를 합한 크기인 descender line;
Italic 스타일 적용시 회전되는 각도인 Italic Angle;
문자의 가로방향의 두께를 조절할 인수 Bold Factor; 및
문자의 세로방향의 두께를 조절할 인수인 Bold Factor인 것을 특징으로 하는 메타데이터를 이용한 폰트 변형방법.
The method of claim 1,
Em Square, the number of reference squares in which the font is designed;
Font Unit, a unit system for storing the font size on Em Square;
Base line, which is the baseline of character output;
X-height, which is the height of the lowercase x from the base line;
An ascender which is a reference line formed on a predetermined height from an upper limit line of an x-height indicating a reference height of a character;
A descender which is a base line formed below a predetermined height from a lower limit line of x-height indicating a reference height of a character;
an ascender line that is the sum of the x-height and the ascender based on the base line;
a descender line that is the sum of the x-height and the descender based on the base line;
Italic Angle, the angle of rotation when applying Italic style;
Bold Factor to control the thickness of the text in the horizontal direction; And
And a Bold Factor which is a factor for adjusting a thickness of a character in the vertical direction.
제3항에 있어서,
상기 x-height는 일반 문자의 기준 높이로서 제공되는 것을 특징으로 하는 메타데이터를 이용한 폰트 변형방법.
The method of claim 3,
Wherein the x-height is provided as a reference height of a normal character.
제1항에 있어서,
상기 제1폰트의 변형 요소는 문자의 넓이, 높이 및 두께인 것을 특징으로 하는 메타데이터를 이용한 폰트 변형방법.
The method according to claim 1,
Wherein the transformation element of the first font is a width, a height, and a thickness of a character.
제5항에 있어서,
상기 문자의 넓이의 변형 크기는, 제1폰트와 제2폰트의 문자별 메타데이터인 Glyph Width를 Font Unit 단위로 비교하여 결정되는 것을 특징으로 하는 메타데이터를 이용한 폰트 변형방법.
6. The method of claim 5,
Wherein the deformation size of the character width is determined by comparing Glyph Width, which is character-specific metadata of the first font and the second font, in units of Font Units.
제5항에 있어서,
상기 제1폰트의 두께 조절은,
제2폰트의 메타데이터인 Horizontal Bold Factor와 Vertical Bold Factor를 이용하여 가로 방향의 두께와 세로 방향의 두께 조절로 나타나는 것을 특징으로 하는 메타데이터를 이용한 폰트 변형방법.
6. The method of claim 5,
The thickness of the first font may be adjusted,
Wherein the font is represented by adjusting the thickness of the horizontal direction and the thickness of the vertical direction by using a horizontal Bold Factor and a Vertical Bold Factor which are metadata of the second font.
제1항에 있어서,
실제 출력을 위한 제1폰트의 가로 및 세로 배율 조절이 진행되는 제5단계를 추가 포함하는 것을 특징으로 하는 메타데이터를 이용한 폰트 변형방법.
The method according to claim 1,
Further comprising a fifth step of adjusting the horizontal and vertical magnification of the first font for the actual output.
제8항에 있어서,
상기 세로 배율의 경우, 문자의 높이는 메타데이터인 x-Height를 기준으로 하는 것을 특징으로 하는 메타데이터를 이용한 폰트 변형방법.
9. The method of claim 8,
Wherein, in the case of the vertical magnification, the height of the character is based on x-Height which is metadata.
제9항에 있어서,
상기 세로 배율의 경우 문자의 높이는, 각 폰트의 ascender line과 descender line의 합을 배율의 인자로 활용하는 것을 특징으로 하는 메타데이터를 이용한 폰트 변형방법.
10. The method of claim 9,
Wherein the height of the character in the case of the vertical magnification is calculated by using the sum of the ascender line and the descender line of each font as a factor of the multiplication factor.
폰트의 변형을 제어하는 CPU;
상기 CPU의 제어에 의해 폰트의 변형이 이루어지도록 폰트 데이터 및 메타데이터를 저장한 폰트 저장부;
상기 폰트 저장부에 저장된 폰트 데이터 또는 메타데이터를 기준으로 폰트 유사성을 측정하는 폰트 유사성 측정 모듈;
상기 폰트 유사성 측정 모듈에 의해 측정된 결과에 따라 변형될 폰트를 선택하는 폰트 선택모듈; 및
상기 폰트 선택모듈에 의해 선택된 폰트를 변형하는 폰트 변형모듈로 이루어지고,
상기 폰트 변형모듈은, 문자의 넓이는 각 문자의 넓이를 나타내는 대상 폰트와 원본 폰트의 문자별 메타데이터인 상형문자 폭(Glyph Width)을 폰트 유니트 단위로 비교하여 변형의 크기를 결정하고, 문자의 높이는 일반 문자의 기준높이인 x-height를 비교하여 변형의 크기를 결정하고,
상기 결정된 폰트의 넓이 및 높이의 변형 크기를 각 문자마다 동일한 비율로 적용하여 변형하는 것을 특징으로 하는 메타데이터를 이용한 폰트 변형 시스템.
A CPU for controlling the transformation of the font;
A font storage unit for storing font data and meta data so that the font is transformed under the control of the CPU;
A font similarity measurement module that measures font similarity based on font data or metadata stored in the font storage;
A font selection module for selecting a font to be modified according to the result measured by the font similarity measurement module; And
And a font modification module for modifying the font selected by the font selection module,
The font transformation module determines the size of the transformation by comparing the glyph width (Glyph Width), which is the meta data of the target font representing the width of each character and the character of the original font, in units of font units, The height is determined by comparing the x-height, which is the reference height of the normal character,
And transforming the transformed size of the font using the same ratio for each character.
제11항에 있어서,
상기 변형될 폰트는 원본 폰트이고, 메타데이터를 제공하는 폰트는 대상 폰트인 것을 특징으로 하는 메타데이터를 이용한 폰트 변형 시스템.
12. The method of claim 11,
Wherein the font to be modified is an original font, and the font providing the meta data is a target font.
제11항에 있어서,
상기 폰트 데이터는, 폰트 종류 데이터 및 폰트 종류별 아웃라인 데이터인 것을 특징으로 하는 메타데이터를 이용한 폰트 변형 시스템.
12. The method of claim 11,
Wherein the font data is font type data and outline data for each font type.
제11항에 있어서,
상기 CPU의 폰트 변형 제어는,
메타데이터와 아웃라인 데이터를 비교하여, 그 비교결과에 따라 넓이, 높이 및 두께 조절에 대해 이루어지는 것을 특징으로 하는 메타데이터를 이용한 폰트 변형 시스템.
12. The method of claim 11,
In the font deformation control of the CPU,
Wherein the meta data is compared with the outline data, and the width, height, and thickness are controlled according to the comparison result.
제11항에 있어서,
상기 폰트 유사성 측정 모듈은 시각적 유사도 데이터, 상관관계 데이터, 분류데이터 중 어느 하나를 기준으로 폰트의 유사성을 측정하는 것을 특징으로 하는 메타데이터를 이용한 폰트 변형 시스템.
12. The method of claim 11,
Wherein the font similarity measurement module measures the similarity of fonts based on any one of visual similarity data, correlation data, and classification data.
제11항에 있어서,
상기 폰트 선택 모듈은,
변형되어야 할 폰트를 사용자 인터페이스 모듈을 통해 요청받거나 또는 폰트 저장부에 저장된 폰트 중에서 자동으로 선택하는 것을 특징으로 하는 메타데이터를 이용한 폰트 변형 시스템.
12. The method of claim 11,
Wherein the font selection module comprises:
Wherein the user selects a font to be transformed through a user interface module or automatically selects a font stored in the font storage unit.
제11항에 있어서,
상기 폰트 변형모듈은,
대상 폰트의 메타데이터를 기준으로 원본 폰트의 아웃라인을 변형하는 것을 특징으로 하는 메타데이터를 이용한 폰트 변형 시스템.
12. The method of claim 11,
Said font modification module comprising:
And transforming the outline of the original font based on the meta data of the target font.
KR1020150181997A 2015-12-18 2015-12-18 Font transforming method using meta data and system thereof KR101719336B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020150181997A KR101719336B1 (en) 2015-12-18 2015-12-18 Font transforming method using meta data and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020150181997A KR101719336B1 (en) 2015-12-18 2015-12-18 Font transforming method using meta data and system thereof

Publications (1)

Publication Number Publication Date
KR101719336B1 true KR101719336B1 (en) 2017-04-04

Family

ID=58588651

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020150181997A KR101719336B1 (en) 2015-12-18 2015-12-18 Font transforming method using meta data and system thereof

Country Status (1)

Country Link
KR (1) KR101719336B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220005780A (en) 2020-07-07 2022-01-14 주식회사 윤디자인그룹 method and device for providing variable fonts

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970071229A (en) 1996-04-02 1997-11-07 최형인 Modification and Rasterization of Fonts and Font Fonts Using Medial Axis Transform
KR20070037769A (en) 2005-10-04 2007-04-09 엘지전자 주식회사 Method for transforming shape of vector based text
KR101334589B1 (en) * 2013-06-03 2013-11-29 주식회사 인프라웨어 Font processing method for maintaining document layout, and computer-readable recording medium for the same
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
KR20150107533A (en) * 2014-03-14 2015-09-23 주식회사 인프라웨어 Method and apparatus for outputting replacing electronic documents

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970071229A (en) 1996-04-02 1997-11-07 최형인 Modification and Rasterization of Fonts and Font Fonts Using Medial Axis Transform
KR20070037769A (en) 2005-10-04 2007-04-09 엘지전자 주식회사 Method for transforming shape of vector based text
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
KR101334589B1 (en) * 2013-06-03 2013-11-29 주식회사 인프라웨어 Font processing method for maintaining document layout, and computer-readable recording medium for the same
KR20150099936A (en) * 2014-02-24 2015-09-02 주식회사 인프라웨어 Method and apparatus for applying an alternate font for maintaining document layout
KR20150107533A (en) * 2014-03-14 2015-09-23 주식회사 인프라웨어 Method and apparatus for outputting replacing electronic documents

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220005780A (en) 2020-07-07 2022-01-14 주식회사 윤디자인그룹 method and device for providing variable fonts
KR102385374B1 (en) * 2020-07-07 2022-04-13 주식회사 윤디자인그룹 method and device for providing variable fonts

Similar Documents

Publication Publication Date Title
US5859648A (en) Method and system for providing substitute computer fonts
US5754873A (en) Method and apparatus for scaling a selected block of text to a preferred absolute text height and scaling the remainder of the text proportionately
US6678410B1 (en) Generating a glyph
US20140176564A1 (en) Chinese Character Constructing Method and Device, Character Constructing Method and Device, and Font Library Building Method
JP4873766B2 (en) Paragraph layout method using layout service library
US6741745B2 (en) Method and apparatus for formatting OCR text
US9898548B1 (en) Image conversion of text-based images
US20090110287A1 (en) Method and system for displaying image based on text in image
US11710262B2 (en) Preserving document design using font synthesis
US11587343B2 (en) Method and system for converting font of Chinese character in image, computer device and medium
US9349202B1 (en) Digital conversion of imaged content
US8452097B2 (en) Apparatus and method for extracting circumscribed rectangles of characters in transplantable electronic document
US20150215653A1 (en) Document file generating device and document file generation method
JP2019028094A (en) Character generation device, program and character output device
KR101719336B1 (en) Font transforming method using meta data and system thereof
US8824806B1 (en) Sequential digital image panning
KR101909485B1 (en) Program, information storage medium and recognition device
US10482173B2 (en) Quality distributions for automated document
US11763064B2 (en) Glyph accessibility and swash control system
US11295061B2 (en) Dynamic layout adjustment for reflowable content
US20180121393A1 (en) Text output commands sequencing for pdf documents
US8644612B2 (en) Information processing apparatus and locus data recognition method
JP7026386B2 (en) Form image processing system, form image processing method, and form image processing program
US9075776B2 (en) Document processing apparatus, document processing method, and program
JP7003457B2 (en) Document reconstructor

Legal Events

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

Payment date: 20200306

Year of fee payment: 4