This commit is contained in:
Yamozha
2021-04-02 02:24:13 +03:00
parent c23950b545
commit 7256d79e2c
31493 changed files with 3036630 additions and 0 deletions

View File

@ -0,0 +1,8 @@
// Copyright 2018-present 650 Industries. All rights reserved.
#import <UMFontInterface/UMFontProcessorInterface.h>
@protocol UMFontManagerInterface
- (void)addFontProcessor:(id<UMFontProcessorInterface>)processor;
@end

View File

@ -0,0 +1,13 @@
// Copyright 2018-present 650 Industries. All rights reserved.
@protocol UMFontProcessorInterface
- (UIFont *)updateFont:(UIFont *)uiFont
withFamily:(NSString *)family
size:(NSNumber *)size
weight:(NSString *)weight
style:(NSString *)style
variant:(NSArray<NSDictionary *> *)variant
scaleMultiplier:(CGFloat)scaleMultiplier;
@end

View File

@ -0,0 +1,7 @@
// Copyright 2018-present 650 Industries. All rights reserved.
@protocol UMFontScalerInterface
- (UIFont *)scaledFont:(UIFont *)font toSize:(CGFloat)fontSize;
@end

View File

@ -0,0 +1,9 @@
// Copyright 2018-present 650 Industries. All rights reserved.
#import <UMFontInterface/UMFontScalerInterface.h>
@protocol UMFontScalersManagerInterface
- (void)registerFontScaler:(id<UMFontScalerInterface>)scaler;
@end