[ios] Added missing fonts.

This commit is contained in:
Ilya Grechuhin 2016-03-23 13:50:26 +03:00 committed by Sergey Yershov
parent 65c54349ab
commit 1cd51d4c0a
2 changed files with 14 additions and 0 deletions

View file

@ -24,6 +24,8 @@
+ (UIFont *)light12;
+ (UIFont *)light16;
+ (UIFont *)light17;
+ (UIFont *)bold12;
+ (UIFont *)bold14;
+ (UIFont *)bold16;
+ (UIFont *)bold17;
+ (UIFont *)bold48;

View file

@ -187,6 +187,18 @@ NSString * fontName(FontWeight weight, CGFloat size)
return [UIFont fontWithName:fontName(FontWeightLight, size) size:size];
}
+ (UIFont *)bold12
{
CGFloat const size = 12;
return [UIFont fontWithName:fontName(FontWeightBold, size) size:size];
}
+ (UIFont *)bold14
{
CGFloat const size = 14;
return [UIFont fontWithName:fontName(FontWeightBold, size) size:size];
}
+ (UIFont *)bold16
{
CGFloat const size = 16;