Migration from 0.1/0.2

Unified interfaces and all methods return promise

See Methods for client-side.

See Methods for server-side.

Changed including virtual font storage in client-side

Regenerate virtual file system (VFS) is required.

Changed parameters of pageBreakBefore function

Version 0.1 or 0.2:

  pageBreakBefore: function(currentNode, followingNodesOnPage, nodesOnNextPage, previousNodesOnPage) {


Version 0.3:

  pageBreakBefore: function(currentNode, nodeContainer) {
    // nodeContainer.getFollowingNodesOnPage();
    // nodeContainer.getNodesOnNextPage();
    // nodeContainer.getPreviousNodesOnPage();

See documentation.