CN102033855A - Method and system for typesetting characters of various fonts and same code value - Google Patents

Method and system for typesetting characters of various fonts and same code value Download PDF

Info

Publication number
CN102033855A
CN102033855A CN2009100930809A CN200910093080A CN102033855A CN 102033855 A CN102033855 A CN 102033855A CN 2009100930809 A CN2009100930809 A CN 2009100930809A CN 200910093080 A CN200910093080 A CN 200910093080A CN 102033855 A CN102033855 A CN 102033855A
Authority
CN
China
Prior art keywords
literal
outer rim
type
central point
rate
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.)
Granted
Application number
CN2009100930809A
Other languages
Chinese (zh)
Other versions
CN102033855B (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.)
Founder International Beijing Co Ltd
Original Assignee
Founder International Beijing 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 Founder International Beijing Co Ltd filed Critical Founder International Beijing Co Ltd
Priority to CN2009100930809A priority Critical patent/CN102033855B/en
Publication of CN102033855A publication Critical patent/CN102033855A/en
Application granted granted Critical
Publication of CN102033855B publication Critical patent/CN102033855B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a method and a system for typesetting characters of various fonts and the same code value, which belong to the technical field of typesetting. When the conventional method and system are used for typesetting the characters of various fonts and the same code value, the sizes and the positions of the characters generally do not meet the typesetting requirement and the typesetting is difficult to adjust, so that the typesetting effect is influenced. In the method and the system, the characters which do not meet the typesetting requirement are marked, character emphasis rate in configured file is determined, and the sizes and the positions of the characters which do not meet the typesetting requirement are automatically adjusted through the character emphasis rate; and fine adjustment can also be directly performed on the characters on a layout if the characters do not completely meet the typesetting requirement yet after the adjustment, so that the best typesetting effect is achieved. The method and the system are particularly suitable for the typesetting of Japanese characters.

Description

The character typesetting method of the identical code value of multiple font and system
Technical field
The invention belongs to typesetting system field, be specifically related to the character typesetting method and the system of the identical code value of one kind of multiple fonts, be specially adapted to the occasion that japanese type is set type.
Background technology
In the text composition field, when the text composition of the identical code value of multiple font, it is unequal to tend to occur the font size that the different literal of code value same font shows, the problems such as offset of font in the standard one layout region had a strong impact on the composing effect.The reason that produces this problem is: literal code value and font have been fixed when font manufacturer makes font, because different fonts is to be made by different font manufacturers, even it is therefore identical for different font code values, also there is certain difference in the size of text font, and the position in the standard one layout region also may produce difference.
At the problems referred to above, present solution is: when the text composition effect that certain font takes place does not meet the demands, revise font by font manufacturer and realize the requirement of setting type.This method both can have been adjusted the size of font, also can adjust the position of font, but cost was higher, and production firm's difference of different fonts, and feasibility is lower in the practical operation, and practicality is poor.
At the problem of the offset of font in the standard one layout region, when setting type, can also realize the display position adjustment by the adjustment of Pitch amount.By being set in the font, the Pitch amount can partly adjust the display position of literal, but can only on a direction of text composition, adjust, can not realize the adjustment of all directions, for example, if literal is horizontal composing, then the pitch amount can only be carried out the adjustment of left and right direction, and can not adjust the demonstration size of text font.Though this method has good ageing, can not satisfy the composing demand fully.
Summary of the invention
At the defective that exists in the prior art, the purpose of this invention is to provide the character typesetting method and the system of the identical code value of one kind of multiple fonts.These method and system do not meet the literal that requires of setting type after can the text composition to the identical code value of multiple font and adjust quickly and easily, also have practicality and ageing simultaneously.
To achieve these goals, the technical solution used in the present invention is as follows:
The character typesetting method of the identical code value of one kind of multiple fonts may further comprise the steps:
(1) unified typesetting format in the space of a whole page is set;
(2) literal of the identical code value of multiple font is set type under unified typesetting format, do not require the difference of literal to carry out mark meeting to set type;
(3) determine that all do not meet to set type in the space of a whole page and require the literal of literal to emphasize rate, record in the configuration file; The described rate of emphasizing is meant the adjustment rate to literal;
(4) read configuration file, emphasize that according to the literal of determining in the configuration file rate does not require literal to set type again to meeting to set type.
Aforesaid character typesetting method, not meeting described in the step (2) sets type requires the difference of literal to comprise that literal is bigger than normal, less than normal, take back, take over, on the upper side and on the lower side.
Aforesaid character typesetting method, do not carry out the process of mark and may further comprise the steps meeting the difference require literal of setting type described in the step (2):
1. determine the outer rim of all literal in the space of a whole page;
2. the outer rim of each literal is set type that the outer rim of literal compares when requiring with meeting; If the outer rim of literal sets type that the outer rim size of literal equates when requiring with meeting, then this literal is not carried out mark; The outer rim size of literal when requiring is bigger than normal with this word marking then if the outer rim size of literal is greater-than match set type; If the outer rim size of literal is less than normal with this word marking then less than the outer rim size that meets the literal when requiring of setting type;
3. determine the central point of each literal outer rim, judge that the position that each literal outer rim central point and this Chinese character are closed between the outer rim central point of the position when requiring of setting type concerns; If literal outer rim central point and this Chinese character are closed and set type that the outer rim central point of position overlaps when requiring, then this literal is not carried out mark; If literal outer rim central point this Chinese character close just the going up of outer rim central point of the position when requiring of setting type, just down, a positive left side or positive right, then with this word marking on the upper side, on the lower side, take back or take over; If literal outer rim central point closes outer rim central point upper left of the position when requiring of setting type in this Chinese character, then with this word marking for take back with on the upper side; If literal outer rim central point closes outer rim central point upper right of the position when requiring of setting type in this Chinese character, then with this word marking for take over on the upper side; If literal outer rim central point is in the lower-left that this Chinese character is closed the outer rim central point of position when requiring of setting type, then with this word marking for take back with on the lower side; If literal outer rim central point is in the bottom right that this Chinese character is closed the outer rim central point of position when requiring of setting type, then with this word marking for take over on the lower side.
Aforesaid character typesetting method, wherein, outer rim is the outer rim that comprises the minimum rectangular area of literal, central point for to the outer rim left and right margins from equate, the point that equates of back gauge up and down.
Aforesaid character typesetting method, in the step (3), literal emphasizes that rate comprises the size of literal and the adjustment of position.
Aforesaid character typesetting method, wherein, all do not meet to set type and require the literal of literal to emphasize rate in definite automatically space of a whole page.Its method is: bigger than normal or less than normal for literal, according to the outer rim of literal with meet the dimension difference of the outer rim of literal of setting type when requiring and determine the ratio that the character size needs are adjusted; For the offset of literal, close distance between the outer rim central point of the position when requiring of setting type according to literal outer rim central point in this Chinese character, determine respectively literal in the horizontal direction with the adjustment distance of vertical direction.
Aforesaid character typesetting method, wherein, determining that needing to adjust literal emphasizes in the process of rate, character size difference threshold value and text point difference threshold value are set respectively, if the outer rim of literal sets type that the dimension difference of the outer rim of literal is not more than character size difference threshold value when requiring with meeting, then the size of this literal is not adjusted; If the distance that literal outer rim central point closes between the outer rim central point of the position when requiring of setting type in this Chinese character is not more than text point difference threshold value, then the position of this literal is not adjusted.
Aforesaid character typesetting method wherein, manually is provided with in the space of a whole page all and does not meet to set type and require the literal of literal to emphasize rate.
Aforesaid character typesetting method, in the step (4), emphasize that according to literal rate not may further comprise the steps meeting the process that requires literal to set type again of setting type:
1. obtaining all from configuration file does not meet to set type and requires the literal of literal to emphasize rate;
2. literal is emphasized that the rate parameter is converted into coordinate system parameter current on the space of a whole page;
3. according to the coordinate system parameter after converting literal is adjusted.
Aforesaid character typesetting method, in the step (4), to do not meet set type require literal to set type again after, if still do not meet the composing requirement, then directly on the space of a whole page, do not require the size of literal and position to finely tune to meeting to set type.
The character laydown system of the identical code value of one kind of multiple fonts comprises that being used to be provided with the whole space of a whole page unifies the page format of typesetting format module is set; Be used for the type-setting module that the typesetting format of module setting is set type to the literal of the identical code value of multiple font being set according to page format; Be used to show the display module of type-setting module composing effect; Be used for not requiring the difference of literal to carry out the mark module of mark, and be used to determine not meet to set type require the rate of emphasizing of literal, and it is recorded the rate of emphasizing determination module in the configuration file meeting to set type;
Wherein, type-setting module also is used for according to emphasizing that literal that the rate determination module is determined emphasizes that the literal that rate is set type again to needs sets type; Display module also is used for the show tags module to not meeting the effect after the difference require literal of setting type is carried out mark.
Aforesaid character laydown system, this system also comprise be used for when type-setting module according to after emphasizing that literal that the rate of emphasizing that the rate determination module is determined is set type again to needs is set type, to still do not meet the fine setting module that the literal that requires of setting type is finely tuned in the composing effect that display module shows.
The method of the invention and system, do not carry out mark to meeting the literal that requires of setting type, and rate emphasized in definite literal in configuration file, emphasize that by literal rate has realized not requiring the automatic adjustment of literal to meeting to set type, do not rely on different font manufacturers, convenient and swift, have good practicability.And, adopt the method for the invention and system, additionally do not increase the difficulty of setting type, improved the application of setting type; Can also see the composing effect immediately, have good actual effect; Can also make the composing effect reach best according to the composing effect to finely tuning not in full conformity with the literal that requires of setting type.
Description of drawings
Fig. 1 is the structured flowchart of the character laydown system preferred implementation of the identical code value of multiple font of the present invention;
Fig. 2 is the method flow synoptic diagram that adopts system shown in Figure 1 that the literal of the identical code value of multiple font is set type in the embodiment;
Fig. 3 does not carry out the method flow synoptic diagram of mark to meeting the difference require literal of setting type in the embodiment;
Fig. 4 is to not meeting the method flow synoptic diagram of setting type and requiring literal to set type again in the embodiment;
Fig. 5 a is the synoptic diagram that among the embodiment 1 top literal is carried out mark, and Fig. 5 b is the effect synoptic diagram after among the embodiment 1 top literal being set type again;
Fig. 6 a is the synoptic diagram that among the embodiment 2 top literal is carried out mark, and Fig. 6 b is the effect synoptic diagram after among the embodiment 2 top literal being set type again;
Fig. 7 a is the synoptic diagram that among the embodiment 3 top literal utilization fine setting module is carried out amplifieroperation, and Fig. 7 b is the synoptic diagram that among the embodiment 3 top literal utilization fine setting module is carried out shift left operation.
Embodiment
Describe the present invention below in conjunction with embodiment and accompanying drawing.
Fig. 1 is the structured flowchart of the character laydown system preferred implementation of the identical code value of multiple font of the present invention.This system comprises that page format is provided with module 11, type-setting module 12, display module 13, mark module 14 and emphasizes rate determination module 15.
Page format is provided with module 11 and is connected with type-setting module 12, is used to be provided with the unified typesetting format of the whole space of a whole page.Type-setting module 12 is provided with module 11, display module 13 and emphasizes that rate determination module 15 is connected with page format, be used for the typesetting format that module 11 is provided with being set the literal of the identical code value of multiple font is set type, and be used for according to emphasizing that the literal that the rates of emphasizing that rate determination module 15 is determined are set type again to needs sets type according to page format.Display module 13 is with type-setting module 12, mark module 14 and emphasize that rate determination module 15 is connected, and is used to show the composing effect of type- setting module 12, and 14 pairs of mark modules do not meet to set type and require effect after literal carries out mark.Mark module 14 is connected with display module 13, is used for not requiring the difference of literal to carry out mark to meeting to set type.Emphasize that rate determination module 15 is connected with type-setting module 12 with display module 13, be used for not meeting the mark result who requires literal that sets type and determine not require the rate of emphasizing of literal meeting to set type according to 14 pairs of mark modules.Wherein, the rate of emphasizing is meant the ratio of setting type and requiring literal to adjust not meeting, and comprises the size of literal and the adjustment of position.
Because to after not meeting the literal that set type to require and setting type again, might exist still not in full conformity with the literal of setting type and requiring, so this system also comprises fine setting module 16.This module is connected with display module 13, still requires the size of literal and position to finely tune not in full conformity with composing after being used for needs are set type again, to reach best text composition effect.
Fig. 2 is the method flow synoptic diagram that adopts system shown in Figure 1 that the literal of the identical code value of multiple font is set type.This method may further comprise the steps:
(1) page format is provided with module 11 unified typesetting format is set in the space of a whole page.Wherein, typesetting format comprise between font size, text alignment mode, literal up and down at interval etc.If typesetting format is not set, then adopt the typesetting format of acquiescence before composing.
(2) type-setting module 12 is provided with the literal of the identical code value of multiple font under the unified typesetting format that module 11 is provided with at page format and sets type, and display module 13 shows the effect after the composings.
(3) mark module 14 does not require the difference of literal to carry out mark according to the effect after setting type to meeting to set type, the effect behind display module 13 show tags.Wherein, do not meet to set type and require the difference of literal to comprise that literal is bigger than normal, less than normal, take back, take over, on the upper side, wait on the lower side.
Mark module 14 judges whether all literal meet the composing requirement in the space of a whole page, does not require the difference of literal to carry out mark to meeting to set type.Concrete method may further comprise the steps, as shown in Figure 3.
1. determine the outer rim of all literal in the space of a whole page;
2. the outer rim of each literal and page format being provided with the font size outer rim that module 11 the is provided with outer rim of literal (promptly meeting sets type when requiring) compares; If the outer rim of literal equates that with the size of the font size outer rim of setting then this Chinese character is closed the composing requirement; If the outer rim size of literal is greater than the font size outer rim size that is provided with, then this literal is bigger than normal, is bigger than normal with this word marking; If the outer rim size of literal is less than the font size outer rim size that is provided with, then this literal is less than normal, is less than normal with this word marking;
3. determine the central point of each literal outer rim, close position between the outer rim central point of the position when requiring of setting type by each literal outer rim central point and this Chinese character and concern to judge whether literal takes back, take over, on the upper side, on the lower side, described central point refer to the outer rim left and right margins from equate, the point that equates of back gauge up and down; If literal outer rim central point and this Chinese character are closed and set type that the outer rim central point of position overlaps when requiring, then this Chinese character is closed the composing requirement; If literal outer rim central point this Chinese character close just the going up of outer rim central point of the position when requiring of setting type, just down, a positive left side or positive right, then this literal on the upper side, on the lower side, take back or take over, with this word marking on the upper side, on the lower side, take back or take over; If literal outer rim central point closes outer rim central point upper left of the position when requiring of setting type in this Chinese character, then this literal is taken back and on the upper side, with this word marking for take back with on the upper side; If literal outer rim central point closes outer rim central point upper right of the position when requiring of setting type in this Chinese character, then this literal takes over and on the upper side, with this word marking for take over on the upper side; If literal outer rim central point is in the lower-left that this Chinese character is closed the outer rim central point of position when requiring of setting type, then this literal is taken back and on the lower side, with this word marking for take back with on the lower side; If literal outer rim central point is in the bottom right that this Chinese character is closed the outer rim central point of position when requiring of setting type, then this literal takes over and on the lower side, with this word marking for take over on the lower side.
(4) emphasize that rate determination module 15 determines according to the mark result of mark module 14 that all do not meet to set type and require the literal of literal to emphasize rate, record in the configuration file.
Determine that the rate of emphasizing of literal can be finished automatically by system, also can not meet to set type by 14 pairs of mark modules and require the mark effect of literal manually to be provided with according to what display module 13 showed by the composing personnel.
Automatically determine that literal emphasizes that the method for rate is: bigger than normal or less than normal for literal, according to the outer rim of literal with meet the dimension difference of the outer rim of literal of setting type when requiring and determine the ratio that the character size needs are adjusted; For the offset of literal, close distance between the outer rim central point of the position when requiring of setting type according to literal outer rim central point in this Chinese character, determine respectively literal in the horizontal direction with the adjustment distance of vertical direction.
Determining that needing to adjust literal emphasizes in the process of rate, can be provided with character size difference threshold value and text point difference threshold value respectively.If the outer rim of literal sets type that the dimension difference of the outer rim of literal is not more than character size difference threshold value when requiring with meeting, then the size of this literal is not adjusted.If the distance that literal outer rim central point closes between the outer rim central point of the position when requiring of setting type in this Chinese character is not more than text point difference threshold value, then the position of this literal is not adjusted.
The rate of emphasizing of literal is recorded in it in configuration file after determining.The form of configuration file is as shown in the table:
Figure B2009100930809D0000071
Wherein, need set type the again numbering of literal of " sequence number " expression, " font name " represents to set type again the employed font of literal, need set type the again ASC code value of literal of literal code value representation, the zoom ratio that the literal that " vertical direction font ratio " expression in the vertical direction is set type again to needs is compared with former literal, the zoom ratio that the literal that " horizontal direction font ratio " expression is set type again to needs is in the horizontal direction compared with former literal, " go up amount of movement " expression amount of movement that literal vertically makes progress of need setting type again, " following amount of movement " represents to set type again the vertically downward amount of movement of literal, " momentum moves to left " represents to set type again literal along continuous straight runs amount of movement left, and " momentum moves to right " represents to set type again literal along continuous straight runs amount of movement to the right.
(5) type-setting module 12 reads configuration file, emphasizes that according to the literal of determining in the configured letters rate do not set type again to meeting the literal that requires of setting type, and display module 13 shows the composing effect after setting type again.Not may further comprise the steps meeting the process that requires literal to set type again of setting type, as shown in Figure 4.
1. obtaining all from configuration file does not meet to set type and requires the literal of literal to emphasize rate;
2. literal is emphasized that the rate parameter is converted into coordinate system parameter current on the space of a whole page;
3. according to the coordinate system parameter after converting literal is adjusted.
Owing on the space of a whole page, there is a reference coordinate, this is the unified coordinate of the space of a whole page, and also there is a relative coordinate in each literal, literal emphasizes that rate determines at relative coordinate, therefore relative coordinate need not converted to reference coordinate on the space of a whole page when requiring literal to set type again to meeting to set type.
Embodiment 1
With two the font differences shown in Figure 5 of setting type, literal that code value is identical is example, and the literal below among Fig. 5 meets the composing requirement.
At first, after page format was provided with module 11 and sets up typesetting format, after type-setting module 12 was set type to two literal according to typesetting format, the composing effect that display module 13 shows was shown in Fig. 5 a.The outer rim size of mark module 14 by literal above among the comparison diagram 5a do not meet the composing requirement with the size that the font size outer rim size of setting is judged this literal, and the size of literal is less than normal, so is " less than normal " with top word marking.In the present embodiment, will comprise the outer rim of the outer rim of literal minimum rectangular area as this literal.During effect behind display module 13 show tags, can be indicating the outer rim of adjusting the back character size around the literal or on the literal, shown in the outer rim 51 of literal above Fig. 5 a.Literal emphasizes that rate determination module 15 emphasizes rate according to the outer rim of literal with meeting the literal of literal of setting type above the dimension difference of the outer rim of literal is determined when requiring, and records in the configuration file, and its form is as shown in the table:
Figure B2009100930809D0000091
Wherein, font name is " a middle ball go シ Star Network "; The literal code value is " 37882 "; Vertical direction font ratio and horizontal direction font ratio are 1.2, promptly at vertical direction and horizontal direction literal are amplified full-sized 1.2 times.
Type-setting module 12 reads configuration file, the rate of determining in the configuration file of emphasizing is converted to current coordinate system parameter on the space of a whole page, according to the coordinate system parameter after the conversion top literal among Fig. 5 a is carried out amplifieroperation, again the composing effect after setting type is shown in Fig. 5 b, the size of two literal is basic identical up and down, satisfy the composing requirement, strengthened the composing effect.
Embodiment 2
With the literal shown in Figure 6 of setting type is example.Wherein, font difference, the code value of two literal are identical up and down, below the composing of literal meet the requirements.
After type-setting module 12 was set type to literal shown in Figure 6 according to typesetting format, the composing effect that display module 13 shows was shown in Fig. 6 a.Therefore literal was " on the upper side " and " taking over " with the word marking above among Fig. 6 a on the upper side and take over above mark module 14 the position relation between the outer rim central point of the position when requiring of setting type of closing by top literal outer rim central point and this Chinese character was judged among Fig. 6 a.During effect behind display module 13 show tags, can on literal, make sign, represent respectively that as two four-headed arrows 61 in the literal above Fig. 6 a literal on the upper side and take over four-headed arrow.Emphasize rate determination module 15 according to literal outer rim central point this Chinese character close distance between the outer rim central point of the position when requiring of setting type determine above the literal of literal emphasize rate, be recorded in the configuration file, configuration file format is as shown in the table:
Type-setting module 12 reads configuration file, according to the rate of determining in the configuration file of emphasizing literal above Fig. 6 a is carried out move operation, be " 0.2 " with the amount of movement that is moved to the left downwards, be converted into the coordinate system parameter of current one layout region, according to the coordinate system parameter after the conversion, top literal is carried out the position adjustment, and the effect after the composing is shown in Fig. 6 b.The position basically identical of two literal has satisfied the composing requirement up and down, has strengthened the composing effect.
In the same space of a whole page, if desired two literal among embodiment 1 and the embodiment 2 are all adjusted, then the form of configuration file is as follows:
Figure B2009100930809D0000101
Embodiment 3
On the basis of embodiment 1 or embodiment 2, if to after not meeting the literal that set type to require and setting type again still not in full conformity with the composing requirement, then can by fine setting module 16 directly on the space of a whole page to require the size of literal and position to finely tune not in full conformity with composing, immediately see fine setting back effect, additionally do not increase the composing difficulty.
As shown in Figure 7, literal below among Fig. 7 a is to meet the literal of setting type and requiring, top literal is less than normal, therefore on the space of a whole page, directly carry out amplifieroperation by 16 pairs of literal of fine setting module, can drag literal four frames by Genius mouse, literal is followed the amplification of four frames and is amplified, and operation is shown in Fig. 7 a.Fig. 7 b is the operation chart that top literal is moved to the left the position, and wherein, following literal is to meet the literal of setting type and requiring.
Need to prove: the foregoing description is an explanation of the invention and unrestricted, and those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technology thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (13)

1. the character typesetting method of the identical code value of one kind of multiple fonts may further comprise the steps:
(1) unified typesetting format in the space of a whole page is set;
(2) literal of the identical code value of multiple font is set type under unified typesetting format, do not require the difference of literal to carry out mark meeting to set type;
(3) determine that all do not meet to set type in the space of a whole page and require the literal of literal to emphasize rate, record in the configuration file; The described rate of emphasizing is meant the adjustment rate to literal;
(4) read configuration file, emphasize that according to the literal of determining in the configuration file rate does not require literal to set type again to meeting to set type.
2. the character typesetting method of the identical code value of one kind of multiple fonts as claimed in claim 1 is characterized in that: not meeting described in the step (2) sets type requires the difference of literal to comprise that literal is bigger than normal, less than normal, take back, take over, on the upper side and on the lower side.
3. the character typesetting method of the identical code value of one kind of multiple fonts as claimed in claim 1 is characterized in that, does not carry out the process of mark and may further comprise the steps meeting the difference require literal of setting type described in the step (2):
1. determine the outer rim of all literal in the space of a whole page;
2. the outer rim of each literal is set type that the outer rim of literal compares when requiring with meeting; If the outer rim of literal sets type that the outer rim size of literal equates when requiring with meeting, then this literal is not carried out mark; The outer rim size of literal when requiring is bigger than normal with this word marking then if the outer rim size of literal is greater-than match set type; If the outer rim size of literal is less than normal with this word marking then less than the outer rim size that meets the literal when requiring of setting type;
3. determine the central point of each literal outer rim, judge that the position that each literal outer rim central point and this Chinese character are closed between the outer rim central point of the position when requiring of setting type concerns; If literal outer rim central point and this Chinese character are closed and set type that the outer rim central point of position overlaps when requiring, then this literal is not carried out mark; If literal outer rim central point this Chinese character close just the going up of outer rim central point of the position when requiring of setting type, just down, a positive left side or positive right, then with this word marking on the upper side, on the lower side, take back or take over; If literal outer rim central point closes outer rim central point upper left of the position when requiring of setting type in this Chinese character, then with this word marking for take back with on the upper side; If literal outer rim central point closes outer rim central point upper right of the position when requiring of setting type in this Chinese character, then with this word marking for take over on the upper side; If literal outer rim central point is in the lower-left that this Chinese character is closed the outer rim central point of position when requiring of setting type, then with this word marking for take back with on the lower side; If literal outer rim central point is in the bottom right that this Chinese character is closed the outer rim central point of position when requiring of setting type, then with this word marking for take over on the lower side.
4. the character typesetting method of the identical code value of one kind of multiple fonts as claimed in claim 3, it is characterized in that: described outer rim is the outer rim that comprises the minimum rectangular area of literal, described central point for to the outer rim left and right margins from equate, the point that equates of back gauge up and down.
5. the character typesetting method of the identical code value of one kind of multiple fonts as claimed in claim 1 is characterized in that: literal described in the step (3) emphasizes that rate comprises the size of literal and the adjustment of position.
6. the character typesetting method of the identical code value of one kind of multiple fonts as claimed in claim 1 is characterized in that: all do not meet to set type and require the literal of literal to emphasize rate in definite automatically space of a whole page.
7. the character typesetting method of the identical code value of one kind of multiple fonts as claimed in claim 6, it is characterized in that, describedly automatically determine that all do not meet to set type in the space of a whole page and require the literal of literal to emphasize that the method for rate is: bigger than normal or less than normal for literal, according to the outer rim of literal with meet the dimension difference of the outer rim of literal of setting type when requiring and determine the ratio that the character size needs are adjusted; For the offset of literal, close distance between the outer rim central point of the position when requiring of setting type according to literal outer rim central point in this Chinese character, determine respectively literal in the horizontal direction with the adjustment distance of vertical direction.
8. the character typesetting method of the identical code value of one kind of multiple fonts as claimed in claim 7, it is characterized in that: adjust literal at definite needs and emphasize in the process of rate, character size difference threshold value and text point difference threshold value are set respectively, if the outer rim of literal sets type that the dimension difference of the outer rim of literal is not more than character size difference threshold value when requiring with meeting, then the size of this literal is not adjusted; If the distance that literal outer rim central point closes between the outer rim central point of the position when requiring of setting type in this Chinese character is not more than text point difference threshold value, then the position of this literal is not adjusted.
9. the character typesetting method of the identical code value of one kind of multiple fonts as claimed in claim 1 is characterized in that: all manually are set in the space of a whole page do not meet to set type and require the literal of literal to emphasize rate.
10. as the character typesetting method of the identical code value of described one kind of multiple fonts of one of claim 1 to 9, it is characterized in that: emphasize that according to literal rate not may further comprise the steps meeting the process that requires literal to set type again of setting type described in the step (4):
1. obtaining all from configuration file does not meet to set type and requires the literal of literal to emphasize rate;
2. literal is emphasized that the rate parameter is converted into coordinate system parameter current on the space of a whole page;
3. according to the coordinate system parameter after converting literal is adjusted.
11. character typesetting method as the identical code value of described one kind of multiple fonts of one of claim 1 to 9, it is characterized in that: in the step (4), to do not meet set type require literal to set type again after, if still do not meet the composing requirement, then directly on the space of a whole page, do not require the size of literal and position to finely tune to meeting to set type.
12. the character laydown system of the identical code value of one kind of multiple fonts comprises that being used to be provided with the whole space of a whole page unifies the page format of typesetting format module (11) is set; Be used for the type-setting module (12) that typesetting format that module (11) is provided with is set type to the literal of the identical code value of multiple font being set according to page format; Be used to show the display module (13) of type-setting module (12) composing effect; Be used for not requiring the difference of literal to carry out the mark module (14) of mark, and be used to determine not meet to set type require the rate of emphasizing of literal, and it is recorded the rate of emphasizing determination module (15) in the configuration file meeting to set type;
Described type-setting module (12) also is used for according to emphasizing that literal that rate determination module (15) is determined emphasizes that the literal that rate is set type again to needs sets type; Described display module (13) also is used for show tags module (14) to not meeting the effect after the difference require literal of setting type is carried out mark.
13. the character laydown system of the identical code value of one kind of multiple fonts as claimed in claim 12, it is characterized in that: described system also comprise be used for when type-setting module (12) according to after emphasizing that literal that the rate of emphasizing that rate determination module (15) is determined is set type again to needs is set type, to still do not meet the fine setting module (16) that the literal that requires of setting type is finely tuned in the composing effect that display module (13) shows.
CN2009100930809A 2009-09-28 2009-09-28 Method and system for typesetting characters of various fonts and same code value Expired - Fee Related CN102033855B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100930809A CN102033855B (en) 2009-09-28 2009-09-28 Method and system for typesetting characters of various fonts and same code value

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100930809A CN102033855B (en) 2009-09-28 2009-09-28 Method and system for typesetting characters of various fonts and same code value

Publications (2)

Publication Number Publication Date
CN102033855A true CN102033855A (en) 2011-04-27
CN102033855B CN102033855B (en) 2013-01-16

Family

ID=43886770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100930809A Expired - Fee Related CN102033855B (en) 2009-09-28 2009-09-28 Method and system for typesetting characters of various fonts and same code value

Country Status (1)

Country Link
CN (1) CN102033855B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503719A (en) * 2014-12-11 2015-04-08 北京国双科技有限公司 Data processing method and device for position of display body in display control
CN106547730A (en) * 2015-09-22 2017-03-29 北大方正集团有限公司 Page object automatic adjusting method and device
CN108108339A (en) * 2018-01-10 2018-06-01 北京仁和汇智信息技术有限公司 A kind of PDF borders and the method and device of grid lines mark
CN110443202A (en) * 2019-08-06 2019-11-12 北京如优教育科技有限公司 Paper font carefully and neatly spends instant analysis platform, method and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1828581B (en) * 2006-04-14 2010-05-26 北京北大方正电子有限公司 Layout method for word content fitting rectangular words frame
CN101419716B (en) * 2008-12-08 2011-08-03 北大方正集团有限公司 Character typesetting method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503719A (en) * 2014-12-11 2015-04-08 北京国双科技有限公司 Data processing method and device for position of display body in display control
CN104503719B (en) * 2014-12-11 2018-04-06 北京国双科技有限公司 The data processing method and device of body position are shown in control for showing
CN106547730A (en) * 2015-09-22 2017-03-29 北大方正集团有限公司 Page object automatic adjusting method and device
CN106547730B (en) * 2015-09-22 2019-10-15 北大方正集团有限公司 Page object automatic adjusting method and device
CN108108339A (en) * 2018-01-10 2018-06-01 北京仁和汇智信息技术有限公司 A kind of PDF borders and the method and device of grid lines mark
CN110443202A (en) * 2019-08-06 2019-11-12 北京如优教育科技有限公司 Paper font carefully and neatly spends instant analysis platform, method and storage medium
CN110443202B (en) * 2019-08-06 2022-11-01 超级知识产权顾问(北京)有限公司 System, method and storage medium for real-time analysis of paper font regularity

Also Published As

Publication number Publication date
CN102033855B (en) 2013-01-16

Similar Documents

Publication Publication Date Title
CN102855232B (en) A kind of tabular analysis adapts job operation
CN105159877B (en) A kind of across media automatic typesetting systems and its method
CN110163030B (en) PDF framed table extraction method based on image information
CN102043762B (en) Method and device for comparing layouts
CN1828580B (en) Rectangular array words frame layout method for fitting word content
CN102033855B (en) Method and system for typesetting characters of various fonts and same code value
CN101706821A (en) Tag-based mobile internet page design system and method
CN102722475A (en) Method for converting form in portable document format (PDF) document into Excel form
US8386943B2 (en) Method for query based on layout information
CN108287954A (en) Hull structural design auxiliary system and Ship Structure method for drafting
CN105718495A (en) Exporting method and system of database hierarchical HTML (Hypertext Markup Language) statement
CN101770452B (en) Method for automatic typesetting of content blocks
CN102682457A (en) Rearrangement method for performing adaptive screen reading on print media image
CN106776527B (en) Electronic book data display method and device and terminal equipment
CN112416340B (en) Webpage generation method and system based on sketch
CN110889261A (en) Method for automating electronic official document service processing
CN106777061B (en) Information hiding system and method based on webpage text and image and extraction method
CN105183708A (en) Method and system for making book based on microblog content
CN113343980B (en) Natural scene text detection method and system
CN103488619B (en) Method and device for processing document file
CN103366635B (en) Method for dynamically marking mobile object in electronic map
CN105677262A (en) Typesetting method and device for banner printing
CN107506339A (en) A kind of SCD nodes verification error localization method and device based on character skew
CN112437354B (en) Subtitle display control method and display equipment
CN105159645B (en) A kind of mobile terminal Tang poetry self-adaptive layout method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
EE01 Entry into force of recordation of patent licensing contract

Assignee: Founder International Co., Ltd.

Assignor: Founder international software (Beijing) Co., Ltd.

Contract record no.: 2010110000104

Denomination of invention: Method and system for typesetting characters of various fonts and same code value

License type: Common License

Open date: 20110427

Record date: 20100803

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

Termination date: 20140928

EXPY Termination of patent right or utility model