Re: [osg-users] osgText::readFontFile returns NULL on valid argument

2009-03-19 Thread Guy
COMPANY] [charles.e.c...@nasa.gov] Sent: Wednesday, March 18, 2009 1:54 PM To: OpenSceneGraph Users Subject: Re: [osg-users] osgText::readFontFile returns NULL on valid argument Hi Jesper, My first inclination is that the path is incorrect, or at least doesn't match with where the font file

[osg-users] osgText::readFontFile returns NULL on valid argument

2009-03-18 Thread Jesper D. Thomsen
Hi all, I have a rather strange problem. I'm using osgText in my project, but I'm getting null as return from this method: osgText::Font* t_font = osgText::readFontFile(fonts/arial.ttf); The strange part is that when I compile and run the osgText and osgHud examples, it works just fine (so

Re: [osg-users] osgText::readFontFile returns NULL on valid argument

2009-03-18 Thread Paul Melis
Jesper D. Thomsen wrote: Hi all, I have a rather strange problem. I'm using osgText in my project, but I'm getting null as return from this method: osgText::Font* t_font = osgText::readFontFile(fonts/arial.ttf); If you set the environment variable OSG_NOTIFY_LEVEL to DEBUG (tip: run in a

Re: [osg-users] osgText::readFontFile returns NULL on valid argument

2009-03-18 Thread Cole, Charles E. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]
] osgText::readFontFile returns NULL on valid argument Hi all, I have a rather strange problem. I'm using osgText in my project, but I'm getting null as return from this method: osgText::Font* t_font = osgText::readFontFile(fonts/arial.ttf); The strange part is that when I compile

Re: [osg-users] osgText::readFontFile returns NULL on valid argument

2009-03-18 Thread Jesper D. Thomsen
Of Cole, Charles E. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY] [charles.e.c...@nasa.gov] Sent: Wednesday, March 18, 2009 1:54 PM To: OpenSceneGraph Users Subject: Re: [osg-users] osgText::readFontFile returns NULL on valid argument Hi Jesper, My first inclination is that the path is incorrect