pgStyle.setEllipsis(u"\u2026");
pgStyle.setMaxLines(1);
pgStyle.setTextAlign(skia::textlayout::TextAlign::kLeft);
input: string strTest = "Hello world testwordingwithoutspaceandisVeryLog";
and the output is:
what I want is like:
![image.png](https://groups.google.com/group/skia-discuss/attach/2f5a112b1742b/image.png?part=0.2&view=1)
I debugged and found the longest line is not right.
Any ideas?
Thanks.