Hello Andrew, Andrew Dunk wrote: > I am having trouble creating a TextVectorFace, and I think it might be > something to do with not finding fonts?? > I used the TextFaceFactory to try and print a list of font families but > it doesn't appear to find any unless I am doing something wrong. Also > the "SANS", "SERIF" and "TYPEWRITER" special font families don't seem to > work either... (followed the 1.8 documentation for printing out font > families) > > I also compiled testTextVectorGeo.cpp, which runs but I don't get any > text. :(
hm, it works for me, I get a long list of font families to choose from when running the testText* examples - a few of these fonts don't seem to work though. I assume you enabled text support when compiling OpenSG (for configure: --enable-text, for scons: text=yes)? It looks like freetype/fontconfig have trouble finding fonts on your system (what is that BTW?), setting the env var FC_DEBUG=1 (or higher values for more verbosity [1]) may give a hint if fonts are found. Cheers, Carsten [1] http://fontconfig.org/fontconfig-user.html section "Debugging Applications" ------------------------------------------------------------------------------ _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users