CN101436305B - Method and apparatus for drafting symbol lace - Google Patents

Method and apparatus for drafting symbol lace Download PDF

Info

Publication number
CN101436305B
CN101436305B CN2008102397320A CN200810239732A CN101436305B CN 101436305 B CN101436305 B CN 101436305B CN 2008102397320 A CN2008102397320 A CN 2008102397320A CN 200810239732 A CN200810239732 A CN 200810239732A CN 101436305 B CN101436305 B CN 101436305B
Authority
CN
China
Prior art keywords
symbol
lace
current basic
line section
baseboard
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
CN2008102397320A
Other languages
Chinese (zh)
Other versions
CN101436305A (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 CN2008102397320A priority Critical patent/CN101436305B/en
Publication of CN101436305A publication Critical patent/CN101436305A/en
Application granted granted Critical
Publication of CN101436305B publication Critical patent/CN101436305B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for drawing sign lace and a device therefor and relates to the field of typesetting processing technology. The invention solves the problems that the method for realizing character lace through manually adjusting the character position is inconvenient in use and has poor integrated effect. The method for drawing the sign lace comprises the following steps: a baseline is arranged on a type face; and the lace is automatically drawn taking the baseline as criterion. The method is suitable for plane typesetting.

Description

The method and apparatus of drafting symbol lace
Technical field
The present invention relates to the processing technology field of setting type, be specifically related to a kind of method and apparatus of drafting symbol lace.
Background technology
In fields such as planar design, ad production, commercial printing, composings, often, use the function of character lace in order to enrich space of a whole page artistic effect, promptly at margin or pattern edge, add a circle character, make the effect of lace.
State in realization in the process of adding the character lace, the inventor finds to exist at least in the prior art following problem:
At present regular software can't provide the function of character lace, realizes that character lace effect mainly realizes through the manual setting character position, uses very inconvenience, and intercharacter relative position is difficult to be consistent, and influences whole structure.
Summary of the invention
In order to solve the use inconvenience that the manual setting character position realizes that the character lace brings and the problem of whole structure difference, embodiments of the invention provide a kind of method of draw characters lace.
A kind of method of draw characters lace comprises:
Baseline is set on the space of a whole page;
With this baseline is standard, draws lace automatically.
Embodiments of the invention also provide a kind of device of drafting symbol lace.
A kind of device of drafting symbol lace comprises:
Baseline is provided with module, is used on the space of a whole page, being provided with baseline;
The lace drafting module, the baseline that is used for being provided with said baseline the module setting is a standard, draws lace automatically.
The method and apparatus of the drafting symbol lace that embodiments of the invention provide; Baseline at first is set; Then automatically according to the automatic drafting symbol lace in the position of said baseline; Be specially the start-stop position and the mark space that whether smoothly come to confirm to draw lace according to the connection of two neighboring sections baseboard, then drafting symbol lace.The use inconvenience that the manual setting character position realizes that the character lace brings and the problem of whole structure difference have been solved.
Description of drawings
The method flow diagram of a kind of drafting symbol lace that Fig. 1 provides for embodiments of the invention one;
The method flow diagram of a kind of drafting symbol lace that Fig. 2 provides for embodiments of the invention two;
Fig. 3 is the baseline shape synoptic diagram in the embodiments of the invention two;
Fig. 4 is for drawing the synoptic diagram of the symbol lace that obtains in the embodiments of the invention two;
The method flow diagram of a kind of drafting symbol lace that Fig. 5 provides for embodiments of the invention three;
Fig. 6 is the baseline shape synoptic diagram in the embodiments of the invention three;
Fig. 7 is for drawing the synoptic diagram of the symbol lace that obtains in the embodiments of the invention three;
The method flow diagram of a kind of drafting symbol lace that Fig. 8 provides for embodiments of the invention four;
Fig. 9 is the baseline shape synoptic diagram in the embodiments of the invention four;
Figure 10 is for drawing the synoptic diagram of the symbol lace that obtains in the embodiments of the invention four;
The method flow diagram of a kind of drafting symbol lace that Figure 11 provides for embodiments of the invention five;
Figure 12 is the baseline shape synoptic diagram in the embodiments of the invention five;
Figure 13 is for drawing the synoptic diagram of the symbol lace that obtains in the embodiments of the invention five;
The structural representation of the device of a kind of drafting symbol lace that Figure 14 provides for embodiments of the invention;
Figure 15 is the inner structure synoptic diagram of the lace drafting module among Figure 14.
Embodiment
In order to solve the use inconvenience that the manual setting character position realizes that the character lace brings and the problem of whole structure difference, embodiments of the invention provide a kind of method of drafting symbol lace.
The method of a kind of drafting symbol lace that the embodiment of the invention one provides, as shown in Figure 1, comprising:
Step 101, baseline is set on the space of a whole page;
Step 102, be standard, draw lace automatically with this baseline.
The method and apparatus of the drafting symbol lace that embodiments of the invention provide; Baseline at first is set; Then automatically according to the automatic drafting symbol lace in the position of said baseline; Be specially the start-stop position and the mark space that whether smoothly come to confirm to draw lace according to the connection of two neighboring sections baseboard, then drafting symbol lace.The use inconvenience that the manual setting character position realizes that the character lace brings and the problem of whole structure difference have been solved.
Below in conjunction with accompanying drawing, the method for a kind of drafting symbol lace that embodiments of the invention two are provided is introduced, and the method for said drafting symbol lace comprises:
As shown in Figure 2, step 201, baseline is set on the space of a whole page;
In this step,, be specially the information of input baseline by manual work input baseline position; Said baseline comprises directly, broken line and curve; For broken line, base-line data is made up of some nodes; For curve, base-line data is made up of some nodes and reference mark.Node is the end points of each straight-line segment in broken line, is the end points of each segment of curve in curve.The reference mark is an information point of describing each segment of curve radian in the curve.
In the embodiment of the invention, said baseline is a straight line.
The symbol that step 202, input lace use;
In this step, by the symbol that manual work input lace uses, said symbol can be a character, also can be special symbol.For example, input character A, Set Font are Dotum, and font size is No. three.
Step 203, confirm the current basic line section;
In this step,, three nodes are example so that being arranged on the said baseline, as shown in Figure 3, be respectively node 1, node 2 and node 3; Select node 2 and node 3 to be respectively starting point and terminal point, confirm the current basic line section; Confirm last baseboard by node 1 and node 2.
Whether step 204, judgement connect smooth;
In this step, judge whether said current basic line section is smooth with being connected of said last baseboard, and decision criteria is specially:
Judge the joint angle angle of said current basic line section and said last baseboard, said joint angle is the summit with the intersection point of said current basic line section and said last baseboard, and this summit is the starting point of said current basic line section, or the terminal point of said last baseboard; When said joint angle angle was 180, then said current basic line section was smooth with being connected of said last baseboard; When said angle angle was not 180, then said current basic line section was rough with being connected of said last baseboard;
If said current basic line section is the first segment base line segment of said baseline, judge that then said current basic line section is rough with being connected of said last baseboard.
When said current basic line section and said last baseboard were straight-line segment, said joint angle was the angle of said current basic line section and said last baseboard; Perhaps,
When said current basic line section and said last baseboard were segment of curve, said joint angle was the angle of back control line of preceding control line and the said last baseboard of said current basic line section; The preceding control line of said current basic line section is specially the tangent line of said current basic line section at said intersection point; The back control line of said last baseboard is specially the tangent line of said last baseboard at said intersection point; Perhaps,
When said current basic line section is a straight-line segment, when said last baseboard was segment of curve, said joint angle was the angle of the back control line of said current basic line section and said last baseboard; Perhaps,
When said current basic line section is a segment of curve, when said last baseboard was straight-line segment, said joint angle was the preceding control line of said current basic line section and the angle of said last baseboard.
Said current basic line section and said last baseboard in the embodiment of the invention are straight-line segment, and on same straight line, so think that connection is level and smooth.
Step 205, confirm the start-stop position of drafting symbol lace on said current basic line section;
In this step; The judged result whether level and smooth according to step 204 pair connection; Confirm the reference position of drafting symbol lace; The method of confirming said reference position is specially: if said connection is smooth, and the reference position of drafting symbol lace on said current basic line section then, the position of extending the half symbols width for the starting point of current basic line section forward;
If said connection is rough, then the reference position of drafting symbol lace on said current basic line section is the starting point of current basic line section.
Current basic line section in the embodiment of the invention is level and smooth with being connected of last baseboard, so the reference position of drafting symbol lace is the starting point of current basic line section, promptly node 2, the position of the half symbols that extends back width.
After having confirmed the reference position of drafting symbol lace, also need confirm the final position of drafting symbol lace, confirm that the method for said final position is specially:
If the final stage baseboard that said current basic line section is said baseline, then the terminating point of drafting symbol lace on said current basic line section is the terminal point of said current basic line section;
If the final stage baseboard that said current basic line section is not said baseline, the terminating point of drafting symbol lace on said current basic line section then is the extend back position of half symbols width of the terminal point of said current basic line section.
Current basic line section in the embodiment of the invention is the final stage baseboard of said baseline, so with the terminal point of current basic line section, promptly node 3, are the terminating point of drafting symbol lace.
Step 206, according to start-stop position and symbol intervals, compute sign is at interval;
In this step, the symbol intervals that the font size that the start-stop position of the drafting symbol lace that obtains according to step 205 and step 202 are provided with is confirmed, compute sign at interval, said mark space is two base length between the adjacent-symbol center.
Generally speaking; Said mark space is wide identical with word; The symbolic number that also can the mark space scope is set or on the current basic line section, inserted by manual work is further calculated according to said artificial scope that is provided with or the symbolic number of on the current basic line section, inserting by system, obtains mark space.
Step 207, on baseboard, insert symbol;
In this step, according to said start-stop position and mark space, on said baseboard, insert symbol, symbol center is on said baseline, and the vertical center line of symbol is vertical with said baseline.
The symbol lace that the method for the drafting symbol lace that the use embodiment of the invention provides has been drawn is as shown in Figure 4.
The baseboards of confirming with node 1 and node 2 are the current basic line section, for the process and the said process of said current basic line section drafting symbol lace is as good as, repeat no more.
The method and apparatus of the drafting symbol lace that embodiments of the invention provide; Baseline at first is set; Then automatically according to the automatic drafting symbol lace in the position of said baseline; Be specially the start-stop position and the mark space that whether smoothly come to confirm to draw lace according to the connection of two neighboring sections baseboard, then drafting symbol lace.The use inconvenience that the manual setting character position realizes that the character lace brings and the problem of whole structure difference have been solved.
Below in conjunction with accompanying drawing, the method for a kind of drafting symbol lace that embodiments of the invention three are provided is introduced, and the method for said drafting symbol lace comprises:
As shown in Figure 5, step 501, baseline is set on the space of a whole page;
In this step,, be specially the input baseline information by manual work input baseline position; Like node location, curve radian etc.In the embodiment of the invention, said baseline is a circular arc.
The symbol that step 502, input lace use;
In this step, by the symbol that manual work input lace uses, said symbol can be a character, also can be special symbol.For example, input character A, Set Font are Dotum, and font size is No. three.
Step 503, confirm the current basic line section;
In this step,, three nodes are example so that being arranged on the said baseline, as shown in Figure 6, be respectively node 1, node 2 and node 3; Select node 2 and node 3 to be respectively starting point and terminal point, confirm the current basic line section; Confirm last baseboard by node 1 and node 2.
Whether step 504, judgement connect smooth;
In this step, judge whether said current basic line section is smooth with being connected of said last baseboard, decision criteria is identical with decision criteria described in the embodiment of the invention two.
Said current basic line section and said last baseboard in the embodiment of the invention are segment of curve, and the back control line of last baseboard is the tangent line of last baseboard at node 2; The preceding control line of current basic line section is the tangent line of current basic line section at node 2.Because of the baseline of the embodiment of the invention is one section circular arc, so the preceding control line angle of the back control line of said last baseboard and said current basic line section is 180 degree, think connect level and smooth.
Step 505, confirm the start-stop position of drafting symbol lace on said current basic line section;
In this step, whether level and smooth the judged result according to step 504 pair connection confirm the reference position of drafting symbol lace, confirms that the method for said reference position is identical with method described in the embodiments of the invention two.
Current basic line section in the embodiment of the invention is level and smooth with being connected of last baseboard, so the reference position of drafting symbol lace is the starting point of current basic line section, promptly node 2, the position of the half symbols that extends back width.
After having confirmed the reference position of drafting symbol lace, also need confirm the final position of drafting symbol lace, confirm that the method for said final position is identical with method in the embodiments of the invention two.
Current basic line section in the embodiment of the invention is the final stage baseboard of said baseline, so with the terminal point of current basic line section, promptly node 3, are the terminating point of drafting symbol lace.
Step 506, according to start-stop position and symbol intervals, compute sign is at interval;
In this step, the symbol intervals that the font size that the start-stop position of the drafting symbol lace that obtains according to step 505 and step 502 are provided with is confirmed, compute sign at interval, said mark space is two base length between the adjacent-symbol center.
Generally speaking; Said mark space is wide identical with word; The symbolic number that also can the mark space scope is set or on the current basic line section, inserted by manual work is further calculated according to said artificial scope that is provided with or the symbolic number of on the current basic line section, inserting by system, obtains mark space.
Step 507, on baseboard, insert symbol;
In this step, according to said start-stop position and mark space, on said baseboard, insert symbol, symbol center is on said baseline, and the vertical center line of symbol is vertical with said baseline.
The symbol lace that the method for the drafting symbol lace that the use embodiment of the invention provides has been drawn is as shown in Figure 7.
The baseboards of confirming with node 1 and node 2 are the current basic line section, for the process and the said process of said current basic line section drafting symbol lace is as good as, repeat no more.
The method and apparatus of the drafting symbol lace that embodiments of the invention provide; Baseline at first is set; Then automatically according to the automatic drafting symbol lace in the position of said baseline; Be specially the start-stop position and the mark space that whether smoothly come to confirm to draw lace according to the connection of two neighboring sections baseboard, then drafting symbol lace.The use inconvenience that the manual setting character position realizes that the character lace brings and the problem of whole structure difference have been solved.
Below in conjunction with accompanying drawing, the method for a kind of drafting symbol lace that embodiments of the invention four are provided is introduced, and the method for said drafting symbol lace comprises:
As shown in Figure 8, step 801, baseline is set on the space of a whole page;
In this step,, be specially the input baseline information by manual work input baseline position; Like node location, curve radian etc.In the embodiment of the invention, said baseline is a broken line, and this broken line is made up of two straight-line segments, and 2 straight-line segments have a common end points, and two straight-line segments have one 90 degree angles at this end points place.
The symbol that step 802, input lace use;
In this step, by the symbol that manual work input lace uses, said symbol can be a character, also can be special symbol.For example, input character A, Set Font are Dotum, and font size is No. three.
Step 803, confirm the current basic line section;
In this step,, three nodes are example so that being arranged on the said baseline, as shown in Figure 9, be respectively node 1, node 2 and node 3; Select node 2 and node 3 to be respectively starting point and terminal point, confirm the current basic line section; Confirm last baseboard by node 1 and node 2.
Whether step 804, judgement connect smooth;
In this step, judge whether said current basic line section is smooth with being connected of said last baseboard, decision criteria is identical with decision criteria in the embodiments of the invention one.
Said current basic line section and said last baseboard in the embodiment of the invention are straight-line segment, and angle be 90 the degree, so think the connection unsmooth.
Step 805, confirm the start-stop position of drafting symbol lace on said current basic line section;
In this step, whether level and smooth the judged result according to step 804 pair connection confirm the reference position of drafting symbol lace, confirms that the method for said reference position is identical with method in the embodiments of the invention two.
Current basic line section in the embodiment of the invention is unsmooth with being connected of last baseboard, so the reference position of drafting symbol lace is the starting point of current basic line section, promptly node 2.
After having confirmed the reference position of drafting symbol lace, also need confirm the final position of drafting symbol lace, confirm that the method for said final position is identical with method in the embodiments of the invention two.
Current basic line section in the embodiment of the invention is the final stage baseboard of said baseline, so with the terminal point of current basic line section, promptly node 3, are the terminating point of drafting symbol lace.
Step 806, according to start-stop position and symbol intervals, compute sign is at interval;
In this step, the symbol intervals that the font size that the start-stop position of the drafting symbol lace that obtains according to step 805 and step 802 are provided with is confirmed, compute sign at interval, said mark space is two base length between the adjacent-symbol center.
Generally speaking; Said mark space is wide identical with word; The symbolic number that also can the mark space scope is set or on the current basic line section, inserted by manual work is further calculated according to said artificial scope that is provided with or the symbolic number of on the current basic line section, inserting by system, obtains mark space.
Step 807, on baseboard, insert symbol;
In this step, according to said start-stop position and mark space, on said baseboard, insert symbol, symbol center is on said baseline, and the vertical center line of symbol is vertical with said baseline.
The symbol lace that the method for the drafting symbol lace that the use embodiment of the invention provides has been drawn is shown in figure 10.
The baseboards of confirming with node 1 and node 2 are the current basic line section, for the process and the said process of said current basic line section drafting symbol lace is as good as, repeat no more.
The method of the drafting symbol lace that embodiments of the invention provide; Baseline at first is set; Automatic then position drafting symbol lace according to said baseline; Be specially start-stop position and the mark space of whether smoothly confirming to insert lace according to the connection of two neighboring sections baseboard, insert symbol then.The use inconvenience that the manual setting character position realizes that the character lace brings and the problem of whole structure difference have been solved.
Below in conjunction with accompanying drawing, the method for a kind of drafting symbol lace that embodiments of the invention five are provided is introduced, and the method for said drafting symbol lace comprises:
Shown in figure 11, step 1101, baseline is set on the space of a whole page;
In this step,, be specially the input baseline information by manual work input baseline position; Like node location, curve radian etc.In the embodiment of the invention, said baseline is a curve, and this curve is made up of two straight-line segment and circular arcs that are mutually 90 degree angles, and is shown in figure 12.
The symbol that step 1102, input lace use;
In this step, by the symbol that manual work input lace uses, said symbol can be a character, also can be special symbol.For example, input character A, Set Font are Dotum, and font size is No. three.
Step 1103, confirm the current basic line section;
In this step,, three nodes are example so that being arranged on the said baseline, shown in figure 12, be respectively node 1, node 2, node 3 and node 4; Select node 2 and node 3 to be respectively starting point and terminal point, confirm the current basic line section; Confirm last baseboard by node 1 and node 2.
Whether step 1104, judgement connect smooth;
In this step, judge whether said current basic line section is smooth with being connected of said last baseboard, decision criteria is identical with decision criteria in the embodiments of the invention one.
Said current basic line section in the embodiment of the invention is a segment of curve, and said last baseboard is a straight-line segment, and the preceding control line angle of said last baseboard and said current basic line section is 180 degree, so think and connect smoothly.
Step 1105, confirm the start-stop position of drafting symbol lace on said current basic line section;
In this step, whether level and smooth the judged result according to step 1104 pair connection confirm the reference position of drafting symbol lace, confirms that the method for said reference position is identical with method in the embodiments of the invention two.
Current basic line section in the embodiment of the invention is level and smooth with being connected of last baseboard, so the reference position of drafting symbol lace is the starting point of current basic line section, promptly node 2, the position of the half symbols that extends back width.
After having confirmed the reference position of drafting symbol lace, also need confirm the final position of drafting symbol lace, confirm that the method for said final position is identical with method in the embodiments of the invention two.
Current basic line section in the embodiment of the invention is not the final stage baseboard of said baseline, so with the terminal point of current basic line section, promptly node 3, the position of the half symbols that extends back width is the terminating point of drafting symbol lace.
Step 1106, according to start-stop position and symbol intervals, compute sign is at interval;
In this step, the symbol intervals that the font size that the start-stop position of the drafting symbol lace that obtains according to step 1105 and step 1102 are provided with is confirmed, compute sign at interval, said mark space is two base length between the adjacent-symbol center.
Generally speaking; Said mark space is wide identical with word; The symbolic number that also can the mark space scope is set or on the current basic line section, inserted by manual work is further calculated according to said artificial scope that is provided with or the symbolic number of on the current basic line section, inserting by system, obtains mark space.
Step 1107, on baseboard, insert symbol;
In this step, according to said start-stop position and mark space, on said baseboard, insert symbol, symbol center is on said baseline, and the vertical center line of symbol is vertical with said baseline.
Step 1108, judge whether all to insert symbol on the baselines;
In this step, judge whether baseline all inserts symbol, if all insert, the final stage baseboard that promptly said current basic line section is said baseline, the then symbol lace is completed; If the final stage baseboard that said current basic line section is not said baseline is then elected next baseboard as the current basic line section, repeating step 1104 is to step 1107, till baseline is all inserted symbol.
The baseboards of confirming with node 1 and node 2 are that current basic line section or the baseboards confirmed with node 3 and node 4 are the current basic line section, for the process and the said process of said current basic line section drafting symbol lace is as good as, repeat no more.
The symbol lace that the method for the drafting symbol lace that the use embodiment of the invention provides has been drawn is shown in figure 13.
The method and apparatus of the drafting symbol lace that embodiments of the invention provide; Baseline at first is set; Then automatically according to the automatic drafting symbol lace in the position of said baseline; Be specially the start-stop position and the mark space that whether smoothly come to confirm to draw lace according to the connection of two neighboring sections baseboard, then drafting symbol lace.The use inconvenience that the manual setting character position realizes that the character lace brings and the problem of whole structure difference have been solved.
Embodiments of the invention also provide a kind of device of drafting symbol lace.
A kind of device of drafting symbol lace, shown in figure 14, comprising:
Baseline is provided with module 1401, is used on the space of a whole page, being provided with baseline;
Lace drafting module 1402, the baseline that is used for being provided with said baseline the module setting is a standard, draws lace automatically.
When drafting symbol lace, at first, by baseline module 1401 is set and confirms baseline position, be specially the input baseline information, said baseline information comprises node location, curve radian etc.; Said baseline can be around the page, also can be self-defining lines in the page.
After said baseline is provided with module 1401 and has placed baseline, by the position of lace drafting module 1402, insert symbol according to said baseline, accomplish lace; Said symbol can be a character, also can be special symbol; Baseline is provided with module 1401 and at first confirms the current basic line section; Further confirm the start-stop position of drafting symbol lace on said current basic line section; According to start-stop position and symbol intervals, compute sign at interval then; At last, according to said start-stop position and mark space, on said baseboard, insert symbol; Symbol center is on said baseline, and the vertical center line of symbol is vertical with said baseline.
Further, the inner structure of said lace drafting module 1402 is shown in figure 15, comprising:
Baseboard division unit 14021 is used for said baseline is divided at least two baseboards;
Start-stop position determination unit 14022 is used in the current basic line section, confirms the start-stop position of symbol lace;
Mark space computing unit 14023 is used for start-stop position and the symbol intervals confirmed according to said start-stop position determination unit 14022, compute sign at interval, said mark space is two base length between the adjacent-symbol center;
Lace output unit 14024; The mark space that start-stop position that is used for confirming according to said start-stop position determination unit 14022 and said mark space computing unit 14023 calculate; On said baseboard, insert symbol; Symbol center is on said baseline, and the vertical center line of symbol is vertical with said baseline.
Said apparatus at first is provided with baseline, then automatically according to the automatic drafting symbol lace in the position of said baseline, is specially the start-stop position and the mark space that whether smoothly come to confirm to draw lace according to the connection of two neighboring sections baseboard, then drafting symbol lace.The use inconvenience that the manual setting character position realizes that the character lace brings and the problem of whole structure difference have been solved.
One of ordinary skill in the art will appreciate that and realize that all or part of step that the foregoing description method is carried is to instruct relevant hardware to accomplish through program; Described program can be stored in a kind of computer-readable recording medium; This program comprises one of step or its combination of method embodiment when carrying out.
The above-mentioned storage medium of mentioning can be a ROM (read-only memory), disk or CD etc.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technician who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by said protection domain with claim.

Claims (7)

1. the method for a drafting symbol lace is characterized in that, comprising:
Baseline is set on the space of a whole page;
With this baseline is standard, draws lace automatically;
Said is standard with this baseline, and the step of drawing lace automatically comprises:
Said baseline is divided at least two baseboards;
On the current basic line section, confirm the start-stop position of symbol lace;
According to start-stop position and symbol intervals, the compute sign interval, said mark space is two base length between the adjacent-symbol center;
According to said start-stop position and mark space, on said baseboard, insert symbol, symbol center is on said baseline, and the vertical center line of symbol is vertical with said baseline;
On said current basic line section, confirm that the step of the start-stop position of symbol lace comprises:
Judge whether said current basic line section is smooth with being connected of last baseboard;
If said connection is smooth, the reference position of symbol lace on the current basic line section then, the position of extending the half symbols width for the starting point of current basic line section forward;
If said connection is rough, then the reference position of symbol lace on the current basic line section is the starting point of current basic line section;
If the final stage baseboard that said current basic line section is said baseline, then the terminating point of symbol lace on the current basic line section is the terminal point of said current basic line section;
If the final stage baseboard that said current basic line section is not said baseline, the terminating point of symbol lace on the current basic line section then is the extend back position of half symbols width of the terminal point of said current basic line section.
2. the method for drafting symbol lace according to claim 1 is characterized in that, the said baseline that on the space of a whole page, is provided with is specially the information of importing baseline, and said information comprises node and reference mark; Said baseline comprises at least one segment base line segment, and said node is the end points of said baseboard; When said baseboard was segment of curve, said reference mark was used to describe the radian of said baseboard.
3. the method for drafting symbol lace according to claim 1 is characterized in that, saidly judges current basic line section and whether smooth being specially of being connected of last baseboard:
Judge the joint angle angle of said current basic line section and said last baseboard, said joint angle is the summit with the intersection point of said current basic line section and said last baseboard; When said joint angle angle was 180, then said current basic line section was smooth with being connected of said last baseboard; When said joint angle angle was not 180, then said current basic line section was rough with being connected of said last baseboard;
If said current basic line section is the first segment base line segment of said baseline, judge that then said current basic line section is rough with being connected of said last baseboard.
4. the method for drafting symbol lace according to claim 3 is characterized in that, said joint angle is specially:
When said current basic line section and said last baseboard were straight-line segment, said joint angle was the angle of said current basic line section and said last baseboard; Perhaps,
When said current basic line section and said last baseboard were segment of curve, said joint angle was the angle of back control line of preceding control line and the said last baseboard of said current basic line section; The preceding control line of said current basic line section is specially the tangent line of said current basic line section at said intersection point; The back control line of said last baseboard is specially the tangent line of said last baseboard at said intersection point; Perhaps,
When said current basic line section is a straight-line segment, when said last baseboard was segment of curve, said joint angle was the angle of the back control line of said current basic line section and said last baseboard; Perhaps,
When said current basic line section is a segment of curve, when said last baseboard was straight-line segment, said joint angle was the preceding control line of said current basic line section and the angle of said last baseboard.
5. the method for drafting symbol lace according to claim 1 is characterized in that, said symbol intervals is by the manual work setting, and the scope that is provided with is less than the current basic line segment length, greater than 0.
6. the method for drafting symbol lace according to claim 1 is characterized in that, said symbol comprises letter symbol and special symbol.
7. the device of a drafting symbol lace is characterized in that, comprising:
Baseline is provided with module, is used on the space of a whole page, being provided with baseline;
The lace drafting module, the baseline that is used for being provided with said baseline the module setting is a standard, draws lace automatically;
Said lace drafting module comprises:
The baseboard division unit is used for said baseline is divided at least two baseboards;
The start-stop position determination unit is used in the current basic line section, confirms the start-stop position of symbol lace;
The mark space computing unit is used for start-stop position and the symbol intervals definite according to said start-stop position determination unit, the compute sign interval, and said mark space is two base length between the adjacent-symbol center;
The lace output unit; The mark space that start-stop position that is used for confirming according to said start-stop position determination unit and said mark space computing unit calculate; On said baseboard, insert symbol, symbol center is on said baseline, and the vertical center line of symbol is vertical with said baseline.
CN2008102397320A 2008-12-16 2008-12-16 Method and apparatus for drafting symbol lace Expired - Fee Related CN101436305B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102397320A CN101436305B (en) 2008-12-16 2008-12-16 Method and apparatus for drafting symbol lace

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102397320A CN101436305B (en) 2008-12-16 2008-12-16 Method and apparatus for drafting symbol lace

Publications (2)

Publication Number Publication Date
CN101436305A CN101436305A (en) 2009-05-20
CN101436305B true CN101436305B (en) 2012-07-04

Family

ID=40710735

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102397320A Expired - Fee Related CN101436305B (en) 2008-12-16 2008-12-16 Method and apparatus for drafting symbol lace

Country Status (1)

Country Link
CN (1) CN101436305B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103231581B (en) * 2013-04-08 2014-12-31 三峡大学 Digit representation method used for machining

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1152157A (en) * 1995-10-12 1997-06-18 库夫曼模板技术股份公司 Pattern forming method
CN101000691A (en) * 2006-01-10 2007-07-18 英业达股份有限公司 Image editing system and method
CN101021840A (en) * 2007-03-21 2007-08-22 金蝶软件(中国)有限公司 Electronic form unit grid drawing method and apparatus
CN101149838A (en) * 2007-11-09 2008-03-26 北大方正集团有限公司 Layout image frame generation method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1152157A (en) * 1995-10-12 1997-06-18 库夫曼模板技术股份公司 Pattern forming method
CN101000691A (en) * 2006-01-10 2007-07-18 英业达股份有限公司 Image editing system and method
CN101021840A (en) * 2007-03-21 2007-08-22 金蝶软件(中国)有限公司 Electronic form unit grid drawing method and apparatus
CN101149838A (en) * 2007-11-09 2008-03-26 北大方正集团有限公司 Layout image frame generation method and device

Also Published As

Publication number Publication date
CN101436305A (en) 2009-05-20

Similar Documents

Publication Publication Date Title
CN102147790B (en) Text type-setting method and type-setting engine
CN104063296A (en) Veneer in-place state detection method and device
CN104346390B (en) A kind of method and device for forming character library
CN103164388B (en) In a kind of layout files structured message obtain method and device
CN101876967A (en) Method for generating PDF text paragraphs
CN101436305B (en) Method and apparatus for drafting symbol lace
CN108132917B (en) Document error correction marking method
CN109064877B (en) Abrupt center line smoothing method and device based on high-precision map and storage medium
JP2008052312A5 (en)
CN103995669A (en) Address book navigation bar display method and device
CN103186506A (en) Method and system for adjusting character pair interval
CN110263740A (en) Different type block letter document dubbing method based on OCR technique
CN207067969U (en) System configuration device and electronic equipment based on hardware platform
CN104657344A (en) Writing prompting system and method
CN102737393A (en) Method and system for drawing vector diagram of overhead line
US20100271345A1 (en) Electronic White Board Capable of Printing Partial Data Thereon
CN102033855A (en) Method and system for typesetting characters of various fonts and same code value
CN104361560A (en) Geometric matching map sheet joint method based on circular region fitting
CN100580663C (en) Method and apparatus for automatic typesetting
CN103390283A (en) Method and device for drawing parallel curves
KR20140139702A (en) Method and apparatus for correcting text
CN115345131A (en) Method and device for constructing hierarchical relationship tree and electronic equipment
CN102141890B (en) Method for editing text of mobile terminal and mobile terminal
CN112784540A (en) Document number proofreading method and device
CN105373824A (en) Information card and use method thereof

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120704

Termination date: 20191216