r20079 by craig - Hide font posttable qdebugs

scribus-commit scribus-commit at lists.scribus.net
Wed May 13 23:19:03 UTC 2015


Author: craig
Date: Wed May 13 23:19:03 2015
New Revision: 20079

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20079
Log:
Hide font posttable qdebugs

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=20079&path=/trunk/Scribus/scribus/fonts/scface_ttf.cpp
==============================================================================
--- trunk/Scribus/scribus/fonts/scface_ttf.cpp (original)
+++ trunk/Scribus/scribus/fonts/scface_ttf.cpp Wed May 13 23:19:03 2015
@@ -526,10 +526,10 @@
 	sfnt::PostTable checkPost;
 	FT_Face face = ftFace();
 	checkPost.readFrom(face);
-	if (!checkPost.usable)
-		qDebug() << "can't use post table from " << face->family_name << face->style_name << ":" << checkPost.errorMsg;
-	else
-		qDebug() << "posttable from" << face->family_name << face->style_name << "has names for" << checkPost.numberOfGlyphs() << "glyphs and" << maxGlyph << "glyphs in charmap";
+//	if (!checkPost.usable)
+//		qDebug() << "can't use post table from " << face->family_name << face->style_name << ":" << checkPost.errorMsg;
+//	else
+//		qDebug() << "posttable from" << face->family_name << face->style_name << "has names for" << checkPost.numberOfGlyphs() << "glyphs and" << maxGlyph << "glyphs in charmap";
 	const_cast<bool&>(hasGlyphNames) = checkPost.usable && checkPost.numberOfGlyphs() >= maxGlyph;
 }
 




More information about the scribus-commit mailing list