diff --git a/iphone/Maps/Core/Theme/Components/IFonts.swift b/iphone/Maps/Core/Theme/Components/IFonts.swift index 847f4db0e7..44b7989f45 100644 --- a/iphone/Maps/Core/Theme/Components/IFonts.swift +++ b/iphone/Maps/Core/Theme/Components/IFonts.swift @@ -47,6 +47,7 @@ var heavy20: UIFont { get } var heavy32: UIFont { get } var heavy38: UIFont { get } + var italic12: UIFont { get } var italic16: UIFont { get } var semibold12: UIFont { get } var semibold14: UIFont { get } diff --git a/iphone/Maps/Core/Theme/FontStyleSheet.swift b/iphone/Maps/Core/Theme/FontStyleSheet.swift index 10b41a8abe..133491e91a 100644 --- a/iphone/Maps/Core/Theme/FontStyleSheet.swift +++ b/iphone/Maps/Core/Theme/FontStyleSheet.swift @@ -141,6 +141,9 @@ class FontStyleSheet: IStyleSheet { theme.add(styleName: "heavy38") { (s) -> (Void) in s.font = fonts.heavy38 } + theme.add(styleName: "italic12") { (s) -> (Void) in + s.font = fonts.italic12 + } theme.add(styleName: "italic16") { (s) -> (Void) in s.font = fonts.italic16 } diff --git a/iphone/Maps/Core/Theme/Fonts.swift b/iphone/Maps/Core/Theme/Fonts.swift index 46e61fbbe5..83ab604ec6 100644 --- a/iphone/Maps/Core/Theme/Fonts.swift +++ b/iphone/Maps/Core/Theme/Fonts.swift @@ -46,6 +46,7 @@ class Fonts: IFonts { var heavy20 = UIFont.systemFont(ofSize: 20, weight:UIFont.Weight.heavy) var heavy32 = UIFont.systemFont(ofSize: 32, weight:UIFont.Weight.heavy) var heavy38 = UIFont.systemFont(ofSize: 38, weight:UIFont.Weight.heavy) + var italic12 = UIFont.italicSystemFont(ofSize: 12) var italic16 = UIFont.italicSystemFont(ofSize: 16) var semibold12 = UIFont.systemFont(ofSize: 12, weight:UIFont.Weight.semibold) var semibold14 = UIFont.systemFont(ofSize: 14, weight:UIFont.Weight.semibold) diff --git a/iphone/Maps/UI/Search/TableView/MWMSearchCommonCell.xib b/iphone/Maps/UI/Search/TableView/MWMSearchCommonCell.xib index 071f4f6cad..40ab2d09ad 100644 --- a/iphone/Maps/UI/Search/TableView/MWMSearchCommonCell.xib +++ b/iphone/Maps/UI/Search/TableView/MWMSearchCommonCell.xib @@ -126,11 +126,11 @@