r0.1.6
This commit is contained in:
parent
2c07e255e7
commit
baf323bef1
21
index.html
21
index.html
|
@ -48,7 +48,7 @@
|
||||||
margin: 0.5rem 0;
|
margin: 0.5rem 0;
|
||||||
}
|
}
|
||||||
div.show {
|
div.show {
|
||||||
font-size: 2rem;
|
font-size: 1rem;
|
||||||
width: 68rem;
|
width: 68rem;
|
||||||
}
|
}
|
||||||
div.show.bold { font-weight: bold }
|
div.show.bold { font-weight: bold }
|
||||||
|
@ -62,17 +62,18 @@
|
||||||
}
|
}
|
||||||
.show div.block span {
|
.show div.block span {
|
||||||
display: block;
|
display: block;
|
||||||
width: 2rem;
|
width: 1rem;
|
||||||
height: 2rem;
|
height: 1rem;
|
||||||
line-height: 2rem;
|
line-height: 1rem;
|
||||||
padding: 1rem;
|
padding: 0.5rem;
|
||||||
flex: none;
|
flex: none;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
.show div.block span.indicator {
|
.show div.block span.indicator {
|
||||||
font-size: 1rem;
|
width: 2rem;
|
||||||
|
font-size: 0.75rem;
|
||||||
}
|
}
|
||||||
.show div.block span.missing {
|
.show div.block span.missing {
|
||||||
opacity: 0.1
|
opacity: 0.1
|
||||||
|
@ -178,7 +179,7 @@
|
||||||
</html>
|
</html>
|
||||||
<body>
|
<body>
|
||||||
<p>Iosevka is a monospace coding typeface inspired by <a href="http://www.fsd.it/fonts/pragmatapro.htm">Pragmata Pro</a>, <a href="http://mplus-fonts.osdn.jp/">M+</a> and <a href="http://www.parachute.gr/typefaces/allfonts/din-mono-pro">PF DIN Mono</a>. It is designed to have a narrow shape to be space efficient and compatible to CJK characters.</p>
|
<p>Iosevka is a monospace coding typeface inspired by <a href="http://www.fsd.it/fonts/pragmatapro.htm">Pragmata Pro</a>, <a href="http://mplus-fonts.osdn.jp/">M+</a> and <a href="http://www.parachute.gr/typefaces/allfonts/din-mono-pro">PF DIN Mono</a>. It is designed to have a narrow shape to be space efficient and compatible to CJK characters.</p>
|
||||||
<p>The current release is <strong><a href="https://github.com/be5invis/Iosevka/releases/tag/v0.1.2">v0.1.2</a></strong>. You can find all releases <a href="https://github.com/be5invis/Iosevka/releases/">here</a>.</p>
|
<p>The current release is <strong><a href="https://github.com/be5invis/Iosevka/releases/tag/v0.1.6">v0.1.6</a></strong>. You can find all releases <a href="https://github.com/be5invis/Iosevka/releases/">here</a>.</p>
|
||||||
<p>By the way it is completely generated by <a href="http://github.com/be5invis/Iosevka">code</a>.</p>
|
<p>By the way it is completely generated by <a href="http://github.com/be5invis/Iosevka">code</a>.</p>
|
||||||
<div id="links"></div>
|
<div id="links"></div>
|
||||||
<script>
|
<script>
|
||||||
|
@ -186,7 +187,8 @@
|
||||||
while(s.length < n) s = '0' + s;
|
while(s.length < n) s = '0' + s;
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
var BLOCKSIZE = 16 * 4;
|
var ROW = 32;
|
||||||
|
var BLOCKSIZE = ROW * 4;
|
||||||
var fonts = [
|
var fonts = [
|
||||||
{name: 'iosevka-regular', cls: ''},
|
{name: 'iosevka-regular', cls: ''},
|
||||||
{name: 'iosevka-bold', cls: 'bold'},
|
{name: 'iosevka-bold', cls: 'bold'},
|
||||||
|
@ -197,6 +199,7 @@
|
||||||
var sampleSentences = [
|
var sampleSentences = [
|
||||||
{lang: 'English', sample: 'Shaw, those twelve beige hooks are joined if I patch a young, gooey mouth.'},
|
{lang: 'English', sample: 'Shaw, those twelve beige hooks are joined if I patch a young, gooey mouth.'},
|
||||||
{lang: 'Powerline', sample: '<span style="background:black;color:white"> NORMAL </span><span style="background:#ccc;color:black;font-style:normal">\uE0B0</span><span style="background:#ccc;color:black"> <span style="font-style:normal">\uE0A0</span> master <span style="font-style:normal">\uE0B1</span> glyphs/powerline.patel </span><span style="background:#eee;color:#ccc;font-style:normal">\uE0B0</span><span style="background:#eee;color:#555"> dos <span style="font-style:normal">\uE0B3</span> utf-8 <span style="font-style:normal">\uE0B3</span> PatEL </span><span style="background:#eee;color:#ccc;font-style:normal">\uE0B2</span><span style="background:#ccc"> 2% </span><span style="background:#ccc;color:black;font-style:normal">\uE0B2</span><span style="color:white;background:black"> \uE0A1 1:1 </span>'},
|
{lang: 'Powerline', sample: '<span style="background:black;color:white"> NORMAL </span><span style="background:#ccc;color:black;font-style:normal">\uE0B0</span><span style="background:#ccc;color:black"> <span style="font-style:normal">\uE0A0</span> master <span style="font-style:normal">\uE0B1</span> glyphs/powerline.patel </span><span style="background:#eee;color:#ccc;font-style:normal">\uE0B0</span><span style="background:#eee;color:#555"> dos <span style="font-style:normal">\uE0B3</span> utf-8 <span style="font-style:normal">\uE0B3</span> PatEL </span><span style="background:#eee;color:#ccc;font-style:normal">\uE0B2</span><span style="background:#ccc"> 2% </span><span style="background:#ccc;color:black;font-style:normal">\uE0B2</span><span style="color:white;background:black"> \uE0A1 1:1 </span>'},
|
||||||
|
{lang: 'IPA', sample: '[ʈiɛu.zɨ.bɑk̚.tei.t͡sʰəi.ɦiun.kɯæn]'},
|
||||||
{lang: 'Bulgarian', sample: 'Я, пазачът Вальо уж бди, а скришом хапва кюфтенца зад щайгите.'},
|
{lang: 'Bulgarian', sample: 'Я, пазачът Вальо уж бди, а скришом хапва кюфтенца зад щайгите.'},
|
||||||
{lang: 'Czech', sample: 'Nechť již hříšné saxofony ďáblů rozezvučí síň úděsnými tóny waltzu, tanga a quickstepu.'},
|
{lang: 'Czech', sample: 'Nechť již hříšné saxofony ďáblů rozezvučí síň úděsnými tóny waltzu, tanga a quickstepu.'},
|
||||||
{lang: 'Finnish', sample: 'Charles Darwin jammaili Åken hevixylofonilla Qatarin yöpub Zeligissä.'},
|
{lang: 'Finnish', sample: 'Charles Darwin jammaili Åken hevixylofonilla Qatarin yöpub Zeligissä.'},
|
||||||
|
@ -259,7 +262,7 @@
|
||||||
}
|
}
|
||||||
if(hasGlyphInThisBlock) {
|
if(hasGlyphInThisBlock) {
|
||||||
for(j = block * BLOCKSIZE; j < (block + 1) * BLOCKSIZE; j++) {
|
for(j = block * BLOCKSIZE; j < (block + 1) * BLOCKSIZE; j++) {
|
||||||
if(j % 16 === 0) blockdiv.append('<span class="indicator">' + padzero(j.toString(16).toUpperCase(), 4) + '</span>')
|
if(j % ROW === 0) blockdiv.append('<span class="indicator">' + padzero(j.toString(16).toUpperCase(), 4) + '</span>')
|
||||||
blockdiv.append('<span class="' + (uhash[j] ? 'present' : 'missing') + '" alt="' + (uhash[j] || '') + '"><s>' + (whash[j] ? '<d>\u25CC</d>\u25CC': '') + String.fromCharCode(j) + '</s></span>')
|
blockdiv.append('<span class="' + (uhash[j] ? 'present' : 'missing') + '" alt="' + (uhash[j] || '') + '"><s>' + (whash[j] ? '<d>\u25CC</d>\u25CC': '') + String.fromCharCode(j) + '</s></span>')
|
||||||
}
|
}
|
||||||
div.append(blockdiv)
|
div.append(blockdiv)
|
||||||
|
|
File diff suppressed because one or more lines are too long
BIN
iosevka-bold.ttf
BIN
iosevka-bold.ttf
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user