r16619 by jghali - minor formatting patch

scribus-commit scribus-commit at lists.scribus.net
Sun May 15 09:52:43 UTC 2011


Author: jghali
Date: Sun May 15 09:52:43 2011
New Revision: 16619

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16619
Log:
minor formatting patch

Modified:
    branches/Version135/Scribus/scribus/fonts/scface_ttf.cpp

Modified: branches/Version135/Scribus/scribus/fonts/scface_ttf.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16619&path=/branches/Version135/Scribus/scribus/fonts/scface_ttf.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/fonts/scface_ttf.cpp (original)
+++ branches/Version135/Scribus/scribus/fonts/scface_ttf.cpp Sun May 15 09:52:43 2011
@@ -503,14 +503,9 @@
 qreal ScFace_ttf::glyphKerning ( uint gl1, uint gl2, qreal sz ) const
 {
 	if ( kernFeature->isValid() )
-	{
 		return kernFeature->getPairValue ( gl1,gl2 ) / m_uniEM * sz;
-
-	}
-	else
-		return FtFace::glyphKerning ( gl1, gl2, sz );
-}
-
+	return FtFace::glyphKerning ( gl1, gl2, sz );
+}
 
 void ScFace_ttf::RawData(QByteArray & bb) const {
 	if (formatCode == ScFace::TTCF) {




More information about the scribus-commit mailing list