Skip to content

Commit

Permalink
Corresponding to jsPDF_ja
Browse files Browse the repository at this point in the history
  • Loading branch information
3t14 authored Sep 23, 2016
1 parent a0485c0 commit eb94c7a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This package allows you to use jsPDF on the server. Any methods that require DOM stuff will fail, but you can create and modify PDF files and save them to disk as shown in the documentation.
This package allows you to use jsPDF_ja on the server. Any methods that require DOM stuff will fail, but you can create and modify PDF files and save them to disk as shown in the documentation.

Dependencies:
```
Expand All @@ -18,6 +18,8 @@ And then...
var jsPDF = require('node-jspdf');
var doc = jsPDF();
doc.text(20, 20, 'Hello, world.');
doc.setFont("Osaka");
doc.setFontType("normal");
doc.text(20,20, 'ようこそ世界!');
doc.save('Test.pdf', function(err){console.log('saved!');});
```

0 comments on commit eb94c7a

Please sign in to comment.