mvm_core_ui/MVMCoreUI/Utility/MFFonts.h
Xinlei(Ryan) Pan e54c87becf update font
2020-02-26 11:06:34 -05:00

35 lines
1.1 KiB
Objective-C

//
// MVMFonts.h
// myverizon
//
// Created by Scott Pfeil on 11/17/14.
// Copyright (c) 2014 Verizon Wireless. All rights reserved.
//
// Commonly used mvm fonts
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
extern NSString * _Nonnull const DSBold;
extern NSString * _Nonnull const DSRegular;
extern NSString * _Nonnull const TXBold;
extern NSString * _Nonnull const TXRegular;
@interface MFFonts : NSObject
///return mfFontTXBold when size smaller than 15, otherwise, return mfFontDSBold
+ (nonnull UIFont *)mfFont75Bd:(CGFloat)size;
///return mfFontTXRegular when size smaller than 15, otherwise, return mfFontDSRegular
+ (nonnull UIFont *)mfFont55Rg:(CGFloat)size;
//mva 3.0 font, should use mfFont75Bd/55Rg in most case.
+ (nonnull UIFont *)mfFontDSBold:(CGFloat)size;
+ (nonnull UIFont *)mfFontDSRegular:(CGFloat)size;
+ (nonnull UIFont *)mfFontTXBold:(CGFloat)size;
+ (nonnull UIFont *)mfFontTXRegular:(CGFloat)size;
+ (nullable UIFont *)mfFontOcratxt:(CGFloat)size;
+ (nonnull UIFont *)mfFontWithName:(nonnull NSString *)name size:(CGFloat)size;
@end