WTGlyphFontSet:在iOS上使用字形Web字体绘制或创建图像

时间:2021-02-20 14:54:20
【文件属性】:
文件名称:WTGlyphFontSet:在iOS上使用字形Web字体绘制或创建图像
文件大小:1.58MB
文件格式:ZIP
更新时间:2021-02-20 14:54:20
Objective-C WTGlyphFontSet 在您的iOS项目中轻松使用免费的Webfont图标 没有在Info.plist上进行设置 drawRect或生成任意大小的图像 就像使用[UIImage imageNamed:]一样简单 椰子足支持 支持正常或视网膜显示 应用上的图片较少,以保持应用尺寸小 使用方法(复杂方法) 加载字体 [WTGlyphFontSet loadFont:@"general_foundicons" filename:@"general_foundicons.ttf"]; 它将字体加载到系统中,第一个参数是将在后续操作中使用的字体名称。 那么您可以随时使用字体集名称加载字体集: [WTGlyphFontSet fontSet:@"general_foundicons"]; 您可以加载多种字体。 绘制字体 您可以将字形直接绘制到当前上下文: - (void)drawAtRe
【文件预览】:
WTGlyphFontSet-master
----README.md(7KB)
----foundation()
--------general_enclosed_foundicons.plist(3KB)
--------general_foundicons.ttf(15KB)
--------social_foundicons.plist(2KB)
--------social_foundicons.ttf(16KB)
--------accessibility_foundicons.ttf(15KB)
--------general_enclosed_foundicons.ttf(18KB)
--------general_foundicons.plist(3KB)
--------accessibility_foundicons.plist(2KB)
----iconic()
--------iconic_stroke.plist(9KB)
--------LICENSE(17KB)
--------iconic_fill.ttf(18KB)
--------iconic_fill.plist(9KB)
--------iconic_stroke.ttf(18KB)
--------iconic_fill.otf(44KB)
----brankic1979()
--------brankic1979.ttf(65KB)
--------brankic1979.plist(19KB)
----screenshot2.png(118KB)
----heydings_icons()
--------heydings_icons.plist(2KB)
--------heydings_icons.ttf(12KB)
----fontcustom()
--------ttf()
--------makettf.sh(166B)
--------mainicon.ttf(2KB)
--------webfont-template.ai(1.06MB)
--------mainicon.plist(368B)
--------svg()
--------ttfcss2plist.coffee(674B)
----condense-c()
--------CONDENSEicon.ttf(52KB)
--------CONDENSEicon.plist(6KB)
----wpzoom()
--------wpzoom.ttf(30KB)
--------wpzoom.plist(8KB)
----WTGlyphFontSet.podspec(2KB)
----screenshot.png(122KB)
----modernpics()
--------modernpics.otf(26KB)
--------modernpics.plist(4KB)
----WTGlyphFontSetDemo.xcodeproj()
--------project.pbxproj(34KB)
----WTGlyphFontSet()
--------WTGlyphFontSet.m(19KB)
--------WTGlyphFontSet.h(5KB)
----LICENSE.md(1KB)
----WTGlyphFontSetDemo()
--------WTViewController.h(288B)
--------WTGlyphFontSetDemo-Info.plist(1KB)
--------WTTestViewController.xib(33KB)
--------WTAppDelegate.m(2KB)
--------WTFontViewController.xib(16KB)
--------WTFontViewController.m(3KB)
--------WTTestViewController.h(1KB)
--------en.lproj()
--------Default-568h@2x.png(18KB)
--------WTAppDelegate.h(300B)
--------WTTestViewController.m(6KB)
--------WTGlyphFontSetDemo-Prefix.pch(339B)
--------WTViewController.m(5KB)
--------WTFontViewController.h(353B)
--------main.m(359B)
--------Default@2x.png(16KB)
--------Default.png(6KB)
----fontawesome()
--------fontawesome.plist(21KB)
--------fontawesome.ttf(63KB)
----icomoon()
--------icomoon.plist(17KB)
--------icomoon.ttf(44KB)
----entypo()
--------entypo-social.plist(2KB)
--------entypo.plist(9KB)
--------entypo-social.ttf(11KB)
--------entypo.ttf(35KB)

网友评论