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

Character laydown method and system

A text and non-text technology, applied in the field of text typesetting, can solve problems such as low typesetting efficiency and complex calculations, and achieve intuitive effects, high efficiency, and simple methods

Inactive Publication Date: 2011-01-05
PEKING UNIV +1
View PDF1 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because this method finds out the steps of the vertices of the wrapping part, the calculation is complicated, and in the case of re-typesetting, the vertices of the wrapping part need to be recalculated, and the typesetting efficiency is not high

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
  • Character laydown method and system
  • Character laydown method and system
  • Character laydown method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] Such as image 3 As shown, assuming that the text to be typeset is a No. 5 character, first, the typesetting area 31 is divided into grids with 8 rows and 10 columns by the typesetting area segmentation module 11 according to the height and width of the No. 5 characters, and each grid is arranged into a Size 5.

[0035] Such as Figure 4 As shown, the non-text typesetting area is the area enclosed by the triangle ABC, and the grids contained in this area and the grids passed by the sides AB, AC, and BC of the triangle ABC are all non-text typesetting areas. Assuming that the grid is expressed in the form of (a, b), where a represents the number of rows and b represents the number of columns, the non-text typesetting area is determined according to the column direction as follows:

[0036] The area enclosed by the triangle ABC contains the grids (4, 5), (4, 6), (5, 5), (5, 6), (6, 4), (6, 5), (6 , 6), (6, 7);

[0037] The grids that the AB edge passes through are (7,...

Embodiment 2

[0043] The difference from Embodiment 1 is that the non-text typesetting area is determined according to the line direction, and the flow direction of the text is from right to left and from top to bottom. When a non-text typesetting area is encountered, the typesetting continues after skipping.

[0044] Determine the non-text typesetting area according to the row direction as follows:

[0045] The area enclosed by the triangle ABC contains the grids (6, 4), (4, 5), (5, 5), (6, 5), (4, 6), (5, 6), (6 , 6);

[0046] The grids that AB side passes through are (5, 3), (6, 3), (7, 3), (3, 4), (4, 4), (5, 4), (1, 5), (2,5), (3,5);

[0047] The grids that the BC edge passes through are (1, 6), (2, 6), (3, 6), (3, 7), (4, 7), (5, 7), (5, 8), (6,8), (7,8);

[0048] The grids that CA edges pass through are (7, 8), (7, 7), (7, 6), (7, 5), (7, 4), (7, 3).

[0049] In this embodiment, the effect after typesetting is as follows Figure 6 shown.

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 character laydown method and a character laydown system, which belong to the technical field of laydown. The conventional laydown method has low character laydown efficiency when non-character laydown areas exist in a printed page. The method of the invention comprises: firstly, dividing a laydown area into M columns and N rows of grids according to the size of the characters; secondly, determining the non-character laydown areas in the laydown area; and finally, laying down the characters according to the flow-in direction of the characters in laydown areas in which the characters can be laid down. The system comprises a laydown area dividing module, a non-character laydown area determination module and a character laydown module, wherein the laydown area dividing module is used for dividing the laydown area into the M columns and N rows of grids according to the size of the characters; the non-character laydown area determination module is used for determining the non-character laydown areas in the character laydown area; and the character laydown module is used for laying down characters in the character laydown area, in which the characters can be laid down, according to the flow-in direction of the characters. When the method and the system of the invention are used, the character laydown efficiency can be improved when the non-character laydown areas exist in the printed page.

Description

technical field [0001] The invention belongs to the technical field of typesetting, and in particular relates to a text typesetting method and system, and is especially suitable for text typesetting when there is a non-text typesetting area in the layout. Background technique [0002] In the process of text typesetting, it is often encountered that there are graphics, pictures, text blocks and other areas in the layout that cannot be arranged into text, that is, non-text typesetting areas. In this case, it is necessary to avoid the above-mentioned non-text typesetting area when typesetting text. In the prior art, the usual text typesetting method is to calculate the typesetting area and the position of each character in the typesetting area when text typesetting is required, and the typesetting speed is relatively slow. [0003] Chinese patent application (publication number: CN 101046798A, publication date: October 3, 2007) discloses a graphic wrapping method in the typese...

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): G06T11/60
Inventor 郑招云李平立刘畅刘继新
Owner PEKING UNIV
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