From: <br...@us...> - 2010-07-12 04:46:30
|
Revision: 4164 http://openvrml.svn.sourceforge.net/openvrml/?rev=4164&view=rev Author: braden Date: 2010-07-12 04:46:23 +0000 (Mon, 12 Jul 2010) Log Message: ----------- Only call FcInit for non-Windows platforms. Modified Paths: -------------- trunk/ChangeLog trunk/src/node/vrml97/text.cpp Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2010-07-10 06:53:06 UTC (rev 4163) +++ trunk/ChangeLog 2010-07-12 04:46:23 UTC (rev 4164) @@ -1,3 +1,9 @@ +2010-07-12 Braden McDaniel <br...@en...> + + * src/node/vrml/text.cpp + (openvrml_node_vrml97::text_metatype::text_metatype(openvrml::browser&): + Only call FcInit for non-Windows platforms. + 2010-07-10 Braden McDaniel <br...@en...> * src/node/vrml97/text.cpp: Fixed to compile without Modified: trunk/src/node/vrml97/text.cpp =================================================================== --- trunk/src/node/vrml97/text.cpp 2010-07-10 06:53:06 UTC (rev 4163) +++ trunk/src/node/vrml97/text.cpp 2010-07-12 04:46:23 UTC (rev 4164) @@ -2764,10 +2764,12 @@ node_metatype(text_metatype::id, browser) { # ifdef OPENVRML_ENABLE_RENDER_TEXT_NODE +# ifndef _WIN32 FcBool fc_succeeded = FcInit(); if (!fc_succeeded) { browser.err("error initializing fontconfig library"); } +# endif FT_Error ft_error = 0; ft_error = FT_Init_FreeType(&this->freeTypeLibrary); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |