From: pabs Date: Thu, 10 Aug 2006 13:50:47 +0000 (+0000) Subject: Workaround 1529489: turn problems setting the font size into a warning instead of... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=a08fceee694fe4adf35a99f968f42fc84c27dd20;p=synfig.git Workaround 1529489: turn problems setting the font size into a warning instead of an error git-svn-id: http://svn.voria.com/code@215 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/modules/lyr_freetype/lyr_freetype.cpp b/synfig-core/trunk/src/modules/lyr_freetype/lyr_freetype.cpp index 73d30a0..8c9aac6 100644 --- a/synfig-core/trunk/src/modules/lyr_freetype/lyr_freetype.cpp +++ b/synfig-core/trunk/src/modules/lyr_freetype/lyr_freetype.cpp @@ -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