diff options
author | Herbert Duerr [hdu] <herbert.duerr@oracle.com> | 2010-09-27 14:49:07 +0200 |
---|---|---|
committer | Herbert Duerr [hdu] <herbert.duerr@oracle.com> | 2010-09-27 14:49:07 +0200 |
commit | 2d04029ec3cc0306012d73ac6197be424c4cc734 (patch) | |
tree | 9d8f55f4b4782e53f7988ae29215231e60a5c407 /vcl | |
parent | #i114703# better selection of localized fontnames (thanks cmc) (diff) | |
download | core-2d04029ec3cc0306012d73ac6197be424c4cc734.tar.gz core-2d04029ec3cc0306012d73ac6197be424c4cc734.zip |
#i114765# fix calculation of justified graphite text width (thanks kstribley)
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/glyphs/graphite_layout.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/glyphs/graphite_layout.cxx b/vcl/source/glyphs/graphite_layout.cxx index 9d4d2529249d..8a011606ab41 100644 --- a/vcl/source/glyphs/graphite_layout.cxx +++ b/vcl/source/glyphs/graphite_layout.cxx @@ -1085,6 +1085,7 @@ void GraphiteLayout::expandOrCondense(ImplLayoutArgs &rArgs) mvCharDxs[i] = FRound( fXFactor * mvCharDxs[i] ); } } + mnWidth = rArgs.mnLayoutWidth; } void GraphiteLayout::ApplyDXArray(ImplLayoutArgs &args, std::vector<int> & rDeltaWidth) |