try disabling pdfjs font face usage for performance
each new font face rule causes a full screen repaint
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user