fonteditor/demo/editortest.html
2014-11-01 00:19:48 +08:00

47 lines
1.2 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>测试editor</title>
<script src="../dep/esl.js"></script>
<script src="../dep/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="./css/editortest.css">
<style id="font-face"></style>
</head>
<body>
<script>
require.config({
baseUrl: '../src',
paths: {
demo: '../demo/js',
}
});
define('jquery', $);
</script>
<div class="pan-left">
<select id="editor-unitsperem">
<option value="512">512</option>
<option value="1024">1024</option>
<option value="2048">2048</option>
</select>
<select id="editor-bearing">
<option value="1">左支撑10 右支撑10</option>
<option value="2">左支撑100 右支撑100</option>
</select>
<div id="glyf-list" class="glyf-list"></div>
</div>
<div class="pan-left">
<div id="glyf-list" class="glyf-list"></div>
</div>
<div id="render-view" class="render-view glyf-editor" oncontextMenu="return false"></div>
<script>
require(['demo/editortest']);
</script>
</body>
</html>