WordCram icon indicating copy to clipboard operation
WordCram copied to clipboard

Allow "by hand" enabling of right-to-left text rendering.

Open kurron opened this issue 11 years ago • 1 comments

I've built a solution based on the rel-060 branch and its support for RTL. Our system has information about the text being processed, including if it needs RTL enabled. What I did was to add a simple method on the WordCram object that sets the renderOptions.rightToLeft field to true (I'd send you a pull-request but I'm struggling with GitHub to only pick up that one change). Just prior to calling draw we enable the RTL flag if needed. I'm thinking that others might be in a similar situation and could make use of this functionality. Please think about adding it to a future release.

kurron avatar Aug 15 '13 17:08 kurron

This sounds like a much better approach! IIRR, I'm setting a global property in the RenderOptions, and then passing that around. I think this will work better. I'll take a look at it for the next release.

Thanks!

danbernier avatar Oct 06 '13 19:10 danbernier