Workaround 1529489: turn problems setting the font size into a warning instead of...
authorpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 10 Aug 2006 13:50:47 +0000 (13:50 +0000)
committerpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 10 Aug 2006 13:50:47 +0000 (13:50 +0000)
git-svn-id: http://svn.voria.com/code@215 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/modules/lyr_freetype/lyr_freetype.cpp

index 73d30a0..8c9aac6 100644 (file)
@@ -679,8 +679,7 @@ lyr_freetype::accelerated_render(Context context,Surface *surface,int quality, c
 
        if(error)
        {
-               if(cb)cb->error(string("lyr_freetype:")+_("Unable to set face size.")+strprintf(" (err=%d)",error));
-               return false;
+               if(cb)cb->warning(string("lyr_freetype:")+_("Unable to set face size.")+strprintf(" (err=%d)",error));
        }
 
        FT_GlyphSlot  slot = face->glyph;  // a small shortcut