assertEquals(-2.*IShape.PPC, text.getPosition().getY(), 0.001);
}
@Test public void testParseTextLD2_italic() throws ParseException {
IGroup group = parser.parsePSTCode("\\usefont{T1}{ptm}{m}{it}\\rput(1,2){coucou}").get(); //$NON-NLS-1$
assertEquals(1, group.size());
assertTrue(group.getShapeAt(0) instanceof IText);
IText text = (IText)group.getShapeAt(0);
assertEquals("\\it coucou", text.getText()); //$NON-NLS-1$
assertEquals(1.*IShape.PPC, text.getPosition().getX(), 0.001);
assertEquals(-2.*IShape.PPC, text.getPosition().getY(), 0.001);
}