*
* @return The matrix to transform from glyph space to text space.
*/
public PDMatrix getFontMatrix()
{
PDMatrix matrix = null;
COSArray array = (COSArray)font.getDictionaryObject( COSName.FONT_MATRIX );
if( array == null )
{
array = new COSArray();
array.add( new COSFloat( 0.001f ) );
array.add( COSNumber.ZERO );
array.add( COSNumber.ZERO );
array.add( new COSFloat( 0.001f ) );
array.add( COSNumber.ZERO );
array.add( COSNumber.ZERO );
}
matrix = new PDMatrix(array);
return matrix;
}