1
0
Fork 0
mirror of https://github.com/24eme/signaturepdf synced 2024-05-21 23:26:38 +02:00

ltr for textbox in signature

This commit is contained in:
Vincent LAURENT 2023-09-22 19:06:17 +02:00
parent d9c6829d7a
commit 006a1846cb
2 changed files with 2 additions and 0 deletions

View file

@ -532,6 +532,7 @@ var createAndAddSvgInCanvas = function(canvas, item, x, y, height = null) {
left: x,
top: y - 20,
fontSize: 20,
direction: direction,
fontFamily: 'Monospace'
});

View file

@ -265,6 +265,7 @@
var maxPage = <?php echo $maxPage ?>;
var sharingMode = <?php echo intval(!isset($noSharingMode)) ?>;
var hash = null;
var direction = '<?php if ($TRANSLATION_LANGUAGE == 'ar'): ?>rtl<?php else: ?>ltr<?php endif ?>';
<?php if(isset($hash)): ?>
hash = "<?php echo $hash ?>";
<?php endif; ?>