WO2013160963A1 - 文字描画装置および文字描画方法 - Google Patents
文字描画装置および文字描画方法 Download PDFInfo
- Publication number
- WO2013160963A1 WO2013160963A1 PCT/JP2012/002918 JP2012002918W WO2013160963A1 WO 2013160963 A1 WO2013160963 A1 WO 2013160963A1 JP 2012002918 W JP2012002918 W JP 2012002918W WO 2013160963 A1 WO2013160963 A1 WO 2013160963A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- character
- rectangle
- outline
- width
- generated
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/22—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory
- G09G5/24—Generation of individual character patterns
- G09G5/28—Generation of individual character patterns for enhancement of character form, e.g. smoothing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/109—Font handling; Temporal or kinetic typography
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/20—Drawing from basic elements, e.g. lines or circles
- G06T11/203—Drawing of straight lines or curves
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/22—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory
- G09G5/24—Generation of individual character patterns
Definitions
- the present invention relates to a character drawing apparatus and a character drawing method for drawing a character with various weights and performing character modification.
- JP-A-8-263042 Japanese Patent Laid-Open No. 9-34435
- the present invention has been made to solve the above-described problems, and provides a character drawing apparatus and a character drawing method capable of drawing characters of different weights or drawing bold characters at high speed with a small memory capacity.
- the purpose is to do.
- the character drawing device generates a rectangle in the outline portion of the character indicated by the outline font read from the storage unit that stores the outline font that defines the outline of the character, and the width of the generated rectangle Is adjusted according to the thickness of the character, and an arithmetic processor is provided that draws the character by setting the transparency to the area inside the character and the rectangle surrounded by the adjusted rectangle.
- the character drawing device of the present invention it is possible to draw characters of different weights or bold characters at high speed with a small memory capacity.
- FIG. 1 is a block diagram showing a configuration of a character drawing apparatus according to Embodiment 1 of the present invention.
- This character drawing apparatus is configured by connecting an arithmetic processor 11 and a system memory 12 via a bus 13.
- the arithmetic processor 11 includes, for example, a CPU (Central Processing Unit), and includes an application 21 and an image memory 22.
- the application 21 is composed of a program for realizing the functions of the character drawing device.
- the image memory 22 stores character image data.
- the system memory 12 corresponds to the “storage unit” of the present invention, and holds instruction codes constituting the program of the arithmetic processor 11 and data used for various processes.
- the data held in the system memory 12 includes an outline font that defines the outline of the character.
- the outline font is not limited to the system memory 12 and can be configured to be stored in a storage unit inside the arithmetic processor 11.
- Embodiment 1 An operating system (OS) or the like is mounted on the arithmetic processor 11, and a plurality of applications 21 or a plurality of tasks are operated on the OS, and one of them realizes a function as a character drawing device. The process for doing is performed.
- OS operating system
- a plurality of applications 21 or a plurality of tasks are operated on the OS, and one of them realizes a function as a character drawing device. The process for doing is performed.
- FIG. 2 is a flowchart showing a drawing process performed in the character drawing apparatus. The drawing process described below is executed by the application 21 included in the arithmetic processor 11.
- font data is read (step ST21). That is, the arithmetic processor 11 reads font data that is character outline information from the outline font stored in the system memory 12.
- the path data is extracted (step ST22). That is, the arithmetic processor 11 extracts path data defining the outline of the character from the font data read out in step ST21.
- the character path data included in the font data is defined by a straight line and / or a parametric curve as shown in FIG.
- a parametric curve a quadratic Bezier curve or a cubic Bezier curve is used.
- step ST23 linearization of the path data is performed (step ST23). That is, the arithmetic processor 11 performs linearization that decomposes all path data composed of straight lines or curves into straight lines.
- the parametric curve is divided into straight lines. For example, the outline portion of the letter “D” is defined by a straight line and a parametric curve as shown in FIG.
- step ST24 rectangle generation corresponding to straight line data is performed (step ST24). That is, the arithmetic processor 11 generates a wide rectangle from the path data linearized in step ST23. Specifically, as indicated by a broken line in FIG. 3B, a portion obtained by linearly dividing the contour is defined as a rectangle.
- step ST25 the width of the rectangle is set (step ST25). That is, the arithmetic processor 11 determines the width of the rectangle generated in step ST24.
- the transmittance of the rectangular portion is set in the image memory (step ST26). That is, the arithmetic processor 11 writes the transmittance of characters in the rectangular portion in the image memory 22 as rectangular image data.
- the transmittance to be written here can be a value that takes into account the anti-aliasing effect of the outline portion of the character.
- Anti-aliasing is a technique for removing jaggedness when a straight line is drawn.
- FIG. 4A shows a straight line where an alias exists
- FIG. 4B shows a straight line subjected to anti-aliasing. .
- a rectangle formed in the contour portion is set as a range to be subjected to anti-aliasing processing, and a transmittance in a range of 0x00 to 0xFF, for example, is set in order to mix a light color inside the rectangle.
- the transmittance of the rectangular portion subjected to the anti-aliasing process can be set by writing the portion where the character color is clearly displayed as 0xFF and the portion where the character color is not output as 0x00.
- an existing super-sampling method or a method according to the distance between the contour and the pixel can be used.
- step ST27 it is checked whether or not all paths have been completed. That is, it is determined whether or not the processing for all the paths of the font data read in step ST21 has been completed. If it is determined in step ST27 that all paths have not been completed, the sequence returns to step ST22, and the above-described processing is repeated to execute processing for the remaining buses.
- step ST28 the internal transmittance width of the character is set (step ST28). That is, as shown in FIG. 5, the arithmetic processor 11 writes the transmittance to the inside of the character of the image data in which the transmittance is written in the rectangular portion formed in the contour portion in step ST26.
- step ST29 the overall color of the character is set (step ST29). That is, the arithmetic processor 11 colors the image data in which the transmittance is written, and generates colored characters. Specifically, the arithmetic processor 11 sets the color of the character based on the character transmittance information completed through the processing up to step ST28, and creates a final character. Thereafter, the drawing process ends.
- a thick character can be created by adjusting the width of the rectangle in step ST25 described above. As shown in FIG. 6, it is possible to generate a character having a large weight by increasing the width of the rectangle. Thus, by making it possible to change the width of the rectangle, the conventional character drawing logic can be used as it is. This eliminates the need for processing time for newly creating font data for each weight, and increases the time required for dot generation to increase the thickness. However, a significant increase in basic processing can be avoided.
- the inner width and the outer width can be set independently in the setting of the rectangular width in step ST25.
- FIG. 7A shows a normal character width, but by reducing the outer width as shown in FIG. 7B, a character with a small weight, which is a small character as a whole, can be generated.
- the basic processing of fonts does not increase, so the processing time does not change significantly.
- a gap is formed at the joint between the thick line and the thick line. This can be solved by drawing a circle at the joint. Also, eliminate the gap by drawing a triangle that covers the corners of the two thick lines, or by drawing a quadrilateral that connects the intersection of the extended lines of the two thick lines and the ends of the thick lines. Can do.
- a smooth outline is displayed by performing anti-aliasing between the outer width and the inner width of the character as shown in FIG.
- FIG. 10B by reducing the inner width, the inner area of the character increases, so the size of the entire character does not change, but the inner non-transparent area increases, which is clear. Can be displayed.
- character drawing corresponding to a plurality of weights is realized from one font, so that the memory capacity for holding the font is reduced. be able to.
- the normal character drawing method is used instead of the method to obtain the font shape by calculation, and the drawing of characters with different weights or the drawing of bold characters is realized, so the processing time can be shortened. .
- any component of the embodiment can be modified or any component of the embodiment can be omitted within the scope of the invention.
- the character drawing device is suitable for a display device or a printing device that outputs characters using various computers.
- 11 arithmetic processor 12 system memory, 21 application, 22 image memory.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
実施の形態1.
図1は、この発明の実施の形態1に係る文字描画装置の構成を示すブロック図である。この文字描画装置は、演算プロセッサ11とシステムメモリ12とがバス13で接続されることにより構成されている。
Claims (7)
- 文字の輪郭を定義するアウトラインフォントを記憶する記憶部と、
前記記憶部から読み出したアウトラインフォントによって示される文字の輪郭部分に矩形を生成し、該生成した矩形の幅を文字の太さに応じて調整し、該調整した後の矩形によって囲まれた文字の内部の領域と矩形とに透過率を設定して文字を描画する演算プロセッサ
とを備えた文字描画装置。 - 演算プロセッサは、文字の輪郭部分に生成した矩形を、アンチエイリアス処理を施す範囲とすることを特徴とする請求項1記載の文字描画装置。
- 演算プロセッサは、文字の輪郭部分に生成した矩形を、文字の内側と外側で異なる幅とすることを特徴とする請求項1記載の文字描画装置。
- 演算プロセッサは、文字の輪郭部分に生成した矩形の内側の幅を小さくすることを特徴とする請求項2記載の文字描画装置。
- 演算プロセッサは、文字の輪郭部分に生成した矩形の外側の幅を大きくすることを特徴とする請求項2記載の文字描画装置。
- 演算プロセッサは、文字の輪郭部分に生成した矩形の幅を大きくして文字を描画した後、矩形を小さくした文字を重ねて描画することを特徴とする請求項1記載の文字描画装置。
- 文字の輪郭を定義するアウトラインフォントによって示される文字の輪郭部分に矩形を生成し、該生成した矩形の幅を文字の太さに応じて調整し、該調整した後の矩形によって囲まれた文字の内部の領域と矩形とに透過率を設定して文字を描画する文字描画方法。
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE112012006274.4T DE112012006274B4 (de) | 2012-04-27 | 2012-04-27 | Schriftzeichen-Zeichnungsvorrichtung und Schriftzeichen-Zeichnungsverfahren |
CN201280070659.3A CN104137175B (zh) | 2012-04-27 | 2012-04-27 | 字符描绘装置以及字符描绘方法 |
JP2014512030A JP5889401B2 (ja) | 2012-04-27 | 2012-04-27 | 文字描画装置および文字描画方法 |
PCT/JP2012/002918 WO2013160963A1 (ja) | 2012-04-27 | 2012-04-27 | 文字描画装置および文字描画方法 |
US14/373,682 US20140354652A1 (en) | 2012-04-27 | 2012-04-27 | Character drawing device and character drawing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2012/002918 WO2013160963A1 (ja) | 2012-04-27 | 2012-04-27 | 文字描画装置および文字描画方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2013160963A1 true WO2013160963A1 (ja) | 2013-10-31 |
Family
ID=49482339
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2012/002918 WO2013160963A1 (ja) | 2012-04-27 | 2012-04-27 | 文字描画装置および文字描画方法 |
Country Status (5)
Country | Link |
---|---|
US (1) | US20140354652A1 (ja) |
JP (1) | JP5889401B2 (ja) |
CN (1) | CN104137175B (ja) |
DE (1) | DE112012006274B4 (ja) |
WO (1) | WO2013160963A1 (ja) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015121962A1 (ja) * | 2014-02-14 | 2015-08-20 | 三菱電機株式会社 | 文字描画装置及び文字描画方法及び文字描画プログラム |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10347016B2 (en) * | 2016-01-12 | 2019-07-09 | Monotype Imaging Inc. | Converting font contour curves |
CN107506720A (zh) * | 2017-08-18 | 2017-12-22 | 广州视源电子科技股份有限公司 | 板书处理方法、装置、设备和计算机可读存储介质 |
US10936792B2 (en) | 2017-12-21 | 2021-03-02 | Monotype Imaging Inc. | Harmonizing font contours |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0968964A (ja) * | 1995-08-30 | 1997-03-11 | Dainippon Screen Mfg Co Ltd | 中抜け文字塗りつぶし方法及びその装置 |
JP2002207476A (ja) * | 2001-01-09 | 2002-07-26 | Fuji Xerox Co Ltd | 画像処理装置及びその方法 |
JP2007121874A (ja) * | 2005-10-31 | 2007-05-17 | Konami Digital Entertainment:Kk | フォント処理装置、フォント処理方法、ならびに、プログラム |
JP2007322810A (ja) * | 2006-06-01 | 2007-12-13 | Alpha Blend:Kk | フォントデータベース生成プログラム及びフォントデータ構造 |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63183490A (ja) * | 1987-01-27 | 1988-07-28 | 株式会社東芝 | 飾り袋文字生成装置 |
US5050103A (en) * | 1989-05-12 | 1991-09-17 | Adobe Systems Incorporated | Method for displaying kanji characters |
US5959634A (en) | 1993-12-09 | 1999-09-28 | Canon Kabushiki Kaisha | Character generating system employing thickening or narrowing of characters |
US5600772A (en) * | 1994-08-17 | 1997-02-04 | Printronix, Inc. | Bit map character convertor using chain-codes for the character filling process |
JP3376152B2 (ja) | 1995-03-24 | 2003-02-10 | キヤノン株式会社 | 文字発生装置および方法 |
JPH0934435A (ja) | 1995-07-19 | 1997-02-07 | Fuji Xerox Co Ltd | 文字出力装置 |
JP3437037B2 (ja) | 1996-08-23 | 2003-08-18 | シャープ株式会社 | 文字パターン生成装置 |
JP3603593B2 (ja) | 1998-04-03 | 2004-12-22 | 富士ゼロックス株式会社 | 画像処理方法および装置 |
JP4079268B2 (ja) * | 2003-07-03 | 2008-04-23 | シャープ株式会社 | 文字表示装置、文字表示方法、文字表示プログラムおよび可読記録媒体 |
JP4367511B2 (ja) * | 2007-03-26 | 2009-11-18 | セイコーエプソン株式会社 | 文字描画装置、表示装置及び印刷装置 |
JP4361118B2 (ja) | 2008-02-28 | 2009-11-11 | シャープ株式会社 | 情報処理装置、情報処理方法、およびプログラム |
-
2012
- 2012-04-27 US US14/373,682 patent/US20140354652A1/en not_active Abandoned
- 2012-04-27 CN CN201280070659.3A patent/CN104137175B/zh not_active Expired - Fee Related
- 2012-04-27 WO PCT/JP2012/002918 patent/WO2013160963A1/ja active Application Filing
- 2012-04-27 JP JP2014512030A patent/JP5889401B2/ja not_active Expired - Fee Related
- 2012-04-27 DE DE112012006274.4T patent/DE112012006274B4/de active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0968964A (ja) * | 1995-08-30 | 1997-03-11 | Dainippon Screen Mfg Co Ltd | 中抜け文字塗りつぶし方法及びその装置 |
JP2002207476A (ja) * | 2001-01-09 | 2002-07-26 | Fuji Xerox Co Ltd | 画像処理装置及びその方法 |
JP2007121874A (ja) * | 2005-10-31 | 2007-05-17 | Konami Digital Entertainment:Kk | フォント処理装置、フォント処理方法、ならびに、プログラム |
JP2007322810A (ja) * | 2006-06-01 | 2007-12-13 | Alpha Blend:Kk | フォントデータベース生成プログラム及びフォントデータ構造 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015121962A1 (ja) * | 2014-02-14 | 2015-08-20 | 三菱電機株式会社 | 文字描画装置及び文字描画方法及び文字描画プログラム |
Also Published As
Publication number | Publication date |
---|---|
JPWO2013160963A1 (ja) | 2015-12-21 |
CN104137175B (zh) | 2016-04-20 |
JP5889401B2 (ja) | 2016-03-22 |
CN104137175A (zh) | 2014-11-05 |
US20140354652A1 (en) | 2014-12-04 |
DE112012006274B4 (de) | 2018-08-23 |
DE112012006274T5 (de) | 2015-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100834596B1 (ko) | 묘화장치와 묘화방법 및 묘화 프로그램을 구비한 컴퓨터 독출가능 기록매체 | |
US7821514B2 (en) | Image processing apparatus, image processing method, and image processing program | |
US8625932B2 (en) | Seam carving using seam energy re-computation in seam neighborhood | |
JP5889401B2 (ja) | 文字描画装置および文字描画方法 | |
JP2009301284A (ja) | 描画装置および方法 | |
JP5215459B2 (ja) | ハードウェア方式のベクターグラフィックアクセラレータ | |
JP5172640B2 (ja) | ベクトル図形描画装置 | |
JP2015064858A (ja) | 画像処理装置およびその方法 | |
JP4143613B2 (ja) | 描画方法、描画装置 | |
JP2008009897A (ja) | ベクトル図形描画装置及びそのプログラム | |
JP2012098951A (ja) | 図形描画処理装置、図形描画処理方法、及びコンピュータプログラム | |
JP2003162728A (ja) | 画像処理装置及び画像出力装置 | |
WO2015173885A1 (ja) | 描画装置及び描画方法及び描画プログラム | |
JP2011165062A (ja) | 描画処理装置、描画処理方法、及びプログラム | |
JP2018019212A (ja) | 情報処理装置及び描画処理方法、コンピュータプログラム | |
JP5492911B2 (ja) | 文字作成方法、および文字作成装置 | |
US20070229509A1 (en) | Graphic system, broken line texture image generation apparatus, and broken line texture image generation method | |
WO2015121962A1 (ja) | 文字描画装置及び文字描画方法及び文字描画プログラム | |
JP2012133765A (ja) | 画像処理装置、および画像処理方法 | |
JP2012128580A (ja) | 情報処理装置、情報処理方法及びプログラム | |
JPH1145343A (ja) | 多角形図形描画装置 | |
JP2000194353A (ja) | 太線描画方法、装置および記録媒体 | |
JPH07137340A (ja) | 高品質文字パターンの発生方法及び高品質文字の出力装置 | |
JPS60169978A (ja) | 色塗回路 | |
WO2009107168A1 (ja) | 文字描画装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 201280070659.3 Country of ref document: CN |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12875363 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2014512030 Country of ref document: JP Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 1120120062744 Country of ref document: DE Ref document number: 112012006274 Country of ref document: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 12875363 Country of ref document: EP Kind code of ref document: A1 |