Inconsolata is my first serious original font release. It is a monospace font, designed for printed code listings and the like. There are a great many "programmer fonts," designed primarily for use on the screen, but in most cases do not have the attention to detail for high resolution rendering.
Inconsolata draws from many inspirations and sources. I was particularly struck by the beauty of Luc(as) de Groot's Consolas, which is his monospaced design for Microsoft's Vista release. This font, similar to his earlier TheSansMono, demonstrated clearly to me that monospaced fonts do not have to suck.
#import <Inconsolata/UIFont+Inconsolata.h>
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
self.inconsolataLabel.font = [UIFont inconsolataFontOfSize:18.0f];
self.inconsolataBoldLabel.font = [UIFont inconsolataBoldFontOfSize:18.0f];
}
@end
This is a CocoaPod and you can install it with the following:
pod 'Inconsolata'
This font is licensed under the OFL license.
- Copyright (c) 2011, Raph Levien ([email protected])
- Copyright (c) 2012, Cyreal (cyreal.org).