Document processing method and device

A document processing and document technology, applied in electronic digital data processing, special data processing applications, instruments, etc., can solve the problems of non-unique mapping, waste of document processing equipment resources, and different text display effects.

Inactive Publication Date: 2014-04-02
PEKING UNIV FOUNDER GRP CO LTD +2
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when the same document is processed on multiple different document processing devices, the method of specifying fonts by font names has many disadvantages, for example: first, the mapping from font names to fonts is not unique, because many actual Different fonts have the same name, so on different document processing devices, the display effect of the text assigned to the same font is not the same
Second, the specified font may not be available on the document processing device to display the corresponding text in that font, and a substitute font that is not similar enough may be used to display the text
[0009] When using embedded font technology, the data volume of document files and network traffic requirements may be greatly increased
At the same time, many document files on a computer may use equivalent embedded font instances. If each document file contains an equivalent font instance, disk storage space is wasted; and when multiple documents are displayed at the same time, these Equivalent font instances are repeatedly loaded into memory and parsed, wasting resources on document processing devices

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
  • Document processing method and device
  • Document processing method and device
  • Document processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to save the resources needed for document processing, the embodiment of the present invention provides a document processing method. In this method, for the embedded fonts in the document, first determine the font unique identifier of the embedded font in the document to be processed, and then use the local font Find the font instance that matches the determined font unique identifier in the library, and use the found font instance to process the data in the document.

[0025] The unique identifier of a font refers to an identifier that can uniquely determine a font in the world. However, a font can have multiple font unique identifiers, and the multiple font unique identifiers are regarded as equivalent font unique identifiers. Font unique identifiers can take the form of strings, numbers, or other more complex forms.

[0026] see figure 1 , the document processing method provided by the embodiment of the present invention includes the following steps:

[0...

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 embodiment of the invention discloses a document processing method and device, which relate to the technical field of computer application and are used for saving resources needed by document processing. The document processing method disclosed by the invention comprises the following steps of: determining a character font unique identification of an embedded character font in a document to be processed; finding a character font case matched with the determined character font unique identification in a local character font library; and processing the document to be processed according to the found character font case. With the adoption of the document processing method and device, disclosed by the invention, the resources needed by the document processing can be effectively saved.

Description

technical field [0001] The invention relates to the field of computer information processing, in particular to a document processing method and device. Background technique [0002] A font refers to a group of glyphs that share a common style, and glyphs are the visual representations of characters. A font instance refers to a font data entity, including many glyph data and some metadata, usually encapsulated in a font file, such as a .ttf file. Metadata includes the font instance's name, developer, version number, and more. There is a one-to-many relationship between fonts and font instances, and the same font may appear as multiple different font instances. The same font can be made into font instances using different font technologies (such as True Type, Type1, Open Type, etc.). Or the same font has been trimmed so that different font instances include different amounts of glyph data. This is called font subset technology. The uncommonly used Chinese characters have b...

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 Patents(China)
IPC IPC(8): G06F17/30G06F17/22
Inventor 段垚王长桥
Owner PEKING UNIV FOUNDER GRP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products