From: mshio Date: Sun, 16 Mar 2014 23:20:36 +0000 (+0000) Subject: add new sample images of sawarabi-mincho and sawarabi-gothic X-Git-Tag: v.20200415~42 X-Git-Url: http://git.osdn.net/view?p=sawarabi-fonts%2Fsawarabi-fonts.git;a=commitdiff_plain;h=79b47dbba83f000252b8feec3b723bd4814ac243 add new sample images of sawarabi-mincho and sawarabi-gothic git-svn-id: svn+ssh://svn.osdn.net/svnroot/sawarabi-fonts/trunk@134 54a90f34-5e62-402c-8eae-46c47f0b2e07 --- diff --git a/html/en/index.html b/html/en/index.html index 8ca31363..331bc1a4 100644 --- a/html/en/index.html +++ b/html/en/index.html @@ -59,9 +59,13 @@ The license of Sawarabi Fonts is Creative Commons Attribution 3.0. You can see t

Samples

-Sawarabi Gothic (ver.20130615). +Sawarabi Gothic (ver.20140215).

-Sample
+Sample (Gothic)
+

+Sawarabi Mincho (ver.20140315). +

+Sample (Mincho)
diff --git a/html/img/sample-gothic-20140215.png b/html/img/sample-gothic-20140215.png new file mode 100644 index 00000000..12888acd 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 index 00000000..faecfebe Binary files /dev/null and b/html/img/sample-mincho-20140315.png differ diff --git a/html/index.html b/html/index.html index d86a9884..44c8ace7 100644 --- a/html/index.html +++ b/html/index.html @@ -58,7 +58,11 @@

 さわらびゴシック(ver.20140215)の書体見本です。

-書体見本
+書体見本(ゴシック)
+

+ さわらび明朝(ver.20140315)の書体見本です。 +

+書体見本(明朝)
diff --git a/html/js/doc-header.js b/html/js/doc-header.js index e49a0915..41fb8e3b 100644 --- a/html/js/doc-header.js +++ b/html/js/doc-header.js @@ -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;