readfont from baidu

This commit is contained in:
menglingjun 2014-12-25 20:09:50 +08:00
parent 2b8e4cd447
commit e86fe27761

View File

@ -89,6 +89,11 @@ define(
init: function () {
bindEvent();
// font baidu online
if(location.hostname.indexOf('baidu.com') > -1) {
program.fontUrl = '/getfont?url=${0}';
}
program.setting = require('./widget/settingmanager');
// glyf查看器命令组