Index: trunk/src/gui/gui_environment.cc
===================================================================
--- trunk/src/gui/gui_environment.cc	(revision 378)
+++ trunk/src/gui/gui_environment.cc	(revision 380)
@@ -311,5 +311,5 @@
 }
 
-void nv::gui::environment::set_class( handle e, const string& text )
+void nv::gui::environment::set_class( handle e, const std::string& text )
 {
 	element* ep = m_elements.get(e);
@@ -321,5 +321,5 @@
 }
 
-void nv::gui::environment::set_text( handle e, const string& text )
+void nv::gui::environment::set_text( handle e, const std::string& text )
 {
 	element* ep = m_elements.get(e);
Index: trunk/src/gui/gui_gfx_renderer.cc
===================================================================
--- trunk/src/gui/gui_gfx_renderer.cc	(revision 378)
+++ trunk/src/gui/gui_gfx_renderer.cc	(revision 380)
@@ -190,5 +190,6 @@
 {
 	std::string id_name( filename );
-	id_name.append( std::to_string( size ) );
+	char buffer[8]; size_t len = nv::sint32_to_buffer( (sint32)size, buffer );
+	id_name.append( std::string( buffer, len ) );
 	auto i = m_font_names.find( id_name );
 	if ( i != m_font_names.end() )
