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

Method for multi-row words layout in row

A text and typesetting effect technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of reducing the efficiency of in-line typesetting, time-consuming and laborious, and achieve the effect of improving efficiency

Inactive Publication Date: 2008-10-29
PEKING UNIV FOUNDER GRP CO LTD +1
View PDF0 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The disadvantages of the above two methods for implementing multi-line typesetting in lines are: manual typesetting is only suitable for in-line typesetting with an odd number of lines in total, and when the text format of in-line typesetting is different from the format of the text before and after it, it cannot be completely accurate. In-line typesetting; while table typesetting is time-consuming and laborious, reducing the efficiency of in-line typesetting

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 for multi-row words layout in row
  • Method for multi-row words layout in row
  • Method for multi-row words layout in row

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0084] Take the "cartoon:" and "coming soon" in the same row to enter "" Mickey Mouse and Donald Duck "," The Iron Fan Princess "," Brave Princess Sherry "" Finding Nemo "" as an example to describe the present invention The method is described in detail. The effect after typesetting is that the format of the text in the line is the same as that of the text before and after it, and the alignment is left-aligned, such as Figure 4 shown.

[0085] First, enter the text "Cartoon:" to the left of the text to be typeset in the row in the sample editor, and then input the text to be typeset in the row ""Mickey Mouse and Donald "Duck", "Princess Iron Fan", "Brave Princess Sherry", "Finding Nemo", different lines are separated by the carriage return key, and finally enter the text "coming soon" after the text to be typeset in the line, and insert it for the book version at the same time characters, such as image 3 shown. Wherein, 32 is a space character, 33 is a hard return chara...

Embodiment 2

[0098] The difference from Embodiment 1 is that the typesetting parameters of the text to be typeset in the row are not obtained according to the context, but are obtained according to the user-defined settings, so as to meet the user needs that the format of the text to be typeset in the row is different from the format of the text before and after it . During specific implementation, an interface for user-defined setting of typesetting parameters of the text to be typeset in the row can be provided in the sample editor. This interface may include setting parameters such as the font, font size, character spacing, line spacing, and alignment of the text to be typeset in the row.

[0099] The typesetting effect obtained in this embodiment is as follows Image 6 As shown, the alignment of the typesetting text in the row is still left-aligned, but the font size of the text in the first and second lines is larger than that of the preceding text, so the typesetting parameters of t...

Embodiment 3

[0101] The difference from Example 1 is that the typesetting effect obtained is as follows Figure 8 As shown, that is, the alignment of each line of text in the row is scattered alignment. The BD typesetting language inserted in the mockup editor includes HZ and DQ (alignment)71 annotations, such as Figure 7 shown.

[0102] After realizing the left alignment of each line of text in the line, the process of typesetting a line includes the following steps:

[0103] (1) Obtain the alignment word distance dzj, calculate the row width wide of the row and the abscissa Xc of the exit of the row, wherein, wide=dzj*(zk+zj), Xc=x+wide; x is the entry coordinate of the row; alignment character The distance can be set in the DQ annotation, such as Figure 7 As shown in , it can also be set in the parameter setting interface;

[0104] (2) judge whether this line ends, if so then go to step (3), obtain following parameter as otherwise: word width zk, word spacing zj, calculate the abs...

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 the typesetting in a plurality of character lines, belonging to the technical field of printing typesetting. In the prior art, the method for typesetting in lines can be realized manually or by a wireless table, which wastes time and effort and the effect is not extremely precise under all situations. The method of the invention is characterized in that characters to be typeset are input in a hand sample editor firstly and then BD typesetting language remarks are inserted; the typesetting parameters are obtained according to the context or the self-definition setting of the user; according to the obtained typesetting parameters, a series of position calculation and displacement correction of the characters to be typeset are carried out to generate large sample files; finally, the large sample files are analysed by a large sample file browser to gain the detailed typesetting effect. The method of the invention can rapidly complete the effect of the typesetting in a plurality of character lines, thus improving the efficiency of typesetting in lines.

Description

technical field [0001] The invention belongs to the technical field of printing and typesetting, and in particular relates to a typesetting method in a multi-line text line. Background technique [0002] At present, in the printing and typesetting industry, when typesetting text content, most of the text is typeset in units of lines. In this way, when performing typesetting in multi-line text lines, it is necessary to manually typeset the text of each line, set Attributes such as the alignment of each row to simulate the effect of typesetting in a row; or use a table to achieve, the specific implementation method is as follows: [0003] (1) Manual typesetting: The typesetting personnel enter each line of text according to the layout requirements, set the text attributes, and manually adjust the alignment of each line of typesetting in the line; [0004] (2) With the help of table typesetting: the typesetting staff inserts a table with N rows and 3 columns according to the n...

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): G06F17/24
Inventor 高改红缪萍
Owner PEKING UNIV FOUNDER GRP CO LTD
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