aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tests/testFont.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tests/testFont.cc b/src/tests/testFont.cc
index ca50661..add737e 100644
--- a/src/tests/testFont.cc
+++ b/src/tests/testFont.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: testFont.cc,v 1.8 2004/09/12 00:06:37 fluxgen Exp $ 22// $Id$
23 23
24#include "App.hh" 24#include "App.hh"
25#include "FbWindow.hh" 25#include "FbWindow.hh"
@@ -141,7 +141,9 @@ int main(int argc, char **argv) {
141 } 141 }
142 142
143 } 143 }
144 144
145 FbTk::fontInit();
146
145 App app(displayname.c_str(), foreground, background); 147 App app(displayname.c_str(), foreground, background);
146 app.font().setAntialias(antialias); 148 app.font().setAntialias(antialias);
147 if (!app.font().load(fontname.c_str())) 149 if (!app.font().load(fontname.c_str()))