Reinstate Fred's change with the additional correction to the string

drawing code he proposed on the mailing list.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34241 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
wlux 2011-12-02 21:36:58 +00:00
parent f2e7794e32
commit 3374b6faf1
4 changed files with 10 additions and 2 deletions

View file

@ -133,6 +133,7 @@ static void init_string_drawing(void)
[layoutManager release];
textContainer = [[NSTextContainer alloc]
initWithContainerSize: NSMakeSize(10, 10)];
[textContainer setLineFragmentPadding: 0];
[layoutManager addTextContainer: textContainer];
[textContainer release];