title: JavaScript pdf generation library with Unicode support
body: <p>I want to generate a pdf file using JavaScript at client side . Firstly I tried using jsPdf API . But it does not work with Unicode character like Chinese.</p>
  
  <p>Is there any  option to enhance jspdf to support Unicode  or any other library which supports Unicode .</p>
  
  <p><a href="http://pdfmake.org/#/" rel="noreferrer">Pdfmake</a> API says it supports Unicode but when I tried it also does not work out, I checked in there demo example placing Unicode character . </p>
  
  <p>I tried using pdfkit in Node.js but pdf is not getting created properly </p>
  
  <pre><code>var PDFDocument = require("pdfkit");
  var fs = require('fs');
  
  var doc = new PDFDocument;
  
  doc.pipe(fs.createWriteStream('output.pdf'));
  
  doc.fontSize(15);
  doc.text('Generate PDF! 漢字漢字漢字漢字');
  
  doc.end();
  </code></pre>
  
  <p>In pdf it created as Generate PDF! o"[Wo"[Wo"[Wo"[W</p>
  
  <p>Also , Can I add multiple font in pdfMake</p>
  
  <pre><code> var fontDescriptors = {
      Roboto: {
        normal: 'examples/fonts/Roboto-Regular.ttf',
        bold: 'examples/fonts/Roboto-Medium.ttf',
        italics: 'examples/fonts/Roboto-Italic.ttf',
        bolditalics: 'examples/fonts/Roboto-Italic.ttf'
      }
    };
  
    var printer = new pdfMakePrinter(fontDescriptors);
  </code></pre>