Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: abakane/abakane.github.com
base: 95a97319bb
...
head fork: abakane/abakane.github.com
compare: 61d3077d4e
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 4 files changed
  • 0 commit comments
  • 1 contributor
Commits on Mar 01, 2012
@abakane first b0a6607
@abakane . 61d3077
View
124 BMPFont/BMPFont.js
@@ -0,0 +1,124 @@
+(function(){
+ var BMPFont = function(){
+ return {
+ replace:function( elm, param){
+ if( !param) param = {};
+ var str = elm.innerHTML;
+ elm.innerHTML = '';
+ var canvas = document.createElement('canvas');
+ elm.appendChild(canvas);
+ var r = param.rotation || 0;
+ var color = window.getComputedStyle( elm,'').getPropertyValue('color');
+ param.color = color;
+ param.isElement = true;
+ this.draw( str, canvas, param);//
+ },
+ draw:function( str, canvas, param){
+ if( !param) param = {};
+ var i, j, x, y;
+ var X = param.x || 0;
+ var Y = param.y || 0;
+ var font = param.font || this.fonts.sans;
+ var scale = param.scale || 1;
+ var lineSpace = (param.lineSpacing !== undefined) ? param.lineSpacing : 1;
+ var letterSpace = (param.letterSpacing !== undefined) ? param.letterSpacing : 0;
+ var r = param.rotation || 0;
+ var color = param.color || 'rgb(0,0,0)';
+ var align = param.align || 'left';
+ var context = canvas.getContext('2d');
+ var chars = this.hash( str );
+ var tf = this.box( chars, font, scale, lineSpace, letterSpace);
+ var w = param.width ? (param.width) : (tf.textWidth + X);
+ var c, _w, __w;
+ var l = chars.length;
+ var br = [];
+ x=0;
+ for(i=0; i<l; i++)
+ {
+ c = font[ chars[i] ];
+ for(j=i; j<l; j++) if( chars[j] === 'space') break;
+ _w = this.box(chars.slice( i, j), font, scale, lineSpace, letterSpace).textWidth;
+ __w = this.box(chars.slice( i, i+1), font, scale, lineSpace, letterSpace).textWidth;
+ if( (x+_w+X > w) && (( chars[i-1] === 'space' && _w <= w) || ( x+__w+X > w)) )
+ {
+ br.push(i);
+ x = 0;
+ }
+ x += ( c[0].length+letterSpace )*scale;
+ }
+ x = 0;
+ var h = (br.length+1)*tf.lineHeight + Y;
+ canvas.width = (r === 1 || r === 3) ? h : w;
+ canvas.height = (r === 1 || r === 3) ? w : h;
+ context.fillStyle = color;
+ var xx=0, yy=0, row, col;
+ if( align==='right' && br.length <= 0 && tf.textWidth<w ) xx = w-tf.textWidth;
+ switch(r)
+ {
+ case 1:context.translate( br.length*tf.lineHeight, 0);context.rotate( 90*Math.PI/180);break;
+ case 3:context.rotate( -90*Math.PI/180);context.translate( -w, 0);break;
+ }
+ if( align !== 'right')
+ {
+ for(i=0; i<l; i++)
+ {
+ c = font[ chars[i] ];
+ col = c[0].length;
+ if( i == br[yy] ){ xx=0; yy++; }
+ this.type( context, xx, yy, X, Y, c, scale, r, align, tf.lineHeight);//
+ xx += (col+letterSpace)*scale;
+ }
+ }else{
+ xx = w-X;
+ yy = br.length-1;
+ for(i=l-1;i>=0;i--)
+ {
+ c = font[ chars[i]];
+ col = c[0].length;
+ xx -= (col+letterSpace)*scale;
+ if( i<l-1 && i+1 == br[yy]){ xx=w-(col*scale+X); yy--;}
+ this.type( context, xx, yy, X, Y, c, scale, r, align, tf.lineHeight);//
+ }
+ }
+ },
+ type:function( context, xx, yy, X, Y, c, scale, r, align, lineHeight){
+ var row = c.length;
+ var col = c[0].length;
+ for(var y=0; y<row; y++)
+ {
+ for(var x=0; x<col; x++)
+ {
+ if( !c[y][x] ) continue;
+ context.fillRect( x*scale+xx+X, y*scale+(yy+Number((r!=1)&&(align=='right')))*lineHeight+Y, scale, scale);
+ }
+ }
+ },
+ box:function(chars, font, scale, lineSpace, letterSpace){
+ var tw=0, lh=0;
+ var l = chars.length;
+ for(var i=0; i<l; i++) tw += (font[ chars[i] ][0].length + letterSpace);
+ tw *= scale;
+ lh = ( font.space.length + lineSpace)*scale;
+ return {textWidth:tw, lineHeight:lh};
+ },
+ hash:function( str ){
+ str = str.toString().replace(/&lt;/g,'<').replace(/&gt;/g,'>').replace(/&amp;/g,'&');
+ var a, c, r=[];
+ var l = str.length;
+ for(var i=0; i<l; i++)
+ {
+ c = str.charAt(i);
+ if( c.match(/[a-zA-Z]/) ) a = c;
+ else switch(c){case' ':a='space';break;case'1':a='one';break;case'2':a='two';break;case'3':a='three';break;case'4':a='four';break;case'5':a='five';break;case'6':a='six';break;case'7':a='seven';break;case'8':a='eight';break;case'9':a='nine';break;case'0':a='zero';break;case'!':a='exclaimation';break;case'@':a='at';break;case'#':a='hash';break;case'$':a='dollar';break;case'%':a='percent';break;case'^':a='caret';break;case'&':a='and';break;case'|':a='or';break;case'*':a='asterisk';break;case'(':a='leftParen';break;case')':a='rightParen';break;case'[':a='leftBracket';break;case']':a='rightBracket';break;case'{':a='leftCurlyBracket';break;case'}':a='rightCurlyBracket';break;case'<':a='leftAngleBracket';break;case'>':a='rightAngleBracket';break;case'_':a='underscore';break;case'-':a='dash';break;case'+':a='plus';break;case'=':a='equal';break;case'`':a='backtick';break;case'~':a='tilde';break;case';':a='semiColon';break;case':':a='colon';break;case'"':a='doubleQuote';break;case"'":a='singleQuote';break;case',':a='comma';break;case'.':a='period';break;case'\\':a='leftSlash';break;case'/':a='rightSlash';break;case'?':a='question';break;default:a = ''}
+ if( a !== '') r.push(a);
+ }
+ return r;
+ },
+ clear:function(elm){
+ elm.removeChild( elm.getElementsByTagName('canvas')[0] );
+ },
+ fonts:{sans:{a:[[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,1,1,1,0],[1,0,0,1,0],[1,0,0,1,0],[1,0,0,1,0],[0,1,1,1,0],[0,0,0,0,0],[0,0,0,0,0]],b:[[0,0,0,0,0],[0,0,0,0,0],[1,0,0,0,0],[1,0,0,0,0],[1,1,1,0,0],[1,0,0,1,0],[1,0,0,1,0],[1,0,0,1,0],[1,1,1,0,0],[0,0,0,0,0],[0,0,0,0,0]],c:[[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,1,1,0,0],[1,0,0,1,0],[1,0,0,0,0],[1,0,0,1,0],[0,1,1,0,0],[0,0,0,0,0],[0,0,0,0,0]],d:[[0,0,0,0,0],[0,0,0,0,0],[0,0,0,1,0],[0,0,0,1,0],[0,1,1,1,0],[1,0,0,1,0],[1,0,0,1,0],[1,0,0,1,0],[0,1,1,1,0],[0,0,0,0,0],[0,0,0,0,0]],e:[[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,1,1,0,0],[1,0,0,1,0],[1,1,1,1,0],[1,0,0,0,0],[0,1,1,0,0],[0,0,0,0,0],[0,0,0,0,0]],f:[[0,0,0],[0,0,0],[0,1,0],[1,0,0],[1,0,0],[1,1,0],[1,0,0],[1,0,0],[1,0,0],[0,0,0],[0,0,0]],g:[[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,1,1,1,0],[1,0,0,1,0],[1,0,0,1,0],[1,0,0,1,0],[0,1,1,1,0],[0,0,0,1,0],[0,1,1,0,0]],h:[[0,0,0,0,0],[0,0,0,0,0],[1,0,0,0,0],[1,0,0,0,0],[1,1,1,0,0],[1,0,0,1,0],[1,0,0,1,0],[1,0,0,1,0],[1,0,0,1,0],[0,0,0,0,0],[0,0,0,0,0]],i:[[0,0],[0,0],[1,0],[0,0],[1,0],[1,0],[1,0],[1,0],[1,0],[0,0],[0,0]],j:[[0,0,0],[0,0,0],[0,1,0],[0,0,0],[0,1,0],[0,1,0],[0,1,0],[0,1,0],[0,1,0],[0,1,0],[1,0,0]],k:[[0,0,0,0,0],[0,0,0,0,0],[1,0,0,0,0],[1,0,0,0,0],[1,0,0,1,0],[1,0,1,0,0],[1,1,0,0,0],[1,0,1,0,0],[1,0,0,1,0],[0,0,0,0,0],[0,0,0,0,0]],l:[[0,0],[0,0],[1,0],[1,0],[1,0],[1,0],[1,0],[1,0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0,0,0,0,0,0,0]],or:[[0,0,0,0],[0,0,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,0,0,0]],asterisk:[[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,1,0,0,0],[1,0,1,0,1,0],[0,1,1,1,0,0],[1,0,1,0,1,0],[0,0,1,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0]],leftParen:[[0,0,0,0],[0,0,1,0],[0,1,0,0],[1,0,0,0],[1,0,0,0],[1,0,0,0],[1,0,0,0],[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,0]],rightParen:[[0,0,0,0],[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,1,0],[0,0,1,0],[0,0,1,0],[0,0,1,0],[0,1,0,0],[1,0,0,0],[0,0,0,0]],leftBracket:[[0,0,0],[1,1,0],[1,0,0],[1,0,0],[1,0,0],[1,0,0],[1,0,0],[1,0,0],[1,0,0],[1,1,0],[0,0,0]],rightBracket:[[0,0,0],[1,1,0],[0,1,0],[0,1,0],[0,1,0],[0,1,0],[0,1,0],[0,1,0],[0,1,0],[1,1,0],[0,0,0]],leftCurlyBracket:[[0,0,0,0],[0,0,1,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[1,0,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,0]],rightCurlyBracket:[[0,0,0,0],[1,0,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,0,1,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[1,0,0,0],[0,0,0,0]],leftAngleBracket:[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,1,0],[0,1,0,0],[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,0],[0,0,0,0]],rightAngleBracket:[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,1,0,0],[1,0,0,0],[0,0,0,0],[0,0,0,0]],underscore:[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[1,1,1,1,1,1,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],dash:[[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[1,1,1,1,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0]],plus:[[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,1,0,0,0],[0,0,1,0,0,0],[1,1,1,1,1,0],[0,0,1,0,0,0],[0,0,1,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0]],equal:[[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[1,1,1,1,1,0],[0,0,0,0,0,0],[1,1,1,1,1,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0]],backtick:[[0,0,0],[0,0,0],[1,0,0],[0,1,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]],tilde:[[0,0,0,0,0],[0,0,0,0,0],[0,1,0,1,0],[1,0,1,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0]],semiColon:[[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,1,0],[0,0,0],[0,0,0],[0,0,0],[0,1,0],[0,1,0],[1,0,0]],colon:[[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,1,0],[0,0,0],[0,0,0],[0,1,0],[0,0,0],[0,0,0],[0,0,0]],doubleQuote:[[0,0,0,0,0],[0,0,0,0,0],[1,0,1,0,0],[1,0,1,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0]],comma:[[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,1,0],[0,1,0],[1,0,0]],period:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[1,0],[0,0],[0,0]],rightSlash:[[0,0,0,0,0],[0,0,0,1,0],[0,0,0,1,0],[0,0,1,0,0],[0,0,1,0,0],[0,1,0,0,0],[0,1,0,0,0],[1,0,0,0,0],[1,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0]],question:[[0,0,0,0,0,0],[0,0,0,0,0,0],[0,1,1,1,0,0],[1,0,0,0,1,0],[0,0,0,0,1,0],[0,0,0,1,0,0],[0,0,1,0,0,0],[0,0,0,0,0,0],[0,0,1,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0]],leftSlash:[[0,0,0,0,0],[1,0,0,0,0],[1,0,0,0,0],[0,1,0,0,0],[0,1,0,0,0],[0,0,1,0,0],[0,0,1,0,0],[0,0,0,1,0],[0,0,0,1,0],[0,0,0,0,0],[0,0,0,0,0]],singleQuote:[[0,0],[0,0],[1,0],[1,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]]},serif:{a:[[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,1,1,0,0],[0,0,0,1,0],[0,1,1,1,0],[1,0,0,1,0],[0,1,1,1,0],[0,0,0,0,0],[0,0,0,0,0]],b:[[0,0,0,0,0,0],[0,0,0,0,0,0],[1,1,0,0,0,0],[0,1,0,0,0,0],[0,1,1,1,0,0],[0,1,0,0,1,0],[0,1,0,0,1,0],[0,1,0,0,1,0],[1,1,1,1,0,0],[0,0,0,0,0,0],[0,0,0,0,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[0,0,0,0],[0,0,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,0,0,0]],asterisk:[[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,1,0,0,0],[1,0,1,0,1,0],[0,1,1,1,0,0],[1,0,1,0,1,0],[0,0,1,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0]],leftParen:[[0,0,0,0],[0,0,1,0],[0,1,0,0],[1,0,0,0],[1,0,0,0],[1,0,0,0],[1,0,0,0],[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,0]],rightParen:[[0,0,0,0],[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,1,0],[0,0,1,0],[0,0,1,0],[0,0,1,0],[0,1,0,0],[1,0,0,0],[0,0,0,0]],leftBracket:[[0,0,0],[1,1,0],[1,0,0],[1,0,0],[1,0,0],[1,0,0],[1,0,0],[1,0,0],[1,0,0],[1,1,0],[0,0,0]],rightBracket:[[0,0,0],[1,1,0],[0,1,0],[0,1,0],[0,1,0],[0,1,0],[0,1,0],[0,1,0],[0,1,0],[1,1,0],[0,0,0]],leftCurlyBracket:[[0,0,0,0],[0,0,1,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[1,0,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,0]],rightCurlyBracket:[[0,0,0,0],[1,0,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,0,1,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[1,0,0,0],[0,0,0,0]],leftAngleBracket:[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,1,0],[0,1,0,0],[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,0],[0,0,0,0]],rightAngleBracket:[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,1,0,0],[1,0,0,0],[0,0,0,0],[0,0,0,0]],underscore:[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[1,1,1,1,1,1,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],dash:[[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[1,1,1,1,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0]],plus:[[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,1,0,0,0],[0,0,1,0,0,0],[1,1,1,1,1,0],[0,0,1,0,0,0],[0,0,1,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0]],equal:[[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[1,1,1,1,1,0],[0,0,0,0,0,0],[1,1,1,1,1,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0]],backtick:[[0,0,0],[0,0,0],[1,0,0],[0,1,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]],tilde:[[0,0,0,0,0],[0,0,0,0,0],[0,1,0,1,0],[1,0,1,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0]],semiColon:[[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,1,0],[0,0,0],[0,0,0],[0,0,0],[0,1,0],[0,1,0],[1,0,0]],colon:[[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,1,0],[0,0,0],[0,0,0],[0,1,0],[0,0,0],[0,0,0],[0,0,0]],doubleQuote:[[0,0,0,0,0],[0,0,0,0,0],[1,0,1,0,0],[1,0,1,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0]],comma:[[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,1,0],[0,1,0],[1,0,0]],period:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[1,0],[0,0],[0,0]],rightSlash:[[0,0,0,0,0],[0,0,0,1,0],[0,0,0,1,0],[0,0,1,0,0],[0,0,1,0,0],[0,1,0,0,0],[0,1,0,0,0],[1,0,0,0,0],[1,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0]],question:[[0,0,0,0,0,0],[0,0,0,0,0,0],[0,1,1,1,0,0],[1,0,0,0,1,0],[0,0,0,0,1,0],[0,0,0,1,0,0],[0,0,1,0,0,0],[0,0,0,0,0,0],[0,0,1,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0]],leftSlash:[[0,0,0,0,0],[1,0,0,0,0],[1,0,0,0,0],[0,1,0,0,0],[0,1,0,0,0],[0,0,1,0,0],[0,0,1,0,0],[0,0,0,1,0],[0,0,0,1,0],[0,0,0,0,0],[0,0,0,0,0]],singleQuote:[[0,0],[0,0],[1,0],[1,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]]}}
+ }
+ }();
+ this.BMPFont = BMPFont;
+}());
View
1  BMPFont/BMPFont.pack.js
@@ -0,0 +1 @@
+(function(){var BMPFont=function(){return{replace:function(elm,param){if(!param) param={};var str=elm.innerHTML;elm.innerHTML='';var canvas=document.createElement('canvas');elm.appendChild(canvas);var r=param.rotation||0;var color=window.getComputedStyle(elm,'').getPropertyValue('color');param.color=color;param.isElement=true;this.draw(str,canvas,param);},draw:function(str,canvas,param){if(!param) param={};var i,j,x,y;var X=param.x||0;var Y=param.y||0;var font=param.font||this.fonts.sans;var scale=param.scale||1;var lineSpace=(param.lineSpacing !==undefined)?param.lineSpacing:1;var letterSpace=(param.letterSpacing !==undefined)?param.letterSpacing:0;var r=param.rotation||0;var color=param.color||'rgb(0,0,0)';var align=param.align||'left';var context=canvas.getContext('2d');var chars=this.hash(str );var tf=this.getBox(chars,font,scale,lineSpace,letterSpace);var w=param.width?(param.width):(tf.textWidth+X);var c,_w,__w;var l=chars.length;var br=[];x=0;for(i=0;i<l;i++){c=font[ chars[i] ];for(j=i;j<l;j++) if(chars[j]==='space') break;_w=this.getBox(chars.slice(i,j),font,scale,lineSpace,letterSpace).textWidth;__w=this.getBox(chars.slice(i,i+1),font,scale,lineSpace,letterSpace).textWidth;if((x+_w+X>w) &&((chars[i-1]==='space' && _w<=w)||(x+__w+X>w)) ){br.push(i);x=0;}x+=(c[0].length+letterSpace )*scale;}x=0;var h=(br.length+1)*tf.lineHeight+Y;canvas.width=(r===1||r===3)?h:w;canvas.height=(r===1||r===3)?w:h;context.fillStyle=color;var xx=0,yy=0,row,col;if(align==='right' && br.length<=0 && tf.textWidth<w ) xx=w-tf.textWidth;switch(r){case 1:context.translate(br.length*tf.lineHeight,0);context.rotate(90*Math.PI/180);break;case 3:context.rotate(-90*Math.PI/180);context.translate(-w,0);break;}if(align !=='right'){for(i=0;i<l;i++){c=font[ chars[i] ];col=c[0].length;if(i==br[yy] ){xx=0;yy++;}this.type(context,xx,yy,X,Y,c,scale,r,align,tf.lineHeight);xx+=(col+letterSpace)*scale;}}else{xx=w-X;yy=br.length-1;for(i=l-1;i>=0;i--){c=font[ chars[i]];col=c[0].length;xx -=(col+letterSpace)*scale;if(i<l-1 && i+1==br[yy]){xx=w-(col*scale+X);yy--;}this.type(context,xx,yy,X,Y,c,scale,r,align,tf.lineHeight);}}},type:function(context,xx,yy,X,Y,c,scale,r,align,lineHeight){var row=c.length;var col=c[0].length;for(var y=0;y<row;y++){for(var x=0;x<col;x++){if(!c[y][x] ) continue;context.fillRect(x*scale+xx+X,y*scale+(yy+Number((r!=1)&&(align=='right')))*lineHeight+Y,scale,scale);}}},getBox:function(chars,font,scale,lineSpace,letterSpace){var tw=0,lh=0;var l=chars.length;for(var i=0;i<l;i++) tw+=(font[ chars[i] ][0].length+letterSpace);tw *=scale;lh=(font.space.length+lineSpace)*scale;return{textWidth:tw,lineHeight:lh};},hash:function(str ){str=str.toString().replace(/&lt;/g,'<').replace(/&gt;/g,'>').replace(/&amp;/g,'&');var a,c,r=[];var l=str.length;for(var i=0;i<l;i++){c=str.charAt(i);if(c.match(/[a-zA-Z]/) ) a=c;else{switch(c){case' ':a='space';break;case'1':a='one';break;case'2':a='two';break;case'3':a='three';break;case'4':a='four';break;case'5':a='five';break;case'6':a='six';break;case'7':a='seven';break;case'8':a='eight';break;case'9':a='nine';break;case'0':a='zero';break;case'!':a='exclaimation';break;case'@':a='at';break;case'#':a='hash';break;case'$':a='dollar';break;case'%':a='percent';break;case'^':a='caret';break;case'&':a='and';break;case'|':a='or';break;case'*':a='asterisk';break;case'(':a='leftParen';break;case')':a='rightParen';break;case'[':a='leftBracket';break;case']':a='rightBracket';break;case'{':a='leftCurlyBracket';break;case'}':a='rightCurlyBracket';break;case'<':a='leftAngleBracket';break;case'>':a='rightAngleBracket';break;case'_':a='underscore';break;case'-':a='dash';break;case'+':a='plus';break;case'=':a='equal';break;case'`':a='backtick';break;case'~':a='tilde';break;case';':a='semiColon';break;case':':a='colon';break;case'"':a='doubleQuote';break;case"'":a='singleQuote';break;case',':a='comma';break;case'.':a='period';break;case'\\':a='leftSlash';break;case'/':a='rightSlash';break;case'?':a='question';break;default:a=''}}if(a !=='') r.push(a);}return r;},fonts:{sans:{a:[[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,1,1,1,0],[1,0,0,1,0],[1,0,0,1,0],[1,0,0,1,0],[0,1,1,1,0],[0,0,0,0,0],[0,0,0,0,0]],b:[[0,0,0,0,0],[0,0,0,0,0],[1,0,0,0,0],[1,0,0,0,0],[1,1,1,0,0],[1,0,0,1,0],[1,0,0,1,0],[1,0,0,1,0],[1,1,1,0,0],[0,0,0,0,0],[0,0,0,0,0]],c:[[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,1,1,0,0],[1,0,0,1,0],[1,0,0,0,0],[1,0,0,1,0],[0,1,1,0,0],[0,0,0,0,0],[0,0,0,0,0]],d:[[0,0,0,0,0],[0,0,0,0,0],[0,0,0,1,0],[0,0,0,1,0],[0,1,1,1,0],[1,0,0,1,0],[1,0,0,1,0],[1,0,0,1,0],[0,1,1,1,0],[0,0,0,0,0],[0,0,0,0,0]],e:[[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,1,1,0,0],[1,0,0,1,0],[1,1,1,1,0],[1,0,0,0,0],[0,1,1,0,0],[0,0,0,0,0],[0,0,0,0,0]],f:[[0,0,0],[0,0,0],[0,1,0],[1,0,0],[1,0,0],[1,1,0],[1,0,0],[1,0,0],[1,0,0],[0,0,0],[0,0,0]],g:[[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,1,1,1,0],[1,0,0,1,0],[1,0,0,1,0],[1,0,0,1,0],[0,1,1,1,0],[0,0,0,1,0],[0,1,1,0,0]],h:[[0,0,0,0,0],[0,0,0,0,0],[1,0,0,0,0],[1,0,0,0,0],[1,1,1,0,0],[1,0,0,1,0],[1,0,0,1,0],[1,0,0,1,0],[1,0,0,1,0],[0,0,0,0,0],[0,0,0,0,0]],i:[[0,0],[0,0],[1,0],[0,0],[1,0],[1,0],[1,0],[1,0],[1,0],[0,0],[0,0]],j:[[0,0,0],[0,0,0],[0,1,0],[0,0,0],[0,1,0],[0,1,0],[0,1,0],[0,1,0],[0,1,0],[0,1,0],[1,0,0]],k:[[0,0,0,0,0],[0,0,0,0,0],[1,0,0,0,0],[1,0,0,0,0],[1,0,0,1,0],[1,0,1,0,0],[1,1,0,0,0],[1,0,1,0,0],[1,0,0,1,0],[0,0,0,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0,0,1,0,1,0],[1,0,0,0,1,0,0],[0,1,1,1,0,1,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],or:[[0,0,0,0],[0,0,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,0,0,0]],asterisk:[[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,1,0,0,0],[1,0,1,0,1,0],[0,1,1,1,0,0],[1,0,1,0,1,0],[0,0,1,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0]],leftParen:[[0,0,0,0],[0,0,1,0],[0,1,0,0],[1,0,0,0],[1,0,0,0],[1,0,0,0],[1,0,0,0],[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,0]],rightParen:[[0,0,0,0],[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,1,0],[0,0,1,0],[0,0,1,0],[0,0,1,0],[0,1,0,0],[1,0,0,0],[0,0,0,0]],leftBracket:[[0,0,0],[1,1,0],[1,0,0],[1,0,0],[1,0,0],[1,0,0],[1,0,0],[1,0,0],[1,0,0],[1,1,0],[0,0,0]],rightBracket:[[0,0,0],[1,1,0],[0,1,0],[0,1,0],[0,1,0],[0,1,0],[0,1,0],[0,1,0],[0,1,0],[1,1,0],[0,0,0]],leftCurlyBracket:[[0,0,0,0],[0,0,1,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[1,0,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,0]],rightCurlyBracket:[[0,0,0,0],[1,0,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,0,1,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[1,0,0,0],[0,0,0,0]],leftAngleBracket:[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,1,0],[0,1,0,0],[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,0],[0,0,0,0]],rightAngleBracket:[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,1,0,0],[1,0,0,0],[0,0,0,0],[0,0,0,0]],underscore:[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[1,1,1,1,1,1,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],dash:[[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[1,1,1,1,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0]],plus:[[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,1,0,0,0],[0,0,1,0,0,0],[1,1,1,1,1,0],[0,0,1,0,0,0],[0,0,1,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0]],equal:[[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[1,1,1,1,1,0],[0,0,0,0,0,0],[1,1,1,1,1,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0]],backtick:[[0,0,0],[0,0,0],[1,0,0],[0,1,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]],tilde:[[0,0,0,0,0],[0,0,0,0,0],[0,1,0,1,0],[1,0,1,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0]],semiColon:[[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,1,0],[0,0,0],[0,0,0],[0,0,0],[0,1,0],[0,1,0],[1,0,0]],colon:[[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,1,0],[0,0,0],[0,0,0],[0,1,0],[0,0,0],[0,0,0],[0,0,0]],doubleQuote:[[0,0,0,0,0],[0,0,0,0,0],[1,0,1,0,0],[1,0,1,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0]],comma:[[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,1,0],[0,1,0],[1,0,0]],period:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[1,0],[0,0],[0,0]],rightSlash:[[0,0,0,0,0],[0,0,0,1,0],[0,0,0,1,0],[0,0,1,0,0],[0,0,1,0,0],[0,1,0,0,0],[0,1,0,0,0],[1,0,0,0,0],[1,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0]],question:[[0,0,0,0,0,0],[0,0,0,0,0,0],[0,1,1,1,0,0],[1,0,0,0,1,0],[0,0,0,0,1,0],[0,0,0,1,0,0],[0,0,1,0,0,0],[0,0,0,0,0,0],[0,0,1,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0]],leftSlash:[[0,0,0,0,0],[1,0,0,0,0],[1,0,0,0,0],[0,1,0,0,0],[0,1,0,0,0],[0,0,1,0,0],[0,0,1,0,0],[0,0,0,1,0],[0,0,0,1,0],[0,0,0,0,0],[0,0,0,0,0]],singleQuote:[[0,0],[0,0],[1,0],[1,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]]},serif:{a:[[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,1,1,0,0],[0,0,0,1,0],[0,1,1,1,0],[1,0,0,1,0],[0,1,1,1,0],[0,0,0,0,0],[0,0,0,0,0]],b:[[0,0,0,0,0,0],[0,0,0,0,0,0],[1,1,0,0,0,0],[0,1,0,0,0,0],[0,1,1,1,0,0],[0,1,0,0,1,0],[0,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,0,1,0,0],[0,1,1,1,0,1,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],or:[[0,0,0,0],[0,0,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,0,0,0]],asterisk:[[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,1,0,0,0],[1,0,1,0,1,0],[0,1,1,1,0,0],[1,0,1,0,1,0],[0,0,1,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0]],leftParen:[[0,0,0,0],[0,0,1,0],[0,1,0,0],[1,0,0,0],[1,0,0,0],[1,0,0,0],[1,0,0,0],[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,0]],rightParen:[[0,0,0,0],[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,1,0],[0,0,1,0],[0,0,1,0],[0,0,1,0],[0,1,0,0],[1,0,0,0],[0,0,0,0]],leftBracket:[[0,0,0],[1,1,0],[1,0,0],[1,0,0],[1,0,0],[1,0,0],[1,0,0],[1,0,0],[1,0,0],[1,1,0],[0,0,0]],rightBracket:[[0,0,0],[1,1,0],[0,1,0],[0,1,0],[0,1,0],[0,1,0],[0,1,0],[0,1,0],[0,1,0],[1,1,0],[0,0,0]],leftCurlyBracket:[[0,0,0,0],[0,0,1,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[1,0,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,0]],rightCurlyBracket:[[0,0,0,0],[1,0,0,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[0,0,1,0],[0,1,0,0],[0,1,0,0],[0,1,0,0],[1,0,0,0],[0,0,0,0]],leftAngleBracket:[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,1,0],[0,1,0,0],[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,0],[0,0,0,0]],rightAngleBracket:[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,1,0,0],[1,0,0,0],[0,0,0,0],[0,0,0,0]],underscore:[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[1,1,1,1,1,1,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],dash:[[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[1,1,1,1,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0]],plus:[[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,1,0,0,0],[0,0,1,0,0,0],[1,1,1,1,1,0],[0,0,1,0,0,0],[0,0,1,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0]],equal:[[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[1,1,1,1,1,0],[0,0,0,0,0,0],[1,1,1,1,1,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0]],backtick:[[0,0,0],[0,0,0],[1,0,0],[0,1,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]],tilde:[[0,0,0,0,0],[0,0,0,0,0],[0,1,0,1,0],[1,0,1,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0]],semiColon:[[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,1,0],[0,0,0],[0,0,0],[0,0,0],[0,1,0],[0,1,0],[1,0,0]],colon:[[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,1,0],[0,0,0],[0,0,0],[0,1,0],[0,0,0],[0,0,0],[0,0,0]],doubleQuote:[[0,0,0,0,0],[0,0,0,0,0],[1,0,1,0,0],[1,0,1,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0]],comma:[[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,1,0],[0,1,0],[1,0,0]],period:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[1,0],[0,0],[0,0]],rightSlash:[[0,0,0,0,0],[0,0,0,1,0],[0,0,0,1,0],[0,0,1,0,0],[0,0,1,0,0],[0,1,0,0,0],[0,1,0,0,0],[1,0,0,0,0],[1,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0]],question:[[0,0,0,0,0,0],[0,0,0,0,0,0],[0,1,1,1,0,0],[1,0,0,0,1,0],[0,0,0,0,1,0],[0,0,0,1,0,0],[0,0,1,0,0,0],[0,0,0,0,0,0],[0,0,1,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0]],leftSlash:[[0,0,0,0,0],[1,0,0,0,0],[1,0,0,0,0],[0,1,0,0,0],[0,1,0,0,0],[0,0,1,0,0],[0,0,1,0,0],[0,0,0,1,0],[0,0,0,1,0],[0,0,0,0,0],[0,0,0,0,0]],singleQuote:[[0,0],[0,0],[1,0],[1,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]]}}}}();this.BMPFont=BMPFont;}())
View
116 BMPFont/index.html
@@ -0,0 +1,116 @@
+<!DOCTYPE html>
+<!--[if lt IE 7 ]> <html class="ie ie6 no-js" lang="en"> <![endif]-->
+<!--[if IE 7 ]> <html class="ie ie7 no-js" lang="en"> <![endif]-->
+<!--[if IE 8 ]> <html class="ie ie8 no-js" lang="en"> <![endif]-->
+<!--[if IE 9 ]> <html class="ie ie9 no-js" lang="en"> <![endif]-->
+<!--[if gt IE 9]><!--><html lang="ja"><!--<![endif]-->
+<head>
+<head id="args-in" data-template-set="html5-reset">
+<meta charset="UTF-8" />
+<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+<meta name="keywords" content="" />
+<meta name="description" content="" />
+<meta name="title" content="">
+<meta name="author" content="Hiroto Sugita">
+<title>BMPFont</title>
+<link rel="stylesheet" type="text/css" href="http://args.in/_/css/styles.css" media="all" />
+<script type="text/javascript" src="http://args.in/_/js/jquery-1.5.1.min.js"></script>
+<script type="text/javascript" src="http://args.in/_/js/modernizr-1.7.min.js"></script>
+<script type="text/javascript" src="http://args.in/_/js/common.js"></script>
+<script type="text/javascript">var _gaq = _gaq || [];_gaq.push(['_setAccount', 'UA-26080640-4']);_gaq.push(['_trackPageview']);(function(){ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);})();</script>
+<script src='BMPFont.js'></script>
+<script src='test.js'></script>
+</head>
+<body>
+<header class="gh">
+ <hgroup>
+ <h1>BMPFont</h1>
+ <h2>Javascript library that convert the raw html text to Bitmap Font by <i>Canvas</i>.</h3>
+ <h3>Canvasを使ってテキストをビットマップフォント風に変換するJavascriptライブラリ。</h3>
+ </hgroup>
+</header>
+<div id="bmpf">
+ <nav class="cntrl">
+ <a href="javascript:void" class="btn" id="toggle">OFF</a>
+ </nav>
+ <div class="clr spc20">
+ <div class="lft">
+ <textarea id="ta0">The quick brown fox jumps over a lazy dog.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin vestibulum, sapien ut commodo lacinia, lorem risus hendrerit nisl, et ultricies lacus ipsum sit amet libero.</textarea>
+ <select id="sa0">
+ <option disabled>ALIGN</option>
+ <option selected>left</option>
+ <option>right</option>
+ </select>
+ <select id="ss0">
+ <option disabled>SCALE</option>
+ <option selected>1</option>
+ <option>2</option>
+ <option>3</option>
+ </select>
+ <select id="lis0">
+ <option disabled>LINE SPACING</option>
+ <option>0</option>
+ <option selected>1</option>
+ <option>2</option>
+ <option>3</option>
+ </select>
+ <select id="les0">
+ <option disabled>LETTER SPACING</option>
+ <option selected>0</option>
+ <option>1</option>
+ <option>2</option>
+ <option>3</option>
+ </select>
+ </div>
+ <div class="rgt">
+ <div id='t0'></div>
+ </div>
+ </div>
+ <div class="clr spc20">
+ <div class="lft">
+ <textarea id="ta1">The quick brown fox jumps over a lazy dog.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin vestibulum, sapien ut commodo lacinia, lorem risus hendrerit nisl, et ultricies lacus ipsum sit amet libero.</textarea>
+ <select id="sa1">
+ <option disabled>ALIGN</option>
+ <option selected>left</option>
+ <option>right</option>
+ </select>
+ <select id="ss1">
+ <option disabled>SCALE</option>
+ <option selected>1</option>
+ <option>2</option>
+ <option>3</option>
+ </select>
+ <select id="lis1">
+ <option disabled>LINE SPACING</option>
+ <option>0</option>
+ <option selected>1</option>
+ <option>2</option>
+ <option>3</option>
+ </select>
+ <select id="les1">
+ <option disabled>LETTER SPACING</option>
+ <option selected>0</option>
+ <option>1</option>
+ <option>2</option>
+ <option>3</option>
+ </select>
+ </div>
+ <div class="rgt">
+ <div id='t1'></div>
+ </div>
+ </div>
+</div>
+<nav id="social">
+ <ul class="clr">
+ <li><a href="http://twitter.com/#!/abakane" class="twitter-share-button" title="Twitter"><img src="http://args.in/_/images/btn_c_01_.png" width="44" height="44" alt="Twitter" title="Twitter" class="ro" /></a></li>
+ <li><a href="http://www.facebook.com/hiroto.sugita" title="Facebook"><img src="http://args.in/_/images/btn_c_02_.png" width="44" height="44" alt="Facebook" title="Facebook" class="ro" /></a></li>
+ <li><a href="http://gplus.to/abakane" title="Google+"><img src="http://args.in/_/images/btn_c_03_.png" width="44" height="44" alt="Google+" title="Google+" class="ro" /></a></li>
+ <li><a href="http://www.flickr.com/photos/abakane/" title="Flickr"><img src="http://args.in/_/images/btn_c_04_.png" width="44" height="44" alt="Flickr" title="Flickr" class="ro" /></a></li>
+ <li><a href="http://s.args.in" title="Tumblr"><img src="http://args.in/_/images/btn_c_05_.png" width="44" height="44" alt="Tumblr" title="Tumblr" class="ro" /></a></li>
+ <li><a href="http://pinterest.com/abakane/" title="Pinterest"><img src="http://args.in/_/images/btn_c_06_.png" width="44" height="44" alt="Pinterest" title="Pinterest" class="ro" /></a></li>
+ </ul>
+</nav>
+<footer class="all"><p>&copy;2012 args.in All Rights Reserved.</p></footer>
+<a href="https://github.com/abakane/BMPFont"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
+</body>
+</html>
View
61 BMPFont/test.js
@@ -0,0 +1,61 @@
+$(function() {
+ var isOn=false;
+ var t0=$('#t0'), t1=$('#t1');
+ var cs=[];
+ var s=[], a=[], lis=[], les=[];
+
+
+ $('#toggle').click(function(){
+ if( !isOn )
+ {
+ $(this).text( 'ON'); isOn=true;
+ draw();
+ }else{
+ $(this).text( 'OFF'); isOn=false;
+ clear();
+ }
+
+ });
+ $('#sa0').change(reload);
+ $('#ss0').change(reload);
+ $('#lis0').change(reload);
+ $('#les0').change(reload);
+ $('#sa1').change(reload);
+ $('#ss1').change(reload);
+ $('#lis1').change(reload);
+ $('#les1').change(reload);
+ $('#ta0').change(reload);
+ $('#ta1').change(reload);
+
+
+ function reload()
+ {
+ a = [$('#sa0').val(), $('#sa1').val()];
+ s = [$('#ss0').val(), $('#ss1').val()];
+ lis = [Number($('#lis0').val()), Number($('#lis1').val())];
+ les = [Number($('#les0').val()), Number($('#les1').val())];
+ cs = [ $('#ta0').val(), $('#ta1').val()];
+ if( isOn )
+ {
+ clear();
+ draw();
+ }else{
+ t0.text(cs[0]);
+ t1.text(cs[1]);
+ }
+ }
+
+ function draw()
+ {
+ BMPFont.replace( t0[0], {width:470, align:a[0], scale:s[0], lineSpacing:lis[0], letterSpacing:les[0], font:BMPFont.fonts.serif});
+ BMPFont.replace( t1[0], {width:470, align:a[1], scale:s[1], lineSpacing:lis[1], letterSpacing:les[1]});
+ }
+ function clear()
+ {
+ BMPFont.clear(t0[0]);
+ BMPFont.clear(t1[0]);
+ t0.text(cs[0]);
+ t1.text(cs[1]);
+ }
+ reload();
+});

No commit comments for this range

Something went wrong with that request. Please try again.