• R/O
  • SSH
  • HTTPS

sawarabi-fonts: Commit


Commit MetaInfo

Révision134 (tree)
l'heure2014-03-17 08:20:36
Auteurmshio

Message de Log

add new sample images of sawarabi-mincho and sawarabi-gothic

Change Summary

Modification

--- trunk/html/en/index.html (revision 133)
+++ trunk/html/en/index.html (revision 134)
@@ -59,9 +59,13 @@
5959 <article>
6060 <h2>Samples</h2>
6161 <p>
62-Sawarabi Gothic (ver.20130615).
62+Sawarabi Gothic (ver.20140215).
6363 </p>
64-<img id="font-sample" src="../img/sample-0.png" alt="Sample" /><br />
64+<img src="../img/sample-gothic-20140215.png" alt="Sample (Gothic)" /><br />
65+<p>
66+Sawarabi Mincho (ver.20140315).
67+</p>
68+<img src="../img/sample-mincho-20140315.png" alt="Sample (Mincho)" /><br />
6569 </article>
6670
6771 <article>
--- trunk/html/index.html (revision 133)
+++ trunk/html/index.html (revision 134)
@@ -58,7 +58,11 @@
5858 <p>
5959  さわらびゴシック(ver.20140215)の書体見本です。
6060 </p>
61-<img id="font-sample" src="img/sample-0.png" alt="書体見本" /><br />
61+<img src="img/sample-gothic-20140215.png" alt="書体見本(ゴシック)" /><br />
62+<p>
63+ さわらび明朝(ver.20140315)の書体見本です。
64+</p>
65+<img src="img/sample-mincho-20140315.png" alt="書体見本(明朝)" /><br />
6266 </article>
6367
6468 <article>
--- trunk/html/js/doc-header.js (revision 133)
+++ trunk/html/js/doc-header.js (revision 134)
@@ -16,10 +16,10 @@
1616 'Kanji Coverage (Sawarabi Mincho)',
1717 ],
1818 kyoikuKanji: 'Kyoiku Kanji',
19- level1st: '1st Level',
20- level2nd: '2nd Level',
21- level3rd: '3rd Level',
22- level4th: '4th Level',
19+ level1st: 'JIS 1st Level',
20+ level2nd: 'JIS 2nd Level',
21+ level3rd: 'JIS 3rd Level',
22+ level4th: 'JIS 4th Level',
2323 },
2424 de: {
2525 title: ['Kanji Coverage (Sawarabi Gothic)',
@@ -88,7 +88,16 @@
8888 drawFrame: function() {
8989 var width = screen.content.width - this.x;
9090 ctx.strokeStyle = this.frameColor;
91- ctx.rect(this.getX(), this.getY() - 1, width + 1, this.height + 2);
91+ ctx.beginPath()
92+ var x1 = this.getX() + 1;
93+ var y1 = this.getY() - 1;
94+ var x2 = this.getX() + width + 1;
95+ var y2 = this.getY() + this.height + 2;
96+ ctx.moveTo(x1, y1);
97+ ctx.lineTo(x2, y1);
98+ ctx.lineTo(x2, y2);
99+ ctx.lineTo(x1, y2);
100+ ctx.stroke();
92101 },
93102 drawRate: function() {
94103 var rate = this.performance * 1.0 / this.max;
Afficher sur ancien navigateur de dépôt.