Summary of the invention
The technical problem to be solved in the present invention is, making software at the of the prior art above-mentioned DVD that makes DVD all is to use the adjustment of the font size of DVD menu text and regulates that the font size size realizes, inconvenient operation and being not easy to is checked the defective of adjusting effect, a kind of handled easily is provided, is convenient to check the method and apparatus and the corresponding D VD manufacturing system of the self-defined DVD menu text font size of adjusting effect.
The technical solution adopted for the present invention to solve the technical problems is: construct a kind of method of self-defined DVD menu text font size, comprising step: S1, detect the parameter of the edit box of literal term; S2, according to the size of character script in the described literal term of the parameter adjustment of described edit box.
In the method for self-defined DVD menu text font size of the present invention, also comprise the magnitude proportion relation of character script in step: S0, the parameter of setting described edit box and the described literal term before the step S1.
In the method for self-defined DVD menu text font size of the present invention, step S0 is the magnitude proportion relation of height, width or area and the interior character script of described literal term of the described edit box of setting.
In the method for self-defined DVD menu text font size of the present invention, the method for described self-defined DVD menu text font size also comprises step: switch size according to character script in the described literal term of the height control of described edit box, according to the size of character script in the described literal term of the width adjustment of described edit box or adjust the size of character script in the described literal term according to the area of described edit box.
In the method for self-defined DVD menu text font size of the present invention, when described area according to described edit box is adjusted character script in the described literal term big or small, the height of described edit box and width ratio locking.
The present invention also constructs a kind of device of self-defined DVD menu text font size, comprising detection module: the parameter that is used to detect the edit box of literal term; And adjusting module: be used for size according to character script in the described literal term of the parameter adjustment of described edit box.
In the device of self-defined DVD menu text font size of the present invention, the device of described self-defined DVD menu text font size also comprises: setting module: be used to set the parameter of described edit box and the magnitude proportion relation of the interior character script of described literal term.
In the device of self-defined DVD menu text font size of the present invention, described setting module comprises: the height setting unit: the magnitude proportion relation that is used to set character script in the height of described edit box and the described literal term; Width setup unit: the magnitude proportion relation that is used to set character script in the width of described edit box and the described literal term; And area setup unit: the magnitude proportion relation that is used to set character script in the area of described edit box and the described literal term.
In the device of self-defined DVD menu text font size of the present invention, described setting module also comprises: switch unit: be used to switch size according to character script in the described literal term of the height control of described edit box, according to the size of character script in the described literal term of the height control of described edit box or adjust the size of character script in the described literal term according to the area of described edit box.
In the device of self-defined DVD menu text font size of the present invention, when described area according to described edit box is adjusted character script in the described literal term big or small, the height of described edit box and width ratio locking.
Implement the method and apparatus of self-defined DVD menu text font size of the present invention, have following beneficial effect: DVD menu text font size is adjusted in the variation of the parameter by detecting the literal term edit box, easy to operate, be convenient to check the adjustment effect, avoided DVD to make software and the adjustment of the font size of DVD menu text all is to use has regulated that the font size size realizes, inconvenient operation and be not easy to check the defective of adjusting effect.
Configure the parameter of edit box and the magnitude proportion of the interior character script of literal term in advance and concern the size that to adjust character script in the literal term according to user's needs.Use height, width and area three parameters to adjust, convenient, be easy to check the adjustment effect.According to different users, can use different single parameter to adjust.The ratio locking of height and width is beneficial to the size that the area that uses edit box is adjusted character script in the literal term more.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is the process flow diagram of first preferred embodiment of the method for the self-defined DVD menu text of the present invention font size;
Fig. 2 is the process flow diagram of second preferred embodiment of the method for the self-defined DVD menu text of the present invention font size;
Fig. 3 is the process flow diagram of the 3rd preferred embodiment of the method for the self-defined DVD menu text of the present invention font size;
Fig. 4 is the structural representation of first preferred embodiment of the device of the self-defined DVD menu text of the present invention font size;
Fig. 5 is the structural representation of second preferred embodiment of the device of the self-defined DVD menu text of the present invention font size;
Fig. 6 is the structural representation of the 3rd preferred embodiment of the device of the self-defined DVD menu text of the present invention font size;
Fig. 7 is the structural representation of the 4th preferred embodiment of the device of the self-defined DVD menu text of the present invention font size;
Fig. 8 is the synoptic diagram that the method for the self-defined DVD menu text of the present invention font size adopts the specific embodiment of height parameter control font size;
Fig. 9 is the synoptic diagram that the method for the self-defined DVD menu text of the present invention font size adopts the specific embodiment of width parameter control font size;
Figure 10 is the synoptic diagram that the method for the self-defined DVD menu text of the present invention font size adopts the specific embodiment of area parameters control font size.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
As shown in Figure 1, at the process flow diagram of first preferred embodiment of the method for self-defined DVD menu text font size of the present invention, the method for described self-defined DVD menu text font size starts from step 100; Proceed to step 101 after the step 100, detect the parameter of the edit box of literal term; Subsequently, to next step 102, according to the size of character script in the described literal term of the parameter adjustment of described edit box; This method ends at step 103 at last.The method of this self-defined DVD menu text font size is adjusted DVD menu text font size by the variation of the parameter of detection literal term edit box, easy to operate, be convenient to check the adjustment effect, avoided DVD to make software and the adjustment of the font size of DVD menu text all is to use has regulated that the font size size realizes, inconvenient operation and be not easy to check the defective of adjusting effect.
As shown in Figure 2, at the process flow diagram of second preferred embodiment of the method for self-defined DVD menu text font size of the present invention, the method for described self-defined DVD menu text font size starts from step 200; Proceed to step 201 after the step 200, set the parameter of edit box and the magnitude proportion relation of the interior character script of literal term; Subsequently, to next step 202, detect the parameter of the edit box of literal term; Subsequently, to next step 203, according to the size of character script in the described literal term of the parameter adjustment of described edit box; This method ends at step 204 at last.The user configures the parameter of edit box and the feasible size that can adjust character script in the literal term as required of magnitude proportion relation of the interior character script of literal term in advance, and the setting range that makes font is in the scope of normal use.
As shown in Figure 3, at the process flow diagram of the 3rd preferred embodiment of the method for self-defined DVD menu text font size of the present invention, the method for described self-defined DVD menu text font size starts from step 300; Proceed to step 301 after the step 300, set the magnitude proportion relation of height, width or area and the interior character script of literal term of edit box; Subsequently, to next step 302, detect height, width or the area of the edit box of literal term; Subsequently, to next step 303, adjust the size of character script in the literal term according to height, width or the area of edit box; This method ends at step 304 at last.For example lock the ratio of the height of the size of font and edit box, make that font just size variation can take place when the height that has only edit box changed, and the width of edit box can be adjusted arbitrarily as required, can't exert an influence to font; As lock the ratio of the width of the size of font and edit box, make that font just size variation can take place when the width that has only edit box changed, and the height of edit box can be adjusted arbitrarily as required; Shown in the adjustment of area is the same, when adopting area to adjust, as with the height of edit box and width ratio locking, can better realize the adjustment of font size, thereby avoid that the size that causes area to be difficult to control font is difficult to control because the variation of height and width differs.Use height, width and area three parameters to adjust, convenient, be easy to check the adjustment effect.
As the preferred embodiment of the method for self-defined DVD menu text font size of the present invention, the method for described self-defined DVD menu text font size also comprises step: switch size according to character script in the described literal term of the height control of described edit box, according to the size of character script in the described literal term of the width adjustment of described edit box or adjust the size of character script in the described literal term according to the area of described edit box.What switch is arranged so that can change parameter according to user's hobby carries out the adjustment of character script size.
The present invention also constructs a kind of device of self-defined DVD menu text font size, as shown in Figure 4, in the structural representation of first preferred embodiment of the device of self-defined DVD menu text font size of the present invention, the device of described self-defined DVD menu text font size comprises detection module 1 and adjusting module 2, detection module 1 is used to detect the parameter of the edit box of literal term, and adjusting module 2 is used for the size according to character script in the described literal term of the parameter adjustment of described edit box.The Device Testing module 1 of this self-defined DVD menu text font size detects the variation of the parameter of literal term edit box, adjusting module 2 is adjusted DVD menu text font size according to testing result, easy to operate, be convenient to check the adjustment effect, avoided DVD to make software and the adjustment of the font size of DVD menu text all is to use has regulated that the font size size realizes, inconvenient operation and be not easy to check the defective of adjusting effect.
As shown in Figure 5, in the structural representation of second preferred embodiment of the device of self-defined DVD menu text font size of the present invention, the device of described self-defined DVD menu text font size also comprises: setting module 3, setting module 3 are used to set the parameter of described edit box and the magnitude proportion relation of the interior character script of described literal term.The magnitude proportion relation that the user configures character script in the parameter of edit box and the literal term in advance by setting module 3 makes the size that can adjust character script in the literal term as required, and the setting range that makes font is in the normal scope of using.
As shown in Figure 6, in the structural representation of the 3rd preferred embodiment of the device of self-defined DVD menu text font size of the present invention, setting module 3 comprises height setting unit 31, width setup unit 32 and area setup unit 33, height setting unit 31 is used to set the height of described edit box and the magnitude proportion of the interior character script of described literal term concerns, width setup unit 32 is used to set the width of described edit box and the magnitude proportion of the interior character script of described literal term concerns, area setup unit 33 is used to set the area of described edit box and the magnitude proportion of the interior character script of described literal term concerns.When for example adopting height setting unit 31, size variation just can take place in font when the height of edit box was changed, and the width of edit box can arbitrarily be adjusted as required, can't exert an influence to font; As when adopting width setup unit 32, make that font just size variation can take place when the width that has only edit box changed, and the height of edit box can be adjusted arbitrarily as required; Adopt area setup unit 33 adjust the same shown in, when adopting area setup unit 33 to adjust, as height and width ratio locking with edit box, can better realize the adjustment of font size, thereby avoid that the size that causes area to be difficult to control font is difficult to control because the height and the variation of width differ.Use height, width and area three parameters to adjust, convenient, be easy to check the adjustment effect.
As shown in Figure 7, in the structural representation of the 4th preferred embodiment of the device of self-defined DVD menu text font size of the present invention, setting module 3 also comprises switch unit 34, and switch unit 34 is used to switch size according to character script in the described literal term of the height control of described edit box, according to the size of character script in the described literal term of the height control of described edit box or adjust the size of character script in the described literal term according to the area of described edit box.Being arranged so that of switch unit 34 can be carried out the adjustment of character script size according to user's hobby change parameter.
Adopt height, width and area parameters to carry out the process of font size control below by the specific embodiment explanation:
Fig. 8 adopts height parameter to control the synoptic diagram of the specific embodiment of font size for the method for the self-defined DVD menu text of the present invention font size, and 800 is original edit box and font size; Edit box is carried out stretched operation on the width, and the operation back is shown among the figure 801, because the height of edit box do not change, so font size does not still change; At the stretched operation that carries out on the height, the operation back is shown among the figure 802 to edit box, because change has taken place the height of edit box, so font size is amplified according to ratio; Once more edit box is carried out stretched operation on the height, the operation back is shown among the figure 803, font size is amplified once more, at this moment because the width problem of edit box, literal can't show fully, at this moment can literal be shown fully to the stretched operation that edit box carries out on the width, shown in 804 among the figure.
Fig. 9 adopts width parameter to control the synoptic diagram of the specific embodiment of font size for the method for the self-defined DVD menu text of the present invention font size, and 900 is original edit box and font size; Edit box is carried out stretched operation on the height, and the operation back is shown among the figure 901, because the width of edit box do not change, so font size does not still change; At the stretched operation that carries out on the width, the operation back is shown among the figure 902 to edit box, because change has taken place the width of edit box, so font size is amplified according to ratio; Once more edit box is carried out stretched operation on the width, the operation back is shown among the figure 903, font size is amplified once more, at this moment because the height problem of edit box, literal can't show fully, at this moment can literal be shown fully to the stretched operation that edit box carries out on the height, shown in 904 among the figure.
Figure 10 adopts area parameters to control the synoptic diagram of the specific embodiment of font size for the method for the self-defined DVD menu text of the present invention font size, and height and width ratio with edit box among the figure lock.1000 is original edit box and font size; Edit box is carried out stretched operation on the area, and the operation back is shown among the figure 1001, because change has taken place the area of edit box, so font size is amplified according to ratio; Once more edit box is carried out stretched operation on the area, the operation back is shown among the figure 1002, because the height of edit box and width locking, so the situation that literal that the foregoing description occurs can't show fully can not occur.While, it was more easily convenient to adjust like this because the height of edit box and width ratio locking are adjusted the while just to the adjustment of area to the independent of height and width.
The above only is embodiments of the invention; be not so limit claim of the present invention; every equivalent structure transformation that utilizes instructions of the present invention and accompanying drawing content to be done, or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.