341c5e9d1f
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. |
||
---|---|---|
.. | ||
annotation_helper.js | ||
api.js | ||
canvas.js | ||
font_loader.js | ||
metadata.js | ||
pattern_helper.js | ||
svg.js | ||
webgl.js |