My JavaScript book is out! Don't miss the opportunity to upgrade your beginner or average dev skills.

Friday, October 20, 2006

Unobtrusive JS Pixel Font (Round 2)

If you dont' know why this is the second round You should read this post and its comments .

This is the round 2, or better, the final round for my Pixel Font Engine, now totally based on CANVAS and DOM or based on SWF OBJECTS and one innerHTML for old deprecated browsers or Internet Explorer (really it cames with new version 7 and in WEB 2.0 era it doesn't support canvas ... damn IE7 !!! Why You should use them ?)

new concept
CANVAS or Flsh Player 6 dedicated SWF to render Pixel Font table Objects, because old version was really too mush slow and because canvas are better than nested tables to draw something (and Flash 6 can draw something well too).

Why I've not used VML or other fake canvas for IE ? Because I've tested them and they're all slow for this kind of interaction and excanvas render single pixels in a bad, bad, bad, way ... thery're unreadable !!!

Well, now You can't parse entire page but you can use this font or others created by yourself using pixel font generator ... and, have fun with pixel fonts :)

Here there's a shot of what You should view after onje click on DEMOSTRATION (... and another click to back to normal version)


3 comments:

Andrea Giammarchi said...

Matteo tells me that Safari 2 doesn't work with index (but doesn't shows error too) then I wonder if this page should work on Safari 2 too.
This is just a page without conditional IE script, based on canvas and fillRect.

If this page works correctly the problem should be just on conditional comment, then I hope that someone should tell me if Safari or webkit based browsers works correctly witout IE version, thank You.

Andrea Giammarchi said...

ok ... I'm trying to create a Safari compatible version ( without a Safari browser ^^! ) then this version is compatible with IE 5.5, IE 6, IE 7, FireFox 1, 1.5, Opera 9 and with Object and Flash Player forced should be used with Opera 8 (maybe 7 too) as with Safari or every other with Flash Player plugin.

Andrea Giammarchi said...

Matteo tells me that he forgot to click on DEMOSTRATION header then this engine works perfectly on Safari 2 too.

Thank You Matteo !!! :D

P.S. I've not changed anything then this works since 20 October 2006 ;)