diff --git a/demo/css/glyf.css b/demo/css/glyf.css index 0dc22f4..68a3f3b 100644 --- a/demo/css/glyf.css +++ b/demo/css/glyf.css @@ -45,21 +45,11 @@ body { .font-list li.selected { background: #ECECEC; } -.svg-view { - width: 500px; - height: 500px; - background: #F0F0F0; -} .glyf { - width: 100%; + background: #F0F0F0; } .glyf .path { fill: green; stroke: none; stroke-width: 10px; } -.boundary { - fill: none; - stroke-width: 1px; - stroke: black; -} diff --git a/demo/css/glyf.less b/demo/css/glyf.less index 303064a..ecadc9d 100644 --- a/demo/css/glyf.less +++ b/demo/css/glyf.less @@ -38,23 +38,11 @@ body { } } -.svg-view { - width: 500px; - height: 500px; - background: #F0F0F0; -} - .glyf { - width: 100%; + background: #F0F0F0; .path { fill: green; stroke: none; stroke-width: 10px; } -} - -.boundary { - fill: none; - stroke-width: 1px; - stroke: black; } \ No newline at end of file diff --git a/demo/glyfcanvas.html b/demo/glyfcanvas.html new file mode 100644 index 0000000..b444f28 --- /dev/null +++ b/demo/glyfcanvas.html @@ -0,0 +1,35 @@ + + +
+ +