weightmapping-12579.html 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <title>Weight mapping tests</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <style type="text/css">
  7. body {
  8. margin: 50px;
  9. font-family: Futura, Verdana, sans-serif;
  10. }
  11. h3, h4 { font-weight: normal; }
  12. /* make all the spans blocks to avoid influence of what's outside them
  13. on line-height calculations */
  14. span { display: block; }
  15. @font-face {
  16. font-family: test;
  17. src: url(../fonts/mplus/mplus-1p-thin.ttf);
  18. font-weight: 100;
  19. }
  20. @font-face {
  21. font-family: test;
  22. src: url(../fonts/mplus/mplus-1p-light.ttf);
  23. font-weight: 200;
  24. }
  25. @font-face {
  26. font-family: test;
  27. src: url(../fonts/mplus/mplus-1p-medium.ttf);
  28. font-weight: 500;
  29. }
  30. @font-face {
  31. font-family: test;
  32. src: url(../fonts/mplus/mplus-1p-bold.ttf);
  33. font-weight: 700;
  34. }
  35. @font-face {
  36. font-family: test;
  37. src: url(../fonts/mplus/mplus-1p-black.ttf);
  38. font-weight: 900;
  39. }
  40. @font-face {
  41. font-family: test100;
  42. src: url(../fonts/mplus/mplus-1p-thin.ttf);
  43. }
  44. @font-face {
  45. font-family: test200;
  46. src: url(../fonts/mplus/mplus-1p-light.ttf);
  47. }
  48. @font-face {
  49. font-family: test500;
  50. src: url(../fonts/mplus/mplus-1p-medium.ttf);
  51. }
  52. @font-face {
  53. font-family: test700;
  54. src: url(../fonts/mplus/mplus-1p-bold.ttf);
  55. }
  56. @font-face {
  57. font-family: test900;
  58. src: url(../fonts/mplus/mplus-1p-black.ttf);
  59. }
  60. table {
  61. border-collapse: collapse;
  62. font-family: test;
  63. font-size: 20px;
  64. }
  65. td {
  66. padding: 0; margin: 0;
  67. }
  68. th {
  69. font-weight: inherit;
  70. }
  71. .red { color: red; }
  72. th.cnor { font-weight: inherit; }
  73. th.cbo { font-weight: bolder; }
  74. th.cbobo, th.cbobo span { font-weight: bolder; }
  75. th.cli { font-weight: lighter; }
  76. th.clili, th.clili span { font-weight: lighter; }
  77. td.cnor { font-weight: inherit; }
  78. td.cbo { font-weight: bolder; }
  79. td.cbobo, td.cbobo span { font-weight: bolder; }
  80. td.cli { font-weight: lighter; }
  81. td.clili, td.clili span { font-weight: lighter; }
  82. thead { font-weight: 400; font-size: 75%; }
  83. .w1 { font-weight: 100; }
  84. .w2 { font-weight: 200; }
  85. .w3 { font-weight: 300; }
  86. .w4 { font-weight: 400; }
  87. .w5 { font-weight: 500; }
  88. .w6 { font-weight: 600; }
  89. .w7 { font-weight: 700; }
  90. .w8 { font-weight: 800; }
  91. .w9 { font-weight: 900; }
  92. </style>
  93. </head>
  94. <body>
  95. <h3>Font family with 100, 200, 500, 700, 900 weights</h3>
  96. <table>
  97. <thead>
  98. <th></th>
  99. <th class="clili"><span>lighter lighter</span></th>
  100. <th class="cli"><span>lighter</span></th>
  101. <th class="cnor"><span>normal</span></th>
  102. <th class="cbo"><span>bolder</span></th>
  103. <th class="cbobo"><span>bolder bolder</span></th>
  104. </thead>
  105. <tr class="w1">
  106. <th class="red">100</th>
  107. <td class="clili"><span>東京特許許可局</span></td>
  108. <td class="cli"><span>東京特許許可局</span></td>
  109. <td class="cnor"><span>東京特許許可局</span></td>
  110. <td class="cbo"><span>東京特許許可局</span></td>
  111. <td class="cbobo"><span>東京特許許可局</span></td>
  112. </tr>
  113. <tr class="w2">
  114. <th class="red">200</th>
  115. <td class="clili"><span>東京特許許可局</span></td>
  116. <td class="cli"><span>東京特許許可局</span></td>
  117. <td class="cnor"><span>東京特許許可局</span></td>
  118. <td class="cbo"><span>東京特許許可局</span></td>
  119. <td class="cbobo"><span>東京特許許可局</span></td>
  120. </tr>
  121. <tr class="w3">
  122. <th>300</th>
  123. <td class="clili"><span>東京特許許可局</span></td>
  124. <td class="cli"><span>東京特許許可局</span></td>
  125. <td class="cnor"><span>東京特許許可局</span></td>
  126. <td class="cbo"><span>東京特許許可局</span></td>
  127. <td class="cbobo"><span>東京特許許可局</span></td>
  128. </tr>
  129. <tr class="w4">
  130. <th>400</th>
  131. <td class="clili"><span>東京特許許可局</span></td>
  132. <td class="cli"><span>東京特許許可局</span></td>
  133. <td class="cnor"><span>東京特許許可局</span></td>
  134. <td class="cbo"><span>東京特許許可局</span></td>
  135. <td class="cbobo"><span>東京特許許可局</span></td>
  136. </tr>
  137. <tr class="w5">
  138. <th class="red">500</th>
  139. <td class="clili"><span>東京特許許可局</span></td>
  140. <td class="cli"><span>東京特許許可局</span></td>
  141. <td class="cnor"><span>東京特許許可局</span></td>
  142. <td class="cbo"><span>東京特許許可局</span></td>
  143. <td class="cbobo"><span>東京特許許可局</span></td>
  144. </tr>
  145. <tr class="w6">
  146. <th>600</th>
  147. <td class="clili"><span>東京特許許可局</span></td>
  148. <td class="cli"><span>東京特許許可局</span></td>
  149. <td class="cnor"><span>東京特許許可局</span></td>
  150. <td class="cbo"><span>東京特許許可局</span></td>
  151. <td class="cbobo"><span>東京特許許可局</span></td>
  152. </tr>
  153. <tr class="w7">
  154. <th class="red">700</th>
  155. <td class="clili"><span>東京特許許可局</span></td>
  156. <td class="cli"><span>東京特許許可局</span></td>
  157. <td class="cnor"><span>東京特許許可局</span></td>
  158. <td class="cbo"><span>東京特許許可局</span></td>
  159. <td class="cbobo"><span>東京特許許可局</span></td>
  160. </tr>
  161. <tr class="w8">
  162. <th>800</th>
  163. <td class="clili"><span>東京特許許可局</span></td>
  164. <td class="cli"><span>東京特許許可局</span></td>
  165. <td class="cnor"><span>東京特許許可局</span></td>
  166. <td class="cbo"><span>東京特許許可局</span></td>
  167. <td class="cbobo"><span>東京特許許可局</span></td>
  168. </tr>
  169. <tr class="w9">
  170. <th class="red">900</th>
  171. <td class="clili"><span>東京特許許可局</span></td>
  172. <td class="cli"><span>東京特許許可局</span></td>
  173. <td class="cnor"><span>東京特許許可局</span></td>
  174. <td class="cbo"><span>東京特許許可局</span></td>
  175. <td class="cbobo"><span>東京特許許可局</span></td>
  176. </tr>
  177. </table>
  178. <p>tokyotokkyokyokakyoku</p>
  179. </body>
  180. </html>