Menu

#14 BugFix in text-transform CSS property handling

closed-accepted
nobody
None
5
2008-12-21
2008-09-09
Anonymous
No

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

Discussion

  • Nobody/Anonymous

     
  • Lobo Project Lead

    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.

     
  • Lobo Project Lead

    • status: open --> closed-accepted
     

Log in to post a comment.