Permalink
Browse files

Added note about CoreText loading performance workaround to Readme

  • Loading branch information...
1 parent 170bbfb commit f6daeef7dd4c06d845105fb9c537b6fa1d7b2940 @odrobnik odrobnik committed Aug 10, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 Readme.markdown
View
@@ -9,3 +9,11 @@ Your help is much appreciated. Please send pull requests for useful additions yo
If you find brief test cases where the created `NSAttributedString` differs from the version on OSX please send them to us!
Follow [@cocoanetics](http://twitter.com/cocoanetics) on Twitter.
+
+
+KNOWN ISSUES
+
+CoreText has a problem prior to iOS 5 where it takes around a second on device to initialize its internal font lookup table. You have two workarounds available:
+
+- trigger the loading on a background thread like shown in http://www.cocoanetics.com/2011/04/coretext-loading-performance/
+- if you only use certain fonts then add the variants to the DTCoreTextFontOverrides.plist, this speeds up the finding of a specific font face from the font family

0 comments on commit f6daeef

Please sign in to comment.