Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Font compression and retrieval

Inactive Publication Date: 2002-08-29
TELEFON AB LM ERICSSON (PUBL)
View PDF9 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

[0013] To decode a particular glyph, given the identifier for the glyph, the indexing tables are first searched for a matching entry. From the table lengths and the position in the table, the position or location of the particular glyph in the code set can be computed, and this permits the desired codeword for that glyph to then be extracted and decoded. Because, in the present invention, a two-part code is used where the first part of the code is common for all the encoded glyphs; indexing is greatly simplified inasmuch as for each glyph it is only necessary to locate the codeword for that particular glyph.
[0014] In accordance with one presently preferred embodiment of the invention, font compression is achieved utilizing an arithmetic encoder with a fixed probability table. This procedure provides near optimal compression of the glyphs, given the probability table, without the need of additional tables. According to an alternative embodiment of the invention, font compression is by means of a predictive encoding scheme with a fixed prediction table followed by a fixed Huffman coding. This procedure makes it possible to have a very fast decompression while retaining reasonable compression speeds. This embodiment is also particularly suitable for hardware implementation.

Problems solved by technology

Furthermore, each symbol is the size of at least some hundreds of pixels; and, as a result, to store a complete Chinese font requires a large amount of memory.
Such methods are inappropriate for font compression, however; where, ideally, only a single glyph should be decompressed at a time.
If sequential methods of this type are employed, some blocking of the glyphs is required, and a trade-off must be made between the two extremes of compressing the entire font as one block, thus losing random access capability, and compressing each symbol separately, in which case overall performance becomes quite poor.
In general, however, none of these prior art methods describes a font compression and retrieval technique that provides complete random access of individual symbols of the font, which is important to permit high-speed access of the symbols by modern high-speed equipment.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Font compression and retrieval
  • Font compression and retrieval
  • Font compression and retrieval

Examples

Experimental program
Comparison scheme
Effect test

first embodiment

[0022] FIG. 1 is a block diagram schematically illustrating the encoder structure of a compression scheme according to the present invention for compressing data representing a set of symbols such as a font of Chinese or Japanese symbols or glyphs. Initially, it should be appreciated that the encoding procedures described can be carried out without time limitations so as to permit optimization of the size of the compressed data.

[0023] The encoder of FIG. 1 is generally designated by reference number 10 and is composed of a plurality of modules. Initially, a two-dimensional bitmap 12 representing a symbol or glyph of a font, is converted to a sequence x.sup.n=x.sub.1, x.sub.2, . . . , x.sub.n of bits by a serialize module 14 by scanning the bitmap according to some specified rule. Possible scan orders, for example, include row-wise, column-wise, diagonal or a more involved scan order as are well-known to those skilled in the art.

[0024] The sequence of bits output from the serialize m...

second embodiment

[0034] FIG. 4 is a block diagram schematically illustrating the structure of an encoder 40 according to the present invention. In FIG. 4, the probability table of the source model 18 of the encoder 10 of FIG. 1 is replaced by a prediction table 42 in a source model 48 in which each entry is one bit, indicating the most probable bit value in each context. The predicted value for each bit is exclusive-ORed with the actual bit by unit 44, producing a bit stream that is encoded by a Huffman code in Huffman encoder module 46 (see D. A. Huffman, "A Method for the Construction of Minimum-Redundancy Codes", Proc. IRE, vol. 40, pp 1098-1101, 1952.)

[0035] In this embodiment, in addition to the codewords, the index table and the length table, a description of the Huffman code must also be made available to the decoder. The optimization with respect to context size, etc. as described above with respect to the first embodiment, can be applied to this embodiment as well. The decoder structure for...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Method and apparatus for compressing data representing a set of symbols such that each symbol of the set can be separately accessed and decompressed. Each symbol of the set of symbols is encoded in the form of a two-pair code wherein a first part of the code is common for all encoded symbols and a second part of the code encodes the data representing a symbol. An identifier is given for each symbol for permitting each encoded symbol to be separately accessed and decompressed. The invention is particularly useful for storing large fonts such as a Chinese or Japanese character set.

Description

[0001] 1. Field of the Invention[0002] The present invention relates generally to the compression and retrieval of data representing a font or other set of symbols; and, more particularly, to a method and apparatus for storing a large font, such as a Chinese or Japanese character set, in a compressed form while retaining access to individual symbols of the font.[0003] 2. Description of the Prior Art[0004] In order to display messages in languages such as Chinese or Japanese on a CRT or an LCD display, a large set of symbols, or glyphs, is required. For example, the Chinese Unicode standard character set contains about 21,000 different Chinese symbols. Furthermore, each symbol is the size of at least some hundreds of pixels; and, as a result, to store a complete Chinese font requires a large amount of memory. Being able to store the glyphs in a more compact format than pure bitmaps will substantially reduce memory requirements.[0005] For laser printers or high resolution displays, a ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06T9/00H03M7/30
CPCG06T9/00H03M7/30G06V10/20
Inventor SMEETS, BERNARDABERG, JAN
Owner TELEFON AB LM ERICSSON (PUBL)
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products