OSDN Git Service

add new sample images of sawarabi-mincho and sawarabi-gothic
authormshio <mshio@54a90f34-5e62-402c-8eae-46c47f0b2e07>
Sun, 16 Mar 2014 23:20:36 +0000 (23:20 +0000)
committermshio <mshio@54a90f34-5e62-402c-8eae-46c47f0b2e07>
Sun, 16 Mar 2014 23:20:36 +0000 (23:20 +0000)
git-svn-id: svn+ssh://svn.osdn.net/svnroot/sawarabi-fonts/trunk@134 54a90f34-5e62-402c-8eae-46c47f0b2e07

html/en/index.html
html/img/sample-gothic-20140215.png [new file with mode: 0644]
html/img/sample-mincho-20140315.png [new file with mode: 0644]
html/index.html
html/js/doc-header.js

index 8ca3136..331bc1a 100644 (file)
@@ -59,9 +59,13 @@ The license of Sawarabi Fonts is Creative Commons Attribution 3.0. You can see t
 <article>
 <h2>Samples</h2>
 <p>
-Sawarabi Gothic (ver.20130615).
+Sawarabi Gothic (ver.20140215).
 </p>
-<img id="font-sample" src="../img/sample-0.png" alt="Sample" /><br />
+<img src="../img/sample-gothic-20140215.png" alt="Sample (Gothic)" /><br />
+<p>
+Sawarabi Mincho (ver.20140315).
+</p>
+<img src="../img/sample-mincho-20140315.png" alt="Sample (Mincho)" /><br />
 </article>
 
 <article>
diff --git a/html/img/sample-gothic-20140215.png b/html/img/sample-gothic-20140215.png
new file mode 100644 (file)
index 0000000..12888ac
Binary files /dev/null and b/html/img/sample-gothic-20140215.png differ
diff --git a/html/img/sample-mincho-20140315.png b/html/img/sample-mincho-20140315.png
new file mode 100644 (file)
index 0000000..faecfeb
Binary files /dev/null and b/html/img/sample-mincho-20140315.png differ
index d86a988..44c8ace 100644 (file)
 <p>
  さわらびゴシック(ver.20140215)の書体見本です。
 </p>
-<img id="font-sample" src="img/sample-0.png" alt="書体見本" /><br />
+<img src="img/sample-gothic-20140215.png" alt="書体見本(ゴシック)" /><br />
+<p>
+ さわらび明朝(ver.20140315)の書体見本です。
+</p>
+<img src="img/sample-mincho-20140315.png" alt="書体見本(明朝)" /><br />
 </article>
 
 <article>
index e49a091..41fb8e3 100644 (file)
@@ -16,10 +16,10 @@ $(document).ready(function() {
                        'Kanji Coverage (Sawarabi Mincho)',
                       ],
                kyoikuKanji: 'Kyoiku Kanji',
-               level1st: '1st Level',
-               level2nd: '2nd Level',
-               level3rd: '3rd Level',
-               level4th: '4th Level',
+               level1st: 'JIS 1st Level',
+               level2nd: 'JIS 2nd Level',
+               level3rd: 'JIS 3rd Level',
+               level4th: 'JIS 4th Level',
            },
            de: {
                title: ['Kanji Coverage (Sawarabi Gothic)',
@@ -88,7 +88,16 @@ $(document).ready(function() {
            drawFrame: function() {
                var width = screen.content.width - this.x;
                ctx.strokeStyle = this.frameColor;
-               ctx.rect(this.getX(), this.getY() - 1, width + 1, this.height + 2);
+               ctx.beginPath()
+               var x1 = this.getX() + 1;
+               var y1 = this.getY() - 1;
+               var x2 = this.getX() + width + 1;
+               var y2 = this.getY() + this.height + 2;
+               ctx.moveTo(x1, y1);
+               ctx.lineTo(x2, y1);
+               ctx.lineTo(x2, y2);
+               ctx.lineTo(x1, y2);
+               ctx.stroke();
            },
            drawRate: function() {
                var rate = this.performance * 1.0 / this.max;