<!DOCTYPE html> <html> <script> var c = document.createElementNS('http://www.w3.org/1999/xhtml', 'canvas'); var cx = c.getContext('2d'); cx.setTransform(1, 2, 2, 4, 0.41577222277777554, 0.89); cx.fillText("AA",2048,4); </script> </html>