Render RTF documents in HTML. This also includes rendering WMF and EMF images which are often contained in RTF documents.
The code of this project is licensed under the MIT license. See the file LICENSE for details.
- rtf.js requires:
- jquery
- js-codepage (Apache 2.0 license)
- symboltable.js (provided in the sample directory)
- wmf.js and emf.js require:
- jquery
- jquery.svg.js plugin with the jquery.svgfilter.js extension.
- Rendering WMF and EMF images is accomplished by using HTML5's
<svg>
feature. - Rendering RTF documents often requires rendering embedded WMF and EMF images, however rtf.js can be used without wmf.js and emf.js or with just one of them, if rendering such images is not required.
- RTF document rendering: http://tbluemel.github.io/rtf.js/samples/rtf.html
- WMF image rendering: http://tbluemel.github.io/rtf.js/samples/wmf.html