use font-face for pdfjs rendering

This commit is contained in:
Brian Gough 2015-01-13 16:39:49 +00:00
parent 4bcc9fb5c9
commit 157424c7b6

View file

@ -9,7 +9,7 @@ define [
JOB_QUEUE_INTERVAL: 25 JOB_QUEUE_INTERVAL: 25
constructor: (@url, @options) -> constructor: (@url, @options) ->
PDFJS.disableFontFace = true # avoids repaints, uses worker more # PDFJS.disableFontFace = true # avoids repaints, uses worker more
# PDFJS.disableAutoFetch = true # enable this to prevent loading whole file # PDFJS.disableAutoFetch = true # enable this to prevent loading whole file
# PDFJS.disableStream # PDFJS.disableStream
# PDFJS.disableRange # PDFJS.disableRange