I am using java port of fpdf. I am encountering fowwlowing errors.
1).When i call multicell 2 times every time the text is printed on a new line.
MultiCell(0, 1, "abcd", currentBorders, Alignment.LEFT, false); //prints on one line
MultiCell(0, 1, "efg", currentBorders, Alignment.LEFT, false); //prints on next line
I want that there is no line break after the call to multicell. How can i do it?
2)If i do the following thing then some part of my string gets printed on one line and some on next.
MultiCell(getStringWidth(myString), 1, myStringcurrentBorders, Alignment.LEFT, false);
3)If i do the following thing then there are many blank lines after the line on which myString is printed. It works correctly if i use one 1 ans second parameter
MultiCell(0, myFontSize, "123456", currentBorders, Alignment.LEFT, false);
What is the problem?