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
- 46 Introductions
- 3.8K Typeface Design
- 475 Type Design Critiques
- 555 Type Design Software
- 1.1K Type Design Technique & Theory
- 640 Type Business
- 830 Font Technology
- 29 Punchcutting
- 507 Typography
- 120 Type Education
- 313 Type History
- 74 Type Resources
- 109 Lettering and Calligraphy
- 30 Lettering Critiques
- 79 Lettering Technique & Theory
- 529 Announcements
- 84 Events
- 110 Job Postings
- 165 Type Releases
- 169 Miscellaneous News
- 274 About TypeDrawers
- 54 TypeDrawers Announcements
- 118 Suggestions and Bug Reports