EffEPi / fabric.curvedText

Allows you to create curved text - extension to fabric.js
43 stars 41 forks source link

Curved Text / reverse curved Text direction gets changed #50

Open monis01 opened 5 years ago

monis01 commented 5 years ago

Hi I am using this library for generating curved/reverse curved text, with it's initial configuration and I am getting my result rotated 90 deg. Here is the code :

var textSample = new fabric.CurvedText("Text", {
      radius: 100,
      spacing  : 20,
      fontSize : 50,
      percentage : 10
});

and I am getting this result screenshot from 2019-01-17 11-09-31

it's rotated to 90 deg.

Do I need any further configuration to fix this ?