From 8498422d7e932cd89731963766472afaaaa120af Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 29 Aug 2003 21:52:52 +0000 Subject: [PATCH] Added fonts/ in front of arial.ttf. --- examples/osgfxbrowser/Frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/osgfxbrowser/Frame.cpp b/examples/osgfxbrowser/Frame.cpp index 329121b61..95e40fca8 100644 --- a/examples/osgfxbrowser/Frame.cpp +++ b/examples/osgfxbrowser/Frame.cpp @@ -28,7 +28,7 @@ void Frame::rebuild() caption_text->setText(caption_); caption_text->setColor(osg::Vec4(1, 1, 1, 1)); caption_text->setAlignment(osgText::Text::CENTER_CENTER); - caption_text->setFont("arial.ttf"); + caption_text->setFont("fonts/arial.ttf"); caption_text->setCharacterSize(16); caption_text->setFontResolution(16, 16); caption_text->setPosition(osg::Vec3((rect_.x0 + rect_.x1) / 2, rect_.y1 - 15, 0.2f));