remove useless font

This commit is contained in:
panxi 2019-04-01 15:22:17 -04:00
parent 1baa755cae
commit 1f83778680
2 changed files with 5 additions and 58 deletions

View File

@ -129,41 +129,31 @@ B3 -> Legal
+ (nullable UIFont *)fontForBiggerHeadline; + (nullable UIFont *)fontForBiggerHeadline;
//75Bd 15pt //75Bd 15pt
+ (nullable UIFont *)fontForHeadlineSmall; + (nullable UIFont *)fontForHeadlineSmall;
//75Bd 11pt
+ (nullable UIFont *)fontForHeadlineTiny;
//55Rg 14pt //55Rg 14pt
+ (nullable UIFont *)fontforChatText; + (nullable UIFont *)fontforChatText;
//55Rg 16pt //55Rg 16pt
+ (nullable UIFont *)fontForAccountLandingGreeting; + (nullable UIFont *)fontForAccountLandingGreeting;
//55Rg 10pt //55Rg 10pt
+ (nullable UIFont *)fontForProgressBarBottomLabel; + (nullable UIFont *)fontForProgressBarBottomLabel;
//55Rg 14pt //55Rg 14pt
+ (nullable UIFont *)fontForPrimaryButton; + (nullable UIFont *)fontForPrimaryButton;
//55Rg 12pt //75Bd 11pt
+ (nullable UIFont *)fontForSmallButton; + (nullable UIFont *)fontForSmallButton;
//45Lt 20pt //55Rg 16pt
+ (nullable UIFont *)fontForTextField; + (nullable UIFont *)fontForTextField;
//55Rg 12pt //55Rg 12pt
+ (nullable UIFont *)fontForTextFieldUnderLabel; + (nullable UIFont *)fontForTextFieldUnderLabel;
//45Lt 24pt //55Rg 24pt
+ (nullable UIFont *)fontForHeadlineAlternative; + (nullable UIFont *)fontForHeadlineAlternative;
//65Md 16pt //75Bd 16pt
+ (nullable UIFont *)fontForFeedCardTitle; + (nullable UIFont *)fontForFeedCardTitle;
//65Md 18pt
+ (nullable UIFont *)fontForSupportQuestionMark;
//65Md 11pt
+ (nullable UIFont *)fontForSupportDateStamp;
//65Md 10pt
+ (nullable UIFont *)fontForProgressBarTopLabel;
//75Bd 60pt //75Bd 60pt
+ (nullable UIFont *)fontForLargeLoyaltyHeaderTitle; + (nullable UIFont *)fontForLargeLoyaltyHeaderTitle;
//75Bd 42pt //75Bd 42pt
+ (nullable UIFont *)fontForLoyaltyTitleSmall; + (nullable UIFont *)fontForLoyaltyTitleSmall;
//55Rg 20pt //55Rg 20pt
+ (nullable UIFont *)fontForLoyaltyMessage; + (nullable UIFont *)fontForLoyaltyMessage;
//45Lt 24pt only for support //75Bd 10pt only for support
+ (nullable UIFont *)fontForUnreadMessageOnSupport; + (nullable UIFont *)fontForUnreadMessageOnSupport;
// Returns the fonts for these styles allowing to apply a generic scale by device or not. // Returns the fonts for these styles allowing to apply a generic scale by device or not.
@ -190,9 +180,6 @@ B3 -> Legal
+ (nullable UIFont *)fontForHeadlineAlternativeForWidth:(CGFloat)size; + (nullable UIFont *)fontForHeadlineAlternativeForWidth:(CGFloat)size;
+ (nullable UIFont *)fontForFeedCardTitle:(BOOL)genericScaling; + (nullable UIFont *)fontForFeedCardTitle:(BOOL)genericScaling;
+ (nullable UIFont *)fontForSupportQuestionMark:(BOOL)genericScaling;
+ (nullable UIFont *)fontForSupportDateStamp:(BOOL)genericScaling;
+ (nullable UIFont *)fontForProgressBarTopLabel:(BOOL)genericScaling;
+ (nullable UIFont *)fontForLargeLoyaltyHeaderTitle:(BOOL)genericScaling; + (nullable UIFont *)fontForLargeLoyaltyHeaderTitle:(BOOL)genericScaling;
+ (nullable UIFont *)fontForLoyaltyTitleSmall:(BOOL)genericScaling; + (nullable UIFont *)fontForLoyaltyTitleSmall:(BOOL)genericScaling;
+ (nullable UIFont *)fontForLoyaltyMessage:(BOOL)genericScaling; + (nullable UIFont *)fontForLoyaltyMessage:(BOOL)genericScaling;

View File

@ -364,30 +364,6 @@ CGFloat const LabelWithInternalButtonLineSpace = 2;
return [MFFonts mfFont75Bd:size]; return [MFFonts mfFont75Bd:size];
} }
+ (nullable UIFont *)fontForSupportQuestionMark:(BOOL)genericScaling {
CGFloat size = 18;
if (genericScaling) {
size = [self sizeFontGenericForCurrentDevice:size];
}
return [MFFonts mfFont75Bd:size];
}
+ (nullable UIFont *)fontForSupportDateStamp:(BOOL)genericScaling {
CGFloat size = 11;
if (genericScaling) {
size = [self sizeFontGenericForCurrentDevice:size];
}
return [MFFonts mfFont75Bd:size];
}
+ (nullable UIFont *)fontForProgressBarTopLabel:(BOOL)genericScaling {
CGFloat size = 10;
if (genericScaling) {
size = [self sizeFontGenericForCurrentDevice:size];
}
return [MFFonts mfFont75Bd:size];
}
+ (nullable UIFont *)fontForLargeLoyaltyHeaderTitle:(BOOL)genericScaling { + (nullable UIFont *)fontForLargeLoyaltyHeaderTitle:(BOOL)genericScaling {
CGFloat size = 60; CGFloat size = 60;
if (genericScaling) { if (genericScaling) {
@ -438,10 +414,6 @@ CGFloat const LabelWithInternalButtonLineSpace = 2;
return [self fontForHeadlineSmall:YES]; return [self fontForHeadlineSmall:YES];
} }
+ (nullable UIFont *)fontForHeadlineTiny {
return [MFFonts mfFont75Bd:11];
}
+ (nullable UIFont *)fontForHeadlineSmall2 { + (nullable UIFont *)fontForHeadlineSmall2 {
return [self fontForHeadlineSmall2:YES]; return [self fontForHeadlineSmall2:YES];
} }
@ -482,18 +454,6 @@ CGFloat const LabelWithInternalButtonLineSpace = 2;
return [self fontForFeedCardTitle:YES]; return [self fontForFeedCardTitle:YES];
} }
+ (nullable UIFont *)fontForSupportQuestionMark {
return [self fontForSupportQuestionMark:YES];
}
+ (nullable UIFont *)fontForSupportDateStamp {
return [self fontForSupportDateStamp:YES];
}
+ (nullable UIFont *)fontForProgressBarTopLabel {
return [self fontForProgressBarTopLabel:YES];
}
+ (nullable UIFont *)fontForLargeLoyaltyHeaderTitle { + (nullable UIFont *)fontForLargeLoyaltyHeaderTitle {
return [self fontForLargeLoyaltyHeaderTitle:YES]; return [self fontForLargeLoyaltyHeaderTitle:YES];
} }