cqzhong / CLFont

手机端字体适配

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CLFont

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • 使用方法
_nameLabel.font = CLUIFontMake(20);
_nameLabel.font = CLUIFontBoldMake(20);
_nameLabel.font = CLUIFontMediumMake(20);
_nameLabel.font = CLFontsProvidedMake(@"Copperplate",20 )
_nameLabel.font = CLUIFilePathFontMake([[NSBundle mainBundle] pathForResource:@"DFKaiGB-W5" ofType:@"otf"],60);

Installation

CLFont is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'CLFont'

Author

cqzhong

License

CLFont is available under the MIT license. See the LICENSE file for more info.

About

手机端字体适配

License:MIT License


Languages

Language:Objective-C 92.8%Language:Ruby 6.0%Language:Shell 1.2%