r21063 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sun Mar 6 00:17:24 UTC 2016


Author: jghali
Date: Sun Mar  6 00:17:23 2016
New Revision: 21063

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

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

Modified: trunk/Scribus/scribus/fonts/scface_ttf.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21063&path=/trunk/Scribus/scribus/fonts/scface_ttf.cpp
==============================================================================
--- trunk/Scribus/scribus/fonts/scface_ttf.cpp	(original)
+++ trunk/Scribus/scribus/fonts/scface_ttf.cpp	Sun Mar  6 00:17:23 2016
@@ -44,9 +44,9 @@
 
 void ScFace_ttf::load() const
 {
-	if ( !m_kernFeature )
+	FtFace::load();
+	if (!m_kernFeature)
 		m_kernFeature = new KernFeature ( ftFace() );
-	FtFace::load();
 	sfnt::PostTable checkPost;
 	FT_Face face = ftFace();
 	checkPost.readFrom(face);




More information about the scribus-commit mailing list