diff options
| author | Christopher James Halse Rogers <raof@ubuntu.com> | 2011-11-22 11:32:27 +1100 |
|---|---|---|
| committer | Christopher James Halse Rogers <raof@ubuntu.com> | 2011-11-22 11:32:27 +1100 |
| commit | 4755ab9d0283862f35b1449c1564367c42fbfdcb (patch) | |
| tree | e7ce3eca17cb734de993ba914aee7401cd21e392 /tests/unit | |
| parent | 3464cd82c0178af8b9a356d45353c408a63da263 (diff) | |
StaticCairoText: fix RTL width calculation.
Pango will calculate logRect.x as the left-most point of the string, and start rendering the string at (0,0). For right-to-left languages that means that logRect.x will always be <= -logRect.width. StaticCairoText does not use logRect.x to offset the text rendering, so just ignore it in the extent calculation. Fixes LP: #807921 (bzr r1738.10.4)
Diffstat (limited to 'tests/unit')
0 files changed, 0 insertions, 0 deletions
