nicklockwood/iCarousel — Issue #99: Fuzzy fonts
Author: al-little
Created: 2012-03-06 14:31:53+00:00
State: open

Hi Nick,

We found that even numbers help to stop fuzziness.
To that end making the iCarousel an even size and adding rounding to transformItemView made a big difference for us.

Thanks,

Al

- (void)transformItemView:(UIView *)view atIndex:(NSInteger)index
...

view.center = CGPointMake(roundf(view.bounds.size.width/2.0f), roundf(view.bounds.size.height/2.0f));
view.superview.center = CGPointMake(roundf(self.bounds.size.width/2.0f) + contentOffset.width,
roundf(self.bounds.size.height/2.0f) + contentOffset.height);