How to effectively wrangle the "evenOdd" property of pathText to guarantee "inside" text???
I've written some code to add a generic "order number" textFrame to each piece of a garment (so that the garments can be tracked easier in production). We use an automated cutting system that reads a stroke in the document called "Thru-cut". since anything outside this line will be cut off, i need to make sure my order number text is INSIDE the thru-cut line.
I'm essentially just duplicating the thru-cut path and then utilizing it as a textPath so that the order number text will follow along the line wherever it may be.. However, I'm finding completely unpredictable results with the "evenOdd" property of the textPath... In theory, setting pathText.evenOdd = true; should place the text on the "inside" of the line.... which.. in some cases, it does... However, it seems wildly inconsistent. I could see an issue where two paths that are completely different shapes might have different results... but I'm seeing variable results between two pieces that are the exact same shape, just a slightly different size. There should be no difference in the ray casting... but the result is different..
I've tried all combinations of opened/closed paths with evenOdd true/false... and no matter what i do, the results are inconsistent.. and some shapes will get the text on the outside of the line 100% of the time no matter what i do...
What the heck? How does textPath.evenOdd work? How can i guarantee that my text will end up on the "inside" of the path?
Here's a screenshot showing 2 pieces with differing results:

And here's a screenshot of the shape for which i can NEVER get the text on the inside of the line no matter what i try:


