Character data processing method and apparatus
First Claim
1. A character-data processing method for registering font data into a device which treats data having a predetermined word length, comprising:
- a judgment step of judging an endian corresponding to input font data;
an endian conversion step of converting structure of the font data based on the result from judgment at said judgment step, in accordance with a predetermined rule; and
a registration step of storing the font data converted at said endian conversion step.
1 Assignment
0 Petitions
Accused Products
Abstract
A character-data processing method and apparatus enabling registration of font data generated by an external device into an output device even if the data format created by the external device is different from that of the output device. When font data generated by a host computer is sent to a printer, whether or not a 4-byte font identification flag of the font data is effective is judged. If effective, the font data is registered as an effective external character font. If not effective, the endian of the data is converted by rearranging the order of byte-array of the identification flag, and whether or not the font is effective is judged. If effective, the font data is registered while performing endian conversion by rearranging the order of byte-array of font data itself. Thus, difference of endians between the host computer and the printer is offsetted. Regarding bitmap font data, endian conversion is performed such that the MSB side bit and the LSB side bit are exchanged. Thus, in a case where the endians of the host computer and the printer are different, the font data generated by the host computer can be used by the printer.
26 Citations
20 Claims
-
1. A character-data processing method for registering font data into a device which treats data having a predetermined word length, comprising:
-
a judgment step of judging an endian corresponding to input font data; an endian conversion step of converting structure of the font data based on the result from judgment at said judgment step, in accordance with a predetermined rule; and a registration step of storing the font data converted at said endian conversion step. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A character-data processing apparatus for registering font data in unit of a predetermined word length, comprising:
-
judgment means for judging whether or not an endian of input font data corresponds with an endian of said character-data processing apparatus; endian conversion means for converting structure of the font data based on the result from judgment by said judgment means, in accordance with a predetermined rule; and registration means for storing the font data converted by said endian conversion means. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A computer readable memory in which a program for registering font data into a computer which handles data of a predetermined word length, including;
-
a judgment step code for judging an endian corresponding to input font data; an endian-conversion step code for converting structure of the font data based on the result from judgment at said judgment step, in accordance with a predetermined rule; and a registration step code for storing in a memory the font data converted at said endian conversion step.
-
Specification