diff --git a/iphone/Maps/Bookmarks/Catalog/Subscription/AllPassSubscriptionViewController.swift b/iphone/Maps/Bookmarks/Catalog/Subscription/AllPassSubscriptionViewController.swift
index 21ce33fe3a..8bf1672d9a 100644
--- a/iphone/Maps/Bookmarks/Catalog/Subscription/AllPassSubscriptionViewController.swift
+++ b/iphone/Maps/Bookmarks/Catalog/Subscription/AllPassSubscriptionViewController.swift
@@ -58,8 +58,9 @@ class AllPassSubscriptionViewController: BaseSubscriptionViewController {
annualDiscountLabel.isHidden = true
- let fontFamily = UIFont.systemFont(ofSize: 17).familyName
- let css = ""
+ let fontSize: CGFloat = UIScreen.main.bounds.width > 320 ? 17.0 : 14.0
+ let fontFamily = UIFont.systemFont(ofSize: fontSize).familyName
+ let css = ""
zip(descriptionSubtitles, ["all_pass_subscription_message_subtitle",
"all_pass_subscription_message_subtitle_2",
"all_pass_subscription_message_subtitle_3"]).forEach { (title, loc) in
diff --git a/iphone/Maps/Bookmarks/Catalog/Subscription/AllPassSubscriptionViewController.xib b/iphone/Maps/Bookmarks/Catalog/Subscription/AllPassSubscriptionViewController.xib
index c1107b37a4..877cfa24bd 100644
--- a/iphone/Maps/Bookmarks/Catalog/Subscription/AllPassSubscriptionViewController.xib
+++ b/iphone/Maps/Bookmarks/Catalog/Subscription/AllPassSubscriptionViewController.xib
@@ -1,6 +1,6 @@
-
+
@@ -26,19 +26,19 @@
-
+
-
+
-
+
-
+
@@ -50,10 +50,10 @@
-
+
-
+
@@ -104,16 +104,16 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -441,9 +440,9 @@
-
+
-
+
@@ -451,6 +450,7 @@
+
diff --git a/iphone/Maps/Core/Theme/Components/IFonts.swift b/iphone/Maps/Core/Theme/Components/IFonts.swift
index 56be50cf1e..a249200937 100644
--- a/iphone/Maps/Core/Theme/Components/IFonts.swift
+++ b/iphone/Maps/Core/Theme/Components/IFonts.swift
@@ -43,6 +43,7 @@
var bold48: UIFont { get }
var heavy17: UIFont { get }
var heavy20: UIFont { get }
+ var heavy32: UIFont { get }
var heavy38: UIFont { get }
var italic16: UIFont { get }
var semibold12: UIFont { get }
diff --git a/iphone/Maps/Core/Theme/FontStyleSheet.swift b/iphone/Maps/Core/Theme/FontStyleSheet.swift
index a9fb208102..9c7e89bbe4 100644
--- a/iphone/Maps/Core/Theme/FontStyleSheet.swift
+++ b/iphone/Maps/Core/Theme/FontStyleSheet.swift
@@ -129,6 +129,9 @@ class FontStyleSheet: IStyleSheet {
theme.add(styleName: "heavy20") { (s) -> (Void) in
s.font = fonts.heavy20
}
+ theme.add(styleName: "heavy32") { (s) -> (Void) in
+ s.font = fonts.heavy32
+ }
theme.add(styleName: "heavy38") { (s) -> (Void) in
s.font = fonts.heavy38
}
diff --git a/iphone/Maps/Core/Theme/Fonts.swift b/iphone/Maps/Core/Theme/Fonts.swift
index 2f3f1f7cc2..d5cfdfc103 100644
--- a/iphone/Maps/Core/Theme/Fonts.swift
+++ b/iphone/Maps/Core/Theme/Fonts.swift
@@ -42,6 +42,7 @@ class Fonts: IFonts {
var bold48 = UIFont.boldSystemFont(ofSize: 48)
var heavy17 = UIFont.systemFont(ofSize: 17, weight:UIFont.Weight.heavy)
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 italic16 = UIFont.italicSystemFont(ofSize: 16)
var semibold12 = UIFont.systemFont(ofSize: 14, weight:UIFont.Weight.semibold)
diff --git a/iphone/Maps/Core/Theme/SubscriptionsStyleSheet.swift b/iphone/Maps/Core/Theme/SubscriptionsStyleSheet.swift
index 1c4e1f5da0..475ab133b9 100644
--- a/iphone/Maps/Core/Theme/SubscriptionsStyleSheet.swift
+++ b/iphone/Maps/Core/Theme/SubscriptionsStyleSheet.swift
@@ -94,7 +94,7 @@ class SubscriptionsStyleSheet: IStyleSheet {
}
theme.add(styleName: "AllPassSubscriptionDescription1") { (s) -> (Void) in
- s.font = fonts.heavy38
+ s.font = UIScreen.main.bounds.width > 320 ? fonts.heavy38 : fonts.heavy32
s.fontColor = colors.allPassSubscriptionDescription
}