If the length of caption of a label is greater than the width of the label, then the caption text is wrapped and fed on to the next line. However, if the label box dimensions are to be kept fixed, the height of the label may not be enough high to display both lines. Thus, the first line and below that some garbled looking part of the next line will be displayed. This, certainly is ugly. Since the font types, sizes, and names are variable, it is not possible to directly estimate the length of the text. This would mean that, it is not possible to put a certain limit of text width quantity and trial that. My question is, how can I detect the occasion, in which a secondly line is generated, and where should I break up this text so tah those things will not be appearing under my cut-off text.

Could I make it clear?