a brief primer on OpenType in UIKit (with swift)
Marcos Ojeda
Posts: 31
Hi everyone, i wrote this blog post the other day about programmatically activating opentype features in UIKit (for iOS) and using Swift. I hadn't seen any post that gently introduces attributedstrings and uifont (and, in my case, activating opentype features), so i wrote it up after i had reached a tipping point of learning, but i wanted to get everyone's feedback here on the post, the technique or anything like that.
I found that, except a 2013 wwdc video, most of this stuff is hard to learn or discover on your own, so mostly it's meant as a starting off point, but again, i'd welcome any feedback you have.
thanks!
--marcos
I found that, except a 2013 wwdc video, most of this stuff is hard to learn or discover on your own, so mostly it's meant as a starting off point, but again, i'd welcome any feedback you have.
thanks!
--marcos
Tagged:
5
Comments
-
Awesome! When my fonts get licensed for iOS apps, the developers often want alternate character or number styles. Until now, I didn't know whether this was possible programmatically on iOS (the developers didn't seem to think it was possible) and have resorted to creating modified versions with certain alternate glyphs as the default. Hopefully, I can point them to this now.0
-
glad to be of assistance! i first started looking into opentype support during the transition between iOS3.2 and iOS4 and it was a real mixed bag back then (core text, for example, worked only on the iPad, not the phone even if both were running iOS3.2). I was dubious it would work even now, but i was heartened to learn that most of what i needed was possible even if opaque, so i guess a few years really does make a difference.0
-
Thanks!
0
Categories
- All Categories
- 43 Introductions
- 3.7K Typeface Design
- 799 Font Technology
- 1K Technique and Theory
- 617 Type Business
- 444 Type Design Critiques
- 541 Type Design Software
- 30 Punchcutting
- 136 Lettering and Calligraphy
- 83 Technique and Theory
- 53 Lettering Critiques
- 483 Typography
- 301 History of Typography
- 114 Education
- 68 Resources
- 498 Announcements
- 79 Events
- 105 Job Postings
- 148 Type Releases
- 165 Miscellaneous News
- 269 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports