aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathias <mathias>2004-11-17 15:41:22 (GMT)
committermathias <mathias>2004-11-17 15:41:22 (GMT)
commit6fe16959c2f7b69713075e0aa2c71711a7b90404 (patch)
tree2456e13ffa346cb6823824a5c80430bb961653fe
parent138e89df6a27e8404f9ba1d72d83b4bb1ad55e91 (diff)
downloadfluxbox-6fe16959c2f7b69713075e0aa2c71711a7b90404.zip
fluxbox-6fe16959c2f7b69713075e0aa2c71711a7b90404.tar.bz2
needed init for font-test
-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()))