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

scribus-commit scribus-commit at lists.scribus.net
Wed Apr 13 23:31:30 CEST 2011


Author: jghali
Date: Wed Apr 13 21:31:30 2011
New Revision: 16574

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

Modified:
    branches/Version135/Scribus/scribus/fonts/scface_ttf.cpp

Modified: branches/Version135/Scribus/scribus/fonts/scface_ttf.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16574&path=/branches/Version135/Scribus/scribus/fonts/scface_ttf.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/fonts/scface_ttf.cpp (original)
+++ branches/Version135/Scribus/scribus/fonts/scface_ttf.cpp Wed Apr 13 21:31:30 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