diff --git a/public/js/signature.js b/public/js/signature.js index 4d83de1..f20e8e9 100644 --- a/public/js/signature.js +++ b/public/js/signature.js @@ -532,6 +532,7 @@ var createAndAddSvgInCanvas = function(canvas, item, x, y, height = null) { left: x, top: y - 20, fontSize: 20, + direction: direction, fontFamily: 'Monospace' }); diff --git a/templates/signature.html.php b/templates/signature.html.php index 0baa244..d983f84 100644 --- a/templates/signature.html.php +++ b/templates/signature.html.php @@ -265,6 +265,7 @@ var maxPage = ; var sharingMode = ; var hash = null; + var direction = 'rtlltr'; hash = "";