forked from organicmaps/organicmaps
[ios] Added missing fonts.
This commit is contained in:
parent
65c54349ab
commit
1cd51d4c0a
2 changed files with 14 additions and 0 deletions
|
@ -24,6 +24,8 @@
|
|||
+ (UIFont *)light12;
|
||||
+ (UIFont *)light16;
|
||||
+ (UIFont *)light17;
|
||||
+ (UIFont *)bold12;
|
||||
+ (UIFont *)bold14;
|
||||
+ (UIFont *)bold16;
|
||||
+ (UIFont *)bold17;
|
||||
+ (UIFont *)bold48;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue