From 7c451f1349b4786024ddda7e98f80cab42b13bda Mon Sep 17 00:00:00 2001 From: Ilya Grechuhin Date: Mon, 14 Sep 2015 17:40:07 +0300 Subject: [PATCH] [ios] Extended fonts list. --- iphone/Maps/UIFont+MapsMeFonts.h | 1 + iphone/Maps/UIFont+MapsMeFonts.mm | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/iphone/Maps/UIFont+MapsMeFonts.h b/iphone/Maps/UIFont+MapsMeFonts.h index 86e3dedc27..cd668abf93 100644 --- a/iphone/Maps/UIFont+MapsMeFonts.h +++ b/iphone/Maps/UIFont+MapsMeFonts.h @@ -3,6 +3,7 @@ @interface UIFont (MapsMeFonts) + (UIFont *)regular10; ++ (UIFont *)regular12; + (UIFont *)regular14; + (UIFont *)regular16; + (UIFont *)regular17; diff --git a/iphone/Maps/UIFont+MapsMeFonts.mm b/iphone/Maps/UIFont+MapsMeFonts.mm index 9959ff0931..aa50517e8f 100644 --- a/iphone/Maps/UIFont+MapsMeFonts.mm +++ b/iphone/Maps/UIFont+MapsMeFonts.mm @@ -12,6 +12,11 @@ static NSString * const kBoldFont = @"HelveticaNeue-Bold"; return [UIFont fontWithName:kRegularFont size:10]; } ++ (UIFont *)regular12 +{ + return [UIFont fontWithName:kRegularFont size:12]; +} + + (UIFont *)regular14 { return [UIFont fontWithName:kRegularFont size:14];