JP2010039375A - Character drawing device, character drawing method, character drawing program, and computer-readable recording medium - Google Patents

Character drawing device, character drawing method, character drawing program, and computer-readable recording medium Download PDF

Info

Publication number
JP2010039375A
JP2010039375A JP2008204490A JP2008204490A JP2010039375A JP 2010039375 A JP2010039375 A JP 2010039375A JP 2008204490 A JP2008204490 A JP 2008204490A JP 2008204490 A JP2008204490 A JP 2008204490A JP 2010039375 A JP2010039375 A JP 2010039375A
Authority
JP
Japan
Prior art keywords
character
rectangular area
size
shape data
line width
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP2008204490A
Other languages
Japanese (ja)
Inventor
Takayuki Nagamatsu
孝之 永松
Akio Kotani
章夫 小谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2008204490A priority Critical patent/JP2010039375A/en
Publication of JP2010039375A publication Critical patent/JP2010039375A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a character drawing device able to easily enlarge or reduce a character, while maintaining the symmetry of the character. <P>SOLUTION: The character drawing device 220 includes: a first storage means 212-1 for storing each of shape data representing character shapes, such that each corresponds to a character code specifying the character; a reception means 110 for receiving a character code 10, the size 11A of a first rectangular area assigned to the character, and a line width 12 of the character; an acquiring means 104 for acquiring the size 11B of a second rectangular area where the character is displayed, based on the size of the first rectangular area and the line width of the character; an enlarging/reducing means 106 for reading the shape data from the first storage means, based on the character code and then enlarging/reducing the shape data so that the corresponding character falls within the second rectangular area; and an output means 107 for outputting the enlarged or reduced shape data. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、マトリクス状に配列された複数の画素からなる表示デバイスに文字を表示させる文字描画装置、文字描画方法、文字描画プログラム、およびコンピュータ読取可能な媒体に関し、特に、文字の対称性を保持しながら文字を表示デバイスに表示させる文字描画装置、文字描画方法、文字描画プログラム、およびコンピュータ読取可能な媒体に関する。   The present invention relates to a character drawing apparatus, a character drawing method, a character drawing program, and a computer-readable medium for displaying characters on a display device composed of a plurality of pixels arranged in a matrix, and in particular, maintains character symmetry. The present invention relates to a character drawing apparatus, a character drawing method, a character drawing program, and a computer-readable medium for displaying characters on a display device.

近年、テレビジョン放送のデジタル化に伴い、ユーザが電子番組表(EPG:Electronic Program Guide)などのテキストデータを利用する頻度が高くなっている。そのため、文字描画装置には、見やすく読み易いテキストデータを描画することが望まれる。   In recent years, with the digitization of television broadcasting, the frequency with which users use text data such as an electronic program guide (EPG) has increased. Therefore, it is desirable for the character drawing device to draw text data that is easy to see and read.

ここで、見やすく読み易いテキストデータを描画する際に着目する点の一つとして、対称性の保持という観点がある。対称性のある文字の対称性が崩れた場合、ユーザには違和感が生じ、非常に読みにくい文字になってしまう。例えば、「山」という文字のように、文字を構成する少なくとも1つストロークに対して左右対称な文字の場合、対称軸となる「山」の真ん中のストロークは当該文字の中央に位置する必要がある。しかしながら、「山」の真ん中のストロークが文字の中心に位置しない場合、すなわち「山」の両端のストロークのうちの一方のストロークが中央側に移動する場合、もしくは外側に移動するような場合、「山」という文字の左右対称性が崩れてしまい、ユーザには違和感が生じ、非常に読みにくい文字になってしまう。   Here, as one of the points to be noted when drawing text data that is easy to read and easy to read, there is a viewpoint of maintaining symmetry. When the symmetry of a symmetrical character is broken, the user feels uncomfortable and the character becomes very difficult to read. For example, in the case of a character that is symmetrical with respect to at least one stroke that constitutes the character, such as the character “mountain”, the middle stroke of the “mountain” that is the axis of symmetry needs to be located at the center of the character. is there. However, when the stroke in the middle of the “mountain” is not located at the center of the character, that is, when one of the strokes at both ends of the “mountain” moves to the center side, or moves outward, “ The left-right symmetry of the character “mountain” is lost, and the user feels uncomfortable, making the character very difficult to read.

そこで、特開平6−274151号公報(特許文献1)には、アウトラインフォントの対称性を保持しながら変倍して文字を描画するヒンティング処理方法が開示されている。特開平6−274151号公報(特許文献1)によると、ヒンティング処理方法においては、制御点情報入力部からアウトラインデータに対して、制御点を与える。展開部は、制御点をピクセル中心またはピクセル境界に移動する。この移動量に合わせてアウトラインフォントの輪郭点を移動することにより、対称性の保持されたビットマップデータを生成する。
特開平6−274151号公報
In view of this, Japanese Patent Laid-Open No. 6-274151 (Patent Document 1) discloses a hinting processing method that draws characters by scaling while maintaining the symmetry of the outline font. According to Japanese Patent Laid-Open No. 6-274151 (Patent Document 1), in the hinting processing method, a control point is given to outline data from a control point information input unit. The development unit moves the control point to the pixel center or the pixel boundary. By moving the outline point of the outline font in accordance with the amount of movement, bitmap data that maintains symmetry is generated.
JP-A-6-274151

特開平6−274151号公報(特許文献1)に示されるように、従来は、アウトラインデータに対してある制御点を与え、当該アウトラインデータを変倍した後に当該制御点をピクセル中心またはピクセル境界に移動し、この移動量に合わせてアウトラインフォントを構成する全ての輪郭点を移動させることにより、対称性の保持された文字を描画していた。なお、ピクセルは、格子点を左下隅とする単位正方形であるものとし、ピクセルの中心座標は(m+0.5,n+0.5)と表される。そして、m,nは整数である。   As disclosed in Japanese Patent Laid-Open No. 6-274151 (Patent Document 1), conventionally, a certain control point is given to outline data, and after scaling the outline data, the control point is set to the pixel center or pixel boundary. By moving and moving all outline points constituting the outline font in accordance with the amount of movement, a character having symmetry is drawn. The pixel is assumed to be a unit square having a lattice point at the lower left corner, and the center coordinates of the pixel are represented as (m + 0.5, n + 0.5). M and n are integers.

しかしながら、従来技術においては、アウトラインデータを変倍した後、変倍後の制御点の移動量に応じて、全ての輪郭線の構成する輪郭点を移動させる必要があり、対称文字の描画が完了するまでに多くのステップを要してしまう。   However, in the prior art, after scaling the outline data, it is necessary to move the contour points that make up all the contour lines according to the amount of movement of the control points after scaling, and the drawing of symmetrical characters is complete It takes many steps to do.

本発明は上記問題点に鑑みてなされたものであり、本発明の主たる目的は、対称性のある文字を描画する際に、当該文字の対称性を保持しつつ当該文字を容易に拡大または縮小することができる文字描画装置、文字描画方法、文字描画プログラム、およびコンピュータ読取可能な記録媒体を提供することを目的とする。   The present invention has been made in view of the above problems, and a main object of the present invention is to easily enlarge or reduce the character while drawing the character having symmetry, while maintaining the symmetry of the character. An object is to provide a character drawing device, a character drawing method, a character drawing program, and a computer-readable recording medium.

この発明のある局面に従えば、表示デバイスに文字を表示させる文字描画装置が提供される。文字描画装置は、文字の形状を表す形状データの各々を文字を特定する文字コードに対応付けて記憶する第1の記憶手段と、文字コードと、文字に割り当てられた第1の矩形領域の大きさと、文字の線幅とを受け付ける受付手段と、第1の矩形領域の大きさと文字の線幅とに基づいて、文字が表示される第2の矩形領域の大きさを取得する取得手段と、文字コードに基づいて第1の記憶手段から形状データを読み出して、対応する文字が第2の矩形領域に収まるように形状データに対して拡縮処理を行う拡縮手段と、拡縮処理された形状データを出力する出力手段とを備える。   According to an aspect of the present invention, a character drawing apparatus that displays characters on a display device is provided. The character drawing device includes: first storage means for storing each piece of shape data representing the shape of a character in association with a character code for specifying the character; a character code; and a size of the first rectangular area assigned to the character. Receiving means for receiving the character line width; and acquiring means for acquiring the size of the second rectangular area in which the character is displayed based on the size of the first rectangular area and the line width of the character; Based on the character code, the shape data is read from the first storage means, the enlargement / reduction means for performing the enlargement / reduction process on the shape data so that the corresponding character fits in the second rectangular area, and the enlarged / reduced shape data Output means for outputting.

好ましくは、第1の矩形領域はボディ領域である。第1の矩形領域の大きさはボディサイズである。第2の矩形領域はレター領域である。第2の矩形領域の大きさはレターサイズである。   Preferably, the first rectangular area is a body area. The size of the first rectangular area is the body size. The second rectangular area is a letter area. The size of the second rectangular area is a letter size.

好ましくは、文字描画装置は、形状データに基づいて、対応する文字を構成する部位のうち、対称性を持つ対称部位を抽出する抽出手段をさらに備える。取得手段は、第2の矩形領域の大きさとして、対称部位が表示される第2の矩形領域の、対称軸に直角な方向の長さを取得する。   Preferably, the character drawing device further includes an extracting unit that extracts a symmetrical part having symmetry among the parts constituting the corresponding character based on the shape data. The obtaining unit obtains the length of the second rectangular area in which the symmetric part is displayed as the size of the second rectangular area in a direction perpendicular to the symmetry axis.

好ましくは、表示デバイスは、マトリクス状に配列された複数の画素から構成される。取得手段は、第1の矩形領域の一辺の画素数を取得し、線幅を示す画素数が奇数である場合に、第2の矩形領域の大きさとして、一辺の画素の数よりも少ない奇数の画素数を取得し、線幅を示す画素数が偶数である場合に、第2の矩形領域の大きさとして、一辺の画素の数よりも少ない偶数の画素数を取得する。   Preferably, the display device includes a plurality of pixels arranged in a matrix. The acquisition unit acquires the number of pixels on one side of the first rectangular area, and when the number of pixels indicating the line width is an odd number, the size of the second rectangular area is an odd number smaller than the number of pixels on one side. When the number of pixels indicating the line width is an even number, an even number of pixels smaller than the number of pixels on one side is obtained as the size of the second rectangular area.

好ましくは、文字描画装置は、第2の矩形領域の大きさを、第1の矩形領域の大きさと線幅とに対応付けて記憶する第2の記憶手段をさらに備える。取得手段は、第1の矩形領域の大きさと線幅とに基づいて、第2の記憶手段から対応する第2の矩形領域の大きさを読み出す。   Preferably, the character drawing device further includes second storage means for storing the size of the second rectangular area in association with the size of the first rectangular area and the line width. The acquisition unit reads the size of the corresponding second rectangular area from the second storage unit based on the size and line width of the first rectangular area.

この発明の別の局面に従うと、文字描画装置に、表示デバイスに文字を表示させるための文字描画方法が提供される。文字描画装置は、文字描画装置を制御する演算処理部と、文字の形状を表す形状データの各々を文字を特定する文字コードに対応付けて記憶する第1の記憶手段とを備える。文字描画方法は、演算処理部が、文字コードと、文字に割り当てられた第1の矩形領域の大きさと、文字の線幅とを受け付けるステップと、演算処理部が、第1の矩形領域の大きさと文字の線幅とに基づいて、文字が表示される第2の矩形領域の大きさを取得するステップと、演算処理部が、文字コードに基づいて第1の記憶手段から形状データを読み出して、対応する文字が第2の矩形領域に収まるように形状データに対して拡縮処理を行うステップと、演算処理部が、拡縮処理された形状データを出力するステップとを備える。   When another situation of this invention is followed, the character drawing method for making a character drawing apparatus display a character on a display device is provided. The character drawing device includes an arithmetic processing unit that controls the character drawing device, and first storage means that stores each piece of shape data representing the shape of the character in association with a character code that specifies the character. In the character drawing method, the arithmetic processing unit receives a character code, the size of the first rectangular area assigned to the character, and the line width of the character, and the arithmetic processing unit determines the size of the first rectangular area. And the step of acquiring the size of the second rectangular area where the character is displayed based on the character line width and the arithmetic processing unit reads the shape data from the first storage means based on the character code , A step of performing enlargement / reduction processing on the shape data so that the corresponding character fits in the second rectangular area, and a step of outputting the shape data subjected to the enlargement / reduction processing by the arithmetic processing unit.

この発明の別の局面に従うと、文字描画装置に、表示デバイスに文字を表示させるための文字描画プログラムが提供される。文字描画装置は、文字描画装置を制御する演算処理部と、文字の形状を表す形状データの各々を文字を特定する文字コードに対応付けて記憶する第1の記憶手段とを備える。文字描画プログラムは、文字コードと、文字に割り当てられた第1の矩形領域の大きさと、文字の線幅とを受け付けるステップと、第1の矩形領域の大きさと文字の線幅とに基づいて、文字が表示される第2の矩形領域の大きさを取得するステップと、文字コードに基づいて第1の記憶手段から形状データを読み出して、対応する文字が第2の矩形領域に収まるように形状データに対して拡縮処理を行うステップと、演算処理部が、拡縮処理された形状データを出力するステップとを演算処理部に実行させる。   When another situation of this invention is followed, the character drawing program for making a character drawing apparatus display a character on a display device is provided. The character drawing device includes an arithmetic processing unit that controls the character drawing device, and first storage means that stores each piece of shape data representing the shape of the character in association with a character code that specifies the character. The character drawing program receives the character code, the size of the first rectangular area assigned to the character, the line width of the character, and the size of the first rectangular area and the line width of the character. A step of obtaining the size of the second rectangular area where the character is displayed, and a shape data is read from the first storage means based on the character code so that the corresponding character fits in the second rectangular area. The arithmetic processing unit causes the arithmetic processing unit to execute a step of performing enlargement / reduction processing on the data and a step of outputting the shape data subjected to the scaling processing.

この発明の別の局面に従うと、上記の文字描画プログラムを記録したコンピュータ読取可能な記録媒体が提供される。   When another situation of this invention is followed, the computer-readable recording medium which recorded said character drawing program is provided.

以上のように、この発明によれば、対称性のある文字を描画する際に、当該文字の対称性を保持しつつ当該文字を容易に拡大または縮小することができる文字描画装置、文字描画方法、文字描画プログラム、およびコンピュータ読取可能な記録媒体が提供される。   As described above, according to the present invention, when drawing a symmetrical character, the character drawing device and the character drawing method that can easily enlarge or reduce the character while maintaining the symmetry of the character. , A character drawing program, and a computer-readable recording medium are provided.

以下、図面に基づいて本発明の実施の形態について説明する。なお以下の説明では、同一の部品については同一の符号を付すものとし、その部品の名称や機能が同一である場合には、その部品についての詳細な説明は繰り返さない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description, the same parts are denoted by the same reference numerals, and when the names and functions of the parts are the same, detailed description of the parts will not be repeated.

(コンピュータシステム200の全体構成)
まず、文字描画システムの一例として、本実施の形態に係るコンピュータシステム200の全体構成について説明する。図1は、本実施の形態に係るコンピュータシステム200を示す概略図である。本実施の形態に係る文字描画システム(コンピュータシステム200)や文字描画装置(コンピュータ220)は、実質的には、コンピュータハードウェアと、そのコンピュータハードウェアにより実行されるプログラムと、コンピュータハードウェアに格納されるデータとにより実現される。
(Overall configuration of computer system 200)
First, an overall configuration of a computer system 200 according to the present embodiment will be described as an example of a character drawing system. FIG. 1 is a schematic diagram showing a computer system 200 according to the present embodiment. The character drawing system (computer system 200) and the character drawing device (computer 220) according to the present embodiment are substantially stored in computer hardware, a program executed by the computer hardware, and computer hardware. This is realized by the data to be processed.

このコンピュータシステム200は、光ディスクドライブ201および磁気ディスクドライブ202を有するコンピュータ220と、モニタ203と、リモートコントローラ(以下、「リモコン」と呼ぶ)204とを含む。すなわち、本実施の形態においては、文字描画装置の一例として、コンピュータ220を用いて説明する。   The computer system 200 includes a computer 220 having an optical disk drive 201 and a magnetic disk drive 202, a monitor 203, and a remote controller (hereinafter referred to as “remote controller”) 204. That is, in this embodiment, a computer 220 will be described as an example of a character drawing device.

コンピュータ220は、光ディスクドライブ201および磁気ディスクドライブ202に加えて、コンピュータ220の各部を制御するCPU(Central Processing Unit;中央処理装置)100と、リモコン204からの信号を受信するリモコンインターフェイス(I/F)205と、ブートアッププログラム等を記憶するROM(Read-Only Memory;読出専用メモリ)208と、プログラム命令やシステムプログラムや作業データなどを一時的に記憶するRAM(Random Access Memory)209と、制御プログラムや各種データベースを不揮発に記憶するハードディスク212と、モニタ203に形状データや画像データなどを送信するモニタインターフェイス213と、それらを相互に接続するバス207とを含む。   In addition to the optical disk drive 201 and the magnetic disk drive 202, the computer 220 has a CPU (Central Processing Unit) 100 that controls each part of the computer 220 and a remote control interface (I / F) that receives signals from the remote control 204. ) 205, a ROM (Read-Only Memory) 208 that stores a boot-up program, a RAM (Random Access Memory) 209 that temporarily stores program instructions, system programs, work data, and the like, and a control A hard disk 212 that stores programs and various databases in a nonvolatile manner, a monitor interface 213 that transmits shape data, image data, and the like to the monitor 203, and a bus 207 that connects them to each other are included.

なお、コンピュータ220は、さらにLAN(Local Area Network)への接続を提供するネットワークアダプタボード(通信インターフェイス216)を含んでいてもよい。   The computer 220 may further include a network adapter board (communication interface 216) that provides connection to a LAN (Local Area Network).

コンピュータシステム200に文字描画システムの機能を実現させるためのプログラム、文字コード10(図2参照)、第1および第2の矩形領域サイズ11A,11B、線幅12、形状データ13などは、光ディスクドライブ201に挿入される光ディスク210、磁気ディスクドライブ202に挿入される磁気ディスク211に記憶されて流通され、ハードディスク212へと転送される。あるいは、プログラム、文字コード10(図2参照)、第1および第2の矩形領域サイズ11A,11B、線幅12、形状データ13は、図示しないネットワークから通信インターフェイス216を介してコンピュータ220に送信され、ハードディスク212に記憶される。   A program for causing the computer system 200 to realize the function of the character drawing system, the character code 10 (see FIG. 2), the first and second rectangular area sizes 11A and 11B, the line width 12, the shape data 13, and the like are stored in the optical disk drive. The optical disk 210 inserted into the disk 201 and the magnetic disk 211 inserted into the magnetic disk drive 202 are stored and distributed and transferred to the hard disk 212. Alternatively, the program, the character code 10 (see FIG. 2), the first and second rectangular area sizes 11A and 11B, the line width 12, and the shape data 13 are transmitted from the network (not shown) to the computer 220 via the communication interface 216. And stored in the hard disk 212.

CPU100は、ハードディスク212からプログラムを読み出すことによって、当該プログラムをRAM209にロードする。あるいは、CPU100は、光ディスク210から光ディスクドライブ201を介して、磁気ディスク211から磁気ディスクドライブ202を介して、ネットワークから通信インターフェイス216を介してプログラムを取得し、当該プログラムをRAM209にロードしてもよい。   The CPU 100 loads the program onto the RAM 209 by reading the program from the hard disk 212. Alternatively, the CPU 100 may acquire a program from the optical disk 210 through the optical disk drive 201, from the magnetic disk 211 through the magnetic disk drive 202, and from the network through the communication interface 216, and load the program into the RAM 209. .

このプログラムは、コンピュータ220に文字描画装置としての機能を実現させる複数の命令を含む。これら機能を実現するために必要な基本的機能のいくつかはコンピュータ220上で動作するオペレーティングシステム(OS)又はサードパーティのプログラム、若しくはコンピュータ220にインストールされる各種ツールキットのモジュールにより提供される。したがって、このプログラムは、本実施の形態に係るコンピュータ220の機能を実現するのに必要な機能全てを必ずしも含まなくてよい。   This program includes a plurality of instructions for causing the computer 220 to realize a function as a character drawing device. Some of the basic functions necessary to realize these functions are provided by an operating system (OS) or a third-party program running on the computer 220 or various toolkit modules installed in the computer 220. Therefore, this program does not necessarily include all functions necessary to realize the functions of the computer 220 according to the present embodiment.

また、このプログラムは、命令のうち、所望の結果が得られるように制御されたやり方で適切な機能又は「ツール」を呼出すことにより、上記したコンピュータ220の制御を実行する命令のみを含んでいればよい。コンピュータシステム200の動作は周知であるので、ここでは繰り返さない。   In addition, the program may include only instructions that execute control of the computer 220 described above by calling an appropriate function or “tool” in a controlled manner so as to obtain a desired result. That's fine. The operation of computer system 200 is well known and will not be repeated here.

なお、文字描画装置としての機能を実現するためのプログラム、文字コード10(図2参照)、第1の矩形領域サイズ11A、線幅12、形状データ13などが記録される記録媒体は、CD−ROM(Compact Disc Read-Only Memory)、MO(Magneto-Optical disc)、MD(Mini Disc)、及びDVD(Digital Versatile Disc)等の光ディスク210、FD(フレキシブルディスク)、ハードディスク等の磁気ディスクに限らない。磁気テープおよびカセットテープ等のテープ、IC(Integrated Circuit)カードおよび光カード等のカード型記録媒体、マスクROM、EPROM(Erasable Programmable ROM)、EEPROM(Electrically Erasable and Programmable ROM)、及びフラッシュROM等の半導体メモリのいずれかでもよい。ただし、コンピュータシステム200は、これらの記録媒体からの読出を行うための読出装置を実装する必要がある。   A recording medium on which a program for realizing a function as a character drawing apparatus, a character code 10 (see FIG. 2), a first rectangular area size 11A, a line width 12, shape data 13 and the like are recorded is a CD- Optical discs 210 such as ROM (Compact Disc Read-Only Memory), MO (Magneto-Optical disc), MD (Mini Disc), DVD (Digital Versatile Disc), etc., and not limited to magnetic discs such as FD (flexible disc) and hard disk . Tapes such as magnetic tape and cassette tape, card-type recording media such as IC (Integrated Circuit) cards and optical cards, semiconductors such as mask ROM, EPROM (Erasable Programmable ROM), EEPROM (Electrically Erasable and Programmable ROM), and flash ROM It can be either memory. However, the computer system 200 needs to be equipped with a reading device for reading from these recording media.

<機能構成>
次に、本実施の形態に係るコンピュータ(文字描画装置)220が有する機能構成について説明する。図2は、本実施の形態に係るコンピュータ(文字描画装置)220の機能構成を示す機能ブロック図である。
<Functional configuration>
Next, a functional configuration of the computer (character drawing device) 220 according to the present embodiment will be described. FIG. 2 is a functional block diagram showing a functional configuration of the computer (character drawing device) 220 according to the present embodiment.

前述したように、図2に示される各部は、CPU100がハードディスク212に記憶されるプログラムを実行することによって実現される機能である。ただし、図2に示される1または複数の機能ブロックが、専用のハードウェア回路によって実現される構成であってもよい。   As described above, each unit illustrated in FIG. 2 is a function realized by the CPU 100 executing a program stored in the hard disk 212. However, one or a plurality of functional blocks shown in FIG. 2 may be realized by a dedicated hardware circuit.

図2に示すように、本実施の形態に係るコンピュータ220は、文字コード受付部101、サイズ受付部102、線幅受付部103、取得部104、拡縮部106、出力部107、および形状データ記憶部212−1を備えている。なお、文字コード受付部101、サイズ受付部102、線幅受付部103は、外部からデータを受け付ける受付部110に含まれる。   As shown in FIG. 2, the computer 220 according to the present embodiment includes a character code receiving unit 101, a size receiving unit 102, a line width receiving unit 103, an acquisition unit 104, an enlargement / reduction unit 106, an output unit 107, and a shape data storage. The unit 212-1 is provided. The character code receiving unit 101, the size receiving unit 102, and the line width receiving unit 103 are included in the receiving unit 110 that receives data from the outside.

まずは、コンピュータ220の各機能ブロックに入出力されるデータについて説明する。文字コード10は、描画する文字を識別するために一意に振られた番号である。   First, data input to and output from each functional block of the computer 220 will be described. The character code 10 is a number uniquely assigned to identify a character to be drawn.

第1の矩形領域サイズ11Aは、文字コード10で示された文字を描画する際における、当該文字に割り当てられた領域の大きさを表す。本実施の形態においては、第1の矩形領域を文字のボディ枠とし、第1の矩形領域サイズ11Aを文字のボディサイズとする。たとえば、文字のボディ枠が左右方向および上下方向に20ドット(画素)を有する場合、第1の矩形領域サイズ11Aには第1の矩形領域の大きさとして20ドットがセットされる。   The first rectangular area size 11A represents the size of the area assigned to the character when the character indicated by the character code 10 is drawn. In the present embodiment, the first rectangular area is a character body frame, and the first rectangular area size 11A is a character body size. For example, when the body frame of a character has 20 dots (pixels) in the horizontal direction and the vertical direction, 20 dots are set as the size of the first rectangular area in the first rectangular area size 11A.

また、第2の矩形領域サイズ11Bは、文字コード10で示された文字を描画する際における、当該文字が実際に描画される領域の大きさを表す。本実施の形態においては、第2の矩形領域を文字のレター枠とし、第2の矩形領域サイズ11Bを文字のレターサイズとする。たとえば、文字のレター枠が左右方向および上下方向に19ドットを有する場合、第2の矩形領域サイズ11Bには第2の矩形領域の大きさとして19ドットがセットされる。   The second rectangular area size 11B represents the size of the area where the character is actually drawn when the character indicated by the character code 10 is drawn. In the present embodiment, the second rectangular area is a character letter frame, and the second rectangular area size 11B is a character letter size. For example, when the letter frame of a character has 19 dots in the horizontal direction and the vertical direction, 19 dots are set as the size of the second rectangular area in the second rectangular area size 11B.

すなわち、第2の矩形領域は第1の矩形領域よりも小さい画素領域であって、第2の矩形領域サイズ11Bは、第1の矩形領域サイズ11Aよりも小さい。   That is, the second rectangular area is a pixel area smaller than the first rectangular area, and the second rectangular area size 11B is smaller than the first rectangular area size 11A.

なお、第1および第2の矩形領域の形状は必ずしも正方形であるとは限らず、長方形であっても構わない。第1および第2の矩形領域が長方形である場合、矩形領域サイズ11として、例えば左右方向(水平方向あるいは横方向)の大きさ(ドット数)と上下方向(垂直方向あるいは縦方向)の大きさ(ドット数)で表される情報がセットされる。   Note that the shapes of the first and second rectangular regions are not necessarily square but may be rectangular. When the first and second rectangular areas are rectangular, the rectangular area size 11 is, for example, the size (number of dots) in the left-right direction (horizontal direction or horizontal direction) and the size in the vertical direction (vertical direction or vertical direction). Information represented by (number of dots) is set.

線幅12は、文字コード10で示された形状データ13を描画する際における、各ストロークの線幅(太さ)を指す。例えば、1ドットの線幅にて文字を描画する場合には、線幅は1ドットとなり、2ドット線幅で文字を描画する場合には線幅は2ドットとなる。   The line width 12 indicates the line width (thickness) of each stroke when the shape data 13 indicated by the character code 10 is drawn. For example, when a character is drawn with a line width of 1 dot, the line width is 1 dot, and when a character is drawn with a line width of 2 dots, the line width is 2 dots.

形状データ13は、文字を構成するデータを表す。なお、形状データ13の形式にはこだわらない。例えば、形状データ13は、アウトラインフォントのように、輪郭線を構成する点列データおよび制御点データからなる輪郭線情報を示すものであっても構わないし、文字のストロークを表す骨格データを示すものであっても構わない。   The shape data 13 represents data constituting a character. The form of the shape data 13 is not particular. For example, the shape data 13 may indicate outline information including point sequence data and control point data constituting an outline, such as an outline font, or may indicate skeleton data indicating a character stroke. It does not matter.

ここで、形状データ記憶部212−1について説明する。形状データ記憶部212−1は、各種記録媒体やネットワークなどを介して提供される形状データ13を蓄積し、当該形状データ13を管理する。形状データ記憶部212−1は、ハードディスク212に格納されるデータベースや、文字コード10に対応する形状データ13を記憶するためにRAM209に一時的に確保されるメモリ領域などによって実現される。   Here, the shape data storage unit 212-1 will be described. The shape data storage unit 212-1 accumulates the shape data 13 provided via various recording media and networks, and manages the shape data 13. The shape data storage unit 212-1 is realized by a database stored in the hard disk 212, a memory area temporarily reserved in the RAM 209 for storing the shape data 13 corresponding to the character code 10, and the like.

図3は、形状データ記憶部212−1が記憶する形状データ13の例を示すイメージ図である。より詳細には、図3(a)は、形状データ記憶部212−1が「山」を示す文字コードに対応付けて格納している形状データ13Aである。図3(b)は、形状データ記憶部212−1が「三」を示す文字コードに対応付けて格納している形状データ13Bである。図3(c)は、形状データ記憶部212−1が「仲」を示す文字コードに対応付けて格納している形状データ13Cである。   FIG. 3 is an image diagram showing an example of the shape data 13 stored in the shape data storage unit 212-1. More specifically, FIG. 3A shows the shape data 13A stored in the shape data storage unit 212-1 in association with the character code indicating “mountain”. FIG. 3B shows the shape data 13B stored in the shape data storage unit 212-1 in association with the character code indicating “three”. FIG. 3C shows the shape data 13C stored in the shape data storage unit 212-1 in association with the character code indicating “middle”.

なお、図3(a)(b)(c)に示される各ストロークの端点1および端点2は、1024ドット×1024ドットの画素領域における座標で表されている。   Note that the end point 1 and end point 2 of each stroke shown in FIGS. 3A, 3B, and 3C are represented by coordinates in a pixel area of 1024 dots × 1024 dots.

図3(a)に示すように、形状データ記憶部212−1は、「山」という漢字の骨格データを形状データ13Aとして格納する。ストローク識別子は各文字内で一意に振られ、端点1および端点2を両端点とするストロークデータを示す。なお、端点1および端点2の位置は、ボディサイズを1024×1024ドットの大きさとした場合の座標で示している。   As shown in FIG. 3A, the shape data storage unit 212-1 stores skeleton data of the Chinese character “mountain” as shape data 13A. The stroke identifier is uniquely assigned within each character, and indicates stroke data having the end points 1 and 2 as both end points. The positions of the end point 1 and the end point 2 are indicated by coordinates when the body size is 1024 × 1024 dots.

オブジェクト識別子は、各ストロークが属するオブジェクト(部位)を示すものであって、同じオブジェクトに属するストロークには同じオブジェクト識別子が割り当てられる。ここで、オブジェクトとは、文字を構成する「偏」や「冠」などの部首や、部首以外のストロークの集合(ストローク群)などをいう。本実施の形態に係る形状データ記憶部212−1は、各文字の各ストロークをオブジェクト識別子に対応付けて記憶する。   The object identifier indicates the object (part) to which each stroke belongs, and the same object identifier is assigned to the stroke belonging to the same object. Here, the object means a radical such as “bias” or “crown” constituting a character, or a set of strokes other than the radical (stroke group). The shape data storage unit 212-1 according to the present embodiment stores each stroke of each character in association with an object identifier.

対称性フラグは、当該文字あるいは当該文字に含まれるオブジェクトが対称性を有しているか否かを示すものである。すなわち、対称性フラグが「1」の文字あるいはオブジェクトは左右対称性を有し、対称性フラグが「2」の文字あるいはオブジェクトは上下対称性を有し、対称性フラグが「3」の文字あるいはオブジェクトは左右対称性と上下対称性と有し、対称性フラグが「0」の文字あるいはオブジェクトは対称性を有しない。   The symmetry flag indicates whether or not the character or the object included in the character has symmetry. That is, a character or object having a symmetry flag “1” has left-right symmetry, a character or object having a symmetry flag “2” has vertical symmetry, and a character or object having a symmetry flag “3”. An object has left-right symmetry and vertical symmetry, and a character or object whose symmetry flag is “0” has no symmetry.

なお、対称性を有している文字は、完全な線対称性を有している必要はない。実施の形態3において詳述するが、たとえば、文字(オブジェクト)の右側と左側との類似度(あるいは上側と下側との類似度)が所定の閾値以上であれば、当該文字を左右対称(上下対称)であるものとして取り扱うことが好ましい。   Note that a character having symmetry need not have complete line symmetry. As will be described in detail in the third embodiment, for example, when the similarity between the right side and the left side of a character (object) (or the similarity between the upper side and the lower side) is equal to or greater than a predetermined threshold, the character is symmetrical ( It is preferable to handle it as being symmetrical.

すなわち、各文字において、同一のオブジェクト識別子を有するストロークは、同一の識別子を有する。ただし、「山」や「三」などのように、1種類のオブジェクト識別子だけを含む文字も存在する。換言すれば、そのような文字については、取得部104(CPU100)が、文字全体を1つのオブジェクトとして取り扱うことができる。   That is, in each character, strokes having the same object identifier have the same identifier. However, there are also characters including only one type of object identifier, such as “mountain” and “three”. In other words, for such a character, the acquisition unit 104 (CPU 100) can handle the entire character as one object.

例えば、「山」は4つのストロークからなる。4つのストロークとも、全て同じオブジェクト「1」に属している。また、「山」という文字が左右対称性を持っていることが分かる。これによって、取得部104は、形状データ13Aを参照して、「山」という文字(オブジェクト)はオブジェクト識別子が全て「1」で同じなので一つのオブジェクトからなっていることを認識することができる。また、取得部104は、「山」という文字(オブジェクト)の対称性フラグが「1」であるので、「山」という文字(オブジェクト)が左右対称性を有することを認識することができる。   For example, “mountain” consists of four strokes. All four strokes belong to the same object “1”. It can also be seen that the character “mountain” has left-right symmetry. Thereby, the acquisition unit 104 can recognize that the character (object) “mountain” is composed of one object because the object identifiers are all “1” and the same, referring to the shape data 13A. Further, since the symmetry flag of the character (object) “mountain” is “1”, the acquisition unit 104 can recognize that the character (object) “mountain” has left-right symmetry.

図3(b)に示すように、形状データ記憶部212−1は、「三」という漢字の骨格データを形状データ13Bとして格納する。取得部104は、形状データ13Bを参照して、「三」という文字(オブジェクト)はオブジェクト識別子が全て「1」で同じなので一つのオブジェクトからなっていることを認識することができる。また、取得部104は、「三」という文字(オブジェクト)の対称性フラグが「2」であるので、「三」という文字(オブジェクト)が上下対称性を有することを認識することができる。   As shown in FIG. 3B, the shape data storage unit 212-1 stores skeleton data of the Chinese character “three” as the shape data 13B. With reference to the shape data 13B, the acquisition unit 104 can recognize that the character (object) “three” is composed of one object because the object identifiers are all the same “1”. Further, since the symmetry flag of the character (object) “three” is “2”, the acquisition unit 104 can recognize that the character (object) “three” has vertical symmetry.

図3(c)に示すように、形状データ記憶部212−1は、「仲」という漢字の骨格データを形状データ13Cとして格納する。取得部104は、形状データ13Cを参照して、「仲」という文字が、8つのストロークから構成され、ストローク識別子が1〜3のストローク群(人偏)からなるオブジェクトと、4〜8のストローク群(「中」の部分)からなるオブジェクトから構成されていることを認識することができる。また、取得部104は、形状データ13Cを参照して、人偏のオブジェクトの対称性フラグが「0」であるので、人偏が対称性を有しないことを認識することができる。一方、取得部104は、形状データ13Cを参照して、「中」のオブジェクトの対称性フラグが「1」であるので、「中」のオブジェクトが左右対称性を有することを認識することができる。   As shown in FIG. 3C, the shape data storage unit 212-1 stores the skeleton data of the Chinese character “naka” as the shape data 13C. The acquisition unit 104 refers to the shape data 13 </ b> C, and the character “Naka” is composed of eight strokes, and the stroke identifier is an object composed of a group of strokes 1 to 3 (human bias), and 4 to 8 strokes. It can be recognized that the object consists of a group (the “middle” part). In addition, the acquisition unit 104 can recognize that the bias has no symmetry because the symmetry flag of the biased object is “0” with reference to the shape data 13C. On the other hand, the acquisition unit 104 can recognize that the “medium” object has left-right symmetry because the symmetry flag of the “medium” object is “1” with reference to the shape data 13C. .

図2に戻って、文字コード受付部101は、例えば無線もしくは有線を介して提供される文字コード10を受信するインターフェイスを備えており、外部から文字コード10の入力を受け付ける。あるいは、文字コード受付部101は、他のプログラム(アプリケーション)から提供される文字コードを受け付ける。   Returning to FIG. 2, the character code receiving unit 101 includes an interface for receiving the character code 10 provided via, for example, wireless or wired communication, and receives an input of the character code 10 from the outside. Alternatively, the character code receiving unit 101 receives a character code provided from another program (application).

サイズ受付部102は、例えば無線もしくは有線を介して提供される矩形領域サイズ11を受信するインターフェイスを備えており、第1および第2の矩形領域サイズ11A,11Bの入力を受け付ける。あるいは、サイズ受付部102は、他のプログラム(アプリケーション)から提供される第1および第2の矩形領域サイズ11A,11Bを受け付ける。   The size receiving unit 102 includes an interface that receives a rectangular area size 11 provided, for example, via wireless or wired communication, and receives input of the first and second rectangular area sizes 11A and 11B. Alternatively, the size receiving unit 102 receives the first and second rectangular area sizes 11A and 11B provided from other programs (applications).

線幅受付部103は、例えば無線もしくは有線を介して提供される線幅12を受信するインターフェイスを備えており、線幅12の入力を受け付ける。あるいは、線幅受付部103は、他のプログラム(アプリケーション)から提供される線幅12を受け付ける。   The line width receiving unit 103 includes an interface that receives the line width 12 provided via, for example, wireless or wired communication, and receives an input of the line width 12. Alternatively, the line width receiving unit 103 receives a line width 12 provided from another program (application).

本実施の形態に係る取得部104は、線幅受付部103を介して入力された線幅12と、サイズ受付部102を介して入力された第1および第2の矩形領域サイズ11A,11Bとに基づいて、描画する際の最終的な第2の矩形領域サイズ11Bを決定する。すなわち、本実施の形態に係る取得部104は、線幅受付部103を介して入力された線幅12と、サイズ受付部102を介して入力された第1の矩形領域サイズ11Aとに基づいて、サイズ受付部102を介して入力された第2の矩形領域サイズ11Bを修正する。   The acquisition unit 104 according to the present embodiment includes the line width 12 input via the line width receiving unit 103 and the first and second rectangular region sizes 11A and 11B input via the size receiving unit 102. Based on the above, the final second rectangular area size 11B for drawing is determined. That is, the acquisition unit 104 according to the present embodiment is based on the line width 12 input via the line width receiving unit 103 and the first rectangular area size 11A input via the size receiving unit 102. Then, the second rectangular area size 11B input via the size receiving unit 102 is corrected.

拡縮部106は、文字コード受付部101を介して入力された文字コード10に対応する形状データ13を形状データ記憶部212−1から読み出し、最終的な第2の矩形領域サイズ11Bに収まるように当該形状データ13の拡大処理または縮小処理を行う。例えば、第2の矩形領域サイズ11Bが23ドットである場合、上下方向および左右方向の大きさが23ドットの第2の矩形領域に収まるように文字の大きさを調整する。   The enlargement / reduction unit 106 reads the shape data 13 corresponding to the character code 10 input via the character code receiving unit 101 from the shape data storage unit 212-1, and fits in the final second rectangular area size 11B. The enlargement process or the reduction process of the shape data 13 is performed. For example, when the second rectangular area size 11B is 23 dots, the character size is adjusted so that the vertical and horizontal dimensions can fit in the second rectangular area of 23 dots.

出力部107は、拡縮部106で処理された形状データ13をモニタインターフェイス213を介してモニタ203に出力する。あるいは、出力部107は、拡縮部106で処理された形状データ13を通信インターフェイス216を介してもネットワークへと出力する。なお、コンピュータ220自体が描画機能(モニタ)を備えている場合は、拡縮処理された形状データ13に従って文字描画を行った結果を当該モニタに表示するものであっても構わない。   The output unit 107 outputs the shape data 13 processed by the enlargement / reduction unit 106 to the monitor 203 via the monitor interface 213. Alternatively, the output unit 107 outputs the shape data 13 processed by the enlargement / reduction unit 106 to the network via the communication interface 216. If the computer 220 itself has a drawing function (monitor), the result of character drawing according to the enlarged / reduced shape data 13 may be displayed on the monitor.

(本実施の形態に係るコンピュータ220の動作概要1)
(線幅が2ドットの場合)
ここで、本実施の形態に係る取得部104の動作概要について詳述する。以下では、左右対称性を持つ文字の文字コード10が入力された場合に、モニタ203などに左右対称性を持つ文字を描画する(表示する)際の動作概要について説明する。
(Outline of operation of computer 220 according to the present embodiment 1)
(When the line width is 2 dots)
Here, the operation outline of the acquisition unit 104 according to the present embodiment will be described in detail. In the following, an outline of operation when a character having left-right symmetry is drawn (displayed) on the monitor 203 or the like when the character code 10 of the character having left-right symmetry is input will be described.

本実施の形態においては、文字コード10としてSJISコードが入力されるものとする。さらに、ここでは、「山」という文字の文字コード「0x8e52」が、文字コード受付部101を介して入力されるものとする。そして、第1の矩形領域サイズ11A(ボディサイズ)として16ドットという情報が、第2の矩形領域サイズ11B(レターサイズ)として15ドットという情報が、サイズ受付部102を介して入力されるものとする。また、線幅として2ドットという情報が、線幅受付部103に入力される。   In the present embodiment, it is assumed that an SJIS code is input as the character code 10. Furthermore, here, it is assumed that the character code “0x8e52” of the character “mountain” is input via the character code receiving unit 101. Information about 16 dots as the first rectangular area size 11A (body size) and information about 15 dots as the second rectangular area size 11B (letter size) are input via the size receiving unit 102. To do. Further, information of 2 dots as the line width is input to the line width receiving unit 103.

換言すれば、文字コード受付部101は文字コード(SJISコード)0x8e52という情報を受け付けて、取得部104に受け渡す。サイズ受付部102は第1の矩形領域サイズ11Aとして16ドットという情報を受け付けて、取得部104に受け渡す。線幅受付部103は線幅として2ドットという情報を受け付けて、取得部104に受け渡す。サイズ受付部102は第2の矩形領域サイズ11Bとして15ドットという情報を受け付けて、取得部104に受け渡す。   In other words, the character code receiving unit 101 receives the information of the character code (SJIS code) 0x8e52 and passes it to the acquiring unit 104. The size receiving unit 102 receives information of 16 dots as the first rectangular area size 11 </ b> A and passes it to the acquiring unit 104. The line width receiving unit 103 receives information of 2 dots as the line width and passes it to the acquisition unit 104. The size accepting unit 102 accepts information of 15 dots as the second rectangular area size 11B, and delivers it to the obtaining unit 104.

そして、取得部104は、線幅が偶数であるか否かを判断する。ここでは、入力された線幅が2ドットであって、すなわち線幅が偶数であるため、取得部104は第2の矩形領域サイズ11Bが偶数であるか否かを判断する。ここでは、第2の矩形領域サイズ11Bが15ドットであり、すなわち第2の矩形領域サイズ11Bが奇数であるため、取得部104は第2の矩形領域サイズ11Bから1だけ小さい値を第2の矩形領域サイズ11Bとしてセットし直す。すなわち、取得部104は、第2の矩形領域サイズ11Bを14ドットにセットし直す。   Then, the acquisition unit 104 determines whether or not the line width is an even number. Here, since the input line width is 2 dots, that is, the line width is an even number, the acquisition unit 104 determines whether or not the second rectangular area size 11B is an even number. Here, since the second rectangular area size 11B is 15 dots, that is, the second rectangular area size 11B is an odd number, the acquisition unit 104 sets a value smaller by 1 than the second rectangular area size 11B to the second Reset as rectangular area size 11B. That is, the acquisition unit 104 resets the second rectangular area size 11B to 14 dots.

図4は、線幅が2ドットの場合の「山」という文字が表示される場合における第1の矩形領域と第2の矩形領域と表示される文字画像とを示すイメージ図である。より詳細には、図4(a)は、本実施の形態に係るコンピュータシステム200における第1の矩形領域と第2の矩形領域とを示すイメージ図である。図4(b)は、本実施の形態に係るコンピュータシステム200における第1の矩形領域と第2の矩形領域と表示される文字画像とを示すイメージ図である。図4(c)は、通常の文字描画システムにおける第1の矩形領域と第2の矩形領域と表示される文字画像とを示す第1のイメージ図である。図4(d)は、通常の文字描画システムにおける第1の矩形領域と第2の矩形領域と表示される文字画像とを示す第2のイメージ図である。   FIG. 4 is an image diagram showing the first rectangular area, the second rectangular area, and the displayed character image when the character “mountain” when the line width is 2 dots is displayed. More specifically, FIG. 4A is an image diagram showing a first rectangular area and a second rectangular area in the computer system 200 according to the present embodiment. FIG. 4B is an image diagram showing a first rectangular area, a second rectangular area, and a displayed character image in the computer system 200 according to the present embodiment. FIG. 4C is a first image diagram showing a first rectangular area, a second rectangular area, and a displayed character image in a normal character drawing system. FIG. 4D is a second image diagram showing a first rectangular area, a second rectangular area, and a displayed character image in a normal character drawing system.

図4(a)に示すように、本実施の形態に係るコンピュータシステム200においては、取得部104が第2の矩形領域サイズ11Bを14ドットにセットし直す。たとえば、「山」という文字に割り当てられるボディ枠として、上下方向および左右方向に16ドット分の画素が確保される。そして、取得部104は、「山」という文字が表示される(占有する)レター枠として、上下方向および左右方向に14ドット分の画素を確保する。   As shown in FIG. 4A, in the computer system 200 according to the present embodiment, the acquisition unit 104 resets the second rectangular area size 11B to 14 dots. For example, as a body frame assigned to the character “mountain”, pixels of 16 dots are secured in the vertical direction and the horizontal direction. Then, the acquisition unit 104 secures 14 dots of pixels in the vertical direction and the horizontal direction as a letter frame in which the character “mountain” is displayed (occupied).

拡縮部106は、形状データ記憶部212−1から文字コード10、すなわちSJISコードが「0x8e52」の形状データ13を呼び出して、文字がレター枠(14ドット)に収まるように、形状データ13に対して拡大処理または縮小処理を行う。   The enlargement / reduction unit 106 calls the character code 10 from the shape data storage unit 212-1, that is, the shape data 13 whose SJIS code is “0x8e52”, and applies the shape data 13 to the character data 13 so that it fits in the letter frame (14 dots). To enlarge or reduce.

なお、拡縮部106による、形状データ13に対する拡大処理または縮小処理は、たとえばベクトルデータに基づいた計算などによって実現される。すなわち、図3(a)を参照して、「山」という文字を16ドット×16ドットの画素領域に描画する際には、拡縮部106は以下の計算に基づいて、各ストロークの端点1および端点2を計算することによって、縮小処理を行う。
ストローク識別子1の端点1:(448×16/1024, 896×16/1024)=(7,14)
ストローク識別子1の端点2:(448×16/1024, 64×16/1024)=(7,1)
ストローク識別子2の端点1:(64×16/1024, 512×16/1024)=(1,8)
ストローク識別子2の端点2:(64×16/1024, 64×16/1024)=(1,1)
ストローク識別子3の端点1:(64×16/1024, 64×16/1024)=(1,1)
ストローク識別子3の端点2:(832×16/1024, 64×16/1024)=(13,1)
ストローク識別子4の端点1:(832×16/1024, 512×16/1024)=(13,8)
ストローク識別子4の端点2:(832×16/1024, 64×16/1024)=(13,1)
そして、図4(b)に示すように、出力部107は、拡大処理または縮小処理された形状データ13に基づいて、モニタ203に文字を描画する。このように、線幅が2ドット(偶数)の場合に、第2の矩形領域サイズ11Bが14ドット(偶数)のレター枠に文字を描画することにより、「山」のような中央のストロークに対して線対称な漢字を描画する場合に、左右対称性を維持したまま「山」という文字を描画することができる。
Note that the enlargement / reduction process performed on the shape data 13 by the enlargement / reduction unit 106 is realized, for example, by calculation based on vector data. That is, referring to FIG. 3A, when the character “mountain” is drawn in a pixel area of 16 dots × 16 dots, the enlargement / reduction unit 106 calculates the end point 1 and the stroke 1 of each stroke based on the following calculation. The reduction process is performed by calculating the end point 2.
End point 1 of stroke identifier 1: (448 × 16/1024, 896 × 16/1024) = (7,14)
End point 2 of stroke identifier 1: (448 × 16/1024, 64 × 16/1024) = (7,1)
End point 1 of stroke identifier 2: (64 × 16/1024, 512 × 16/1024) = (1,8)
End point 2 of stroke identifier 2: (64 × 16/1024, 64 × 16/1024) = (1,1)
End point of stroke identifier 3 1: (64 × 16/1024, 64 × 16/1024) = (1,1)
End point 2 of stroke identifier 3: (832 × 16/1024, 64 × 16/1024) = (13,1)
End point 1 of stroke identifier 4: (832 x 16/1024, 512 x 16/1024) = (13,8)
End point 2 of stroke identifier 4: (832 × 16/1024, 64 × 16/1024) = (13,1)
Then, as illustrated in FIG. 4B, the output unit 107 draws characters on the monitor 203 based on the shape data 13 that has been subjected to the enlargement process or the reduction process. In this way, when the line width is 2 dots (even), the character is drawn in a letter frame having the second rectangular area size 11B of 14 dots (even), so that the stroke in the center such as “mountain” is obtained. On the other hand, when a line-symmetric Kanji character is drawn, the character “mountain” can be drawn while maintaining the left-right symmetry.

一方、通常のコンピュータシステム200は、線幅が2ドット(偶数)の場合であっても、サイズ受付部102が受け付けた第2の矩形領域サイズ11Bである15ドット(奇数)のままで、文字コード(SJISコード)0x8e52に基づいて「山」という文字を描画するので、図4(c)または図4(d)のような文字画像が表示されてしまう。すなわち、図4(c)に示すように「山」の真ん中のストロークが右側に寄ってしまったり、図4(d)に示すように「山」の真ん中のストロークが左側に寄ってしまったりして、文字が左右対称性を崩してしまい、ユーザに違和感を与えてしまう。   On the other hand, in the normal computer system 200, even when the line width is 2 dots (even number), the character remains at 15 dots (odd number) that is the second rectangular area size 11B received by the size receiving unit 102. Since the character “mountain” is drawn based on the code (SJIS code) 0x8e52, a character image as shown in FIG. 4C or FIG. 4D is displayed. That is, as shown in FIG. 4C, the middle stroke of the “mountain” is shifted to the right side, and as shown in FIG. 4D, the middle stroke of the “mountain” is shifted to the left side. As a result, the characters lose symmetry and give the user a sense of incongruity.

本実施の形態に係るコンピュータ220は、線幅が偶数の場合に、第2の矩形領域サイズ11Bを偶数に設定し直すため、図4(b)に示すように左右対称性を保持した文字を描画することができる。その結果、ユーザが当該文字を読みやすくなり、テキストデータ全体における可読性を向上させることができる。   Since the computer 220 according to the present embodiment resets the second rectangular area size 11B to an even number when the line width is an even number, a character having left-right symmetry as shown in FIG. Can be drawn. As a result, the user can easily read the character, and the readability of the entire text data can be improved.

(線幅が3ドットの場合)
次に、線幅として3ドットという情報が、線幅受付部103に入力された場合について説明する。
(When the line width is 3 dots)
Next, a case where information of 3 dots as the line width is input to the line width receiving unit 103 will be described.

換言すれば、文字コード受付部101は文字コード(SJISコード)0x8e52という情報を受け付けて、取得部104に受け渡す。サイズ受付部102は第1の矩形領域サイズ11Aとして16ドットという情報を受け付けて、取得部104に受け渡す。線幅受付部103は線幅として3ドットという情報を受け付けて、取得部104に受け渡す。サイズ受付部102は第2の矩形領域サイズ11Bとして15ドットという情報を受け付けて、取得部104に受け渡す。   In other words, the character code receiving unit 101 receives the information of the character code (SJIS code) 0x8e52 and passes it to the acquiring unit 104. The size receiving unit 102 receives information of 16 dots as the first rectangular area size 11 </ b> A and passes it to the acquiring unit 104. The line width receiving unit 103 receives information of 3 dots as the line width and passes it to the acquiring unit 104. The size accepting unit 102 accepts information of 15 dots as the second rectangular area size 11B, and delivers it to the obtaining unit 104.

そして、取得部104は、線幅が偶数であるか否かを判断する。ここでは、入力された線幅が3ドットであって、すなわち線幅が奇数であるため、取得部104は第2の矩形領域サイズ11Bが奇数であるか否かを判断する。ここでは、第2の矩形領域サイズ11Bが15ドットであり、すなわち第2の矩形領域サイズ11Bが奇数であるため、取得部104は第2の矩形領域サイズ11Bを変更しない。あるいは、サイズ受付部102にて受け付けられた第2の矩形領域サイズ11Bが16ドットである場合には、取得部104は、第2の矩形領域サイズ11Bを15ドットに設定し直す。   Then, the acquisition unit 104 determines whether or not the line width is an even number. Here, since the input line width is 3 dots, that is, the line width is an odd number, the acquisition unit 104 determines whether or not the second rectangular area size 11B is an odd number. Here, since the second rectangular area size 11B is 15 dots, that is, the second rectangular area size 11B is an odd number, the acquisition unit 104 does not change the second rectangular area size 11B. Alternatively, when the second rectangular area size 11B received by the size receiving unit 102 is 16 dots, the acquisition unit 104 resets the second rectangular area size 11B to 15 dots.

図5は、線幅が3ドットの場合の「山」という文字が表示される場合における第1の矩形領域と第2の矩形領域と表示される文字画像とを示すイメージ図である。より詳細には、図5(a)は、本実施の形態に係るコンピュータシステム200における第1の矩形領域と第2の矩形領域とを示すイメージ図である。図5(b)は、本実施の形態に係るコンピュータシステム200における第1の矩形領域と第2の矩形領域と表示される文字画像とを示すイメージ図である。   FIG. 5 is an image diagram showing a first rectangular area, a second rectangular area, and a character image to be displayed when a character “mountain” when the line width is 3 dots is displayed. More specifically, FIG. 5A is an image diagram showing a first rectangular area and a second rectangular area in the computer system 200 according to the present embodiment. FIG. 5B is an image diagram showing the first rectangular area, the second rectangular area, and the displayed character image in the computer system 200 according to the present embodiment.

図5(a)に示すように、本実施の形態に係るコンピュータシステム200においては、取得部104が第2の矩形領域サイズ11Bを15ドットのまま変更しない。たとえば、「山」という文字に割り当てられる第1の矩形領域(ボディ枠)として、上下方向および左右方向に16ドット分の画素が確保される。そして、取得部104は、「山」という文字が表示される(占有する)第2の矩形領域(レター枠)として、上下方向および左右方向に15ドット分の画素を確保する。   As shown in FIG. 5A, in the computer system 200 according to the present embodiment, the acquisition unit 104 does not change the second rectangular area size 11B to 15 dots. For example, as the first rectangular area (body frame) assigned to the character “mountain”, pixels of 16 dots are secured in the vertical direction and the horizontal direction. Then, the acquisition unit 104 secures pixels for 15 dots in the vertical direction and the horizontal direction as a second rectangular area (letter frame) in which the character “mountain” is displayed (occupied).

拡縮部106は、形状データ記憶部212−1から文字コード10、すなわちSJISコードが「0x8e52」の形状データ13を呼び出して、文字が第2の矩形領域(15ドット)に収まるように、形状データ13に対して拡大処理または縮小処理を行う。   The enlargement / reduction unit 106 calls the shape data 13 having the character code 10, that is, the SJIS code “0x8e52”, from the shape data storage unit 212-1, so that the shape data is contained in the second rectangular area (15 dots). An enlargement process or a reduction process is performed on 13.

そして、図5(b)に示すように、出力部107は、拡大処理または縮小処理された形状データ13に基づいて、モニタ203に文字を描画する。このように、線幅が3ドット(奇数)の場合に、第2の矩形領域サイズ11Bが15ドット(奇数)のレター枠に文字を描画することにより、「山」のような中央のストロークに対して線対称な漢字を描画する場合に、左右対称性を維持したまま「山」という文字を描画することができる。   Then, as illustrated in FIG. 5B, the output unit 107 draws characters on the monitor 203 based on the shape data 13 that has been subjected to the enlargement process or the reduction process. In this way, when the line width is 3 dots (odd number), the character is drawn in a letter frame having the second rectangular area size 11B of 15 dots (odd number), so that the center stroke such as “mountain” is obtained. On the other hand, when a line-symmetric Kanji character is drawn, the character “mountain” can be drawn while maintaining the left-right symmetry.

本実施の形態に係るコンピュータ220は、線幅が奇数の場合に、第2の矩形領域サイズ11Bを奇数に設定し直すため、図5(b)に示すように左右対称性を保持した文字を描画することができる。   Since the computer 220 according to the present embodiment resets the second rectangular area size 11B to an odd number when the line width is an odd number, a character having left-right symmetry as shown in FIG. Can be drawn.

(本実施の形態に係るコンピュータ220の動作概要1)
(線幅が2ドットの場合)
次に、本実施の形態に係る取得部104の動作概要について、上下対称性を持つ文字の文字コード10が入力された場合に、モニタ203などに上下対称性を持つ文字を描画する(表示する)際の動作概要について説明する。
(Outline of operation of computer 220 according to the present embodiment 1)
(When the line width is 2 dots)
Next, regarding the operation outline of the acquisition unit 104 according to the present embodiment, when the character code 10 of a character having vertical symmetry is input, the character having vertical symmetry is drawn (displayed) on the monitor 203 or the like. ) An outline of the operation will be described.

本実施の形態においても、文字コード10としてSJISコードが入力されるものとする。さらに、ここでは、「三」という文字の文字コード「0x8e4f」が、文字コード受付部101を介して入力されるものとする。そして、第1の矩形領域サイズ11A(ボディサイズ)として12ドットという情報が、第2の矩形領域サイズ11B(レターサイズ)として11ドットという情報が、サイズ受付部102を介して入力されるものとする。また、線幅として2ドットという情報が、線幅受付部103に入力される。   Also in this embodiment, it is assumed that an SJIS code is input as the character code 10. Furthermore, here, it is assumed that the character code “0x8e4f” of the character “three” is input via the character code receiving unit 101. The information of 12 dots as the first rectangular area size 11A (body size) and the information of 11 dots as the second rectangular area size 11B (letter size) are input via the size receiving unit 102. To do. Further, information of 2 dots as the line width is input to the line width receiving unit 103.

換言すれば、文字コード受付部101は文字コード(SJISコード)0x8e4fという情報を受け付けて、取得部104に受け渡す。サイズ受付部102は第1の矩形領域サイズ11Aとして12ドットという情報を受け付けて、取得部104に受け渡す。線幅受付部103は線幅として2ドットという情報を受け付けて、取得部104に受け渡す。サイズ受付部102は第2の矩形領域サイズ11Bとして11ドットという情報を受け付けて、取得部104に受け渡す。   In other words, the character code receiving unit 101 receives the information of the character code (SJIS code) 0x8e4f and passes it to the acquiring unit 104. The size receiving unit 102 receives information of 12 dots as the first rectangular area size 11 </ b> A and passes it to the acquiring unit 104. The line width receiving unit 103 receives information of 2 dots as the line width and passes it to the acquisition unit 104. The size receiving unit 102 receives information of 11 dots as the second rectangular area size 11B, and transfers it to the acquiring unit 104.

そして、取得部104は、線幅が偶数であるか否かを判断する。ここでは、入力された線幅が2ドットであって、すなわち線幅が偶数であるため、取得部104は第2の矩形領域サイズ11Bが偶数であるか否かを判断する。ここでは、第2の矩形領域サイズ11Bが11ドットであり、すなわち第2の矩形領域サイズ11Bが奇数であるため、取得部104は第2の矩形領域サイズ11Bから1だけ小さい値を第2の矩形領域サイズ11Bとしてセットし直す。すなわち、取得部104は、第2の矩形領域サイズ11Bを10ドットにセットし直す。   Then, the acquisition unit 104 determines whether or not the line width is an even number. Here, since the input line width is 2 dots, that is, the line width is an even number, the acquisition unit 104 determines whether or not the second rectangular area size 11B is an even number. Here, since the second rectangular area size 11B is 11 dots, that is, the second rectangular area size 11B is an odd number, the acquisition unit 104 sets a value smaller by 1 than the second rectangular area size 11B to the second Reset as rectangular area size 11B. That is, the acquisition unit 104 resets the second rectangular area size 11B to 10 dots.

図6は、線幅が2ドットの場合の「三」という文字が表示される場合における第1の矩形領域と第2の矩形領域と表示される文字画像とを示すイメージ図である。より詳細には、図6(a)は、本実施の形態に係るコンピュータシステム200における第1の矩形領域と第2の矩形領域とを示すイメージ図である。図6(b)は、本実施の形態に係るコンピュータシステム200における第1の矩形領域と第2の矩形領域と表示される文字画像とを示すイメージ図である。   FIG. 6 is an image diagram showing the first rectangular area, the second rectangular area, and the displayed character image when the character “three” is displayed when the line width is 2 dots. More specifically, FIG. 6A is an image diagram showing a first rectangular area and a second rectangular area in the computer system 200 according to the present embodiment. FIG. 6B is an image diagram showing the first rectangular area, the second rectangular area, and the displayed character image in the computer system 200 according to the present embodiment.

図6(a)に示すように、本実施の形態に係るコンピュータシステム200においては、取得部104が第2の矩形領域サイズ11Bを10ドットにセットし直す。たとえば、「三」という文字に割り当てられるボディ枠として、上下方向および左右方向に12ドット分の画素が確保される。そして、取得部104は、「三」という文字が表示される(占有する)レター枠として、上下方向および左右方向に10ドット分の画素を確保する。   As shown in FIG. 6A, in the computer system 200 according to the present embodiment, the acquisition unit 104 resets the second rectangular area size 11B to 10 dots. For example, as a body frame assigned to the character “three”, pixels of 12 dots are secured in the vertical direction and the horizontal direction. Then, the acquisition unit 104 secures 10 dots of pixels in the vertical direction and the horizontal direction as a letter frame in which the character “three” is displayed (occupied).

拡縮部106は、形状データ記憶部212−1から文字コード10、すなわちSJISコードが「0x8e4f」の形状データ13を呼び出して、文字がレター枠(10ドット)に収まるように、形状データ13に対して拡大処理または縮小処理を行う。   The enlargement / reduction unit 106 calls the character code 10 from the shape data storage unit 212-1, that is, the shape data 13 with the SJIS code “0x8e4f”, To enlarge or reduce.

そして、図6(b)に示すように、出力部107は、拡大処理または縮小処理された形状データ13に基づいて、モニタ203に文字を描画する。このように、線幅が2ドット(偶数)の場合に、第2の矩形領域サイズ11Bが10ドット(偶数)のレター枠に文字を描画することにより、「三」のような中央のストロークに対して線対称な漢字を描画する場合に、上下対称性を維持したまま「三」という文字を描画することができる。   Then, as illustrated in FIG. 6B, the output unit 107 draws characters on the monitor 203 based on the shape data 13 that has been subjected to the enlargement process or the reduction process. In this way, when the line width is 2 dots (even), the character is drawn in a letter frame having the second rectangular area size 11B of 10 dots (even), so that the center stroke such as “three” is obtained. On the other hand, when drawing a line-symmetrical Chinese character, the character “three” can be drawn while maintaining vertical symmetry.

(線幅が1ドットの場合)
次に、線幅として1ドットという情報が、線幅受付部103に入力された場合について説明する。
(When the line width is 1 dot)
Next, a case where information of 1 dot as the line width is input to the line width receiving unit 103 will be described.

換言すれば、文字コード受付部101は文字コード(SJISコード)0x8e4fという情報を受け付けて、取得部104に受け渡す。サイズ受付部102は第1の矩形領域サイズ11Aとして12ドットという情報を受け付けて、取得部104に受け渡す。線幅受付部103は線幅として1ドットという情報を受け付けて、取得部104に受け渡す。サイズ受付部102は第2の矩形領域サイズ11Bとして11ドットという情報を受け付けて、取得部104に受け渡す。   In other words, the character code receiving unit 101 receives the information of the character code (SJIS code) 0x8e4f and passes it to the acquiring unit 104. The size receiving unit 102 receives information of 12 dots as the first rectangular area size 11 </ b> A and passes it to the acquiring unit 104. The line width receiving unit 103 receives information of 1 dot as the line width and passes it to the acquiring unit 104. The size receiving unit 102 receives information of 11 dots as the second rectangular area size 11B, and transfers it to the acquiring unit 104.

そして、取得部104は、線幅が偶数であるか否かを判断する。ここでは、入力された線幅が1ドットであって、すなわち線幅が奇数であるため、取得部104は第2の矩形領域サイズ11Bが奇数であるか否かを判断する。ここでは、第2の矩形領域サイズ11Bが11ドットであり、すなわち第2の矩形領域サイズ11Bが奇数であるため、取得部104は第2の矩形領域サイズ11Bを変更しない。あるいは、サイズ受付部102にて受け付けられた第2の矩形領域サイズ11Bが12ドットである場合には、取得部104は、第2の矩形領域サイズ11Bを11ドットに設定し直す。   Then, the acquisition unit 104 determines whether or not the line width is an even number. Here, since the input line width is 1 dot, that is, the line width is an odd number, the acquisition unit 104 determines whether or not the second rectangular area size 11B is an odd number. Here, since the second rectangular area size 11B is 11 dots, that is, the second rectangular area size 11B is an odd number, the acquisition unit 104 does not change the second rectangular area size 11B. Alternatively, when the second rectangular area size 11B received by the size receiving unit 102 is 12 dots, the acquisition unit 104 resets the second rectangular area size 11B to 11 dots.

図7は、線幅が1ドットの場合の「三」という文字が表示される場合における第1の矩形領域と第2の矩形領域と表示される文字画像とを示すイメージ図である。より詳細には、図7(a)は、本実施の形態に係るコンピュータシステム200における第1の矩形領域と第2の矩形領域とを示すイメージ図である。図7(b)は、本実施の形態に係るコンピュータシステム200における第1の矩形領域と第2の矩形領域と表示される文字画像とを示すイメージ図である。   FIG. 7 is an image diagram showing a first rectangular area, a second rectangular area, and a character image to be displayed when the character “three” is displayed when the line width is 1 dot. More specifically, FIG. 7A is an image diagram showing a first rectangular area and a second rectangular area in the computer system 200 according to the present embodiment. FIG. 7B is an image diagram showing the first rectangular area, the second rectangular area, and the displayed character image in the computer system 200 according to the present embodiment.

図7(a)に示すように、本実施の形態に係るコンピュータシステム200においては、取得部104が第2の矩形領域サイズ11Bを11ドットのまま変更しない。たとえば、「三」という文字に割り当てられる第1の矩形領域(ボディ枠)として、上下方向および左右方向に12ドット分の画素が確保される。そして、取得部104は、「三」という文字が表示される(占有する)第2の矩形領域(レター枠)として、上下方向および左右方向に11ドット分の画素を確保する。   As shown in FIG. 7A, in the computer system 200 according to the present embodiment, the acquisition unit 104 does not change the second rectangular area size 11B to 11 dots. For example, as a first rectangular area (body frame) assigned to the character “three”, pixels of 12 dots are secured in the vertical direction and the horizontal direction. Then, the acquisition unit 104 secures pixels for 11 dots in the vertical and horizontal directions as a second rectangular area (letter frame) in which the character “three” is displayed (occupied).

拡縮部106は、形状データ記憶部212−1から文字コード10、すなわちSJISコードが「0x8e4f」の形状データ13を呼び出して、文字が第2の矩形領域(11ドット)に収まるように、形状データ13に対して拡大処理または縮小処理を行う。   The enlargement / reduction unit 106 calls the shape data 13 of the character code 10, that is, the SJIS code “0x8e4f” from the shape data storage unit 212-1, so that the character is stored in the second rectangular area (11 dots). An enlargement process or a reduction process is performed on 13.

そして、図7(b)に示すように、出力部107は、拡大処理または縮小処理された形状データ13に基づいて、モニタ203に文字を描画する。このように、線幅が1ドット(奇数)の場合に、第2の矩形領域サイズ11Bが11ドット(奇数)のレター枠に文字を描画することにより、「三」のような中央のストロークに対して線対称な漢字を描画する場合に、上下対称性を維持したまま「三」という文字を描画することができる。   Then, as illustrated in FIG. 7B, the output unit 107 draws characters on the monitor 203 based on the shape data 13 subjected to the enlargement process or the reduction process. As described above, when the line width is 1 dot (odd number), the character is drawn in a letter frame having the second rectangular area size 11B of 11 dots (odd number), so that the stroke in the center such as “three” is obtained. On the other hand, when drawing a line-symmetrical Chinese character, the character “three” can be drawn while maintaining vertical symmetry.

なお、「田」のように、左右方向に対しても対称性を持ち、かつ上下方向に対しても対称性を持つような文字に対しても上記と同様の機能を適用することができる。   It should be noted that the same function as described above can be applied to a character that has symmetry in the left-right direction and also has symmetry in the up-down direction, such as “field”.

<文字描画処理>
次に、本実施の形態にかかるコンピュータ220における文字描画処理の処理手順について説明する。図8は、本実施の形態にかかるコンピュータ220における文字描画処理の処理手順を示すフローチャートである。
<Character drawing process>
Next, a processing procedure of character drawing processing in the computer 220 according to the present embodiment will be described. FIG. 8 is a flowchart showing a processing procedure of character drawing processing in the computer 220 according to the present embodiment.

図8を参照して、コンピュータ220の電源が入れられると、CPU100は、ハードディスク212から文字描画プログラムを読み出して、文字描画プログラムを起動する。まずCPU100は、文字コード10が入力されるのを待ち受ける(ステップS102)。CPU100は、文字コード10が入力されると(ステップS102にてYESである場合)、入力された文字コード10を読み込んで、文字コードに対応する形状データ13を読み出す。   Referring to FIG. 8, when computer 220 is turned on, CPU 100 reads a character drawing program from hard disk 212 and starts the character drawing program. First, the CPU 100 waits for the character code 10 to be input (step S102). When the character code 10 is input (YES in step S102), the CPU 100 reads the input character code 10 and reads the shape data 13 corresponding to the character code.

次に、CPU100は、第1の矩形領域サイズ11Aが入力されるのを待ち受ける(ステップS104)。CPU100は、第一の矩形領域サイズ11Aが入力されると(ステップS104にてYESである場合)、入力された第1の矩形領域サイズ11AをRAM209に記憶する。同様に、CPU100は、線幅12が入力されるのを待ち受ける(ステップS106)。CPU100は、線幅12が入力されると(ステップS106にてYESである場合)、入力された線幅12を読み込んで、RAM209に記憶する。   Next, the CPU 100 waits for the input of the first rectangular area size 11A (step S104). When the first rectangular area size 11A is input (if YES in step S104), CPU 100 stores the input first rectangular area size 11A in RAM 209. Similarly, CPU 100 waits for input of line width 12 (step S106). When the line width 12 is input (YES in step S106), the CPU 100 reads the input line width 12 and stores it in the RAM 209.

CPU100は、第2の矩形領域サイズ11Bが入力されるのを待ち受ける(ステップS108)。CPU100は、第2の矩形領域サイズ11Bが入力されると、入力された第2の矩形領域サイズ11Bを読み込んで、RAM209に記憶する。そして、CPU100は、第2矩形領域サイズ決定処理(ステップS200)によって、第2の矩形領域サイズ11Bを修正する。第2矩形領域サイズ決定処理(ステップS200)については後述する。   The CPU 100 waits for the input of the second rectangular area size 11B (step S108). When the second rectangular area size 11B is input, the CPU 100 reads the input second rectangular area size 11B and stores it in the RAM 209. Then, the CPU 100 corrects the second rectangular area size 11B by the second rectangular area size determination process (step S200). The second rectangular area size determination process (step S200) will be described later.

CPU100は、第2矩形領域サイズ決定処理(ステップS200)が終了すると、文字コード10に相当する形状データ13を形状データ記憶部212−1から読み出して、第2矩形領域サイズ決定処理(ステップS200)にて修正された後の第2の矩形領域サイズ11Bに適合するように、形状データ13に拡大処理または縮小処理を行う(ステップS110)。   When the second rectangular area size determination process (step S200) ends, the CPU 100 reads the shape data 13 corresponding to the character code 10 from the shape data storage unit 212-1, and the second rectangular area size determination process (step S200). In step S110, the shape data 13 is subjected to enlargement processing or reduction processing so as to conform to the second rectangular area size 11B after the correction.

そして、CPU100は、拡縮処理された後の形状データ13をモニタインターフェイス213を介してモニタ203に出力し(ステップS112)、文字描画処理を終了する。なお、前述したように、コンピュータ220自体が文字を描画する機能を備えている場合には、ステップS112において、拡縮処理されたのちの形状データ13に基づいて文字を表示装置に表示してもよい。   Then, the CPU 100 outputs the shape data 13 after the enlargement / reduction processing to the monitor 203 via the monitor interface 213 (step S112), and ends the character drawing processing. As described above, when the computer 220 itself has a function of drawing characters, in step S112, the characters may be displayed on the display device based on the shape data 13 after the enlargement / reduction processing. .

<第2の矩形領域サイズ決定処理>
次に、本実施の形態にかかるコンピュータ220における第2の矩形領域サイズ決定処理(ステップS200)の処理手順について説明する。図9は、本実施の形態にかかるコンピュータ220における第2の矩形領域サイズ決定処理(ステップS200)の処理手順を示すフローチャートである。
<Second Rectangular Area Size Determination Process>
Next, a processing procedure of the second rectangular area size determination process (step S200) in the computer 220 according to the present embodiment will be described. FIG. 9 is a flowchart showing a processing procedure of the second rectangular area size determination process (step S200) in the computer 220 according to the present embodiment.

図9を参照して、第2の矩形領域サイズ決定処理(ステップS200)が開始されると、CPU100は、入力された線幅12が偶数であるか否かを判断する(ステップS202)。CPU100は、線幅が偶数である場合(ステップS202にてYESである場合)、入力された第2の矩形領域サイズ11Bが偶数であるか否かを判断する(ステップS204)。   Referring to FIG. 9, when the second rectangular area size determination process (step S200) is started, CPU 100 determines whether or not input line width 12 is an even number (step S202). If the line width is an even number (YES in step S202), CPU 100 determines whether or not the input second rectangular area size 11B is an even number (step S204).

CPU100は、第2の矩形領域サイズ11Bが奇数である場合(ステップS204にてNOである場合)、第2の矩形領域サイズ11Bを現在の第2の矩形領域サイズ11B(ステップS108にて入力された時点の第2の矩形領域サイズ11B)から1だけ小さい値にセットし直して、第2の矩形領域サイズ決定処理(ステップS200)を終了する。   When the second rectangular area size 11B is an odd number (NO in step S204), the CPU 100 inputs the second rectangular area size 11B to the current second rectangular area size 11B (in step S108). The second rectangular area size 11B) is reset to a value smaller by 1 and the second rectangular area size determining process (step S200) is terminated.

本実施の形態においては、ステップS206に示すように、最終的な第2の矩形領域サイズ11Bが、ステップS108にて入力された第2の矩形領域サイズ11Bより1だけ小さい値になっているが、必ずしもこのような構成に限定されない。最終的な第2の矩形領域サイズ11Bが第1の矩形領域サイズ11Aを超えない範囲の偶数の値であれば構わない。ゆえに、第2の矩形領域サイズ11Bを第1の矩形領域サイズ11Aを超えない範囲での最大の偶数値とするものであっても構わない。   In the present embodiment, as shown in step S206, the final second rectangular area size 11B is a value smaller by 1 than the second rectangular area size 11B input in step S108. However, it is not necessarily limited to such a configuration. It does not matter as long as the final second rectangular area size 11B is an even number within a range not exceeding the first rectangular area size 11A. Therefore, the second rectangular area size 11B may be a maximum even value within a range not exceeding the first rectangular area size 11A.

一方、CPU100は、第2の矩形領域サイズ11Bが偶数である場合(ステップS204にてYESである場合)、第2の矩形領域サイズ決定処理(ステップS200)を終了する。   On the other hand, if the second rectangular area size 11B is an even number (YES in step S204), CPU 100 ends the second rectangular area size determination process (step S200).

本実施の形態においては、ステップS204において、第2の矩形領域サイズ11Bが偶数であれば処理を終了したが、第2の矩形領域サイズ11Bを第1の矩形領域サイズ11Aを超えない範囲での最大の偶数値として設定し直すものであっても構わない。   In the present embodiment, if the second rectangular area size 11B is an even number in step S204, the processing is terminated. However, the second rectangular area size 11B is within a range not exceeding the first rectangular area size 11A. It may be reset as the maximum even value.

そして、ステップS202において、CPU100は、線幅が奇数である場合(ステップS202にてNOである場合)、入力された第2の矩形領域サイズ11Bが偶数であるか否かを判断する(ステップS208)。CPU100は、第2の矩形領域サイズ11Bが奇数である場合(ステップS208にてNOである場合)、第2の矩形領域サイズ決定処理(ステップS200)を終了する。   In step S202, when the line width is an odd number (NO in step S202), the CPU 100 determines whether or not the input second rectangular area size 11B is an even number (step S208). ). If the second rectangular area size 11B is an odd number (NO in step S208), CPU 100 ends the second rectangular area size determination process (step S200).

本実施の形態においては、ステップS208において、第2の矩形領域サイズ11Bが奇数であれば処理を終了したが、第2の矩形領域サイズ11Bを第1の矩形領域サイズ11Aを超えない範囲での最大の奇数値として設定し直すものであっても構わない。   In the present embodiment, if the second rectangular area size 11B is an odd number in step S208, the process is terminated, but the second rectangular area size 11B is within a range not exceeding the first rectangular area size 11A. It may be set again as the maximum odd value.

一方、ステップS208において、CPU100は、第2の矩形領域サイズ11Bが偶数である場合(ステップS208にてYESである場合)、第2の矩形領域サイズ11Bを現在の第2の矩形領域サイズ11B(ステップS108にて入力された時点の第2の矩形領域サイズ11B)から1だけ小さい値にセットし直して、第2の矩形領域サイズ決定処理(ステップS200)を終了する。   On the other hand, in step S208, if the second rectangular area size 11B is an even number (YES in step S208), the CPU 100 converts the second rectangular area size 11B to the current second rectangular area size 11B ( The value is reset to a value smaller by 1 from the second rectangular area size 11B) inputted at step S108, and the second rectangular area size determining process (step S200) is ended.

本実施の形態においては、ステップS210に示すように、最終的な第2の矩形領域サイズ11Bが、ステップS108にて入力された第2の矩形領域サイズ11Bより1だけ小さい値になっているが、必ずしもこのような構成に限定されない。最終的な第2の矩形領域サイズ11Bが第1の矩形領域サイズ11Aを超えない範囲の奇数の値であれば構わない。ゆえに、第2の矩形領域サイズ11Bを第1の矩形領域サイズ11Aを超えない範囲での最大の奇数値とするものであっても構わない。   In the present embodiment, as shown in step S210, the final second rectangular area size 11B is a value smaller by 1 than the second rectangular area size 11B input in step S108. However, it is not necessarily limited to such a configuration. It does not matter as long as the final second rectangular area size 11B is an odd number within a range not exceeding the first rectangular area size 11A. Therefore, the second rectangular area size 11B may be a maximum odd value within a range not exceeding the first rectangular area size 11A.

このように、本実施の形態に係るコンピュータ220においては、線幅12と第2の矩形領域サイズ11Bとを整合させるための処理を行うため、左右対称性あるいは上下対称性を有した対称オブジェクトを、左右対称性あるいは上下対称性を有したまま描画することができる。その結果、ユーザが当該文字を読みやすくなり、テキストデータ全体における可読性を向上させることができる。   Thus, in the computer 220 according to the present embodiment, in order to perform processing for matching the line width 12 with the second rectangular area size 11B, a symmetrical object having left-right symmetry or vertical symmetry is selected. It is possible to draw with left-right symmetry or up-down symmetry. As a result, the user can easily read the character, and the readability of the entire text data can be improved.

[実施の形態2]
次に、本発明の実施の形態2について説明する。上述の実施の形態1に係るコンピュータ220は、受付部110が受け付けた第1の矩形領域サイズ11Aと第2の矩形領域サイズ11Bと線幅12とに応じて、文字が表示される第2の矩形領域サイズ11B(レター枠のサイズ)を更新するものであった。一方、本実施の形態に係るコンピュータ220bにおいては、受付部110が受け付けた第1の矩形領域サイズ11Aと線幅12とに応じて、第2の矩形領域サイズ11Bを設定する。
[Embodiment 2]
Next, a second embodiment of the present invention will be described. The computer 220 according to the first embodiment described above displays the second character in accordance with the first rectangular area size 11A, the second rectangular area size 11B, and the line width 12 received by the receiving unit 110. The rectangular area size 11B (letter frame size) was updated. On the other hand, in the computer 220b according to the present embodiment, the second rectangular area size 11B is set according to the first rectangular area size 11A and the line width 12 received by the receiving unit 110.

なお、実施の形態2におけるコンピュータ220bやコンピュータシステムのハードウェア構成は、図1に示した実施の形態1におけるコンピュータ220やコンピュータシステム200と同じであるため、ここでは説明を繰り返さない。   Note that the hardware configuration of the computer 220b and the computer system in the second embodiment is the same as that of the computer 220 and the computer system 200 in the first embodiment shown in FIG. 1, and therefore description thereof will not be repeated here.

<機能構成>
図10は、本実施の形態にかかるコンピュータ(文字描画装置)220bの機能構成を示すブロック図である。本実施の形態に係るコンピュータ220bにおいても、図10に示される各部は、CPU100がハードディスク212やRAM209に記憶されるプログラムを実行することによって実現される機能である。ただし、図10に示される1または複数の機能ブロックが専用のハードウェア回路によって実現される構成であってもよい。
<Functional configuration>
FIG. 10 is a block diagram showing a functional configuration of a computer (character drawing device) 220b according to the present embodiment. Also in the computer 220b according to the present embodiment, each unit illustrated in FIG. 10 is a function realized by the CPU 100 executing a program stored in the hard disk 212 or the RAM 209. However, a configuration in which one or a plurality of functional blocks illustrated in FIG. 10 is realized by a dedicated hardware circuit may be employed.

なお、図2に示した実施の形態1におけるコンピュータ220と同じ機能ブロックについては、ここでは説明を繰り返さない。   Note that the description of the same functional blocks as those of the computer 220 in the first embodiment shown in FIG. 2 is not repeated here.

図10を参照して、本実施の形態にかかるコンピュータ220bは、文字コード受付部101、サイズ受付部102b、線幅受付部103、取得部104b、拡縮部106、出力部107、形状データ記憶部212−1、および矩形情報記憶部212−2を備えている。なお、文字コード受付部101、サイズ受付部102b、線幅受付部103は、外部からデータを受け付ける受付部110に含まれる。   Referring to FIG. 10, a computer 220b according to the present embodiment includes a character code receiving unit 101, a size receiving unit 102b, a line width receiving unit 103, an acquisition unit 104b, an enlargement / reduction unit 106, an output unit 107, and a shape data storage unit. 212-1 and a rectangular information storage unit 212-2. The character code receiving unit 101, the size receiving unit 102b, and the line width receiving unit 103 are included in the receiving unit 110 that receives data from the outside.

まずは、矩形情報記憶部212−2について説明する。図11は、矩形情報記憶部212−2に格納される矩形データ212Aを示すイメージ図である。図11に示すように、矩形情報記憶部212−2は、第2の矩形領域サイズ11Bを、線幅12と第1の矩形領域サイズ11Aとに対応付けて格納する矩形データ212Aを記憶する。これにより、取得部104bは、矩形情報記憶部212−2を参照して、第1の矩形領域サイズ11Aと線幅12とに基づいて、第2の矩形領域サイズ11Bを取得することができる。   First, the rectangular information storage unit 212-2 will be described. FIG. 11 is an image diagram showing the rectangular data 212A stored in the rectangular information storage unit 212-2. As shown in FIG. 11, the rectangular information storage unit 212-2 stores rectangular data 212A that stores the second rectangular area size 11B in association with the line width 12 and the first rectangular area size 11A. Thereby, the acquisition unit 104b can acquire the second rectangular area size 11B based on the first rectangular area size 11A and the line width 12 with reference to the rectangular information storage unit 212-2.

図10に戻って、サイズ受付部102bは、例えば無線もしくは有線を介して提供される矩形領域サイズ11を受信するインターフェイスを備えており、第1の矩形領域サイズ11Aの入力を受け付ける。あるいは、サイズ受付部102bは、他のプログラム(アプリケーション)から提供される第1の矩形領域サイズ11Aを受け付ける。   Returning to FIG. 10, the size receiving unit 102 b includes an interface that receives a rectangular area size 11 provided, for example, via wireless or wired communication, and receives an input of the first rectangular area size 11 </ b> A. Alternatively, the size receiving unit 102b receives the first rectangular area size 11A provided from another program (application).

ただし、本実施の形態に係るサイズ受付部102bは、第2の矩形領域サイズ11Bを受け付けてもよい。より詳細には、たとえば、サイズ受付部102bは、受け付けた第1の矩形領域サイズ11Aと線幅12とに対応する第2の矩形領域サイズ11Bが矩形情報記憶部212−2に記憶されていない場合に、第2の矩形領域サイズ11Bを受け付けてもよい。   However, the size receiving unit 102b according to the present embodiment may receive the second rectangular area size 11B. More specifically, for example, the size receiving unit 102b does not store the received second rectangular region size 11B corresponding to the received first rectangular region size 11A and the line width 12 in the rectangular information storage unit 212-2. In this case, the second rectangular area size 11B may be accepted.

本実施の形態に係る取得部104bは、矩形情報記憶部212−2を参照し、線幅受付部103を介して入力された線幅12とサイズ受付部102bを介して入力された第1の矩形領域サイズ11Aとに基づいて、両者に対応する第2の矩形領域サイズ11Bを取得することによって、描画する際の最終的な第2の矩形領域サイズ11Bを決定する。より詳細には、たとえば、図11に示すように、受付部110が、線幅として2ドットいう情報を、第1の矩形領域サイズ11Aとして16ドットいう情報を受け付けると、取得部104bは、矩形情報記憶部212−2の矩形データ212Aを参照して、両者に対応する第2の矩形領域サイズ11B(14ドット)を取得する。   The acquisition unit 104b according to the present embodiment refers to the rectangular information storage unit 212-2, and the line width 12 input through the line width receiving unit 103 and the first input through the size receiving unit 102b. Based on the rectangular area size 11A, the second rectangular area size 11B corresponding to both is obtained, thereby determining the final second rectangular area size 11B for drawing. More specifically, for example, as illustrated in FIG. 11, when the reception unit 110 receives information of 2 dots as the line width and information of 16 dots as the first rectangular region size 11A, the acquisition unit 104b With reference to the rectangular data 212A of the information storage unit 212-2, the second rectangular area size 11B (14 dots) corresponding to both is acquired.

ただし、本実施の形態に係るサイズ受付部102bは、線幅受付部103を介して入力された線幅12と、サイズ受付部102bを介して入力された第1の矩形領域サイズ11Aと、同じくサイズ受付部102bを介して入力された第2の矩形領域サイズ11Bに基づいて、当該第2の矩形領域サイズ11Bを修正してもよい。より詳細には、たとえば、受け付けた第1の矩形領域サイズ11Aと線幅12とに対応する第2の矩形領域サイズ11Bが矩形情報記憶部212−2に記憶されていない場合に、線幅12と第1の矩形領域サイズ11Aとに基づいて、第2の矩形領域サイズ11Bを修正してもよい。   However, the size receiving unit 102b according to the present embodiment is the same as the line width 12 input via the line width receiving unit 103 and the first rectangular area size 11A input via the size receiving unit 102b. The second rectangular area size 11B may be corrected based on the second rectangular area size 11B input via the size receiving unit 102b. More specifically, for example, when the second rectangular area size 11B corresponding to the received first rectangular area size 11A and the line width 12 is not stored in the rectangular information storage unit 212-2, the line width 12 And the second rectangular area size 11B may be modified based on the first rectangular area size 11A.

<文字描画処理>
次に、本実施の形態にかかるコンピュータ220bにおける文字描画処理の処理手順について説明する。図12は、本実施の形態にかかるコンピュータ220bにおける文字描画処理の処理手順を示すフローチャートである。
<Character drawing process>
Next, a processing procedure of character drawing processing in the computer 220b according to the present embodiment will be described. FIG. 12 is a flowchart showing a processing procedure of character drawing processing in the computer 220b according to the present embodiment.

図12を参照して、コンピュータ220bの電源が入れられると、CPU100は、ハードディスク212から文字描画プログラムを読み出して、文字描画プログラムを起動する。まずCPU100は、文字コード10が入力されるのを待ち受ける(ステップS302)。CPU100は、文字コード10が入力されると(ステップS302にてYESである場合)、入力された文字コード10を読み込んで、文字コードに対応する形状データを読み出す。   Referring to FIG. 12, when computer 220b is powered on, CPU 100 reads a character drawing program from hard disk 212 and starts the character drawing program. First, the CPU 100 waits for the character code 10 to be input (step S302). When the character code 10 is input (YES in step S302), the CPU 100 reads the input character code 10 and reads shape data corresponding to the character code.

次に、CPU100は、第1の矩形領域サイズ11Aが入力されるのを待ち受ける(ステップS304)。CPU100は、第一の矩形領域サイズ11Aが入力されると(ステップS304にてYESである場合)、入力された第1の矩形領域サイズ11AをRAM209に記憶する。同様に、CPU100は、線幅12が入力されるのを待ち受ける(ステップS306)。CPU100は、線幅12が入力されると(ステップS306にてYESである場合)、入力された線幅12を読み込んで、RAM209に記憶する。   Next, the CPU 100 waits for the input of the first rectangular area size 11A (step S304). When the first rectangular area size 11A is input (YES in step S304), the CPU 100 stores the input first rectangular area size 11A in the RAM 209. Similarly, CPU 100 waits for input of line width 12 (step S306). When the line width 12 is input (YES in step S306), the CPU 100 reads the input line width 12 and stores it in the RAM 209.

CPU100は、矩形情報記憶部212−2を参照して、第1の矩形領域サイズ11Aと線幅12とに対応する第2の矩形領域サイズ11Bが矩形データ212Aに格納されているか否かを判断する(ステップS308)。第1の矩形領域サイズ11Aと線幅12とに対応する第2の矩形領域サイズ11Bが矩形データ212Aに格納されている場合(ステップS308にてYESである場合)、CPU100は、当該第2の矩形領域サイズ11Bを抽出して、文字コード10に対応する第2の矩形領域サイズ11Bとしてセットする(ステップS310)。   The CPU 100 refers to the rectangular information storage unit 212-2 to determine whether or not the second rectangular area size 11B corresponding to the first rectangular area size 11A and the line width 12 is stored in the rectangular data 212A. (Step S308). When the second rectangular area size 11B corresponding to the first rectangular area size 11A and the line width 12 is stored in the rectangular data 212A (YES in step S308), the CPU 100 The rectangular area size 11B is extracted and set as the second rectangular area size 11B corresponding to the character code 10 (step S310).

一方、第1の矩形領域サイズ11Aと線幅12とに対応する第2の矩形領域サイズ11Bが矩形データ212Aに格納されていない場合(ステップS308にてNOである場合)、CPU100は、第2の矩形領域サイズ11Bが入力されるのを待ち受ける(ステップS312)。CPU100は、第2の矩形領域サイズ11Bが入力されると(ステップS312にてYESである場合)、入力された第2の矩形領域サイズ11Bを読み込んで、RAM209に記憶する。そして、CPU100は、第2矩形領域サイズ決定処理(ステップS200)によって、入力された第2の矩形領域サイズ11Bを修正する。第2矩形領域サイズ決定処理(ステップS200)については、図9に示した第2矩形領域サイズ決定処理(ステップS200)と同様であるので、ここでは説明を繰り返さない。   On the other hand, if the second rectangular area size 11B corresponding to the first rectangular area size 11A and the line width 12 is not stored in the rectangular data 212A (NO in step S308), the CPU 100 Waiting for the input of the rectangular area size 11B (step S312). When the second rectangular area size 11B is input (YES in step S312), the CPU 100 reads the input second rectangular area size 11B and stores it in the RAM 209. Then, the CPU 100 corrects the input second rectangular area size 11B by the second rectangular area size determination process (step S200). Since the second rectangular area size determining process (step S200) is the same as the second rectangular area size determining process (step S200) shown in FIG. 9, the description thereof will not be repeated here.

第2の矩形領域サイズ11Bがセットされると(ステップS310あるいはステップS200が終了すると)、CPU100は、文字コード10に相当する形状データ13を形状データ記憶部212−1から読み出して、セットされた第2の矩形領域サイズ11Bに収まる(適合する)ように、形状データ13に拡大処理または縮小処理を行う(S314)。   When the second rectangular area size 11B is set (step S310 or step S200 ends), the CPU 100 reads the shape data 13 corresponding to the character code 10 from the shape data storage unit 212-1, and is set. Enlargement processing or reduction processing is performed on the shape data 13 so as to fit (adapt) the second rectangular area size 11B (S314).

そして、CPU100は、拡縮処理された後の形状データ13をモニタインターフェイス213を介してモニタ203に出力し(ステップS316)、文字描画処理を終了する。なお、前述したように、コンピュータ220自体が文字を描画する機能を備えている場合には、ステップS316において、拡縮処理されたのちの形状データ13に基づいて文字を表示装置に表示してもよい。   Then, the CPU 100 outputs the shape data 13 after the enlargement / reduction processing to the monitor 203 via the monitor interface 213 (step S316), and ends the character drawing processing. As described above, when the computer 220 itself has a function of drawing characters, in step S316, the characters may be displayed on the display device based on the shape data 13 after the enlargement / reduction processing. .

このように、本実施の形態に係るコンピュータ220においては、このように、本実施の形態に係るコンピュータ220においては、左右対称性あるいは上下対称性を有した文字を、左右対称性あるいは上下対称性を有したまま描画することができる。その結果、ユーザが当該文字を読みやすくなり、テキストデータ全体における可読性を向上させることができる。   As described above, in the computer 220 according to the present embodiment, as described above, in the computer 220 according to the present embodiment, characters having left-right symmetry or up-down symmetry are converted into left-right symmetry or up-down symmetry. It is possible to draw with As a result, the user can easily read the character, and the readability of the entire text data can be improved.

[実施の形態3]
次に、本発明の実施の形態3について説明する。上述の実施の形態1に係るコンピュータ220は、文字全体に対する第1の矩形領域サイズ11Aと第2の矩形領域サイズ11Bと線幅12とに応じて、文字全体が表示される第2の矩形領域サイズ11B(レター枠のサイズ)を更新するものであった。一方、本実施の形態に係るコンピュータ220cにおいては、文字を構成する対称オブジェクトに対する第1の矩形領域サイズ11Aと第2の矩形領域サイズ11Bと線幅12とに応じて、当該対称オブジェクトの第2の矩形領域サイズ11Bを更新する。
[Embodiment 3]
Next, a third embodiment of the present invention will be described. The computer 220 according to the first embodiment described above displays the second rectangular area in which the entire character is displayed according to the first rectangular area size 11A, the second rectangular area size 11B, and the line width 12 for the entire character. The size 11B (letter frame size) was updated. On the other hand, in the computer 220c according to the present embodiment, the second of the symmetric object according to the first rectangular area size 11A, the second rectangular area size 11B, and the line width 12 with respect to the symmetric object constituting the character. The rectangular area size 11B is updated.

なお、実施の形態3におけるコンピュータ220cおよびコンピュータシステムのハードウェア構成は、図1に示した実施の形態1におけるコンピュータ220cおよびコンピュータシステム200と同じであるため、ここでは説明を繰り返さない。   The hardware configuration of computer 220c and computer system in the third embodiment is the same as that of computer 220c and computer system 200 in the first embodiment shown in FIG. 1, and therefore description thereof will not be repeated here.

<機能構成>
図13は、本実施の形態にかかるコンピュータ(文字描画装置)220cの機能構成を示すブロック図である。本実施の形態に係るコンピュータ220cにおいても、図13に示される各部は、CPU100がハードディスク212やRAM209に記憶されるプログラムを実行することによって実現される機能である。ただし、図13に示される1または複数の機能ブロックが専用のハードウェア回路によって実現される構成であってもよい。
<Functional configuration>
FIG. 13 is a block diagram showing a functional configuration of a computer (character drawing device) 220c according to the present embodiment. Also in the computer 220c according to the present embodiment, each unit illustrated in FIG. 13 is a function realized by the CPU 100 executing a program stored in the hard disk 212 or the RAM 209. However, a configuration in which one or a plurality of functional blocks illustrated in FIG. 13 is realized by a dedicated hardware circuit may be employed.

なお、図2に示した実施の形態1におけるコンピュータ220と同じ機能ブロックについては、ここでは説明を繰り返さない。   Note that the description of the same functional blocks as those of the computer 220 in the first embodiment shown in FIG. 2 is not repeated here.

図13を参照して、本実施の形態にかかるコンピュータ220cは、文字コード受付部101、サイズ受付部102c、線幅受付部103、取得部104c、拡縮部106、出力部107、対称部位抽出部109、および形状データ記憶部212−1を備えている。なお、文字コード受付部101、サイズ受付部102c、線幅受付部103は、外部からデータを受け付ける受付部110に含まれる。   Referring to FIG. 13, a computer 220c according to the present embodiment includes a character code receiving unit 101, a size receiving unit 102c, a line width receiving unit 103, an acquisition unit 104c, an enlargement / reduction unit 106, an output unit 107, and a symmetric part extraction unit. 109 and a shape data storage unit 212-1. The character code receiving unit 101, the size receiving unit 102c, and the line width receiving unit 103 are included in the receiving unit 110 that receives data from the outside.

まず、対称部位抽出部109は、文字コード受付部101を介して入力された文字コード10に対応する形状データ13を形状データ記憶部212−1から読み出す。そして、対称部位抽出部109は、形状データ13から文字を構成するストローク群を抽出し、それらのストローク群のうち左右対称性あるいは上下対称性を有するストローク群からなる対称オブジェクト(対称部位)を検出する。   First, the symmetric part extraction unit 109 reads the shape data 13 corresponding to the character code 10 input via the character code reception unit 101 from the shape data storage unit 212-1. Then, the symmetric part extraction unit 109 extracts a stroke group constituting a character from the shape data 13, and detects a symmetric object (symmetric part) composed of a stroke group having left-right symmetry or vertical symmetry among the stroke groups. To do.

なお、対称性を見つける方法は限定しない。対称部位抽出部109が動的に検出するものであっても構わないし、図3に示したように、形状データ13が対称性を示す付加情報を予め保持していてもよい。   The method for finding the symmetry is not limited. The symmetric part extraction unit 109 may detect dynamically, or the shape data 13 may hold additional information indicating symmetry as shown in FIG.

あるいは、対称部位抽出部109は、各ストローク群について、上下方向のストロークの本数をカウントし、当該本数が奇数であればストローク群が左右対称性を持つと判断してもよい。また、上下対称のストローク群を抽出する場合には、対称部位抽出部109は、各ストローク群について、左右方向のストロークの本数をカウントし、当該本数が奇数であればストローク群が上下対称性を持つと判断してもよい。例えば、対称部位抽出部109は、「山」という漢字は、上下方向のストロークの本数が3本であり奇数であるため、左右対称性を持つと判断する。また、対称部位抽出部109は、「三」という漢字で、左右方向のストロークの本数が3本であり奇数であるため、上下対称性を持つと判断する。   Alternatively, the symmetric part extraction unit 109 may count the number of vertical strokes for each stroke group, and may determine that the stroke group has left-right symmetry if the number is an odd number. Further, when extracting a vertically symmetrical stroke group, the symmetric part extracting unit 109 counts the number of left and right strokes for each stroke group, and if the number is an odd number, the stroke group exhibits vertical symmetry. You may decide to have it. For example, the symmetric part extraction unit 109 determines that the Chinese character “mountain” has left-right symmetry because the number of strokes in the vertical direction is three and an odd number. In addition, the symmetric part extraction unit 109 determines that it has vertical symmetry because it is a Chinese character “three” and the number of left and right strokes is three and an odd number.

あるいは、ハードディスク212が、予め対称性を持つストローク群のパターン(対称性パターン)を格納してもよい。対称部位抽出部109は、文字コード10から呼び出された形状データ13を、ハードディスク212やRAM209に格納された対称性パターンと比較して、文字がそのパターンを有するか、ストローク群がそのパターンに一致するか否かを判断してもよい。より詳細には、対称部位抽出部109は、パターンマッチングに基づいて、類似度(近接度)が予め設定された所定値以上である場合に、ストローク群がその対称性パターンに一致したものと判断する。   Alternatively, the hard disk 212 may store a pattern of symmetrical stroke groups (symmetry pattern) in advance. The symmetric part extraction unit 109 compares the shape data 13 called from the character code 10 with the symmetry pattern stored in the hard disk 212 or the RAM 209, and the character has the pattern or the stroke group matches the pattern. It may be determined whether or not to do so. More specifically, the symmetric part extraction unit 109 determines that the stroke group matches the symmetry pattern when the similarity (proximity) is greater than or equal to a predetermined value based on pattern matching. To do.

例えば、ハードディスク212が「山」という対称性パターンを予め保持しておき、呼び出された形状データ13内に「山」という対称性パターンがあるかどうかを判定する。「山」という漢字の形状データ13が呼び出された場合には、文字全体を含むストローク群が対称性パターンに一致する。「嶋」や「島」という漢字の形状データ13が呼び出された場合には、文字を構成するストローク群が対称性パターンに一致する。   For example, the hard disk 212 holds a symmetry pattern “mountain” in advance, and determines whether or not there is a symmetry pattern “mountain” in the called shape data 13. When the shape data 13 of the Chinese character “mountain” is called, the stroke group including the entire character matches the symmetry pattern. When the shape data 13 of the Chinese characters “shima” and “island” is called, the stroke group constituting the character matches the symmetry pattern.

そして、左右対称性パターンとして「山」と「甲」が登録されていれば、対称部位抽出部109は、例えば、「岬」という漢字の形状データ13を読み出した場合に、「山」というストローク群と「甲」というストローク群の両方が左右対称性パターンに一致すると判断し、2つの対称オブジェクトを抽出する。   Then, if “mountain” and “former” are registered as the left-right symmetry pattern, for example, when the shape data 13 of the Chinese character “cape” is read out, the symmetrical part extraction unit 109 reads the stroke “mountain”. It is determined that both the group and the stroke group “A” match the left-right symmetry pattern, and two symmetrical objects are extracted.

サイズ受付部102cは、例えば無線もしくは有線を介して提供される矩形領域サイズ11を受信するインターフェイスを備えており、対称オブジェクトに対する第1および第2の矩形領域サイズ11A,11Bの入力を受け付ける。あるいは、サイズ受付部102cは、他のプログラム(アプリケーション)から提供される対称オブジェクトに対する第1および第2の矩形領域サイズ11A,11Bを受け付ける。   The size receiving unit 102c includes an interface for receiving a rectangular area size 11 provided via, for example, wireless or wired communication, and receives input of the first and second rectangular area sizes 11A and 11B for the symmetric object. Alternatively, the size receiving unit 102c receives the first and second rectangular area sizes 11A and 11B for the symmetrical object provided from another program (application).

本実施の形態に係る取得部104cは、線幅受付部103を介して入力された線幅12と、サイズ受付部102cを介して入力された第1および第2の矩形領域サイズ11A,11Bとに基づいて、描画する際の最終的な第2の矩形領域サイズ11Bを決定する。すなわち、本実施の形態に係る取得部104cは、線幅受付部103を介して入力された線幅12と、サイズ受付部102cを介して入力された第1の矩形領域サイズ11Aとに基づいて、サイズ受付部102cを介して入力された第2の矩形領域サイズ11Bを修正する。   The acquiring unit 104c according to the present embodiment includes the line width 12 input via the line width receiving unit 103, and the first and second rectangular area sizes 11A and 11B input via the size receiving unit 102c. Based on the above, the final second rectangular area size 11B for drawing is determined. That is, the acquiring unit 104c according to the present embodiment is based on the line width 12 input via the line width receiving unit 103 and the first rectangular area size 11A input via the size receiving unit 102c. Then, the second rectangular area size 11B input via the size receiving unit 102c is corrected.

拡縮部106は、文字コード受付部101を介して入力された文字コード10に対応する形状データ13を形状データ記憶部212−1から読み出し、最終的な第2の矩形領域の大きさに収まるように当該形状データ13の拡大処理または縮小処理を行う。例えば、第2の矩形領域サイズが23ドットである場合、左右方向の大きさが23ドットの第2の矩形領域に収まるように文字の大きさを調整する。   The enlargement / reduction unit 106 reads the shape data 13 corresponding to the character code 10 input via the character code receiving unit 101 from the shape data storage unit 212-1, and fits the final size of the second rectangular area. Next, enlargement processing or reduction processing of the shape data 13 is performed. For example, when the size of the second rectangular area is 23 dots, the character size is adjusted so that the size in the left-right direction fits in the second rectangular area of 23 dots.

出力部107は、拡縮部106で処理された形状データ13をモニタインターフェイス213を介してモニタ203に出力する。あるいは、出力部107は、拡縮部106で処理された形状データ13を通信インターフェイス216を介してもネットワークへと出力する。なお、コンピュータ220自体が描画機能(モニタ)を備えている場合は、拡縮処理された形状データに従って文字描画を行った結果を当該モニタに表示するものであっても構わない。   The output unit 107 outputs the shape data 13 processed by the enlargement / reduction unit 106 to the monitor 203 via the monitor interface 213. Alternatively, the output unit 107 outputs the shape data 13 processed by the enlargement / reduction unit 106 to the network via the communication interface 216. When the computer 220 itself has a drawing function (monitor), the result of drawing characters according to the enlarged / reduced shape data may be displayed on the monitor.

(本実施の形態に係るコンピュータ220cの動作概要1)
(線幅が2ドットの場合)
ここで、本実施の形態に係る取得部104cの動作概要について詳述する。以下では、左右対称性を持つ対称オブジェクトを含む文字の文字コード10が入力された場合において、モニタ203などに当該対称オブジェクトを含む文字を描画する(表示する)際の動作概要について説明する。
(Outline of operation of computer 220c according to the present embodiment 1)
(When the line width is 2 dots)
Here, an outline of the operation of the acquisition unit 104c according to the present embodiment will be described in detail. In the following, an outline of an operation when drawing (displaying) a character including the symmetric object on the monitor 203 or the like when the character code 10 of the character including the symmetric object having left-right symmetry is input will be described.

本実施の形態においても、文字コード10としてSJISコードが入力されるものとする。さらに、ここでは、「仲」という文字の文字コード「0x9287」が、文字コード受付部101を介して入力されるものとする。そして、サイズ受付部102cは、文字全体のボディサイズとして20ドットという情報を、レターサイズとして18ドットという情報、線幅として2ドットという情報を受け付ける。あるいは、文字全体のボディサイズとして20ドットという情報が、レターサイズとして18ドットという情報が予め設定されている。   Also in this embodiment, it is assumed that an SJIS code is input as the character code 10. Furthermore, here, it is assumed that the character code “0x9287” of the characters “Naka” is input via the character code receiving unit 101. The size receiving unit 102c receives information of 20 dots as the body size of the entire character, information of 18 dots as the letter size, and information of 2 dots as the line width. Alternatively, information of 20 dots as the body size of the entire character and information of 18 dots as the letter size are preset.

対称部位抽出部109は、形状データ記憶部212−1から文字コード10、すなわちSJISコードが「0x9287」の形状データ13を呼び出して、呼び出した形状データ13を構成するストローク群から、対称性を持つストローク群からなる対称オブジェクトを検出する。この場合、「仲」という文字を構成する形状データ13には「中」という対称性を持つストローク群からなる対称オブジェクトが存在するため、対称部位抽出部109は「中」という対称オブジェクトを抽出する。   The symmetric part extraction unit 109 calls the character code 10 from the shape data storage unit 212-1, that is, the shape data 13 whose SJIS code is “0x9287”, and has symmetry from the stroke group constituting the called shape data 13. Detect symmetric objects consisting of strokes. In this case, since there is a symmetric object consisting of stroke groups having symmetry of “medium” in the shape data 13 constituting the character “middle”, the symmetric part extraction unit 109 extracts the symmetric object of “middle”. .

サイズ受付部102cは、対称オブジェクトに対する第1の矩形領域サイズ11A(ボディサイズ)として左右方向に13ドットおよび上下方向に18ドットという情報が、第2の矩形領域サイズ11B(レターサイズ)として左右方向に13ドットおよび上下方向に18ドットという情報が、サイズ受付部102cを介して入力されるものとする。また、線幅として2ドットという情報が、線幅受付部103に入力される。   The size receiving unit 102c has information of 13 dots in the horizontal direction and 18 dots in the vertical direction as the first rectangular area size 11A (body size) for the symmetrical object, and the horizontal direction as the second rectangular area size 11B (letter size). It is assumed that information of 13 dots and 18 dots in the vertical direction is input via the size receiving unit 102c. Further, information of 2 dots as the line width is input to the line width receiving unit 103.

換言すれば、文字コード受付部101は文字コード(SJISコード)0x9287という情報を受け付けて、対称部位抽出部109に受け渡す。対称部位抽出部109は形状データ13と、「中」という対称オブジェクトを指定する情報と、左右対称である旨の情報とを取得部104cに受け渡す。サイズ受付部102cは第1の矩形領域サイズ11Aとして左右方向13ドットおよび上下方向に18ドットという情報を受け付けて、取得部104cに受け渡す。線幅受付部103は線幅として2ドットという情報を受け付けて、取得部104cに受け渡す。サイズ受付部102cは第2の矩形領域サイズ11Bとして左右方向13ドット、上下方向に18ドットという情報を受け付けて、取得部104cに受け渡す。   In other words, the character code receiving unit 101 receives the information of the character code (SJIS code) 0x9287 and passes it to the symmetric part extracting unit 109. The symmetric part extraction unit 109 passes the shape data 13, information specifying the symmetric object “medium”, and information indicating that it is bilaterally symmetric to the acquisition unit 104c. The size accepting unit 102c accepts information of 13 dots in the left-right direction and 18 dots in the up-down direction as the first rectangular area size 11A, and delivers it to the acquiring unit 104c. The line width receiving unit 103 receives information of 2 dots as the line width and transfers it to the acquiring unit 104c. The size accepting unit 102c accepts information of 13 dots in the left-right direction and 18 dots in the up-down direction as the second rectangular area size 11B, and delivers it to the acquiring unit 104c.

そして、取得部104cは、「中」という対称オブジェクトを指定する情報と、左右対称である旨の情報とに基づいて、線幅が偶数であるか否かを判断する。ここでは、対称オブジェクトが左右対称であって、入力された線幅が2ドット(偶数)であるため、取得部104cは第2の矩形領域サイズ11Bの左右方向のドット数が偶数であるか否かを判断する。ここでは、第2の矩形領域サイズ11Bの左右方向の大きさが13ドットであり、すなわち第2の矩形領域サイズ11Bが奇数であるため、取得部104cは第2の矩形領域サイズ11Bから1だけ小さい値を第2の矩形領域サイズ11Bとしてセットし直す。すなわち、取得部104cは、第2の矩形領域サイズ11Bの左右方向の大きさを12ドットにセットし直す。   Then, the acquisition unit 104c determines whether or not the line width is an even number based on the information specifying the symmetrical object “medium” and the information indicating that it is bilaterally symmetric. Here, since the symmetric object is bilaterally symmetric and the input line width is 2 dots (even), the acquisition unit 104c determines whether the number of dots in the horizontal direction of the second rectangular area size 11B is even. Determine whether. Here, since the size of the second rectangular area size 11B in the left-right direction is 13 dots, that is, the second rectangular area size 11B is an odd number, the acquisition unit 104c is only 1 from the second rectangular area size 11B. A smaller value is reset as the second rectangular area size 11B. That is, the acquisition unit 104c resets the horizontal size of the second rectangular area size 11B to 12 dots.

図14は、線幅が2ドットの場合の「仲」という文字が表示される場合における第1の矩形領域と第2の矩形領域と表示される文字画像とを示すイメージ図である。より詳細には、図14(a)は、本実施の形態に係るコンピュータシステム200における第1の矩形領域と第2の矩形領域とを示すイメージ図である。図14(b)は、本実施の形態に係るコンピュータシステム200における第1の矩形領域と第2の矩形領域と表示される文字画像とを示すイメージ図である。   FIG. 14 is an image diagram showing a first rectangular area, a second rectangular area, and a character image to be displayed when a character “Naka” in a case where the line width is 2 dots is displayed. More specifically, FIG. 14A is an image diagram showing a first rectangular area and a second rectangular area in the computer system 200 according to the present embodiment. FIG. 14B is an image diagram showing the first rectangular area, the second rectangular area, and the displayed character image in the computer system 200 according to the present embodiment.

図14(a)に示すように、本実施の形態に係るコンピュータシステム200においては、取得部104cが第2の矩形領域サイズ11Bの左右方向の大きさを12ドットにセットし直す。たとえば、「中」という対称オブジェクトに割り当てられるボディ枠として、左右方向13ドット分および上下方向に18ドット分の画素を確保する。そして、取得部104cは、「中」という対称オブジェクトが表示される(占有する)レター枠として、左右方向に12ドット分および上下方向に18ドット分の画素を確保する。   As shown in FIG. 14A, in the computer system 200 according to the present embodiment, the acquisition unit 104c resets the horizontal size of the second rectangular area size 11B to 12 dots. For example, as a body frame assigned to the symmetrical object “medium”, pixels for 13 dots in the horizontal direction and 18 dots in the vertical direction are secured. Then, the acquisition unit 104c reserves pixels for 12 dots in the left-right direction and 18 dots in the up-down direction as a letter frame in which a symmetrical object “medium” is displayed (occupied).

拡縮部106は、形状データ記憶部212−1から文字コード10、すなわちSJISコードが「0x9287」の形状データ13を呼び出して、「仲」という文字全体がレター枠(18ドット)に収まるように、そして「中」という対称オブジェクトがレター枠(左右方向に12ドット、上下方向に18ドット)に収まるように、形状データ13に対して拡大処理または縮小処理を行う。   The enlargement / reduction unit 106 calls the character code 10 from the shape data storage unit 212-1, that is, the shape data 13 whose SJIS code is “0x9287”, so that the entire character “Naka” fits in the letter frame (18 dots). Then, enlargement processing or reduction processing is performed on the shape data 13 so that the symmetrical object “medium” fits in the letter frame (12 dots in the horizontal direction and 18 dots in the vertical direction).

そして、図14(b)に示すように、出力部107は、拡大処理または縮小処理された形状データ13に基づいて、モニタ203に文字を描画する。このように、線幅が2ドット(偶数)の場合に、第2の矩形領域サイズ11Bが12ドット(偶数)のレター枠に対称オブジェクトを描画することにより、「中」のような中央のストロークに対して線対称な対称オブジェクトを描画する場合に、左右対称性を維持したまま「中」という文字を描画することができる。   Then, as illustrated in FIG. 14B, the output unit 107 draws characters on the monitor 203 based on the shape data 13 that has been subjected to the enlargement process or the reduction process. In this way, when the line width is 2 dots (even), a symmetrical stroke is drawn in a letter frame having the second rectangular area size 11B of 12 dots (even). When a symmetrical object that is line symmetric with respect to is drawn, the character “middle” can be drawn with the left-right symmetry maintained.

(線幅が1ドットの場合)
次に、線幅として1ドットいう情報が、線幅受付部103に入力された場合について説明する。
(When the line width is 1 dot)
Next, a case where information of 1 dot as the line width is input to the line width receiving unit 103 will be described.

対称部位抽出部109は、形状データ記憶部212−1から文字コード10、すなわちSJISコードが「0x9287」の形状データ13を呼び出して、呼び出した形状データ13を構成するストローク群から、対称性を持つストローク群からなる対称オブジェクトを検出する。この場合、「仲」という文字には「中」という対称性を持つストローク群からなる対称オブジェクトが存在するため、対称部位抽出部109は「中」という対称オブジェクトを抽出する。   The symmetric part extraction unit 109 calls the character code 10 from the shape data storage unit 212-1, that is, the shape data 13 whose SJIS code is “0x9287”, and has symmetry from the stroke group constituting the called shape data 13. Detect symmetric objects consisting of strokes. In this case, since there is a symmetric object composed of stroke groups having a symmetry of “medium” in the characters “middle”, the symmetric part extraction unit 109 extracts a symmetric object of “middle”.

サイズ受付部102cは、対称オブジェクトに対する第1の矩形領域サイズ11A(ボディサイズ)として左右方向に12ドットおよび上下方向に18ドットという情報が、第2の矩形領域サイズ11B(レターサイズ)として左右方向に12ドットおよび上下方向に18ドットという情報が、サイズ受付部102cを介して入力されるものとする。また、線幅として1ドットという情報が、線幅受付部103に入力される。   The size accepting unit 102c has information of 12 dots in the left and right direction and 18 dots in the up and down direction as the first rectangular area size 11A (body size) for the symmetrical object, and the right and left direction as the second rectangular area size 11B (letter size). It is assumed that information of 12 dots and 18 dots in the vertical direction is input via the size receiving unit 102c. In addition, information of 1 dot as the line width is input to the line width receiving unit 103.

換言すれば、文字コード受付部101は文字コード(SJISコード)0x9287という情報を受け付けて、対称部位抽出部109に受け渡す。対称部位抽出部109は形状データ13と、「中」という対称オブジェクトを指定する情報と、左右対称である旨の情報とを取得部104cに受け渡す。サイズ受付部102cは第1の矩形領域サイズ11Aとして左右方向に12ドットおよび上下方向に18ドットという情報を受け付けて、取得部104cに受け渡す。線幅受付部103は線幅として1ドットという情報を受け付けて、取得部104cに受け渡す。サイズ受付部102cは第2の矩形領域サイズ11Bとして左右方向に12ドットおよび上下方向に18ドットという情報を受け付けて、取得部104cに受け渡す。   In other words, the character code receiving unit 101 receives the information of the character code (SJIS code) 0x9287 and passes it to the symmetric part extracting unit 109. The symmetric part extraction unit 109 passes the shape data 13, information specifying the symmetric object “medium”, and information indicating that it is bilaterally symmetric to the acquisition unit 104c. The size receiving unit 102c receives information of 12 dots in the left-right direction and 18 dots in the up-down direction as the first rectangular area size 11A, and transfers it to the acquiring unit 104c. The line width accepting unit 103 accepts information of 1 dot as the line width and passes it to the acquiring unit 104c. The size accepting unit 102c accepts information of 12 dots in the left-right direction and 18 dots in the up-down direction as the second rectangular area size 11B, and delivers it to the acquiring unit 104c.

そして、取得部104cは、「中」という対称オブジェクトを指定する情報と、左右対称である旨の情報とに基づいて、線幅が偶数であるか否かを判断する。ここでは、対称オブジェクトが左右対称であって、入力された線幅が1ドット(奇数)であるため、取得部104cは第2の矩形領域サイズ11Bの左右方向のドット数が奇数であるか否かを判断する。ここでは、第2の矩形領域サイズ11Bの左右方向の大きさが12ドットであり、すなわち第2の矩形領域サイズ11Bが偶数であるため、取得部104cは第2の矩形領域サイズ11Bから1だけ小さい値を第2の矩形領域サイズ11Bとしてセットし直す。すなわち、取得部104cは、第2の矩形領域サイズ11Bの左右方向の大きさを11ドットにセットし直す。   Then, the acquisition unit 104c determines whether or not the line width is an even number based on the information specifying the symmetrical object “medium” and the information indicating that it is bilaterally symmetric. Here, since the symmetric object is bilaterally symmetric and the input line width is 1 dot (odd number), the acquisition unit 104c determines whether the number of dots in the left-right direction of the second rectangular area size 11B is an odd number. Determine whether. Here, since the size of the second rectangular area size 11B in the left-right direction is 12 dots, that is, the second rectangular area size 11B is an even number, the acquisition unit 104c is only 1 from the second rectangular area size 11B. A smaller value is reset as the second rectangular area size 11B. That is, the acquisition unit 104c resets the size of the second rectangular area size 11B in the left-right direction to 11 dots.

図15は、線幅が1ドットの場合の「仲」という文字が表示される場合における第1の矩形領域と第2の矩形領域と表示される文字画像とを示すイメージ図である。より詳細には、図15(a)は、本実施の形態に係るコンピュータシステム200における第1の矩形領域と第2の矩形領域とを示すイメージ図である。図15(b)は、本実施の形態に係るコンピュータシステム200における第1の矩形領域と第2の矩形領域と表示される文字画像とを示すイメージ図である。   FIG. 15 is an image diagram showing a first rectangular area, a second rectangular area, and a character image to be displayed when the character “Naka” is displayed when the line width is 1 dot. More specifically, FIG. 15A is an image diagram showing a first rectangular area and a second rectangular area in the computer system 200 according to the present embodiment. FIG. 15B is an image diagram showing the first rectangular area, the second rectangular area, and the displayed character image in the computer system 200 according to the present embodiment.

図15(a)に示すように、本実施の形態に係るコンピュータシステム200においては、取得部104cが第2の矩形領域サイズ11Bの左右方向の大きさを11ドットにセットし直す。たとえば、「中」という対称オブジェクトに割り当てられるボディ枠として、左右方向に12ドット分および上下方向に18ドット分の画素を確保する。そして、取得部104cは、「中」という対称オブジェクトが表示される(占有する)レター枠として、左右方向に11ドット分および上下方向に18ドット分の画素を確保する。   As shown in FIG. 15A, in the computer system 200 according to the present embodiment, the acquisition unit 104c resets the horizontal size of the second rectangular area size 11B to 11 dots. For example, as a body frame assigned to the symmetrical object “medium”, pixels for 12 dots in the horizontal direction and 18 dots in the vertical direction are secured. Then, the acquisition unit 104c secures 11 dots of pixels in the left-right direction and 18 dots in the up-down direction as a letter frame in which the symmetrical object “medium” is displayed (occupied).

拡縮部106は、形状データ記憶部212−1から文字コード10、すなわちSJISコードが「0x9287」の形状データ13を呼び出して、「仲」という文字全体がレター枠(18ドット)に収まるように、そして「中」という対称オブジェクトがレター枠(左右方向に11ドット、上下方向に18ドット)に収まるように、形状データ13に対して拡大処理または縮小処理を行う。   The enlargement / reduction unit 106 calls the character code 10 from the shape data storage unit 212-1, that is, the shape data 13 whose SJIS code is “0x9287”, so that the entire character “Naka” fits in the letter frame (18 dots). Then, enlargement processing or reduction processing is performed on the shape data 13 so that the symmetrical object “medium” fits in the letter frame (11 dots in the horizontal direction and 18 dots in the vertical direction).

そして、図15(b)に示すように、出力部107は、拡大処理または縮小処理された形状データ13に基づいて、モニタ203に文字を描画する。このように、線幅が1ドット(奇数)の場合に、第2の矩形領域サイズ11Bが11ドット(奇数)のレター枠に対称オブジェクトを描画することにより、「中」のような中央のストロークに対して線対称な対称オブジェクトを描画する場合に、左右対称性を維持したまま「中」という文字を描画することができる。   Then, as illustrated in FIG. 15B, the output unit 107 draws characters on the monitor 203 based on the shape data 13 that has been subjected to the enlargement process or the reduction process. In this way, when the line width is 1 dot (odd number), the center stroke such as “medium” is drawn by drawing the symmetrical object in the letter frame having the second rectangular area size 11B of 11 dots (odd number). When a symmetrical object that is line symmetric with respect to is drawn, the character “middle” can be drawn with the left-right symmetry maintained.

なお、ここでは、旁の部分に対称性を持つストローク群からなる対称オブジェクトが存在するような例を示したが、このような機能に限定されない。例えば、「峠」のように、偏の部分に対称性を持つストローク群からなる対称オブジェクトに対しても上記と同様の機能を適用することができる。さらに、「岸」のように冠の部分に対称性を持つストローク群からなるオブジェクトや、「島」などのようにある部分に対称性を持つストローク群、ここでは「山」というストローク群、からなる対称オブジェクトに対しても上記と同様の機能を適用することができる。   Here, an example is shown in which a symmetrical object consisting of a symmetrical stroke group exists in the heel portion, but the present invention is not limited to such a function. For example, a function similar to the above can be applied to a symmetric object composed of stroke groups having symmetry in a biased part such as “峠”. Furthermore, from an object consisting of a stroke group having symmetry in the crown part such as “shore”, a stroke group having symmetry in a part such as “island”, in this case, a stroke group called “mountain” The same function as described above can be applied to the symmetrical object.

<文字描画処理>
次に、本実施の形態にかかるコンピュータ220cにおける文字描画処理の処理手順について説明する。図16は、本実施の形態にかかるコンピュータ220cにおける文字描画処理の処理手順を示すフローチャートである。
<Character drawing process>
Next, a processing procedure of character drawing processing in the computer 220c according to the present embodiment will be described. FIG. 16 is a flowchart showing a processing procedure of character drawing processing in the computer 220c according to the present embodiment.

図16を参照して、コンピュータ220の電源が入れられると、CPU100は、ハードディスク212から文字描画プログラムを読み出して、文字描画プログラムを起動する。まずCPU100は、文字コード10が入力されるのを待ち受ける(ステップS402)。CPU100は、文字コード10が入力されると(ステップS402にてYESである場合)、入力された文字コード10を読み込んで、文字コードに対応する形状データ13を読み出して、対応する文字に対称オブジェクトが含まれるか否かを判断する(ステップS404)。あるいは、CPU100は、対応する文字から対称オブジェクトを抽出する。対応する文字に対称オブジェクトが含まれない場合(ステップS404にてNOである場合)、CPU100は、形状データ13に基づいてモニタ203に文字を描画させる。   Referring to FIG. 16, when computer 220 is turned on, CPU 100 reads a character drawing program from hard disk 212 and starts the character drawing program. First, the CPU 100 waits for the character code 10 to be input (step S402). When the character code 10 is input (when YES in step S402), the CPU 100 reads the input character code 10, reads the shape data 13 corresponding to the character code, and sets the symmetric object to the corresponding character. Is included (step S404). Alternatively, the CPU 100 extracts a symmetric object from the corresponding character. If the symmetric object is not included in the corresponding character (NO in step S404), CPU 100 causes monitor 203 to draw the character based on shape data 13.

対応する文字に対称オブジェクトが含まれる場合(ステップS404にてYESである場合)、CPU100は、対称オブジェクトに対する第1の矩形領域サイズ11Aが入力されるのを待ち受ける(ステップS406)。CPU100は、対称オブジェクトに対する第一の矩形領域サイズ11Aが入力されると(ステップS406にてYESである場合)、入力された第1の矩形領域サイズ11AをRAM209に記憶する。   If the corresponding character includes a symmetric object (YES in step S404), CPU 100 waits for input of first rectangular area size 11A for the symmetric object (step S406). When the first rectangular area size 11A for the symmetric object is input (when YES in step S406), the CPU 100 stores the input first rectangular area size 11A in the RAM 209.

同様に、CPU100は、線幅12が入力されるのを待ち受ける(ステップS408)。CPU100は、線幅12が入力されると(ステップS408にてYESである場合)、入力された線幅12を読み込んで、RAM209に記憶する。   Similarly, the CPU 100 waits for the line width 12 to be input (step S408). When the line width 12 is input (YES in step S408), the CPU 100 reads the input line width 12 and stores it in the RAM 209.

CPU100は、対称オブジェクトに対する第2の矩形領域サイズ11Bが入力されるのを待ち受ける(ステップS410)。CPU100は、対称オブジェクトに対する第2の矩形領域サイズ11Bが入力されると、入力された第2の矩形領域サイズ11Bを読み込んで、RAM209に記憶する。そして、CPU100は、第2矩形領域サイズ決定処理(ステップS200)によって、対称オブジェクトに対する第2の矩形領域サイズ11Bを修正する。第2矩形領域サイズ決定処理(ステップS200)については図9に示した第2矩形領域サイズ決定処理(ステップS200)と同様であるので、ここでは説明を繰り返さない。   The CPU 100 waits for the input of the second rectangular area size 11B for the symmetric object (step S410). When the second rectangular area size 11B for the symmetric object is input, the CPU 100 reads the input second rectangular area size 11B and stores it in the RAM 209. Then, the CPU 100 corrects the second rectangular area size 11B for the symmetric object by the second rectangular area size determination process (step S200). Since the second rectangular area size determining process (step S200) is the same as the second rectangular area size determining process (step S200) shown in FIG. 9, description thereof will not be repeated here.

CPU100は、第2矩形領域サイズ決定処理(ステップS200)が終了すると、文字コード10に相当する形状データ13を形状データ記憶部212−1から読み出して、第2矩形領域サイズ決定処理(ステップS200)にて修正された後の第2の矩形領域サイズ11Bに適合するように、形状データ13に拡大処理または縮小処理を行う(ステップS412)。   When the second rectangular area size determination process (step S200) ends, the CPU 100 reads the shape data 13 corresponding to the character code 10 from the shape data storage unit 212-1, and the second rectangular area size determination process (step S200). Enlargement processing or reduction processing is performed on the shape data 13 so as to conform to the second rectangular area size 11B after being corrected in (Step S412).

そして、CPU100は、拡縮処理された後の形状データ13をモニタインターフェイス213を介してモニタ203に出力し(ステップS414)、文字描画処理を終了する。なお、CPU100は、ステップS414において、形状データのうち、対称性を持たないストローク群からなるオブジェクトも同時に描画するものとし、一つの文字、すなわち入力された文字コード10に対する文字を描画する。なお、前述したように、コンピュータ220自体が文字を描画する機能を備えている場合には、ステップS412において、拡縮処理されたのちの形状データ13に基づいて文字を表示装置に表示してもよい。   Then, the CPU 100 outputs the shape data 13 after the enlargement / reduction processing to the monitor 203 via the monitor interface 213 (step S414), and ends the character drawing processing. In step S414, the CPU 100 simultaneously draws an object composed of stroke groups having no symmetry in the shape data, and draws one character, that is, a character for the inputted character code 10. As described above, when the computer 220 itself has a function of drawing characters, in step S412, the characters may be displayed on the display device based on the shape data 13 after the enlargement / reduction processing. .

このように、本実施の形態に係るコンピュータ220においては、左右対称性あるいは上下対称性を有した対称オブジェクトを、左右対称性あるいは上下対称性を有したまま描画することができる。その結果、ユーザが当該文字を読みやすくなり、テキストデータ全体における可読性を向上させることができる。   As described above, in the computer 220 according to the present embodiment, a symmetrical object having left-right symmetry or vertical symmetry can be drawn with left-right symmetry or vertical symmetry. As a result, the user can easily read the character, and the readability of the entire text data can be improved.

なお、上記の実施の形態1〜3に係る文字描画装置の有する機能同士を組み合わせることも可能である。より詳細には、たとえば、実施の形態2に係るコンピュータ220bに、実施の形態3に係るコンピュータ220cの対称部位抽出部109を追加することが可能である。逆に、実施の形態3に係るコンピュータ220cに、実施の形態2に係るコンピュータ220bの矩形情報記憶部212−2を追加することなども可能である。   It is possible to combine the functions of the character drawing devices according to Embodiments 1 to 3 described above. More specifically, for example, the symmetrical part extraction unit 109 of the computer 220c according to the third embodiment can be added to the computer 220b according to the second embodiment. Conversely, the rectangular information storage unit 212-2 of the computer 220b according to the second embodiment may be added to the computer 220c according to the third embodiment.

上記開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内においてのすべての変更が含まれることが意図される。   The disclosed embodiments are to be considered in all respects as illustrative and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

本実施の形態に係るコンピュータシステムを示す概略図である。It is the schematic which shows the computer system which concerns on this Embodiment. 実施の形態1に係る文字描画装置の機能構成を示す機能ブロック図である。3 is a functional block diagram showing a functional configuration of the character drawing device according to Embodiment 1. FIG. 形状データ記憶部が記憶する形状データの例を示すイメージ図である。It is an image figure which shows the example of the shape data which a shape data storage part memorize | stores. 線幅が2ドットの場合の「山」という文字が表示される場合における第1の矩形領域と第2の矩形領域と表示される文字画像とを示すイメージ図である。It is an image figure which shows the character image displayed with the 1st rectangular area and the 2nd rectangular area in case the character "mountain" in case a line width is 2 dots is displayed. 線幅が3ドットの場合の「山」という文字が表示される場合における第1の矩形領域と第2の矩形領域と表示される文字画像とを示すイメージ図である。It is an image figure which shows the character image displayed with the 1st rectangular area and the 2nd rectangular area in case the character "mountain" in case a line | wire width is 3 dots is displayed. 線幅が2ドットの場合の「三」という文字が表示される場合における第1の矩形領域と第2の矩形領域と表示される文字画像とを示すイメージ図である。It is an image figure which shows the character image displayed with the 1st rectangular area and the 2nd rectangular area in case the character of "three" when a line width is 2 dots is displayed. 線幅が1ドットの場合の「三」という文字が表示される場合における第1の矩形領域と第2の矩形領域と表示される文字画像とを示すイメージ図である。It is an image figure which shows the character image displayed with the 1st rectangular area and the 2nd rectangular area in case the character of "three" when a line width is 1 dot is displayed. 実施の形態1にかかる文字描画装置における文字描画処理の処理手順を示すフローチャートである。4 is a flowchart showing a processing procedure of character drawing processing in the character drawing device according to the first exemplary embodiment; 実施の形態1にかかる文字描画装置における第2の矩形領域サイズ決定処理の処理手順を示すフローチャートである。6 is a flowchart showing a processing procedure of second rectangular area size determination processing in the character drawing device according to the first exemplary embodiment; 実施の形態2にかかる文字描画装置の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the character drawing apparatus concerning Embodiment 2. FIG. 矩形情報記憶部に格納される矩形データを示すイメージ図である。It is an image figure which shows the rectangular data stored in a rectangular information storage part. 実施の形態2にかかる文字描画装置における文字描画処理の処理手順を示すフローチャートである。10 is a flowchart of a character drawing process performed by the character drawing apparatus according to the second embodiment; 実施の形態3にかかる文字描画装置の機能構成を示すブロック図である。FIG. 6 is a block diagram illustrating a functional configuration of a character drawing apparatus according to a third embodiment. 線幅が2ドットの場合の「仲」という文字が表示される場合における第1の矩形領域と第2の矩形領域と表示される文字画像とを示すイメージ図である。It is an image figure which shows the character image displayed with the 1st rectangular area and the 2nd rectangular area in case the character of "Naka" in case a line width is 2 dots is displayed. 線幅が1ドットの場合の「仲」という文字が表示される場合における第1の矩形領域と第2の矩形領域と表示される文字画像とを示すイメージ図である。It is an image figure which shows the character image displayed with the 1st rectangular area and the 2nd rectangular area in case the character of "Naka" in case the line width is 1 dot is displayed. 実施の形態3にかかる文字描画装置における文字描画処理の処理手順を示すフローチャートである。10 is a flowchart of a character drawing process performed by the character drawing apparatus according to the third embodiment;

符号の説明Explanation of symbols

10 文字コード、11A 第1の矩形領域サイズ、11B 第2の矩形領域サイズ、13,13A,13B,13C 形状データ、100 CPU、101 文字コード受付部、102,102b,102c サイズ受付部、103 線幅受付部、104,104b,104c 取得部、106 拡縮部、107 出力部、109 対称部位抽出部、110 受付部、200 文字描画システム(コンピュータシステム)、201 光ディスクドライブ、202 磁気ディスクドライブ、203 モニタ、204 リモコン、207 バス、210 光ディスク、211 磁気ディスク、212 ハードディスク、212−1 形状データ記憶部、212−2 矩形情報記憶部、213 モニタインターフェイス、216 通信インターフェイス、220,220b,220c 文字描画装置(コンピュータ)。   10 character code, 11A first rectangular area size, 11B second rectangular area size, 13, 13A, 13B, 13C shape data, 100 CPU, 101 character code receiving unit, 102, 102b, 102c size receiving unit, 103 lines Width receiving unit, 104, 104b, 104c obtaining unit, 106 enlargement / reduction unit, 107 output unit, 109 symmetrical part extracting unit, 110 receiving unit, 200 character drawing system (computer system), 201 optical disk drive, 202 magnetic disk drive, 203 monitor , 204 remote control, 207 bus, 210 optical disk, 211 magnetic disk, 212 hard disk, 212-1 shape data storage unit, 212-2 rectangular information storage unit, 213 monitor interface, 216 communication interface, 220, 2 20b, 220c Character drawing device (computer).

Claims (8)

表示デバイスに文字を表示させる文字描画装置であって、
文字の形状を表す形状データの各々を前記文字を特定する文字コードに対応付けて記憶する第1の記憶手段と、
前記文字コードと、前記文字に割り当てられた第1の矩形領域の大きさと、前記文字の線幅とを受け付ける受付手段と、
前記第1の矩形領域の大きさと前記文字の線幅とに基づいて、前記文字が表示される第2の矩形領域の大きさを取得する取得手段と、
前記文字コードに基づいて前記第1の記憶手段から形状データを読み出して、対応する文字が前記第2の矩形領域に収まるように前記形状データに対して拡縮処理を行う拡縮手段と、
前記拡縮処理された前記形状データを出力する出力手段とを備える、文字描画装置。
A character drawing device for displaying characters on a display device,
First storage means for storing each piece of shape data representing the shape of a character in association with a character code identifying the character;
Receiving means for receiving the character code, the size of the first rectangular area assigned to the character, and the line width of the character;
Obtaining means for obtaining a size of a second rectangular area in which the character is displayed based on a size of the first rectangular region and a line width of the character;
A scaling unit that reads shape data from the first storage unit based on the character code, and performs a scaling process on the shape data so that a corresponding character fits in the second rectangular area;
A character drawing apparatus comprising: output means for outputting the scaled shape data.
前記第1の矩形領域はボディ領域であって、
前記第1の矩形領域の大きさはボディサイズであって、
前記第2の矩形領域はレター領域であって、
前記第2の矩形領域の大きさはレターサイズである、請求項1に記載の文字描画装置。
The first rectangular region is a body region,
The size of the first rectangular area is a body size,
The second rectangular area is a letter area,
The character drawing apparatus according to claim 1, wherein a size of the second rectangular area is a letter size.
形状データに基づいて、対応する文字を構成する部位のうち、対称性を持つ対称部位を抽出する抽出手段をさらに備え、
前記取得手段は、第2の矩形領域の大きさとして、前記対称部位が表示される第2の矩形領域の、対称軸に直角な方向の長さを取得する、請求項1に記載の文字描画装置。
Based on the shape data, it further comprises an extracting means for extracting a symmetrical part having symmetry among the parts constituting the corresponding character,
2. The character drawing according to claim 1, wherein the acquisition unit acquires, as a size of the second rectangular area, a length in a direction perpendicular to the axis of symmetry of the second rectangular area where the symmetrical portion is displayed. apparatus.
前記表示デバイスは、マトリクス状に配列された複数の画素から構成され、
前記取得手段は、
前記第1の矩形領域の一辺の画素数を取得し、
前記線幅を示す画素数が奇数である場合に、前記第2の矩形領域の大きさとして、前記一辺の画素の数よりも少ない奇数の画素数を取得し、
前記線幅を示す画素数が偶数である場合に、前記第2の矩形領域の大きさとして、前記一辺の画素の数よりも少ない偶数の画素数を取得する、請求項1から3のいずれか1項に記載の文字描画装置。
The display device is composed of a plurality of pixels arranged in a matrix,
The acquisition means includes
Obtaining the number of pixels on one side of the first rectangular area;
When the number of pixels indicating the line width is an odd number, an odd number of pixels smaller than the number of pixels on the one side is acquired as the size of the second rectangular region;
The number of even pixels smaller than the number of pixels on the one side is acquired as the size of the second rectangular area when the number of pixels indicating the line width is an even number. The character drawing apparatus according to item 1.
前記第2の矩形領域の大きさを、前記第1の矩形領域の大きさと前記線幅とに対応付けて記憶する第2の記憶手段をさらに備え、
前記取得手段は、前記第1の矩形領域の大きさと前記線幅とに基づいて、前記第2の記憶手段から対応する第2の矩形領域の大きさを読み出す、請求項1から4のいずれか1項に記載の文字描画装置。
A second storage means for storing the size of the second rectangular area in association with the size of the first rectangular area and the line width;
The acquisition means reads out the size of the corresponding second rectangular area from the second storage means based on the size of the first rectangular area and the line width. The character drawing apparatus according to item 1.
文字描画装置に、表示デバイスに文字を表示させるための文字描画方法であって、
前記文字描画装置は、
前記文字描画装置を制御する演算処理部と、
文字の形状を表す形状データの各々を前記文字を特定する文字コードに対応付けて記憶する第1の記憶手段とを備え、
前記演算処理部が、前記文字コードと、前記文字に割り当てられた第1の矩形領域の大きさと、前記文字の線幅とを受け付けるステップと、
前記演算処理部が、前記第1の矩形領域の大きさと前記文字の線幅とに基づいて、前記文字が表示される第2の矩形領域の大きさを取得するステップと、
前記演算処理部が、前記文字コードに基づいて前記第1の記憶手段から形状データを読み出して、対応する文字が前記第2の矩形領域に収まるように前記形状データに対して拡縮処理を行うステップと、
前記演算処理部が、前記拡縮処理された前記形状データを出力するステップとを備える、文字描画方法。
A character drawing method for causing a character drawing device to display characters on a display device,
The character drawing device includes:
An arithmetic processing unit for controlling the character drawing device;
First storage means for storing each piece of shape data representing the shape of a character in association with a character code that identifies the character;
The arithmetic processing unit receiving the character code, the size of the first rectangular area assigned to the character, and the line width of the character;
The arithmetic processing unit obtaining a size of a second rectangular area in which the character is displayed based on a size of the first rectangular area and a line width of the character;
The arithmetic processing unit reads shape data from the first storage unit based on the character code, and performs an enlargement / reduction process on the shape data so that a corresponding character can be accommodated in the second rectangular area. When,
And a step of outputting the shape data subjected to the scaling process.
文字描画装置に、表示デバイスに文字を表示させるための文字描画プログラムであって、
前記文字描画装置は、
前記文字描画装置を制御する演算処理部と、
文字の形状を表す形状データの各々を前記文字を特定する文字コードに対応付けて記憶する第1の記憶手段とを備え、
前記文字コードと、前記文字に割り当てられた第1の矩形領域の大きさと、前記文字の線幅とを受け付けるステップと、
前記第1の矩形領域の大きさと前記文字の線幅とに基づいて、前記文字が表示される第2の矩形領域の大きさを取得するステップと、
前記文字コードに基づいて前記第1の記憶手段から形状データを読み出して、対応する文字が前記第2の矩形領域に収まるように前記形状データに対して拡縮処理を行うステップと、
前記演算処理部が、前記拡縮処理された前記形状データを出力するステップとを前記演算処理部に実行させる、文字描画プログラム。
A character drawing program for causing a character drawing device to display characters on a display device,
The character drawing device includes:
An arithmetic processing unit for controlling the character drawing device;
First storage means for storing each piece of shape data representing the shape of a character in association with a character code that identifies the character;
Receiving the character code, the size of the first rectangular area assigned to the character, and the line width of the character;
Obtaining a size of a second rectangular area in which the character is displayed based on a size of the first rectangular region and a line width of the character;
Reading shape data from the first storage unit based on the character code, and performing an enlargement / reduction process on the shape data so that the corresponding character fits in the second rectangular area;
A character drawing program for causing the arithmetic processing unit to execute the step of outputting the shape data subjected to the scaling processing.
請求項7に記載の文字描画プログラムを記録したコンピュータ読取可能な記録媒体。   A computer-readable recording medium on which the character drawing program according to claim 7 is recorded.
JP2008204490A 2008-08-07 2008-08-07 Character drawing device, character drawing method, character drawing program, and computer-readable recording medium Pending JP2010039375A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008204490A JP2010039375A (en) 2008-08-07 2008-08-07 Character drawing device, character drawing method, character drawing program, and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008204490A JP2010039375A (en) 2008-08-07 2008-08-07 Character drawing device, character drawing method, character drawing program, and computer-readable recording medium

Publications (1)

Publication Number Publication Date
JP2010039375A true JP2010039375A (en) 2010-02-18

Family

ID=42011969

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008204490A Pending JP2010039375A (en) 2008-08-07 2008-08-07 Character drawing device, character drawing method, character drawing program, and computer-readable recording medium

Country Status (1)

Country Link
JP (1) JP2010039375A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0683313A (en) * 1992-09-07 1994-03-25 Ricoh Co Ltd Contour correcting mehtod
JPH0695643A (en) * 1992-09-09 1994-04-08 Ricoh Co Ltd Method for hinting outline font
JPH0729024A (en) * 1993-07-14 1995-01-31 Canon Inc Image forming device and its method
JPH08254973A (en) * 1995-03-17 1996-10-01 Hitachi Ltd Character output device and its method
JP2004127111A (en) * 2002-10-04 2004-04-22 Internatl Business Mach Corp <Ibm> Method for setting printing line width of outline font

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0683313A (en) * 1992-09-07 1994-03-25 Ricoh Co Ltd Contour correcting mehtod
JPH0695643A (en) * 1992-09-09 1994-04-08 Ricoh Co Ltd Method for hinting outline font
JPH0729024A (en) * 1993-07-14 1995-01-31 Canon Inc Image forming device and its method
JPH08254973A (en) * 1995-03-17 1996-10-01 Hitachi Ltd Character output device and its method
JP2004127111A (en) * 2002-10-04 2004-04-22 Internatl Business Mach Corp <Ibm> Method for setting printing line width of outline font

Similar Documents

Publication Publication Date Title
JP4737269B2 (en) Image processing apparatus and program
JP2010218420A (en) Character recognition apparatus, image reading apparatus, and program
US9898845B2 (en) Information processing apparatus, information processing method, and storage medium
EP4174785A1 (en) Method and apparatus for constructing landform map, electronic device, and readable storage medium
CN111461070B (en) Text recognition method, device, electronic equipment and storage medium
CN108154792B (en) Graphic character annotation method and device
CN111914046B (en) Generation method and device of target seating chart and computer equipment
JP5005732B2 (en) Image forming apparatus and image processing method
CN112037135A (en) Method for selecting image key main body to be amplified and displayed
JP2010039375A (en) Character drawing device, character drawing method, character drawing program, and computer-readable recording medium
JP5067882B2 (en) Image processing apparatus, image processing method, and program
CN110503114B (en) Image feature extraction method, image feature extraction device, tumor recognition system and storage medium
US8533590B2 (en) Information processing apparatus and layout processing method
US20080273799A1 (en) Information processing apparatus, information processing method, program, and program storage medium
CN110996026B (en) OSD display method, device, equipment and storage medium
US9159118B2 (en) Image processing apparatus, image processing system, and non-transitory computer-readable medium
JP4966912B2 (en) Line drawing processing apparatus, line drawing processing method and program
CN110546942B (en) Image processing apparatus, terminal apparatus, and storage medium
JP4334981B2 (en) Image processing apparatus and image processing method
JP2003348326A (en) Document image conversion method, document image conversion program and document image converting apparatus
JP3756499B2 (en) Image reduction method, image reduction apparatus, image reduction program, and storage medium storing the program
JP2004326568A (en) Image processor, image processing method, image processing program and computer-readable recording medium with its program recorded
CN110751158A (en) Digital identification method and device in therapeutic bed display and storage medium
JP4911065B2 (en) Image processing apparatus and program
JP4125245B2 (en) Document display method and document display apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100826

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121010

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121106

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130312