r16575 by jghali - fix crash when loading Estrangelo Edessa Regular font

scribus-commit scribus-commit at lists.scribus.net
Wed Apr 13 23:32:16 CEST 2011


Author: jghali
Date: Wed Apr 13 21:32:16 2011
New Revision: 16575

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16575
Log:
fix crash when loading Estrangelo Edessa Regular font

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

Modified: trunk/Scribus/scribus/fonts/scface_ttf.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16575&path=/trunk/Scribus/scribus/fonts/scface_ttf.cpp
==============================================================================
--- trunk/Scribus/scribus/fonts/scface_ttf.cpp (original)
+++ trunk/Scribus/scribus/fonts/scface_ttf.cpp Wed Apr 13 21:32:16 2011
@@ -207,7 +207,7 @@
 					}
 					else
 					{
-						for ( unsigned int gl ( Start ); gl >= End; --gl )
+						for ( int gl ( Start ); gl >= (int) End; --gl )
 							coverages[SubTable]  << gl;
 					}
 				}




More information about the scribus-commit mailing list