r24405 by jghali - Code style fix

scribus-commit scribus-commit at lists.scribus.net
Wed Jan 13 02:46:16 UTC 2021


Author: jghali
Date: Wed Jan 13 02:46:16 2021
New Revision: 24405

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24405
Log:
Code style fix

Modified:
    trunk/Scribus/scribus/fonts/ftface.cpp

Modified: trunk/Scribus/scribus/fonts/ftface.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24405&path=/trunk/Scribus/scribus/fonts/ftface.cpp
==============================================================================
--- trunk/Scribus/scribus/fonts/ftface.cpp	(original)
+++ trunk/Scribus/scribus/fonts/ftface.cpp	Wed Jan 13 02:46:16 2021
@@ -211,7 +211,8 @@
 		sDebug(QObject::tr("Font %1 has broken glyph %2").arg(fontFile).arg(gl));
 		m_glyphWidth[gl] = 1;
 	}
-	else {
+	else
+	{
 		qreal ww = qreal(face->glyph->metrics.horiAdvance) / m_uniEM;
 		qreal w  = (face->glyph->metrics.width + qAbs(qreal(face->glyph->metrics.horiBearingX))) / m_uniEM;
 		GRec.bbox_width = qMax(w, ww);




More information about the scribus-commit mailing list