Comment 3 for bug 807921

Revision history for this message
Haggai Eran (haggai-eran) wrote :

I looked into the code, and I think this may be due to how GetTextExtent works. It seems to take the x and width fields of Pango's logical rect and sum them together to get the text width. (http://bazaar.launchpad.net/~unity-team/unity/trunk/view/head:/plugins/unityshell/src/StaticCairoText.cpp#L365)
I'm not sure, but I think it should take just the width of the logical rectangle.