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

Method and system for processing script data

A technology of font data and processing method, applied in the field of fonts, can solve problems such as complex logic, and achieve the effect of simple logic, small font data, and fast positioning

Inactive Publication Date: 2011-03-30
NEW FOUNDER HLDG DEV LLC +2
View PDF0 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, there are multiple cmap tables in OpenType, and the location of the glyph description data can only be determined after one or more searches, and when using some mapping tables, the encoding needs to be converted one or more times, and the logic is more complicated
[0017] 2. There are still some redundant data in the font data

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
  • Method and system for processing script data
  • Method and system for processing script data
  • Method and system for processing script data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] In this embodiment, the processing of font data in a document in which character codes and font data are integrated is taken as an example.

[0050] figure 1 The structure of the system described in this embodiment is shown, and the system includes a font data processing device 2 and a font data application device 3 .

[0051] The font data processing device 2 includes a character code acquisition and recognition module 21 , a font index acquisition module 22 , and a mapping table generation module 23 . The character code acquiring and identifying module 21 is used to acquire and identify the character code in the document 1, and when the character code is a non-standard code, it is also used to convert the non-standard code into a standard code. The glyph index acquisition module 22 is used to analyze the font data in the document 1, and obtain the corresponding relationship between the character code and the glyph index, and the glyph index is used to indicate the po...

Embodiment 2

[0074] In this embodiment, the font data is processed as a whole and added to the document reading software, so that the font resource can be used without the font, and multiple documents can reuse the same font resource.

[0075] figure 2 The structure of the system described in this embodiment is shown. Compared with Embodiment 1, since the processing object is not the font data integrated in the document, but the entire font data is the processing object, therefore, the font processing device 2 does not include text Code acquisition and identification module.

[0076] Taking the Eu-bx font as an example attached to the Apabi Reader software as a resource, the processing of the font data is as follows:

[0077] (1) The font index acquisition module 22 analyzes the Eu-bx font data, and acquires the cmap table in the font data. There are two cmap tables in the Eu-bx font, among which there is a cmap table with Platform ID=3 and Specific ID=1.

[0078] (2) Since the Eu-bx f...

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

The invention discloses a method and system for processing script data, belonging to the script technology field. The volume of traditional script data is lager, logic using the traditional script data is more complex, the speed is lower, and the efficiency is lower. In the method and system of the invention, a direct map relation between the character encoding and the character pattern index is firstly established and recorded in the mapping table of the character encoding and the character pattern index, and the redundant data in the script data is deleted; and when the script is used, the character pattern index of characters is obtained firstly through inquiring the mapping table of the character encoding and the character pattern index, and then the character pattern description dataof the characters is obtained from the script data according to the character pattern index. After the script data is processed by adopting the method and system of the invention, the volume of the scrip data is reduced, and the use efficiency of the script data is improved. The invention is especially suitable for files integrating character information with script data into a whole or being added into file reading software.

Description

technical field [0001] The invention belongs to the technical field of fonts, and in particular relates to a font data processing method and system, and is particularly suitable for documents in which text information and font data are integrated, or added to document reading software. Background technique [0002] When electronic documents are stored and displayed, they contain elements such as graphics, pictures, tables, formulas, and texts in multiple languages. Text is the most important element representing the content of the document, and it also accounts for the largest proportion in the document. As a resource, font data stores a series of glyph description data of text. When the document is displayed, according to the text information in the document, an image or a set of paths corresponding to the glyph data in the font data is rendered and displayed on the computer screen or output to the printer. [0003] The full name of Type1 is PostScript Type1, which is a se...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/22G06F17/30
Inventor 丁力张磊仇睿恒王毅
Owner NEW FOUNDER HLDG DEV LLC
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