r21015 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Wed Feb 17 19:20:45 UTC 2016


Author: jghali
Date: Wed Feb 17 19:20:44 2016
New Revision: 21015

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21015
Log:
make constant meaning clearer

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

Modified: trunk/Scribus/scribus/fonts/cff.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21015&path=/trunk/Scribus/scribus/fonts/cff.cpp
==============================================================================
--- trunk/Scribus/scribus/fonts/cff.cpp	(original)
+++ trunk/Scribus/scribus/fonts/cff.cpp	Wed Feb 17 19:20:44 2016
@@ -573,8 +573,8 @@
 			if (fontName.length() > 0 && fontName[0] != char(0))
 			{
 				m_fontTopDicts[fontName] = getDict(topDicts[i]);
-				uint privLength = m_fontTopDicts[fontName][18].array[0].toCardinal();
-				uint privOffset = m_fontTopDicts[fontName][18].array[1].toCardinal();
+				uint privLength = m_fontTopDicts[fontName][cff_dict_Private].array[0].toCardinal();
+				uint privOffset = m_fontTopDicts[fontName][cff_dict_Private].array[1].toCardinal();
 				getDict(readSegment(privOffset, privLength));
 			}
 		}




More information about the scribus-commit mailing list