png-font.js

As tiny as possible (840kB) lib to support the majority of languages glyphs in unicode for pixelart javascript games. See how to callback here.

  document.addEventListener(
   'png_fontLoaded',function(e){
    png_font.drawText("hello world!",[32,32]);
    png_font.drawText("한국어!",[48,64],"#559");
    png_font.drawText("日本語!",[64,96],"red",2);
    png_font.drawText("Café",[160,40],'orange',4,'blue');
  });
  png_font.setup(
   document.getElementById(
    "target").getContext("2d")
  );

which font is this?

The image font used here is the GNU Unifont! You can read more about in the website, which is mantained by the awesome Paul Hardy: unifoundry.com .