add new font method for 5g
This commit is contained in:
parent
ff07bb1cac
commit
315ea87c10
@ -157,6 +157,9 @@ B3 -> Legal
|
|||||||
//75Bd 10pt only for support
|
//75Bd 10pt only for support
|
||||||
+ (nullable UIFont *)fontForUnreadMessageOnSupport;
|
+ (nullable UIFont *)fontForUnreadMessageOnSupport;
|
||||||
|
|
||||||
|
//55Rg 16pt
|
||||||
|
+(nullable UIFont *)fontFiveGMessage:(BOOL)genericScaling;
|
||||||
|
|
||||||
// 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.
|
||||||
+ (nullable UIFont *)fontForBiggerHeadLine:(BOOL)genericScaling;
|
+ (nullable UIFont *)fontForBiggerHeadLine:(BOOL)genericScaling;
|
||||||
+ (nullable UIFont *)fontForPlan:(BOOL)genericScaling;
|
+ (nullable UIFont *)fontForPlan:(BOOL)genericScaling;
|
||||||
|
|||||||
@ -347,6 +347,15 @@ CGFloat const LabelWithInternalButtonLineSpace = 2;
|
|||||||
return [MFFonts mfFont75Bd:size];
|
return [MFFonts mfFont75Bd:size];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
+(nullable UIFont *)fontFiveGMessage:(BOOL)genericScaling {
|
||||||
|
CGFloat size = 16;
|
||||||
|
if (genericScaling) {
|
||||||
|
size = [self sizeFontGenericForCurrentDevice:size];
|
||||||
|
}
|
||||||
|
return [MFFonts mfFont55Rg:size];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
+ (nullable UIFont *)fontForHeadlineAlternative:(BOOL)genericScaling {
|
+ (nullable UIFont *)fontForHeadlineAlternative:(BOOL)genericScaling {
|
||||||
CGFloat size = 24;
|
CGFloat size = 24;
|
||||||
if (genericScaling) {
|
if (genericScaling) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user