try disabling pdfjs font face usage for performance

each new font face rule causes a full screen repaint
This commit is contained in:
Brian Gough 2014-12-03 15:18:43 +00:00
parent a4ddfd5725
commit 05af3573b6

View file

@ -10,6 +10,7 @@ define [
constructor: (@url, @options) ->
PDFJS.disableAutoFetch = true
PDFJS.disableFontFace = true
@scale = @options.scale || 1
@document = $q.when(PDFJS.getDocument @url)
@navigateFn = @options.navigateFn