r21073 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Mon Mar 7 22:56:55 UTC 2016


Author: jghali
Date: Mon Mar  7 22:56:55 2016
New Revision: 21073

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21073
Log:
fix recursive call to ScFace_ttf::load() caused by call to ftFace() before FtFace::load()

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

Modified: branches/Version14x/Scribus/scribus/fonts/scface_ttf.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21073&path=/branches/Version14x/Scribus/scribus/fonts/scface_ttf.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/fonts/scface_ttf.cpp	(original)
+++ branches/Version14x/Scribus/scribus/fonts/scface_ttf.cpp	Mon Mar  7 22:56:55 2016
@@ -505,9 +505,9 @@
 
 void ScFace_ttf::load() const
 {
-	if ( !kernFeature )
+	FtFace::load();
+	if (!kernFeature)
 		kernFeature = new KernFeature ( ftFace() );
-	FtFace::load();
 }
 
 void ScFace_ttf::unload() const




More information about the scribus-commit mailing list