/**
* Displays text.
* @param string the text to display
*/
private void DisplayPdfString(PdfString str)
{
TextRenderInfo renderInfo = new TextRenderInfo(str, Gs(), textMatrix, markedContentStack);
renderListener.RenderText(renderInfo);
textMatrix = new Matrix(renderInfo.GetUnscaledWidth(), 0).Multiply(textMatrix);
}