Two different formats have the same hash
Due to the poor performance of the equals as well as other optimization reasons we are using the tlf_internal hash function on TextLayoutFormat. We have run into a couple issues where two different formats result in the same hash.
One specific instance we have is one format being center aligned and font size of 11 and the other font is left aligned and font size of 10. In stepping through the hash logic the hashes are different up until the point we get to textAlign and then they become the same.
The hash before the Center Align 11 is 2267941817 and after the hash on _textAlignProperty it is 440261119
The hash before the Left Align 10 is 2536377273 and after the hash on _textAlignProperty it is 440261119
Here are screen shots of both full formats:
