summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorKeith Stribley <kstribley@openoffice.org>2010-10-10 19:08:34 +0200
committerAndras Timar <timar@fsf.hu>2010-10-10 19:08:34 +0200
commite1790a6b6001276b83c589b4f24a1ef079f53c4d (patch)
tree5e723e6fc97a2c6b1f801cdb67a5c05f66b1faad /vcl
parentd02017d4d3cb23b37bb11075976f104b7dfd88b4 (diff)
fix of underlining problem with Graphite fonts #i114765#
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/glyphs/graphite_layout.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/glyphs/graphite_layout.cxx b/vcl/source/glyphs/graphite_layout.cxx
index 247068b23b6d..5365a4789d25 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] = fXFactor * static_cast<float>(mvCharDxs[i]);
}
}
+ mnWidth = rArgs.mnLayoutWidth;
}
void GraphiteLayout::ApplyDXArray(ImplLayoutArgs &args, std::vector<int> & rDeltaWidth)