BugFix in text-transform CSS property handling
Status: Beta
Brought to you by:
trainhappy
The width property of RWord is not computed properly, it should take into account the text-transformation in place otherwise the text rendering might get ugly.
Imagine width being computed for mmmmmmmm and then MMMMMMM being printed because of text-transformation
Thanks. Your patch has been accepted, with an optimization. I'm passing the textTransform int value to the RWord constructor. The word field doesn't need to contain the original word. It's sufficient that it contains the transformed word, and the width can be calculated in the constructor accordingly.