pdf.js/src/display
Mike Skalnik 341c5e9d1f [PATCH] Add fallback for font loading when eval disabled
In some cases, such as in use with a CSP header, constructing a function with a
string of javascript is not allowed. However, compiling the various commands
that need to be done on the canvas element is faster than interpreting them.
This patch changes the font renderer to instead emit commands that are compiled
by the font loader. If, during compilation, we receive an EvalError, we instead
interpret them.
2015-08-13 14:33:18 -07:00
..
annotation_helper.js Add option to open external links in new window 2015-02-26 13:34:08 -05:00
api.js [PATCH] Add fallback for font loading when eval disabled 2015-08-13 14:33:18 -07:00
canvas.js Clear the |getSinglePixelWidth| cache when rendering Type3 fonts (issue 6117) 2015-06-17 14:30:32 +02:00
font_loader.js [PATCH] Add fallback for font loading when eval disabled 2015-08-13 14:33:18 -07:00
metadata.js Add strict equalities in src/display/metadata.js 2014-08-01 12:40:16 +02:00
pattern_helper.js Use 3 param method for converting r,g,b into css string. 2014-12-05 19:25:02 +01:00
svg.js Enable OPS.setHScale in the SVG backend 2015-03-16 00:37:31 +01:00
webgl.js Fixes typo in webgl.js 2014-11-18 14:31:19 +01:00