modify demo
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
|
||||
<ul id="font-list" class="font-list"></ul>
|
||||
|
||||
<canvas id="glyf-canvas" style="background: #E0E0E0" width="1000" height="1000"></canvas>
|
||||
<canvas id="glyf-canvas" style="background: #E0E0E0" width="600" height="600"></canvas>
|
||||
|
||||
<script>
|
||||
require(['demo/glyfcanvas']);
|
||||
|
||||
@@ -62,7 +62,7 @@ define(
|
||||
height = height * scale;
|
||||
}
|
||||
|
||||
ctx.clearRect(0, 0, 1000, 1000);
|
||||
ctx.clearRect(0, 0, 600, 600);
|
||||
|
||||
glyf2canvas(glyf, ctx, {
|
||||
stroke: 0,
|
||||
|
||||
Reference in New Issue
Block a user