needed init for font-test
mathias mathias
1 files changed,
4 insertions(+),
2 deletions(-)
jump to
M
src/tests/testFont.cc
→
src/tests/testFont.cc
@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: testFont.cc,v 1.8 2004/09/12 00:06:37 fluxgen Exp $ +// $Id$ #include "App.hh" #include "FbWindow.hh"@@ -141,7 +141,9 @@ exit(0);
} } - + + FbTk::fontInit(); + App app(displayname.c_str(), foreground, background); app.font().setAntialias(antialias); if (!app.font().load(fontname.c_str()))