]> git.mxchange.org Git - simgear.git/commit
Fix CanvasText horizontal alignment.
authorThomas Geymayer <tomgey@gmail.com>
Sat, 9 Feb 2013 11:09:43 +0000 (12:09 +0100)
committerThomas Geymayer <tomgey@gmail.com>
Sat, 9 Feb 2013 11:17:45 +0000 (12:17 +0100)
commit632abdd87be8d021984773580e46e30625e0f196
tree65a79abbcb811d4d25e372586f2e1529e3d52400
parentd9b01ca5de3b552a3b1644211dd4faaa511ebdcf
Fix CanvasText horizontal alignment.

Don't reduce width of bounding box below character width
even if outline of rendered character is smaller. This
prevents trailing spaces from being ignored and also
fixes continuously chaging alignment (especially with
monospace fonts).
simgear/canvas/elements/CanvasText.cxx