forked from ecomfe/fonteditor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
kekee000
committed
Dec 14, 2014
1 parent
c488459
commit 119866d
Showing
14 changed files
with
303 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/** | ||
* @file editor.js | ||
* @author mengke01 | ||
* @date | ||
* @description | ||
* 默认的编辑器设置 | ||
*/ | ||
|
||
define( | ||
function(require) { | ||
|
||
var setting = { | ||
|
||
saveSetting: true, // 是否保存setting | ||
|
||
// 查看器选项 | ||
viewer: { | ||
color: "", // 查看器颜色 | ||
shapeSize: "normal" // 字形大小 | ||
}, | ||
|
||
// 编辑器选项 | ||
// see : editor/options.editor | ||
editor: { | ||
sorption: { | ||
enableGrid: false, | ||
enableShape: true | ||
}, | ||
fontLayer: { | ||
strokeColor: '#999', | ||
fill: true, | ||
fillColor: '#555' | ||
}, | ||
referenceline: { | ||
style: { | ||
strokeColor: '#0FF' | ||
} | ||
}, | ||
axis: { | ||
showGrid: true, | ||
gapColor: '#A6A6FF', | ||
metricsColor: 'red', | ||
graduation: { | ||
gap: 100 | ||
} | ||
} | ||
} | ||
}; | ||
|
||
return setting; | ||
} | ||
); |
Oops, something went wrong.