Permalink
Browse files

activated chinese font cascade bug workaround for iOS 5.x

  • Loading branch information...
odrobnik committed Mar 31, 2012
1 parent dd84e1e commit 184ef084f8dd2e734016ce10733b5764360e52d8
Showing with 2 additions and 2 deletions.
  1. +2 −2 Core/Source/DTCoreTextFontDescriptor.m
@@ -67,10 +67,10 @@ + (void)initialize
}
#if TARGET_OS_IPHONE
- // workaround for iOS 5.0 bug: global font cascade table has incorrect bold font for Chinese characters in Chinese locale
+ // workaround for iOS 5.x bug: global font cascade table has incorrect bold font for Chinese characters in Chinese locale
DTVersion version = [[UIDevice currentDevice] osVersion];
- if (version.major==5 && version.minor == 0)
+ if (version.major>4)
{
_needsChineseFontCascadeFix = YES;
}

0 comments on commit 184ef08

Please sign in to comment.