remove large text
This commit is contained in:
parent
0ff661f3c4
commit
603652537d
@ -80,7 +80,7 @@ public typealias ActionBlock = () -> ()
|
|||||||
//------------------------------------------------------
|
//------------------------------------------------------
|
||||||
|
|
||||||
@objc public func setupView() {
|
@objc public func setupView() {
|
||||||
adjustsFontForContentSizeCategory = true
|
|
||||||
backgroundColor = .clear
|
backgroundColor = .clear
|
||||||
numberOfLines = 0
|
numberOfLines = 0
|
||||||
lineBreakMode = .byWordWrapping
|
lineBreakMode = .byWordWrapping
|
||||||
|
|||||||
@ -41,16 +41,12 @@
|
|||||||
|
|
||||||
+ (nullable UIFont *)mfFont75Bd:(CGFloat)size {
|
+ (nullable UIFont *)mfFont75Bd:(CGFloat)size {
|
||||||
[self loadMVMFonts];
|
[self loadMVMFonts];
|
||||||
UIFont *font = [UIFont fontWithName:@"NHaasGroteskDSStd-75Bd" size:size];
|
return [UIFont fontWithName:@"NHaasGroteskDSStd-75Bd" size:size];
|
||||||
UIFontMetrics *metrics = [UIFontMetrics metricsForTextStyle:UIFontTextStyleHeadline];
|
|
||||||
return [metrics scaledFontForFont:font];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (nullable UIFont *)mfFont55Rg:(CGFloat)size {
|
+ (nullable UIFont *)mfFont55Rg:(CGFloat)size {
|
||||||
[self loadMVMFonts];
|
[self loadMVMFonts];
|
||||||
UIFont *font = [UIFont fontWithName:@"NHaasGroteskDSStd-55Rg" size:size];;
|
return [UIFont fontWithName:@"NHaasGroteskDSStd-55Rg" size:size];
|
||||||
UIFontMetrics *metrics = [UIFontMetrics metricsForTextStyle:UIFontTextStyleBody];
|
|
||||||
return [metrics scaledFontForFont:font];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (nullable UIFont *)mfFontOcratxt:(CGFloat)size {
|
+ (nullable UIFont *)mfFontOcratxt:(CGFloat)size {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user