diff options
author | Ahmad H. Al Harthi <aalharthi@kacst.edu.sa> | 2013-04-28 09:03:03 +0300 |
---|---|---|
committer | Ahmad Harthi <aalharthi@kacst.edu.sa> | 2013-04-28 06:15:19 +0000 |
commit | 4c4b9db8bbaed7acd064a4015fabe784c4fbca21 (patch) | |
tree | 2855e6a71c98a722700cd9219158a46689d30a8e | |
parent | f8231a9765b63ef57d4e099936b94357267ac9b3 (diff) |
fdo#35320 A fix for Arabic justification problem caused by kashidas
Change-Id: I512e6332a632acf90e4f995fbc7fd19e7ef094ec
Reviewed-on: https://gerrit.libreoffice.org/3644
Tested-by: Ahmad Harthi <aalharthi@kacst.edu.sa>
Reviewed-by: Ahmad Harthi <aalharthi@kacst.edu.sa>
-rw-r--r-- | vcl/source/gdi/sallayout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx index 9d315e33a3a3..d4696c799919 100644 --- a/vcl/source/gdi/sallayout.cxx +++ b/vcl/source/gdi/sallayout.cxx @@ -1274,7 +1274,7 @@ void GenericSalLayout::KashidaJustify( long nKashidaIndex, int nKashidaWidth ) // calculate gap, ignore if too small int nGapWidth = pG->mnNewWidth - pG->mnOrigWidth; // worst case is one kashida even for mini-gaps - if( 3 * nGapWidth < nKashidaWidth ) + if( nGapWidth < nKashidaWidth ) continue; nKashidaCount = 0; |