KR900008271B1 - A method for making bold-type fonts - Google Patents

A method for making bold-type fonts Download PDF

Info

Publication number
KR900008271B1
KR900008271B1 KR1019870014745A KR870014745A KR900008271B1 KR 900008271 B1 KR900008271 B1 KR 900008271B1 KR 1019870014745 A KR1019870014745 A KR 1019870014745A KR 870014745 A KR870014745 A KR 870014745A KR 900008271 B1 KR900008271 B1 KR 900008271B1
Authority
KR
South Korea
Prior art keywords
font
variable
font data
read
rom
Prior art date
Application number
KR1019870014745A
Other languages
Korean (ko)
Other versions
KR890010760A (en
Inventor
유상철
Original Assignee
주식회사 금성사
최근선
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 금성사, 최근선 filed Critical 주식회사 금성사
Priority to KR1019870014745A priority Critical patent/KR900008271B1/en
Publication of KR890010760A publication Critical patent/KR890010760A/en
Application granted granted Critical
Publication of KR900008271B1 publication Critical patent/KR900008271B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/12Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers by photographic printing, e.g. by laser printers

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Optics & Photonics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

In case the thickness of a font is bold, the method includes reading a font data of the corresponding character from a font ROM (14) to store a system RAM (13); reading the size of the font data; reading the font data of the coresponding character from the font ROM (14) to execute an OR operation of the font data storing on the system RAM (13) with it if the font size is greater than the variable (i) to increases the present position of the cursor and the variable by one and to execute the operation repeatedly; and allocating the OR operated font data on the corresponding position of the raster (15) if the font size is not greater than the variable.

Description

폰트의 볼드체 작성방식Bold Type of Font

제1도는 종래의 방식에 따른 폰트억세스(Font Access) 블록도.1 is a font access block diagram according to a conventional method.

제2도는 본 발명의 방식에 따른 폰트억세스 블록도.2 is a font access block diagram according to the scheme of the present invention.

제3도는 본 발명의 폰트볼드(Bold)체 작성 방식 흐름도.Figure 3 is a flow chart of the font bold font creation method of the present invention.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

11 : 주처리장치 12 : 시스템롬11 main processing unit 12 system ROM

13 : 시스템램 14 : 폰트롬13: System RAM 14: Font ROM

15 : 라스터 메모리 16 : 입/출력부15 raster memory 16 input / output unit

본 발명은 레이저 빔 프린터의 폰트볼드(Font Bold)체 작성방식에 관한 것으로, 특히 폰트롬의 스페이스를 줄일 수 있게한 폰트의 볼드체 작성방식에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a font bold creation method of a laser beam printer, and more particularly, to a bold creation method of a font capable of reducing the space of a font ROM.

일반적으로 레이저 빔 프린터에서 사용하는 글자체는 표준(Medium)체, 라이트(Light)체, 볼드(Bold)체 등이 있고, 볼드체는 사용빈도는 적으나 사용자들이 요구하는 필수적인 글자체이다.Generally, fonts used in laser beam printers include medium, light, and bold fonts, and the bold font is an essential font required by users although the frequency of use is small.

그런데, 종래의 레이저 빔 프린터에 있어서는 폰트롬에 볼드체를 저장해 두고, 프린트시에 그 폰트롬에 저장되어 있는 볼드체를 읽어 프린트하게 되어 있다.By the way, in the conventional laser beam printer, the bold is stored in the font ROM, and the bold font stored in the font ROM is read and printed at the time of printing.

일예로 제1도에 도시된 바와같이, 중앙연산처리장치(1)에서 볼드체인지 라이트체인지를 판별한 후 그에 따른 어드레스 신호로 롬(2)의 어드레스를 지정하여 그 지정된 어드레스에 기록되어 있는 폰트 데이타를 읽고, 그 폰트 데이타를 램(3)에 기록함으로써 프린트를 수행하게 되어 있다.For example, as shown in FIG. 1, the central processing unit 1 determines the bold or write change, specifies the address of the ROM 2 with the address signal, and records the font data recorded at the designated address. The printing is performed by reading the data and writing the font data into the RAM 3.

그러나, 이러한 종래의 방식에 있어서는 프린트에 필요한 표준체, 라이트체, 볼드체등의 폰트 데이타를 폰트롬에 모두 기억시켜 두어야 하므로 그 폰트롬의 스페이가 문제되거나, 대용량의 폰트롬의 사용으로 인하여 가격이 상승되는 문제점이 있었다.However, in such a conventional method, since font data such as standard font, light font, and bold font necessary for printing must be stored in the font ROM, the space of the font ROM is problematic or the price increases due to the use of a large font ROM. There was a problem.

본 발명은 이러한 종래의 결점을 해결하기 위하여, 폰트롬에 표준체 폰트 데이타만을 기억시켜 두고서도 중앙처리장치의 제어에 의하여 표준체, 라이트체, 볼드체를 프린트할 수 있게 창안한 것으로, 이를 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다.In order to solve the above-mentioned drawbacks, the present invention has been devised to print standard, light and bold fonts under the control of the central processing unit, while storing only standard font data in a font ROM. Detailed description with reference to the following.

제2도는 본 발명의 방식에 따른 폰트억세스 블록도로서 이에 도시한 바와같이, 시스템 전체를 제어하기 위한 주처리장치(11), 시스템의 실행 프로그램내용이 기억되어 있는 시스템롬(212), 시스템램(13), 표준체의 폰트 데이타가 기억되어 있는 폰트롬(14), 상기 폰트롬(14)에서 읽은 폰트 데이타를 기억하는 라스터 메모리(15) 및 입/출력부(16)로 구성한 것으로, 본 발명의 볼드체 작성방식을 제3도의 흐름도를 참조하여 상세히 설명하면 다음과 같다.2 is a font access block diagram according to the method of the present invention. As shown therein, the main processing unit 11 for controlling the entire system, the system ROM 212 having stored therein contents of the system, and the system RAM (13) It is comprised by the font-rom 14 which the font data of a standard body is stored, the raster memory 15 and the input / output part 16 which store the font data read by the said font-rom 14, The bold writing method of the present invention will be described in detail with reference to the flowchart of FIG.

주처리장치(11)에서 시스템롬(12)의 프로그램 내용을 읽어 실행하는 도중에 입/출력부(16)를 통해 프린트 명령신호가 입력되면, 그 해당글자의 어드레스 신호로 포트롬(14)의 어드레스를 지정하여 폰트 데이타를 읽고, 이때 그 폰트 데이타를 표준체로 프린트할 경우에는 종래의 방식에서와 같이 라스터 메모리(15)에 기록하고, 라이트체 또는 볼드체로 프린트할 경우에는 그 폰트 데이타를 시스템램(12)에 기록한 후 제3도의 흐름도에서와 같은 방식에 의해 라이트체 또는 볼드체로 만들어 시스템램(12)에 있는 이미지를 그대로 라스터 메모리(15)에 기록하면 된다.If the print command signal is inputted through the input / output unit 16 while the main processor 11 reads and executes the program contents of the system ROM 12, the address of the port ROM 14 is represented by the corresponding address signal. To read the font data, and if the font data is to be printed in the standard type, the font data is written to the raster memory 15 as in the conventional method. After writing to (12), the image in the system RAM 12 may be recorded in the raster memory 15 as it is, in a light or bold manner in the same manner as in the flowchart of FIG.

즉, 제3도에서와 같이, 주처리장치(11)에서 폰트두께를 표시하는 가변(Variable)값을 읽고, 이때 그 가변값이 표준사이즈의 폰트두께 값이면 종래의 방식과 동일하게 폰트롬(14)의 어드레스를 지정하여 해당문자 폰트 데이타를 읽고, 그 폰트 데이타를 라스터 메모리(15)에 해당위치에 배정한 후 현재 커서의 위치를 다음 글자의 시작위치로 옮기면 된다.That is, as shown in FIG. 3, the main processing unit 11 reads a variable value indicating the font thickness, and if the variable value is a font size value of a standard size, the font ROM ( 14) by designating the address of the corresponding character, and reading the corresponding font font data, assigning the font data to the corresponding position in the raster memory 15, and then moving the current cursor position to the start position of the next character.

또한, 상기 가변값이 볼드사이즈의 폰트두께값이면, 폰트롬(14)으로부터 해당문자의 폰트 데이타를 읽어 시스템램(13)에 배정하고, 내부적으로 정의해준 변수(i)를 "0"으로 세트하여 초기화한 후 폰트사이즈를 읽는다. 이후 폰트사이즈가 변수(i)보다 큰 경우에는 그 해당문자의 폰트 데이타를 폰트롬(14)으로부터 읽어, 상기 시스템램(13)에 배정된 폰트 데이타와 오아(OR)연산을 수행한다. 따라서, 이때 폰트 데이타에 따른 해당문자의 두께가 볼드체 사이즈로 두꺼워진다.If the variable value is a bold font thickness value, the font data of the corresponding character is read from the font ROM 14 and assigned to the system RAM 13, and the internally defined variable i is set to "0". After initialization, read the font size. Then, if the font size is larger than the variable (i), font data of the corresponding character is read from the font ROM 14 to perform OR operation with the font data assigned to the system RAM 13. Therefore, at this time, the thickness of the corresponding character according to the font data becomes thick in the bold size.

이후, 현재 커서 위치를 "1" 증가하고, 상기 내부적으로 정의해준 변수(i)를 "1" 증가시키면서 상기 동작을 반복 수행한다.Thereafter, the current cursor position is increased by "1", and the operation is repeated while increasing the internally defined variable (i) by "1".

이와같이 하여 한문자가 완전히 끝났을 경우에 즉, 폰트사이즈가 변수(i)보다 크지 않을 경우에 상기 오아연산한 시스템램(13)의 폰트 데이타를 라스터 메모리(15)의 해당위치에 배정한 후 현재 커서의 위치를 다음 문자의 시작위치로 옮겨준다.In this way, when one character is completely finished, that is, when the font size is not larger than the variable (i), the font data of the above-mentioned system RAM 13 is allocated to the corresponding position of the raster memory 15, and then the current cursor is set. Move the position to the beginning of the next character.

한편, 상기 가변값이 라이트 사이즈의 폰트두께 값이면, 폰트롬(14)으로부터 해당문자의 폰트 데이타를 읽어 시스템램(13)에 배정하고, 내부적으로 정의해준 변수(i)를 "0"으로 세트하여 초기화한 후 폰트사이즈를 읽는다. 이후 폰트사이즈가 변수(i)보다 큰 경우에는 그 해당문자의 폰트 데이타를 폰트롬(14)으로부터 읽어, 상기 시스템램(13)에 폰트 데이타와 앤드(And) 연산을 수행한다. 따라서, 이때 폰트 데이타에 따른 해당문자의 두께가 라이트체 사이즈로 가늘어진다. 이후 현재 커서 위치를 "1" 증가하고, 상기 내부적으로 정의해준 변수(i)를 "1" 증가시키면서 상기 동작을 반복 수행한다.On the other hand, if the variable value is a font size value of the write size, the font data of the corresponding character is read from the font ROM 14 and assigned to the system RAM 13, and the internally defined variable i is set to "0". After initialization, read the font size. If the font size is larger than the variable (i), font data of the corresponding character is read from the font ROM 14, and the system RAM 13 performs an AND operation with the font data. Therefore, at this time, the thickness of the corresponding character according to the font data is reduced to the size of the light body. Thereafter, the current cursor position is increased by "1", and the operation is repeated while increasing the internally defined variable i by "1".

이와같이 하여 한문자가 완전히 끝났을 경우에 즉, 폰트사이즈가 변수(i)보다 크지 않을 경우에 상기 앤드 연산한 시스템램(13)의 폰트 데이타를 라스터 메모리(15)의 해당위치에 배정한 후 현재의 커서 위치를 다음 문자의 시작위치로 옮겨준다.In this way, when one character is completely finished, i.e., when the font size is not larger than the variable (i), the font data of the AND-operated system RAM 13 is allocated to the corresponding position of the raster memory 15, and then the current cursor. Move the position to the beginning of the next character.

이상에서 상세히 설명한 바와같이 본 발명은 폰트롬에 표준체의 폰트 데이타만 기록해 두고서도 표준체, 라이트체, 볼드체 문자를 생성시킬 수 있으므로 폰트롬의 용량이 적어도 되고, 소용량의 폰트롬 사용에 의해 제조원가가 절감되는 이점이 있다.As described in detail above, the present invention can generate standard fonts, light fonts, and bold font fonts only by recording font data of standard fonts in the font ROM. There is an advantage.

Claims (1)

주처리장치(11)에서 폰트두께를 표시하는 가변을 읽고 표준 사이즈인 경우에는 그 해당문자의 폰트 데이타를 폰트롬(14)으로부터 읽어 라스터 메모리(15)의 해당위치에 배정하고, 상기 폰트두께가 볼드인 경우에는 그 해당문자의 폰트 데이타를 폰트롬(14)로부터 읽어 시스템램(13)에 배정하고, 정의된 변수(i)를 "0"으로 초기화하고 폰트사이즈를 읽으며, 이후 폰트사이즈가 변수(i)보다 큰 경우에는 그 해당문자의 폰트 데이타를 폰트롬(14)에서 읽어, 상기 시스템램(13)에 배정된 폰트 데이타와 오아연산을 수행한 후 현재 커서위치를 "1" 증가하고 상기 변수(i)를 "1" 증가시키면서 상기 동작을 반복 수행하며, 상기 폰트사이즈가 변수(i)보다 크지 않는 경우에 상기 오아연산한 폰트 데이타를 라스터 메모리(15)의 해당위치에 배정하며, 상기 폰트두께가 라이트인 경우에는 그 해당문자의 폰트 데이타를 폰트롬(14)으로부터 읽어 시스템램(13)에 배정하고, 정의된 변수(i)를 "0"으로 초기화하고 폰트사이즈를 읽으며, 이후 폰트사이즈가 변수(i)보다 큰 경우에는 그 해당문자의 폰트 데이타를 폰트롬(14)에서 읽어, 상기 시스템램(13)에 배정된 폰트 데이타와 앤드 연산을 수행한 후 현재 커서 위치를 "1" 증가하고 상기 변수(i)를 "1" 증가시키면서 상기 동작을 반복 수행하며, 상기 폰트사이즈가 변수(i)보다 크지 않는 경우에 상기 앤드 연산한 폰트 데이타를 라스터 메모리(13)의 해당위치에 배정하며, 상기 라스터 메모리(13)에 폰트 데이타를 배정한 후에는 현재 커서 위치를 다음 문자의 시작위치로 옮기는 단계로 이루어짐을 특징으로 하는 폰트의 볼드체 작성방식.In the main processing device 11, the variable indicating the font thickness is read, and in the case of the standard size, the font data of the corresponding character is read from the font ROM 14 and assigned to the corresponding position in the raster memory 15, and the font thickness is set. Is bold, the font data of the corresponding character is read from the font ROM 14 and assigned to the system RAM 13, the defined variable (i) is initialized to "0", and the font size is read. If it is larger than the variable (i), the font data of the corresponding character is read from the font ROM 14, the font data assigned to the system RAM 13 and the error calculation are performed, and then the current cursor position is increased by "1". Repeating the operation while increasing the variable (i) by "1", when the font size is not larger than the variable (i), assigns the odd-calculated font data to a corresponding position of the raster memory (15). Where the font thickness is light In this case, the font data of the corresponding character is read from the font ROM 14 and assigned to the system RAM 13, the defined variable i is initialized to "0", and the font size is read. If larger than), the font data of the corresponding character is read from the font ROM 14, the AND operation is performed with the font data assigned to the system RAM 13, and the current cursor position is increased by " 1 " i) is repeated by increasing " 1 ", and when the font size is not larger than variable i, the AND-operated font data is assigned to a corresponding position of raster memory 13, and And after the font data is assigned to the master memory (13), moving the current cursor position to the start position of the next character.
KR1019870014745A 1987-12-22 1987-12-22 A method for making bold-type fonts KR900008271B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019870014745A KR900008271B1 (en) 1987-12-22 1987-12-22 A method for making bold-type fonts

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019870014745A KR900008271B1 (en) 1987-12-22 1987-12-22 A method for making bold-type fonts

Publications (2)

Publication Number Publication Date
KR890010760A KR890010760A (en) 1989-08-10
KR900008271B1 true KR900008271B1 (en) 1990-11-10

Family

ID=19267212

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019870014745A KR900008271B1 (en) 1987-12-22 1987-12-22 A method for making bold-type fonts

Country Status (1)

Country Link
KR (1) KR900008271B1 (en)

Also Published As

Publication number Publication date
KR890010760A (en) 1989-08-10

Similar Documents

Publication Publication Date Title
US4203154A (en) Electronic image processing system
US4949188A (en) Image processing apparatus
JPS61101832A (en) Word processor system
JPS6221127B2 (en)
US5592593A (en) Printing in data processing systems
JPH0378651B2 (en)
JPS59220832A (en) Postal card printing system of word processor
KR900008271B1 (en) A method for making bold-type fonts
JPH0441548B2 (en)
JPS6126072B2 (en)
JP3029136B2 (en) Output method and device
US5041994A (en) Data storage system and method for a laser printer
US5666478A (en) Method and apparatus for processing characters based on previously- used scalable font data
GB2217491A (en) Output apparatus
JP2654015B2 (en) Document processing device
JPH01290448A (en) Character generator
JP2626769B2 (en) Output control device and method
KR900006730B1 (en) Method for controlling chinese letter font process in dot matrix printer
JPH0746543Y2 (en) Printer
KR950011809B1 (en) Korean character compound writing method in laser printer
KR900006060B1 (en) Font kerning method of laser beam printer
JPH0373913B2 (en)
JPH06100907B2 (en) Character processor
JPH0467964A (en) Page printer printing control method
JPH0740181B2 (en) Bitmap memory write control method

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 19941227

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee