diff --git a/public/js/app.js b/public/js/app.js index 52ab52b..709bb03 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -15,7 +15,7 @@ loadingTask.promise.then(function(pdf) { var activeCanvas = null; var activeCanvasPointer = null; - opentype.load('font/Caveat-Regular.ttf', function(err, font) { + opentype.load('/vendor/fonts/Caveat-Regular.ttf', function(err, font) { fontCaveat = font; }); diff --git a/public/font/Caveat-Regular.ttf b/public/vendor/fonts/Caveat-Regular.ttf similarity index 100% rename from public/font/Caveat-Regular.ttf rename to public/vendor/fonts/Caveat-Regular.ttf diff --git a/templates/pdf.html.php b/templates/pdf.html.php index 5c9f766..347c8d7 100644 --- a/templates/pdf.html.php +++ b/templates/pdf.html.php @@ -7,9 +7,14 @@ - - - +