pytagcloud支持中文(汉仪全唐诗体简)
生活随笔
收集整理的這篇文章主要介紹了
pytagcloud支持中文(汉仪全唐诗体简)
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
/home/appleyuchi/.virtualenvs/python2.7/lib/python2.7/site-packages/pytagcloud/fonts
增加HYQuanTangShiJ.ttf文件
然后修改fonts.json文件如下:
[{"name": "Nobile","ttf": "nobile.ttf","web": "http://fonts.googleapis.com/css?family=Nobile"},{"name": "Old Standard TT","ttf": "OldStandard-Regular.ttf","web": "http://fonts.googleapis.com/css?family=Old+Standard+TT"},{"name": "Cantarell","ttf": "Cantarell-Regular.ttf","web": "http://fonts.googleapis.com/css?family=Cantarell"},{"name": "Reenie Beanie","ttf": "ReenieBeanie.ttf","web": "http://fonts.googleapis.com/css?family=Reenie+Beanie"},{"name": "Cuprum","ttf": "Cuprum.ttf","web": "http://fonts.googleapis.com/css?family=Cuprum"},{"name": "Molengo","ttf": "Molengo-Regular.ttf","web": "http://fonts.googleapis.com/css?family=Molengo"},{"name": "Neucha","ttf": "Neucha.ttf","web": "http://fonts.googleapis.com/css?family=Neucha"},{"name": "Philosopher","ttf": "Philosopher.ttf","web": "http://fonts.googleapis.com/css?family=Philosopher"},{"name": "Yanone Kaffeesatz","ttf": "YanoneKaffeesatz-Regular.ttf","web": "http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz"},{"name": "Cardo","ttf": "Cardo99s.ttf","web": "http://fonts.googleapis.com/css?family=Cardo"},{"name": "Neuton","ttf": "Neuton.ttf","web": "http://fonts.googleapis.com/css?family=Neuton"},{"name": "Inconsolata","ttf": "Inconsolata.ttf","web": "http://fonts.googleapis.com/css?family=Inconsolata"},{"name": "Crimson Text","ttf": "CrimsonText-Roman.ttf","web": "http://fonts.googleapis.com/css?family=Crimson+Text"},{"name": "Josefin Sans","ttf": "JosefinSansStd-Light.ttf","web": "http://fonts.googleapis.com/css?family=Josefin+Sans"},{"name": "Droid Sans","ttf": "DroidSans.ttf","web": "http://fonts.googleapis.com/css?family=Droid+Sans"},{"name": "Lobster","ttf": "Lobster.ttf","web": "http://fonts.googleapis.com/css?family=Lobster"},{"name": "IM Fell DW Pica","ttf": "IMFeENrm28P.ttf","web": "http://fonts.googleapis.com/css?family=IM+Fell+DW+Pica"},{"name": "Vollkorn","ttf": "Vollkorn-Regular.ttf","web": "http://fonts.googleapis.com/css?family=Vollkorn"},{"name": "Tangerine","ttf": "Tangerine_Regular.ttf","web": "http://fonts.googleapis.com/css?family=Tangerine"},{"name": "Coustard","ttf": "Coustard-Regular.ttf","web": "http://fonts.googleapis.com/css?family=Coustard"},{"name": "PT Sans Regular","ttf": "PT_Sans-Regular.ttf","web": "http://fonts.googleapis.com/css?family=PT+Sans"},{"name": "HYQuanTangShiJ","ttf": "HYQuanTangShiJ.ttf","web": "none"} ]
總結(jié)
以上是生活随笔為你收集整理的pytagcloud支持中文(汉仪全唐诗体简)的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ubuntu右键打开终端(Open Te
- 下一篇: Permission denied (p