Method and device for compressing integral symbol-occupying area

A symbol and overall technology, which is applied in the field of compressing the overall area occupied by symbols, can solve the problem that it is not easy to configure the compression ratio value that meets the specification, reduce work efficiency, etc., achieve reasonable and beautiful typesetting effect, improve typesetting efficiency, The effect of saving layout

Inactive Publication Date: 2009-05-13
PEKING UNIV FOUNDER GRP CO LTD +1
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] However, this method also has certain shortcomings, which are mainly reflected in the ease of use. For a font that has not set the compression parameter table, it needs to be reconfigured, but it is not necessary to configure the compression ratio value that meets the specifications. Too easy, so this method greatly reduces work efficiency

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 device for compressing integral symbol-occupying area
  • Method and device for compressing integral symbol-occupying area
  • Method and device for compressing integral symbol-occupying area

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Embodiments of the present invention provide a method and device for compressing the entire area occupied by symbols. It is used to automatically compress the size of the overall area occupied by symbols, obtain reasonable and beautiful typesetting effects, and improve typesetting efficiency.

[0030] The specific implementation manners of the embodiments of the present invention will be introduced below in conjunction with the accompanying drawings.

[0031] In the embodiment of the present invention, the case of Chinese punctuation marks and the horizontal typesetting of characters is taken as an example to illustrate how to realize the compression of the entire area occupied by the symbols.

[0032] see figure 1 , a method for compressing the entire area occupied by a symbol provided by an embodiment of the present invention includes:

[0033] S101. Preset the compressed expected width of the overall area occupied by punctuation marks, for example, set the expected...

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 for compressing a whole region occupied by symbols and a device thereof. The method is used for improving the working efficiency of typesetting and compressing various symbols including Chinese punctuation marks, and obtaining a better typesetting result. The method for compressing the whole region occupied by the symbols comprises the following steps: computing width of circumscribed rectangles of the symbols; and compressing the whole region occupied by the symbols by comparing the width of the circumscribed rectangles of the symbols with the expected width after compressing the whole preset region occupied by the symbols. The method and the device are used for compressing various symbols, and help save space of a whole page, obtain reasonable and beautiful typesetting effect, and improve the typesetting efficiency.

Description

technical field [0001] The invention relates to the technical field of typesetting, in particular to a method and device for compressing the entire area occupied by symbols. Background technique [0002] In the field of typesetting technology, the processing of Chinese punctuation will directly affect the typesetting effect of the overall text. In order to place more content in a limited page space, it is usually necessary to compress the punctuation to a certain extent and ensure the effect of text layout. [0003] The processing methods for compressing punctuation in the prior art include: [0004] Method 1: Set a set of corresponding punctuation compression parameter tables for each existing font in the program. In actual processing, the corresponding punctuation compression parameter table is found for different fonts, and the redundant blank areas before and after the punctuation font are cut through the values ​​in the parameter table to achieve the effect of punctua...

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/25G06F40/189
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