I am using fabricJS to display text on images using canvas as a container. I am facing issues when using charSpacing to give spacing between characters, it is working fine for English text or normal text but having issues when using letterSpacing with Hebrew text.
When applying letterSpacing, hebrew text gets flipped and shown as reverse text.
Code for applying charSpacing into canvas object:
obj.set({ 'charSpacing': Math.ceil(Number(event.target.value)) });
I have also raised an open issue in fabricJS GitHub repository. link to open issue: link to opened issue on git repo
plugins that I have used for the project:
"@angular/core": "^8.0.0", "@types/fabric": "^3.6.2", "fabric": "^4.6.0",