as an optimal combination of possible line breaks, and selecting a parent line break of the optimal combination of possible line break as the first line break; and wherein the demerit number of each line break is assigned according to the formula DemeritNumber=(K???R 3 +H+1)2 +L+LLL+LLP+CF where K is a constant, R is a compress or stretch amount, H is a hyphen penalty, L is a hyphen ladder penalt