Jonas Jenwald 4a6575643b [SVG] Specify the PDFJS.cMapUrl/PDFJS.cMapPacked parameters in the svgviewer example
Re: issue 7017.
This should prevent the error, but does not fix the broken rendering.

The rendering issues are caused by `svg.js` not supporting the various text rendering modes, in this case specifically "invisible" (as indicated in the console `Warning: Unimplemented method setTextRenderingMode`).

Compared to the canvas case, where we just ignore invisible text, a smarter solution is probably required for the SVG case. Since just ignoring invisible text in `svg.js` would mean that text-selection isn't possible.
2016-02-26 23:07:39 +01:00
..
2014-06-20 08:25:05 +05:30

PDF.js using SVG

This is a project for implementing alternate backend for PDF.js using Scalable Vector Graphics. This is still a WIP. Take a look at proposal for this project.

Getting started

Take a look at src/display/svg.js to see the SVG rendering code.