Skip to content
This repository
Browse code

activated chinese font cascade bug workaround for iOS 5.x

  • Loading branch information...
commit 184ef084f8dd2e734016ce10733b5764360e52d8 1 parent dd84e1e
Oliver Drobnik authored March 31, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  Core/Source/DTCoreTextFontDescriptor.m
4  Core/Source/DTCoreTextFontDescriptor.m
@@ -67,10 +67,10 @@ + (void)initialize
67 67
 	}
68 68
 	
69 69
 #if TARGET_OS_IPHONE
70  
-	// workaround for iOS 5.0 bug: global font cascade table has incorrect bold font for Chinese characters in Chinese locale
  70
+	// workaround for iOS 5.x bug: global font cascade table has incorrect bold font for Chinese characters in Chinese locale
71 71
 	DTVersion version = [[UIDevice currentDevice] osVersion];
72 72
 	
73  
-	if (version.major==5 && version.minor == 0)
  73
+	if (version.major>4)
74 74
 	{
75 75
 		_needsChineseFontCascadeFix = YES;
76 76
 	}

0 notes on commit 184ef08

Please sign in to comment.
Something went wrong with that request. Please try again.