fonteditor/demo/ttf2eot.html
mkwiser 4c302114c4 add ttf2eot eot2ttf
replace ajaxBinaryFile.js to ajaxFile.js
2014-10-25 03:03:31 +08:00

35 lines
676 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>ttf2eot test</title>
<script src="../dep/esl.js"></script>
<script src="../dep/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="./css/glyf.css">
<style id="font-face"></style>
</head>
<body>
<a class="saveas" href="" download="">保存</a>
<ul id="font-list" class="font-list"></ul>
<script>
require.config({
baseUrl: '../src',
paths: {
demo: '../demo/js',
deflate: '../dep/pako_deflate.min'
}
});
define('jquery', $);
</script>
<script>
require(['demo/ttf2eot']);
</script>
</body>
</html>