Merge "Support bidi layout for drawTextOnPath."