{"push_id":751579922,"size":1,"distinct_size":1,"ref":"refs/heads/fix-font-csp-issues","head":"ae25b9cfc19d46c149eb99fbc84049ce1d7290a5","before":"bf4544f01369faac711c1345dbf6a9a1ea06f7fa","commits":[{"sha":"ae25b9cfc19d46c149eb99fbc84049ce1d7290a5","author":{"email":"afd523e3ee2ebde82ac9793c35d9cfb9fb451973@gmail.com","name":"Mike Skalnik"},"message":"[PATCH] Add fallback for font loading when eval disabled\n\nIn some cases, such as in use with a CSP header, constructing a function with a\nstring of javascript is not allowed. However, compiling the various commands\nthat need to be done on the canvas element is faster than interpreting them.\nThis patch changes the font renderer to instead emit commands that are compiled\nby the font loader. If, during compilation, we receive an EvalError, we instead\ninterpret them.","distinct":true,"url":"https://api.github.com/repos/skalnik/pdf.js/commits/ae25b9cfc19d46c149eb99fbc84049ce1d7290a5"}]}