Hi!

The javadoc states that the TextPosition.getIndividualWidths() method
returns "An array that is the same length as the length of the string."
Here is a gist containing a test case in which this statement is false:
https://gist.github.com/ygormutti/d40a80d425d552151625a063fb29c9ca

It prints a line for two cases where the TextPosition.getUnicode() returns
"fi" while at the same time TextPosition,getIndividualWidths() returns an
array containing a single float.

I've tried to pin down the version in which this behavior has been
introduced and found out it works as expected in 1.2.1 release and does not
since 1.3.0.

Should I open a ticket for this?

Reply via email to