r22351 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Wed Jan 17 18:44:28 UTC 2018


Author: jghali
Date: Wed Jan 17 18:44:28 2018
New Revision: 22351

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22351
Log:
small refactoring: rename getfontFeaturesFromTable() to getFontFeaturesFromTable()

Modified:
    trunk/Scribus/scribus/scfonts.cpp

Modified: trunk/Scribus/scribus/scfonts.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22351&path=/trunk/Scribus/scribus/scfonts.cpp
==============================================================================
--- trunk/Scribus/scribus/scfonts.cpp	(original)
+++ trunk/Scribus/scribus/scfonts.cpp	Wed Jan 17 18:44:28 2018
@@ -451,7 +451,7 @@
 	return familyName;
 }
 
-static QStringList getfontFeaturesFromTable(hb_tag_t table, hb_face_t *hb_face)
+static QStringList getFontFeaturesFromTable(hb_tag_t table, hb_face_t *hb_face)
 {
 	QStringList fontFeaturesList;
 	//get all supported Opentype Features
@@ -477,9 +477,9 @@
 	hb_font = hb_ft_font_create(face, NULL);
 	hb_face_t *hb_face = hb_font_get_face(hb_font);
 	//find Opentype Font Features in GSUB table
-	QStringList featuresGSUB = getfontFeaturesFromTable(HB_OT_TAG_GSUB, hb_face);
+	QStringList featuresGSUB = getFontFeaturesFromTable(HB_OT_TAG_GSUB, hb_face);
 	// find Opentype Font Features in GPOS table
-	QStringList featuresGPOS = getfontFeaturesFromTable(HB_OT_TAG_GPOS, hb_face);
+	QStringList featuresGPOS = getFontFeaturesFromTable(HB_OT_TAG_GPOS, hb_face);
 
 	hb_font_destroy(hb_font);
 




More information about the scribus-commit mailing list