推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
superisaac
V2EX  ›  Python

写了个转换 fontawesome 字体到图标的小程序

  •  
  •   superisaac ·
    superisaac · Oct 6, 2014 · 6746 views
    This topic created in 4410 days ago, the information mentioned may be changed or developed.
    https://github.com/superisaac/fa2icon

    屌丝app开发者再也不用为找美工画图标而烦恼了!
    11 replies  •  2016-07-26 22:55:28 +08:00
    spance
    spance
    Oct 6, 2014
    1
    人费那么大劲把图片做成矢量字,你又费半天劲给弄回去,你这是何苦啊?
    superisaac
    superisaac
    OP
    Oct 6, 2014
    2
    @spance 因为fontawesome的图标好看,使用起来方便快捷
    alsacegustav
    alsacegustav
    Oct 6, 2014
    3
    直接解个包放出来不更好:)
    icanfork
    icanfork
    Oct 7, 2014
    4
    啥?
    意思是把 icon font 又转换回 png 吗?
    superisaac
    superisaac
    OP
    Oct 7, 2014
    5
    @belin520 难道font是从png转换的?
    icanfork
    icanfork
    Oct 7, 2014
    6
    @superisaac 好吧,我承认表达错误。
    jsonline
    jsonline
    Oct 7, 2014
    7
    fontawesome 的 SVG 难道不能直接用吗?
    superisaac
    superisaac
    OP
    Oct 7, 2014
    8
    @jsonline 不能直接用,折腾一下也勉强可以。不过比 [UIImage imageNamed:@"fa-cog"] 要麻烦多了。
    wildplant
    wildplant
    Oct 7, 2014
    9
    直接提供个转换好的图库呗。。。
    superisaac
    superisaac
    OP
    Oct 7, 2014
    10
    @wildplant 尺寸可以自己指定,文件名也可以自己指定。参见
    README.md
    leungwensen
    leungwensen
    Jul 26, 2016
    11
    现在可以用到 SVG 版本的 font-awesome 了哦: http://leungwensen.github.io/svg-icon/#awesome PS ,不仅仅是 font-awesome ,这个项目把绝大部分流行的 iconfont 都转换成了 SVG sprite ,也提供单独的 SVG 文件,超过 4000 个图标开箱即用!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2967 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 11:53 · PVG 19:53 · LAX 03:53 · JFK 06:53
    ♥ Do have faith in what you're doing.