mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-17 10:04:24 +00:00
Use injected Cmaps path
This commit is contained in:
parent
baf4eb6b52
commit
285c9587e9
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ define [
|
|||
|
||||
constructor: (@url, @options) ->
|
||||
# set up external character mappings - needed for Japanese etc
|
||||
window.PDFJS.cMapUrl = './bcmaps/'
|
||||
window.PDFJS.cMapUrl = window.pdfCMapsPath # injected in editor.pug
|
||||
window.PDFJS.cMapPacked = true
|
||||
|
||||
if window.location?.search?.indexOf("disable-font-face=true") >= 0
|
||||
|
|
Loading…
Reference in a new issue