Auto-adaptive typesetting method for word in textbox

An automatic adaptation and text box technology, which is applied in the fields of electrical digital data processing, special data processing applications, natural language data processing, etc., can solve problems such as inflexible use, increased typesetting workload of typesetting personnel, and inability to adjust text boxes. , to improve typesetting efficiency, reduce manual typesetting work, and improve typesetting automation

Inactive Publication Date: 2007-08-08
PEKING UNIV +1
View PDF1 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, in the printing and typesetting process, the text is placed in the text box in the typesetting area. When the text is placed in the text box, it is impossible for the text to automatically fill the typesetting area in the text box. There are often the following two situations: (1 ) The remaining blank space of the text in the typesetting area is too large, resulting in a waste of layout; (2) The typesetting area is too small, causing the text to overflow the text box
With the development of typesetting technology, there are obviously two adjustment methods for the adjustment of the text frame. One is manual adjustment, that is, manually adjusting the font size and line spacing to achieve the maximum match between the text frame and the text. The biggest drawback of the method is that the efficiency is very low, time-consuming and labor-intensive; the second is to use a computer to automatically adjust the text and the text frame. The function of text matching, such as: a kind of typesetting method that the text content adapts to the text box described in the Chinese patent CN200610072322. The reference height value; according to the rectangular graphics characteristics, combined with the reference height value, quickly find the best height position of the text box and adjust the height of the text box, so that the text box can be adjusted to just line up The state of the text content, but this method also has shortcomings. This method simply scales the text box and cannot process the text. If the text is typesetting in a text box of a specified size on a specified layout, if the text The text box overflows or is not filled in the text box. Obviously, this method cannot solve this problem, and users cannot use this method to achieve the final typesetting effect
[0003] It can be seen from the above description that the prior art has the following disadvantages: manual adjustment is inefficient, time-consuming and laborious; the existing technology of automatically adjusting text and text frames by computer also has inflexibility in use, difficulty in achieving the desired effect, increased text, Deletion has to be readjusted, the text box of a certain size cannot be adjusted, etc., which increases the typesetting workload of typesetting personnel

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
  • Auto-adaptive typesetting method for word in textbox
  • Auto-adaptive typesetting method for word in textbox
  • Auto-adaptive typesetting method for word in textbox

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] As shown in Figure 1, a typesetting method for automatically adapting text in a text box includes the following steps:

[0037] (1) During the pre-press computer typesetting process, the specified text content is arranged into the typesetting space in the specified text box, no matter the typesetting is single-column typesetting or multi-column typesetting, after typesetting, it can be transferred to step (2) middle;

[0038] In this embodiment, in the typesetting process, the text shown in Figure 2 is taken as an example, and the text is arranged in the typesetting space in the specified text box;

[0039] (2) Select the text change method according to the end state after the text typesetting in step (1). If the text just fills the text box after the typesetting is complete, then the processing ends, and there is no need to change it; the text end state includes: text overflows the text The frame and the text do not fill the text frame; the methods of changing the tex...

Embodiment 2

[0063] The method adopted in this embodiment 2 is similar to that of embodiment 1, and differs from embodiment 1 in that: taking the text layout shown in Fig. 3 as an example, the process is as shown in Fig. 1 and Fig. 4, specifically as follows:

[0064] In this embodiment, unless otherwise specified, the calculation unit of each value is point;

[0065] In the step (2), according to the end state of the text shown in Figure 3, that is, the text is not full of the corresponding selection of the text box and the mode of text change is that the text becomes larger;

[0066] In step (3), the text shown in Fig. 3 is selected corresponding change parameter as: text size, horizontal direction scaling ratio, vertical direction scaling ratio;

[0067] The priority order of setting and changing parameters in step (4) is: text size>horizontal scaling ratio>vertical scaling ratio;

[0068] In step (5), when calculating the optimal ratio of text change, i.e. the amount of change, for th...

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 involves a typesetting method where a text in the text box adapt automatically, belonging to the printing layout area. By adjusting the text in the text box parameters, this invention make the text in the text box whose layout has been complete can automatic adjust the text size, line spacing, word spacing and so on to accommodate it in the text box. Using the methodology described in this invention, through settings the parameter of text-based frame layout, to make the text whose layout has been completed can use the automatic typesetting rules of text box to accommodate itself to text layout space to achieve the desired results page.

Description

technical field [0001] The invention belongs to the field of printing and typesetting, and in particular relates to a typesetting method for automatically adapting characters in a text frame. Background technique [0002] At present, in the printing and typesetting process, the text is placed in the text box in the typesetting area. When the text is placed in the text box, it is impossible for the text to automatically fill the typesetting area in the text box. There are often the following two situations: (1 ) The remaining blank space of the text in the typesetting area is too large, resulting in a waste of layout; (2) The typesetting area is too small, causing the text to overflow the text box. With the development of typesetting technology, there are obviously two adjustment methods for the adjustment of the text frame. One is manual adjustment, that is, manually adjusting the font size and line spacing to achieve the maximum match between the text frame and the text. T...

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
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