Index: lib/ivis_opengl/textdraw.c
===================================================================
--- lib/ivis_opengl/textdraw.c	(revision 3551)
+++ lib/ivis_opengl/textdraw.c	(working copy)
@@ -264,7 +264,7 @@
 	if (!glcGetStringMetric(GLC_BOUNDS, boundingbox))
 	{
 		debug(LOG_ERROR, "iV_GetTextWidth: couldn't retrieve a bounding box for the string");
-		return 0;
+		return 1;
 	}
 
 	point_width = getGLCPointWidth(boundingbox);
@@ -281,7 +281,7 @@
 	if (!glcGetStringMetric(GLC_BOUNDS, boundingbox))
 	{
 		debug(LOG_ERROR, "iV_GetCountedTextWidth: couldn't retrieve a bounding box for the string");
-		return 0;
+		return 1;
 	}
 
 	point_width = getGLCPointWidth(boundingbox);
@@ -298,7 +298,7 @@
 	if (!glcGetStringMetric(GLC_BOUNDS, boundingbox))
 	{
 		debug(LOG_ERROR, "iV_GetTextHeight: couldn't retrieve a bounding box for the string");
-		return 0;
+		return 1;
 	}
 
 	point_height = getGLCPointHeight(boundingbox);
@@ -314,7 +314,7 @@
 	if (!glcGetCharMetric(charCode, GLC_BOUNDS, boundingbox))
 	{
 		debug(LOG_ERROR, "iV_GetCharWidth: couldn't retrieve a bounding box for the character");
-		return 0;
+		return 1;
 	}
 
 	point_width = getGLCPointWidth(boundingbox);
@@ -330,7 +330,7 @@
 	if (!glcGetMaxCharMetric(GLC_BOUNDS, boundingbox))
 	{
 		debug(LOG_ERROR, "iV_GetTextLineSize: couldn't retrieve a bounding box for the character");
-		return 0;
+		return 1;
 	}
 
 	point_height = getGLCPointHeight(boundingbox);
@@ -345,7 +345,7 @@
 	if (!glcGetMaxCharMetric(GLC_BASELINE, base_line))
 	{
 		debug(LOG_ERROR, "iV_GetMaxCharBaseY: couldn't retrieve the baseline for the character");
-		return 0;
+		return 1;
 	}
 
 	return base_line[1];
@@ -361,7 +361,7 @@
 	if (!glcGetMaxCharMetric(GLC_BOUNDS, boundingbox))
 	{
 		debug(LOG_ERROR, "iV_GetTextAboveBase: couldn't retrieve a bounding box for the character");
-		return 0;
+		return 1;
 	}
 
 	point_top_y = boundingbox[7];
@@ -380,7 +380,7 @@
 	if (!glcGetMaxCharMetric(GLC_BOUNDS, boundingbox))
 	{
 		debug(LOG_ERROR, "iV_GetTextBelowBase: couldn't retrieve a bounding box for the character");
-		return 0;
+		return 1;
 	}
 
 	point_bottom_y = boundingbox[1];
