Hello Christian,

Schneider, Christian10 wrote:
> Hi,
> we are using OpenSG 1.8 and are trying to create text as 3D geometry:
> 
> std::string family = "SANS";
> TextFace::Style style = TextFace::STYLE_PLAIN;
> TextVectorFace *face = TextVectorFace::create(family, style);
> if (face == 0)
> {
>         std::cout << "ERROR: Cannot create text face object!" << std::endl;
>         return NullFC; // Return NullFC if something went wrong
> }
> 
> the method TextVectorFace::create always returns 0 and we have no idea why. 
> OpenSG has been compiled with the --enable-text option.

quick question: do the test programs/examples (e.g. 
Source/System/Text/testTextVectorGeo.cpp) work for you ?

        Thanks,
                Carsten

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to