* Fine tune the demo so that the extrude mode shows the outset results.
diff --git a/demo/FTGLDemo.cpp b/demo/FTGLDemo.cpp
index eec1a2a..f51b896 100644
--- a/demo/FTGLDemo.cpp
+++ b/demo/FTGLDemo.cpp
@@ -103,10 +103,10 @@ static FTGLPixmapFont* infoFont;
static float texture[] =
{
- 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0
+ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
+ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
+ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
+ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0
};
static GLuint textureID;
@@ -178,7 +178,8 @@ void setUpFonts(const char* fontfile)
exit(1);
}
- fonts[x]->Depth(20);
+ fonts[x]->Depth(1.);
+ fonts[x]->Outset(0., 1.);
fonts[x]->CharMap(ft_encoding_unicode);
}