add ttf writer
This commit is contained in:
28
demo/ttfwriter.html
Normal file
28
demo/ttfwriter.html
Normal 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>
|
||||
Reference in New Issue
Block a user