Support for the FreeMonoTengwar font and ConScript encoding
[tengwarjs.git] / index.js
1
2 exports.transcribe = function (text, mode, font, options) {
3 options = mode.makeOptions(options);
4 options.font = font;
5 return mode.transcribe(text, options);
6 };
7
8 exports.encode = function (text, mode, font, options) {
9 options = mode.makeOptions(options);
10 options.font = font;
11 return mode.encode(text, options);
12 };
13