summaryrefslogtreecommitdiff
path: root/vcl/generic
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2011-11-28 11:51:42 +0100
committerThorsten Behrens <tbehrens@suse.com>2011-11-28 11:54:17 +0100
commitd13e9baca52a9e8f07312ee03915bcdeac1ab4cd (patch)
treec402193fdbfd8e4098c864bc9eb2b4c043feb453 /vcl/generic
parentdabe836c6ed66c5740582c17dbc39b2196608e6d (diff)
Fix Kashida justification when there is no Kashida glyph
Diffstat (limited to 'vcl/generic')
-rw-r--r--vcl/generic/glyphs/gcach_ftyp.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/generic/glyphs/gcach_ftyp.cxx b/vcl/generic/glyphs/gcach_ftyp.cxx
index d009d8123bb8..7d14ce8cfc8f 100644
--- a/vcl/generic/glyphs/gcach_ftyp.cxx
+++ b/vcl/generic/glyphs/gcach_ftyp.cxx
@@ -1097,7 +1097,6 @@ void ServerFont::FetchFontMetric( ImplFontMetricData& rTo, long& rFactor ) const
// initialize kashida width
// TODO: what if there are different versions of this glyph available
- rTo.mnMinKashida = rTo.mnAscent / 4; // a reasonable default
const int nKashidaGlyphId = GetRawGlyphIndex( 0x0640 );
if( nKashidaGlyphId )
{