add ttf writer

This commit is contained in:
mkwiser
2014-09-21 22:50:59 +08:00
parent b4a155a6bc
commit 9ad5f70a9d
5 changed files with 249 additions and 18 deletions

28
demo/ttfwriter.html Normal file
View File

@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>font编辑器</title>
<script src="./lib/esl.js"></script>
<script src="./lib/jquery.min.js"></script>
</head>
<body>
<a class="saveas" href="" download="">保存</a>
<script>
require.config({
baseUrl: '../src',
paths: {
demo: '../demo/js',
}
});
define('jquery', $);
</script>
<script>
require(['demo/ttfwriter']);
</script>
</body>
</html>