if(!Draw.textFont || KAPhy.version !== KAPhy.current) {
  Draw.textFont = function(font, size) {
    if(!Canvas.configured) {
      console.warn("KAPhy Warning - You must use Canvas.configure(); before you can draw!");
      return;
    }
    
    var currentFont = Canvas.context.font.split(" ");
    
    if(!size) {
      Canvas.context.font = parseInt(currentFont[0]) + "px " + font;
      return;
    }
  
    Canvas.context.font = Math.round(size) + "px " + font;
  };
}

@@ -82,24 +82,33 @@
 n(font, size
+, variant
 ) %7B%0A    if(!
@@ -309,26 +309,8 @@
    %0A
-    if(!size) %7B%0A  
     
@@ -335,113 +335,82 @@
 t = 
-parseInt(currentFont%5B0%5D) + %22px %22 + font;%0A      return;%0A    %7D%0A  %0A    Canvas.context.font = Math.round(size
+(variant ? (variant + %22 %22) : %22%22) + Math.round(size ? size : currentFont%5B0%5D
 ) + 

Update textfont.js