CN102103593B - Method and system for splitting and typesetting strokes of characters - Google Patents

Method and system for splitting and typesetting strokes of characters Download PDF

Info

Publication number
CN102103593B
CN102103593B CN2009102436226A CN200910243622A CN102103593B CN 102103593 B CN102103593 B CN 102103593B CN 2009102436226 A CN2009102436226 A CN 2009102436226A CN 200910243622 A CN200910243622 A CN 200910243622A CN 102103593 B CN102103593 B CN 102103593B
Authority
CN
China
Prior art keywords
stroke
literal
full
mode
box
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2009102436226A
Other languages
Chinese (zh)
Other versions
CN102103593A (en
Inventor
苏舜
陈福伟
梅林�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN2009102436226A priority Critical patent/CN102103593B/en
Publication of CN102103593A publication Critical patent/CN102103593A/en
Application granted granted Critical
Publication of CN102103593B publication Critical patent/CN102103593B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a method and system for splitting and typesetting the strokes of characters, belonging to the technical field of typesetting. In the prior art, the typesetting on the strokes of characters is generally implemented by way of converting a character into curves and then editing the curve, because the number of the stroke of the character is equal to the time for manually converting the character into curves and then editing the curve, the typesetting efficiency is low, and the post production and maintenance are troublesome. The method provided by the invention is implemented by way of boxes, namely, through each stroke curve of a character taken out of a word stock, the stroke of a character is split and typeset at a time in a following mode, a stroke mode or a mode of tracing in black ink over characters printed in red, and the number of the stroke of the character is equal to the number of boxes. By using the method provided by the invention, the strokes of given characters can be typeset quickly and intuitively in the process of typesetting, and the subsequent related stroke editing operation can be performed conveniently as normal character editing.

Description

A kind of stroke of literal splits composition method and system
Technical field
The invention belongs to typesetting system field, the stroke that is specifically related to a kind of literal splits composition method and system.
Background technology
At present; In the composing industry, when the strokes of characters content was set type processing, it was that literal is changed into curve that most strokes are set type; Splitting into each stroke to curve again sets type; How many literal has draw must need manual bent how many times, the editor's how many times of changeing literal, this situation often need set type personnel manual to the curve adjustment of being correlated with, the size of stroke curve and word content are adapted.
The major defect that above literal changes the composition method of curve is: manually changeing curve, editor, adjustment wastes time and energy, and has reduced the efficient of setting type, and follow-up editor, safeguard inconvenient.
Summary of the invention
To the defective that exists in the prior art, the stroke that the purpose of this invention is to provide a kind of literal splits composition method and system, thereby solves the problem that the prior art Chinese words is set type to waste time and energy.
For realizing above-mentioned purpose, technical scheme of the present invention is following: a kind of stroke of literal splits composition method, comprises the steps:
(1) enters the literal that will split, from given character library, take out the curve of each stroke correspondence according to the stroke sequencing of given literal successively;
(2) by the definite quantity that needs structure sample box of the corresponding curved line number of each stroke, write corresponding sample box to corresponding fractionation mode, calibration curve information, in sample flows, insert the sample box; Sample is being set type before, is not being passed through the composing processed content, and described sample box promptly is a kind of content packaging body that in sample, uses;
(3) the information structuring full-page proof box that provides according to the sample box writes the full-page proof box to set fractionation mode, calibration curve information; Full-page proof is after sample is handled through setting type, and can directly be presented at the content of the space of a whole page, and described full-page proof box promptly is a kind of content packaging body that in full-page proof, uses;
(4) according to set fractionation mode, calibration curve information, the stroke full-page proof box to correspondence on the space of a whole page is drawn.
Further, the stroke of aforesaid literal splits composition method, and wherein, described fractionation mode comprises trailing type, stroke system, the mode of learning to write by tracing over characters printed in red.
Further, the stroke of aforesaid literal splits composition method, and wherein, if the fractionation mode is made as trailing type, then the type-setting mode of stroke on the space of a whole page pressed the composing of stroke order accumulative total; If the fractionation mode is made as stroke system, then the type-setting mode of stroke on the space of a whole page pressed stroke order successively to each stroke composing; If the fractionation mode is made as the mode of learning to write by tracing over characters printed in red, then the type-setting mode of stroke on the space of a whole page pressed the composing of stroke order accumulative total to strokes of characters by the mode of foreground and background colour.
Further, the stroke of aforesaid literal splits composition method, wherein, if the fractionation mode is made as trailing type, for having the literal that N draws, in step (3), constructs N full-page proof box, and M full-page proof box enters the preceding M picture of this literal, M=1 ..., N.
Further, the stroke of aforesaid literal splits composition method, wherein, if the fractionation mode is made as stroke system, for having the literal that N draws, in step (3), constructs N full-page proof box, and M full-page proof box enters the M picture of this literal, M=1 ..., N.
Further, the stroke of aforesaid literal splits composition method, wherein; If the fractionation mode is made as the mode of learning to write by tracing over characters printed in red, for having the literal that N draws, N full-page proof box of structure in step (3); M full-page proof box drawn with the preceding M that foreground enters this literal, and the back N-M that enters this literal with background colour draws M=1; ..., N.
A kind of stroke of literal splits composing system, comprising:
Literal splits module, is used for the stroke of given literal is split, and from given character library, takes out the corresponding curve of each stroke successively according to the stroke sequencing of literal;
Sample box construction module is used for the quantity by the definite needs structure of the corresponding curved line number of each stroke sample box, and writes corresponding sample box to corresponding fractionation mode, calibration curve information; Sample is being set type before, is not being passed through the composing processed content, and described sample box promptly is a kind of content packaging body that in sample, uses;
Full-page proof box construction module is used for setting type, constructing the full-page proof box, writes the full-page proof box to set fractionation mode, calibration curve information; Full-page proof is after sample is handled through setting type, and can directly be presented at the content of the space of a whole page, and described full-page proof box promptly is a kind of content packaging body that in full-page proof, uses;
The stroke drafting module is used for according to set fractionation mode, calibration curve information, and the stroke full-page proof box to correspondence on the space of a whole page is drawn.
Beneficial effect of the present invention is following: method and system of the present invention; Use the mode of box, through take out each stroke curve of literal from character library, by trailing type, stroke system or the mode of learning to write by tracing over characters printed in red; Disposable split stroke sets type out, and how many pictures literal has just arrange what boxes.The present invention can promptly split into stroke with literal; And on the space of a whole page, set type; Solved and torn the problem that stroke is set type wastes time and energy in the prior art open; Can be in the process of setting type fast, eject the stroke of give literal intuitively, and follow-uply can be easily carry out related edit to stroke and operate as editing common language.
Description of drawings
Fig. 1 is that stroke splits the composing process flow diagram;
Fig. 2 is that the trailing type stroke splits composing effect synoptic diagram;
Fig. 3 is that trailing type splits the composing effect synoptic diagram of back to specific stroke change font size;
Fig. 4 is that the stroke system stroke splits composing effect synoptic diagram;
Fig. 5 is provided with double check with a core composing effect synoptic diagram to specific stroke after stroke system splits;
Fig. 6 is the formula stroke fractionation composing effect synoptic diagram of learning to write by tracing over characters printed in red;
Fig. 7 is that composing effect synoptic diagram broken up in literal after the formula of learning to write by tracing over characters printed in red split;
Fig. 8 splits the structural representation of composing system for stroke.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is carried out detailed description.
As shown in Figure 1, a kind of method of tearing the stroke composing open of literal may further comprise the steps:
Step S01, the fractionation mode and the correlation parameter of the layout setting literal through application program.The fractionation mode comprises trailing type, stroke system, the mode of learning to write by tracing over characters printed in red, and correlation parameter comprises foreground, background colour, font size etc., and these parameters can be according to the reality suitable expansion of needs of setting type.
Step S02 chooses the literal that need set type.
Step S03 splits the literal of choosing, and is divided into several independent strokes.
Step S04 takes out each stroke curve from given character library, how many literal has draw just take out how many bar curves, and the order of curve is pressed the sequencing ordering of stroke.The character contour of character library used in the present invention is described by curve mode, and each picture of corresponding word is the curve of a sealing, and how many words has draw how many bar closed curves are just arranged, and is present among the character library, and taking-up at last changes into the Bei Saier curve and draws.
Step S05 will construct several sample boxes by the curved line number decision that each stroke is corresponding.The composing processed content is being set type before, do not passed through to sample, and like passage stream, the sample box promptly is a kind of content packaging body that in sample, uses.
Step S06 writes corresponding sample box to corresponding fractionation mode, calibration curve information.Calibration curve information is specifically to decide according to user's setting, is set to trailing type like the fractionation mode, then in box, to prepare to draw which picture to this box and note, and foreground of using, background colour, font size or the like information.
Step S07 inserts the sample box in sample stream.
Step S08, structure full-page proof box.Full-page proof is after sample is handled through setting type, and can directly be presented at the content of the space of a whole page, and like the delegation's literal that shows on the space of a whole page, the full-page proof box promptly is a kind of content packaging body that in full-page proof, uses." full-page proof box " can take out the stroke curve according to the information that " sample box " provides and preserve in structure, and how description shows on the space of a whole page.
Step S09 writes the full-page proof box to set fractionation mode, calibration curve information when structure full-page proof box.
Step S10 draws by set fractionation mode, the calibration curve information stroke full-page proof box to correspondence on the space of a whole page.
The present invention has introduced the notion of box in sample and full-page proof; Box is a content packaging body, is encapsulated into some associated content together, treats this packaging body as an integral body during use; As for stroke; Be placed on Unified Treatment in the same box to many stroke curves, later on can as handle a character to the operation of setting type of being correlated with of stroke box, like occupy-place, choose.The sample box is used for constituting each stroke of sample stream, and the full-page proof box is used for constituting each stroke that full-page proof is set type.
If the fractionation mode is made as trailing type; Then the type-setting mode of stroke on the space of a whole page pressed the composing of stroke order accumulative total; For example: draw if institute has 3 to literal, then can arrange 3 boxes (sample box or full-page proof box), first box ranked first picture; Second box ranked first, two pictures, and the 3rd box ranked first, two, three pictures.
It is to realize like this that trailing type fractionation type-setting mode is set in the present embodiment; Obtain all stroke curves of this word at first in order; What draw according to current box is that which picture or which picture are obtained corresponding stroke curve again, on the space of a whole page, draws this box according to set foreground then.
As shown in Figure 2, the trailing type stroke splits composing effect synoptic diagram, is exactly the trailing type drafting mode result among treatment scheme Fig. 1.
If the fractionation mode is made as stroke system; Then the type-setting mode of stroke on the space of a whole page pressed each stroke of stroke order composing; For example: draw if institute has 3 to literal, then can arrange 3 boxes (sample box or full-page proof box), first box ranked first picture; Second box ranked second picture, and the 3rd box ranked third picture.
It is to realize like this that stroke system fractionation type-setting mode is set in the present embodiment; Obtain all stroke curves of this word at first in order; What draw according to current box is that which picture is obtained corresponding stroke curve again, on the space of a whole page, draws this box according to set foreground then.
As shown in Figure 4, be that the stroke system stroke splits composing effect synoptic diagram, be exactly the stroke system drafting mode result among treatment scheme Fig. 1.
If the fractionation mode is made as the mode of learning to write by tracing over characters printed in red; Then the type-setting mode of stroke on the space of a whole page sets type strokes of characters out by stroke order accumulative total by the mode of foreground and background colour; For example: draw if institute has 3 to literal; Then can arrange 3 boxes (sample box or full-page proof box), first box ranked first picture with foreground, with background colour ranked second, three pictures; Second box with foreground ranked first, two pictures, ranked third picture with background colour; The 3rd box with foreground ranked first, two, three pictures.
The mode of learning to write by tracing over characters printed in red is set in the present embodiment, and to split type-setting mode be to realize like this; Obtain all stroke curves of this word at first in order; What draw according to current box is that which picture or which picture are obtained corresponding stroke curve again; On the space of a whole page, draw corresponding stroke curve according to set foreground then, on the space of a whole page, draw remaining stroke curve according to set background colour.
As shown in Figure 6, be the formula stroke fractionation composing effect synoptic diagram of learning to write by tracing over characters printed in red, be exactly the formula of the learning to write by tracing over characters printed in red drafting mode result among treatment scheme Fig. 1.
For making the present invention have better effect; When spread pen is drawn; According to the attributes such as font size of the literal of being given, the also consistent word attribute current is set to stroke, or establishes the composing attribute to stroke separately; Can also change simultaneously the foreground or the background colour of stroke, it is more clear, more attractive in appearance that stroke is set type.
As shown in Figure 3, be that trailing type splits the composing effect synoptic diagram of back to specific stroke change font size; As shown in Figure 5, be after stroke system splits specific stroke to be provided with double check with a core composing effect synoptic diagram; As shown in Figure 7, be that composing effect synoptic diagram broken up in literal after the formula of learning to write by tracing over characters printed in red split.
As shown in Figure 8, realize that the stroke of above-mentioned literal splits the system of composition method, comprising:
Literal splits module, is used for the stroke of given literal is split, and from given character library, takes out the corresponding curve of each stroke successively according to the stroke sequencing of literal;
Sample box construction module is used for the quantity by the definite needs structure of the corresponding curved line number of each stroke sample box, and writes corresponding sample box to corresponding fractionation mode, calibration curve information;
Full-page proof box construction module is used for setting type, constructing the full-page proof box, writes the full-page proof box to set fractionation mode, calibration curve information;
The stroke drafting module is used for according to set fractionation mode, calibration curve information, and the stroke full-page proof box to correspondence on the space of a whole page is drawn.
The above is merely one embodiment of the present of invention, and in order to restriction the present invention, these explanations and embodiment only consider as an example that they all belong to by within the indicated protection scope of the present invention and spirit of accompanying claims.

Claims (9)

1. the stroke of a literal splits composition method, comprises the steps:
(1) enters the literal that will split, from given character library, take out the curve of each stroke correspondence according to the stroke sequencing of given literal successively;
(2) by the definite quantity that needs structure sample box of the corresponding curved line number of each stroke, write corresponding sample box to corresponding fractionation mode, calibration curve information, in sample flows, insert the sample box; Sample is being set type before, is not being passed through the composing processed content, and described sample box promptly is a kind of content packaging body that in sample, uses;
(3) the information structuring full-page proof box that provides according to the sample box writes the full-page proof box to set fractionation mode, calibration curve information; Full-page proof is after sample is handled through setting type, and can directly be presented at the content of the space of a whole page, and described full-page proof box promptly is a kind of content packaging body that in full-page proof, uses;
(4) according to set fractionation mode, calibration curve information, the stroke full-page proof box to correspondence on the space of a whole page is drawn.
2. the stroke of literal as claimed in claim 1 splits composition method, and it is characterized in that: described fractionation mode comprises trailing type, stroke system, the mode of learning to write by tracing over characters printed in red.
3. the stroke of literal as claimed in claim 2 splits composition method, it is characterized in that: if the fractionation mode is made as trailing type, then the type-setting mode of stroke on the space of a whole page pressed the composing of stroke order accumulative total.
4. the stroke of literal as claimed in claim 3 splits composition method, it is characterized in that: if the fractionation mode is made as trailing type, for having the literal that N draws; N full-page proof box of structure in step (3), M full-page proof box enters the preceding M picture of this literal, M=1; ..., N.
5. the stroke of literal as claimed in claim 2 splits composition method, it is characterized in that: if the fractionation mode is made as stroke system, then the type-setting mode of stroke on the space of a whole page pressed stroke order successively to each stroke composing.
6. the stroke of literal as claimed in claim 5 splits composition method, it is characterized in that: if the fractionation mode is made as stroke system, for having the literal that N draws; N full-page proof box of structure in step (3), M full-page proof box enters the M picture of this literal, M=1; ..., N.
7. the stroke of literal as claimed in claim 2 splits composition method, it is characterized in that: if the fractionation mode is made as the mode of learning to write by tracing over characters printed in red, then the type-setting mode of stroke on the space of a whole page pressed the composing of stroke order accumulative total to strokes of characters by the mode of foreground and background colour.
8. the stroke of literal as claimed in claim 7 splits composition method, it is characterized in that: if the fractionation mode is made as the mode of learning to write by tracing over characters printed in red, for having the literal that N draws; N full-page proof box of structure in step (3); M full-page proof box drawn with the preceding M that foreground enters this literal, and the back N-M that enters this literal with background colour draws M=1;, N.
9. the stroke of a literal splits composing system, comprising:
Literal splits module, is used for the stroke of given literal is split, and from given character library, takes out the corresponding curve of each stroke successively according to the stroke sequencing of literal;
Sample box construction module is used for the quantity by the definite needs structure of the corresponding curved line number of each stroke sample box, and writes corresponding sample box to corresponding fractionation mode, calibration curve information; Sample is being set type before, is not being passed through the composing processed content, and described sample box promptly is a kind of content packaging body that in sample, uses;
Full-page proof box construction module is used for setting type, constructing the full-page proof box, writes the full-page proof box to set fractionation mode, calibration curve information; Full-page proof is after sample is handled through setting type, and can directly be presented at the content of the space of a whole page, and described full-page proof box promptly is a kind of content packaging body that in full-page proof, uses;
The stroke drafting module is used for according to set fractionation mode, calibration curve information, and the stroke full-page proof box to correspondence on the space of a whole page is drawn.
CN2009102436226A 2009-12-18 2009-12-18 Method and system for splitting and typesetting strokes of characters Expired - Fee Related CN102103593B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102436226A CN102103593B (en) 2009-12-18 2009-12-18 Method and system for splitting and typesetting strokes of characters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102436226A CN102103593B (en) 2009-12-18 2009-12-18 Method and system for splitting and typesetting strokes of characters

Publications (2)

Publication Number Publication Date
CN102103593A CN102103593A (en) 2011-06-22
CN102103593B true CN102103593B (en) 2012-10-31

Family

ID=44156370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102436226A Expired - Fee Related CN102103593B (en) 2009-12-18 2009-12-18 Method and system for splitting and typesetting strokes of characters

Country Status (1)

Country Link
CN (1) CN102103593B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108492349B (en) * 2018-03-19 2023-04-11 广州视源电子科技股份有限公司 Processing method, device and equipment for writing strokes and storage medium
CN113297892B (en) * 2020-11-27 2022-06-14 上海交通大学 Image optimization recognition system for shape-similar Chinese characters

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0667567B1 (en) * 1993-12-30 2001-10-17 Xerox Corporation Apparatus and method for supporting the implicit structure of freeform lists, outlines, text, tables, and diagrams in a gesture-based input system and editing system
CN101295290A (en) * 2008-06-11 2008-10-29 北大方正集团有限公司 Method for multi-row words layout in row

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0667567B1 (en) * 1993-12-30 2001-10-17 Xerox Corporation Apparatus and method for supporting the implicit structure of freeform lists, outlines, text, tables, and diagrams in a gesture-based input system and editing system
CN101295290A (en) * 2008-06-11 2008-10-29 北大方正集团有限公司 Method for multi-row words layout in row

Also Published As

Publication number Publication date
CN102103593A (en) 2011-06-22

Similar Documents

Publication Publication Date Title
CN101989256B (en) Typesetting method of document file and device
EP1669852B1 (en) Method and computer program for converting an incoming document data stream comprising one or more documents into a structured data file
CN103914443B (en) A kind of mixing method and device of multilingual words
CN105808528B (en) A kind of processing method of document text
CN1912874A (en) Method for abstracting document data information appeared in newspaper
CN105159877A (en) Cross-media automatic typesetting system and method thereof
CN105760368B (en) A kind of deep treatment method of document text
CN104298725A (en) Method for one-time editing input and multi-version output of on-line courseware development system
CN102103593B (en) Method and system for splitting and typesetting strokes of characters
Clausner et al. Efficient ocr training data generation with aletheia
CN108073562A (en) Publication processing method and processing device based on cloud platform
CN110110326B (en) Text cutting method based on subject information
Bagley et al. Creating reusable well-structured PDF as a sequence of component object graphic (COG) elements
DE102009008681B4 (en) Method, computer and computer program for processing document data with color data
CN105426355A (en) Syllabic size based method and apparatus for identifying Tibetan syntax chunk
CN105069001A (en) Computer aided translation method
EP1622040A3 (en) Apparatus and method for processing text data
CN111079385A (en) Method and device for converting scientific formula format
CN107885735B (en) Format-independent document translation method and system
CN101673406B (en) Method and device for setting font
US10089049B2 (en) Ganged imposition postal sort system
CN110077138A (en) Polymorphic jet printing method for high parsing ink jet numbering machine
CN109948129A (en) RichText Edition method, editing machine and electronic equipment based on d engine
CN111126007B (en) HTM L-based medical record document paging algorithm
CN113850068A (en) Method and device for converting picture into editable text by maintaining format

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121031

Termination date: 20191218

CF01 Termination of patent right due to non-payment of annual fee