Преглед изворни кода

updated font specimen with v3.000 web font builds

Chris Simpkins пре 8 година
родитељ
комит
1fe2c67158

+ 9 - 18
css/hack.css

@@ -1,10 +1,8 @@
 
 @font-face {
     font-family: 'hackbold';
-    src: url('../fonts/hack-bold-webfont.eot?v=2.020');
-    src: url('../fonts/hack-bold-webfont.eot?#iefix&v=2.020') format('embedded-opentype'),
-         url('../fonts/hack-bold-webfont.woff2?v=2.020') format('woff2'),
-         url('../fonts/hack-bold-webfont.woff?v=2.020') format('woff');
+    src: url('../fonts/hack-bold-subset.woff2?v=3.000') format('woff2'),
+         url('../fonts/hack-bold-subset.woff?v=3.000') format('woff');
     font-weight: normal;
     font-style: normal;
 
@@ -15,10 +13,8 @@
 
 @font-face {
     font-family: 'hackbold_oblique';
-    src: url('../fonts/hack-bolditalic-webfont.eot?v=2.020');
-    src: url('../fonts/hack-bolditalic-webfont.eot?#iefix&v=2.020') format('embedded-opentype'),
-         url('../fonts/hack-bolditalic-webfont.woff2?v=2.020') format('woff2'),
-         url('../fonts/hack-bolditalic-webfont.woff?v=2.020') format('woff');
+    src: url('../fonts/hack-bolditalic-subset.woff2?v=3.000') format('woff2'),
+         url('../fonts/hack-bolditalic-subset.woff?v=3.000') format('woff');
     font-weight: normal;
     font-style: normal;
 
@@ -29,10 +25,8 @@
 
 @font-face {
     font-family: 'hackregular';
-    src: url('../fonts/hack-regular-webfont.eot?v=2.020');
-    src: url('../fonts/hack-regular-webfont.eot?#iefix&v=2.020') format('embedded-opentype'),
-         url('../fonts/hack-regular-webfont.woff2?v=2.020') format('woff2'),
-         url('../fonts/hack-regular-webfont.woff?v=2.020') format('woff');
+    src: url('../fonts/hack-regular-subset.woff2?v=3.000') format('woff2'),
+         url('../fonts/hack-regular-subset.woff?v=3.000') format('woff');
     font-weight: normal;
     font-style: normal;
 
@@ -43,10 +37,8 @@
 
 @font-face {
     font-family: 'hackoblique';
-    src: url('../fonts/hack-italic-webfont.eot?v=2.020');
-    src: url('../fonts/hack-italic-webfont.eot?#iefix&v=2.020') format('embedded-opentype'),
-         url('../fonts/hack-italic-webfont.woff2?v=2.020') format('woff2'),
-         url('../fonts/hack-italic-webfont.woff?v=2.020') format('woff');
+    src: url('../fonts/hack-italic-subset.woff2?v=3.000') format('woff2'),
+         url('../fonts/hack-italic-subset.woff?v=3.000') format('woff');
     font-weight: normal;
     font-style: normal;
 
@@ -93,8 +85,7 @@
     color: #FFF !important;
 }
 
-.size6{ font-size: 6px;}
-.size7{ font-size: 7px;}
+
 .size8{ font-size: 8px;}
 .size9{ font-size: 9px; }
 .size10{ font-size: 10px; }

+ 1 - 42
font-specimen.html

@@ -29,7 +29,7 @@
     <div class="container">
 
         <div class="page-header">
-            <h1>Hack v2.020</h1>
+            <h1>Hack</h1>
             <p class="lead">Specimen for the Hack typeface</p>
         </div>
 
@@ -70,14 +70,6 @@
         <h2 class="section-header">Waterfall</h2>
         <div class="specimen-regular">
             <table class="sample_table">
-                <tr>
-                    <td>6</td>
-                    <td class="size6">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890</td>
-                </tr>
-                <tr>
-                    <td>7</td>
-                    <td class="size7">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890</td>
-                </tr>
                 <tr>
                     <td>8</td>
                     <td class="size8">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890</td>
@@ -378,39 +370,6 @@ int main(int argc, char **argv) {
 }</code></pre>
 
 
-
-
-
-        <h3>16 pixels</h3>
-        <pre class="size16"><code class="specimen-regular">// <span class="specimen-oblique">Here is a comment in the oblique style</span>
-// <span class="specimen-bold">Here is a comment in the bold style</span>
-// <span class="specimen-boldoblique">Here is a comment in the bold oblique style</span>
-
-//  The four boxing wizards jump
-#include &lt;stdio.h&gt; // &lt;= quickly.
-int main(int argc, char **argv) {
-  long il1[]={1-2/3.4,5+6==7/8};
-  int OxFaced=0xBAD||&quot;[{(CQUINE&quot;;
-  unsigned O0,l1,Z2,S5,G6,B8__XY;
-  printf(&quot;@$Hamburgefo%c`&quot;,&#39;\n&#39;);
-  return ~7&amp;8^9?0:l1|!&quot;j-&gt;k+=*w&quot;;
-}</code></pre>
-
-        <pre class="size16 dark-code"><code class="specimen-regular">// <span class="specimen-oblique">Here is a comment in the oblique style</span>
-// <span class="specimen-bold">Here is a comment in the bold style</span>
-// <span class="specimen-boldoblique">Here is a comment in the bold oblique style</span>
-
-//  The four boxing wizards jump
-#include &lt;stdio.h&gt; // &lt;= quickly.
-int main(int argc, char **argv) {
-  long il1[]={1-2/3.4,5+6==7/8};
-  int OxFaced=0xBAD||&quot;[{(CQUINE&quot;;
-  unsigned O0,l1,Z2,S5,G6,B8__XY;
-  printf(&quot;@$Hamburgefo%c`&quot;,&#39;\n&#39;);
-  return ~7&amp;8^9?0:l1|!&quot;j-&gt;k+=*w&quot;;
-}</code></pre>
-
-
     </div>
     <!-- /container -->
 

BIN
fonts/hack-bold-subset.woff


BIN
fonts/hack-bold-subset.woff2


BIN
fonts/hack-bold-webfont.eot


BIN
fonts/hack-bold-webfont.ttf


BIN
fonts/hack-bold-webfont.woff


BIN
fonts/hack-bold-webfont.woff2


BIN
fonts/hack-bolditalic-subset.woff


BIN
fonts/hack-bolditalic-subset.woff2


BIN
fonts/hack-bolditalic-webfont.eot


BIN
fonts/hack-bolditalic-webfont.ttf


BIN
fonts/hack-bolditalic-webfont.woff


BIN
fonts/hack-bolditalic-webfont.woff2


BIN
fonts/hack-italic-subset.woff


BIN
fonts/hack-italic-subset.woff2


BIN
fonts/hack-italic-webfont.eot


BIN
fonts/hack-italic-webfont.ttf


BIN
fonts/hack-italic-webfont.woff


BIN
fonts/hack-italic-webfont.woff2


BIN
fonts/hack-regular-subset.woff


BIN
fonts/hack-regular-subset.woff2


BIN
fonts/hack-regular-webfont.eot


BIN
fonts/hack-regular-webfont.ttf


BIN
fonts/hack-regular-webfont.woff


BIN
fonts/hack-regular-webfont.woff2